summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorRobby Cai <robby.cai@nxp.com>2016-01-12 16:35:12 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 11:03:11 -0600
commitd59e4e631fd6e011c6803d6f77b4d711794a35dd (patch)
tree1e1cb33b9aba5a129e632a18980d0288f81fa1ce /drivers/regulator
parent83c377f8bf3dbe810b0a8b628202e7b32a40af4b (diff)
MLK-12179 epdc: use outer_flush_range instead of outer_flush_all
l2c210_flush_all, the underlying implementation of outer_flush_all() has the constraint on 4.1 kernel that, it can not be called under interrupt context. However the EPDC driver can not guarantee this condition at calling point, thus it could cause kernel dump. This has been observed on i.MX6SL, and theorically on other platforms like i.MX6DL (using PL310 L2 cache). So use outer_flush_range to fix it. Although we don't have such issue on i.MX7D (not PL310 L2), we still prefer to use outer_flush_range() for legacy software dithering support and for easy maintenance. Then we do the change in both EPDC driver. ------------[ cut here ]------------ Kernel BUG at 800204d8 [verbose debug info unavailable] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM Modules linked in: galcore(O) evbug CPU: 0 PID: 842 Comm: kworker/u3:1 Tainted: G O 4.1.8-1.0.0+ge352a0b #1 Hardware name: Freescale i.MX6 SoloLite (Device Tree) Workqueue: EPDC Submit epdc_submit_work_func task: a8a8f900 ti: a92a4000 task.ti: a92a4000 PC is at l2c210_flush_all+0x5c/0x60 LR is at epdc_submit_work_func+0x684/0xbf8 pc : [<800204d8>] lr : [<8030702c>] psr: 600b0013 sp : a92a5e90 ip : a9150c8c fp : a8480518 r10: a84a28c0 r9 : 00000008 r8 : a9150644 r7 : a91512e0 r6 : 0000012c r5 : a91512e0 r4 : a91512dc r3 : a00b0013 r2 : 80b184a0 r1 : 701fe019 r0 : f4a02000 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: a943404a DAC: 00000015 Process kworker/u3:1 (pid: 842, stack limit = 0xa92a4210) Stack: (0xa92a5e90 to 0xa92a6000) 5e80: a92a5ed0 8005d058 0000bbc2 a851d4c0 5ea0: 00000000 a9150000 a8480000 a8480440 00000190 00000193 55555556 a84a28c0 5ec0: a8480518 a8500000 80b18088 a94f3900 00000000 00000000 00000190 0000012c 5ee0: a94f3900 a8480518 a87e8d80 a8479000 a845a200 00000020 00000000 a8479000 5f00: a8479000 80046458 a92a4000 a8479000 a8479014 a8479000 a87e8d98 a8479014 ... Signed-off-by: Robby Cai <robby.cai@nxp.com>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions