Linux kernel crashes at spin_unlock_irq() when suspending the iMX serial port

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux kernel crashes at spin_unlock_irq() when suspending the iMX serial port

356 Views
jeffreychang
Contributor I

Question:

Linux kernel crashes at spin_unlock_irq() when the system tries to go into suspend mode. Any suggested solutions?

Environment:

  • HW: iMX6 solo
  • Linux kernel: 3.0.35-dirty (jffrychang@ubuntu) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #11 SMP PREEMPT Wed Apr 17 18:13:21 JST 2019
  • Android: 4.4.2

Crash dump:

[16574.112726] Unhandled fault: imprecise external abort (0x1406) at 0x6cee4c78
[16574.119902] Internal error: : 1406 [#1] PREEMPT SMP
[16574.124846] Modules linked in: wl12xx_sdio fio_usb wl12xx mac80211 cfg80211 mipi_ov5645
[16574.133497] CPU: 0 Tainted: G W (3.0.35 #15)
[16574.138970] PC is at _raw_spin_unlock_irq+0x18/0x40
[16574.143976] LR is at uart_suspend_port+0x1c0/0x2a4
[16574.148834] pc : [<c06b91e0>] lr : [<c0341398>] psr: 60000013
[16574.148838] sp : d183dd98 ip : 00000000 fp : 00000f12
[16574.160506] r10: c097bda8 r9 : d449c848 r8 : c098e738
[16574.165849] r7 : c098e75c r6 : d449c850 r5 : d449c800 r4 : d4431c00
[16574.172441] r3 : 00000000 r2 : 00004025 r1 : a0000093 r0 : d4431c00
[16574.179089] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[16574.186462] Control: 10c53c7d Table: 1e37404a DAC: 00000015
[16574.192328]
[16574.192330] PC: 0xc06b9160:
[16574.196735] 9160 e1a0200d e3c23d7f e3c3303f e5932004 e2422001 e5832004 e5933000 e3130002
[16574.205705] 9180 012fff1e eafff88a f57ff05f e3a03000 e5803000 f57ff04f e320f004 e121f001
[16574.214675] 91a0 e1a0200d e3c23d7f e3c3303f e5932004 e2422001 e5832004 e5933000 e3130002
[16574.223645] 91c0 012fff1e eafff87a f57ff05f e3a03000 e5803000 f57ff04f e320f004 f1080080
[16574.232555] 91e0 e1a0200d e3c23d7f e3c3303f e5932004 e2422001 e5832004 e5933000 e3130002
[16574.241522] 9200 012fff1e eafff86a f57ff05f e1903f9f e2433001 e1802f93 e3320000 1afffffa
[16574.250436] 9220 e3530000 1a000001 f57ff04f e320f004 e1a0200d e3c23d7f e3c3303f e5932004
[16574.259346] 9240 e2422001 e5832004 e5933000 e3130002 012fff1e eafff856 f57ff05f e1903f9f
[16574.268312]
[16574.268314] LR: 0xc0341318:
[16574.272775] 1318 eaffffd9 e3530000 e5947084 1a000006 e594306c e3530000 0a000003 e1d322fa
[16574.281689] 1338 e594308c e1520003 0a000014 e2859048 e3a0001e e1a01009 ebfe83d6 e1a01009
[16574.290659] 1358 e3a0001f ebfe7a35 e1a00004 eb0de0d8 e1a00004 e597300c e12fff33 e1a00004
[16574.299574] 1378 e3a01000 e5973004 e12fff33 e1a00004 e5973018 e12fff33 e1a00004 eb0ddf8b
[16574.308490] 1398 e5973000 e1a00004 e12fff33 e3a09003 e3500000 e3a0000a 1a000009 e3590000
[16574.317457] 13b8 e2499001 0a000017 ebf575bf e5973000 e1a00004 e12fff33 e3500000 e3a0000a
[16574.326427] 13d8 0afffff5 e3590000 0a00000e e59a3000 e3530000 1a000006 e594306c e3530000
[16574.335398] 13f8 0a000003 e1d312fa e594208c e1510002 0affffb4 e5973028 e1a00004 e12fff33
[16574.344316]
[16574.344318] SP: 0xd183dd18:
[16574.348777] dd18 00000000 d183c000 c0046dd8 d183c000 0000003a 00000f12 c095e7d0 c004f1b4
[16574.357685] dd38 ffffffff 0000040f 00000406 d449c850 c098e75c c004e2d0 d4431c00 a0000093
[16574.366651] dd58 00004025 00000000 d4431c00 d449c800 d449c850 c098e75c c098e738 d449c848
[16574.375616] dd78 c097bda8 00000f12 00000000 d183dd98 c0341398 c06b91e0 60000013 ffffffff
[16574.384589] dd98 2210d037 00000000 d4431c00 c098e738 d4431c00 00000714 c06eed70 d40e143c
[16574.393503] ddb8 00000000 00000000 d5d7f237 c0342198 c0342144 d40e1408 c035046c c03504bc
[16574.402472] ddd8 c035046c c0353664 d183de23 a0000013 d5d7f237 00000f12 c098f000 d40e1408
[16574.411441] ddf8 c0a23df4 c0a23df4 c098f450 00000002 c098f420 c03541a0 00000000 20000013
[16574.420414]
[16574.420416] R0: 0xd4431b80:
[16574.424820] 1b80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16574.433776] 1ba0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16574.442682] 1bc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16574.451650] 1be0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16574.460616] 1c00 00000000 00000000 00000000 d98fe000 00000000 00000000 00000000 00000000
[16574.469580] 1c20 0000003a 00000000 04c4b400 00000020 00020000 00000000 00000000 d449c800
[16574.478482] 1c40 00000000 00000000 00000000 00000000 003ba22f 00000000 000000f8 00000000
[16574.487445] 1c60 00000000 000000d0 00000000 c098e808 00000000 10000000 00000006 00000005
[16574.496412]
[16574.496414] R4: 0xd4431b80:
[16574.500819] 1b80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16574.509789] 1ba0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16574.518752] 1bc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16574.527663] 1be0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16574.536624] 1c00 00000000 00000000 00000000 d98fe000 00000000 00000000 00000000 00000000
[16574.545594] 1c20 0000003a 00000000 04c4b400 00000020 00020000 00000000 00000000 d449c800
[16574.554508] 1c40 00000000 00000000 00000000 00000000 003ba22f 00000000 000000f8 00000000
[16574.563480] 1c60 00000000 000000d0 00000000 c098e808 00000000 10000000 00000006 00000005
[16574.572450]
[16574.572452] R5: 0xd449c780:
[16574.576858] c780 c08362c0 00000180 c0346620 c03466c0 c08362d0 00000180 c0346620 c03466c0
[16574.585825] c7a0 c08362e0 00000180 c0346620 c03466c0 c08362f0 00000180 c0346620 c03466c0
[16574.594792] c7c0 c0836300 00000180 c0346620 c03466c0 c0836310 00000180 c0346620 c03466c0
[16574.603705] c7e0 c0836320 00000180 c0346620 c03466c0 c0836330 00000180 c0346620 c03466c0
[16574.612667] c800 d0215000 c06edee8 00000000 00000000 00000000 00000001 00000000 00000000
[16574.621634] c820 d449c820 d449c820 00000000 00000000 d449c830 d449c830 00000000 00000000
[16574.630598] c840 d449c840 d449c840 60000000 00000000 00000000 00000000 00000000 d449c85c
[16574.639508] c860 d449c85c cedd5600 00000001 00000000 00000000 d449c874 d449c874 00000000
[16574.648416]
[16574.648418] R6: 0xd449c7d0:
[16574.652819] c7d0 c0836310 00000180 c0346620 c03466c0 c0836320 00000180 c0346620 c03466c0
[16574.661787] c7f0 c0836330 00000180 c0346620 c03466c0 d0215000 c06edee8 00000000 00000000
[16574.670755] c810 00000000 00000001 00000000 00000000 d449c820 d449c820 00000000 00000000
[16574.679718] c830 d449c830 d449c830 00000000 00000000 d449c840 d449c840 60000000 00000000
[16574.688624] c850 00000000 00000000 00000000 d449c85c d449c85c cedd5600 00000001 00000000
[16574.697537] c870 00000000 d449c874 d449c874 00000000 00000000 000001f4 00007530 00000000
[16574.706501] c890 00000001 00000000 d16df000 00000000 00000000 00000000 00000000 00000000
[16574.715473] c8b0 c033fbe8 d449c800 d4431c00 00000000 c06edee8 00000000 00000000 00000000
[16574.724381]
[16574.724383] R7: 0xc098e6dc:
[16574.728841] e6dc 00000010 c033e5b8 c087746c c0877480 00000008 c033e5c8 c087748c c0877494
[16574.737759] e6fc 00000020 c033e5c0 c08774ac c08774c4 00000008 c033e5b0 c08774d8 c08774f0
[16574.746672] e71c 00000008 00000001 00000000 00000000 c098e72c c098e72c 00000000 00000000
[16574.755634] e73c c0877900 c08779b8 000000cf 00000010 00000008 c098e808 d449c800 d418e460
[16574.764600] e75c c0341e34 c03438a0 c0341e48 c0341d9c c0343e50 00000000 c0341ddc c0343074
[16574.773519] e77c c03422bc c03439b0 c034231c 00000000 c0343088 00000000 00000000 00000000
[16574.782488] e79c 00000000 c0341e90 c0342288 c0342224 c0343e2c c0341eac 00000000 c0343448
[16574.791457] e7bc c03421a8 00000000 c0342144 c03420e4 c0835954 c098f000 00000000 00000000
[16574.800368]
[16574.800370] R8: 0xc098e6b8:
[16574.804829] e6b8 c08773fc 00000008 c033e5d0 c0877408 c087741c 00000000 c033e5cc c0877454
[16574.813797] e6d8 c087745c 00000010 c033e5b8 c087746c c0877480 00000008 c033e5c8 c087748c
[16574.822716] e6f8 c0877494 00000020 c033e5c0 c08774ac c08774c4 00000008 c033e5b0 c08774d8
[16574.831688] e718 c08774f0 00000008 00000001 00000000 00000000 c098e72c c098e72c 00000000
[16574.840652] e738 00000000 c0877900 c08779b8 000000cf 00000010 00000008 c098e808 d449c800
[16574.849566] e758 d418e460 c0341e34 c03438a0 c0341e48 c0341d9c c0343e50 00000000 c0341ddc
[16574.858541] e778 c0343074 c03422bc c03439b0 c034231c 00000000 c0343088 00000000 00000000
[16574.867507] e798 00000000 00000000 c0341e90 c0342288 c0342224 c0343e2c c0341eac 00000000
[16574.876550]
[16574.876551] R9: 0xd449c7c8:
[16574.880956] c7c8 c0346620 c03466c0 c0836310 00000180 c0346620 c03466c0 c0836320 00000180
[16574.889923] c7e8 c0346620 c03466c0 c0836330 00000180 c0346620 c03466c0 d0215000 c06edee8
[16574.898844] c808 00000000 00000000 00000000 00000001 00000000 00000000 d449c820 d449c820
[16574.907813] c828 00000000 00000000 d449c830 d449c830 00000000 00000000 d449c840 d449c840
[16574.916784] c848 60000000 00000000 00000000 00000000 00000000 d449c85c d449c85c cedd5600
[16574.925754] c868 00000001 00000000 00000000 d449c874 d449c874 00000000 00000000 000001f4
[16574.934665] c888 00007530 00000000 00000001 00000000 d16df000 00000000 00000000 00000000
[16574.943631] c8a8 00000000 00000000 c033fbe8 d449c800 d4431c00 00000000 c06edee8 00000000
[16574.952547]
[16574.952549] R10: 0xc097bd28:
[16574.957042] bd28 00000002 00000003 00000004 00000005 00000006 00000007 00000008 00000009
[16574.966011] bd48 0000000a 0000000b 0000000c 0000000d 0000000e 0000000f 00000010 00000011
[16574.974984] bd68 00000012 00000013 00000014 00000015 00000016 00000017 00000018 00000019
[16574.983902] bd88 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f c09d34a4 00004000
[16574.992811] bda8 00000000 c097bdac c097bdac 00000000 00000000 000001f4 0000000a 00000002
[16575.001779] bdc8 00000000 0003c5cc 0000000f 00000004 00000001 00000007 00000000 00000000
[16575.010750] bde8 00000001 c097bdec c097bdec 00000000 00000000 00000000 c097be00 c097be00
[16575.019660] be08 00000004 ffffffff 00000000 00000001 ffffffff 00000000 c009175c c097a644
[16575.028634] Process kworker/u:26 (pid: 16833, stack limit = 0xd183c2f0)
[16575.035370] Stack: (0xd183dd98 to 0xd183e000)
[16575.039793] dd80: 2210d037 00000000
[16575.048094] dda0: d4431c00 c098e738 d4431c00 00000714 c06eed70 d40e143c 00000000 00000000
[16575.056339] ddc0: d5d7f237 c0342198 c0342144 d40e1408 c035046c c03504bc c035046c c0353664
[16575.064640] dde0: d183de23 a0000013 d5d7f237 00000f12 c098f000 d40e1408 c0a23df4 c0a23df4
[16575.072940] de00: c098f450 00000002 c098f420 c03541a0 00000000 20000013 00000000 00000000
[16575.081240] de20: 00354204 d40e1408 cedd5600 c09d7fbc c09b2c14 0018d990 c09d76e0 c035356c
[16575.089485] de40: d183de24 ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000
[16575.097786] de60: d40e1470 00000000 d40e1408 c098f420 c0a23df4 c097e830 c098f420 c0354a04
[16575.106087] de80: 00000007 00000002 c8827941 00000f12 c8827941 00000f12 00000003 00000003
[16575.114332] dea0: 00000003 c09e9f50 d40aae00 00000000 c0047840 c09b8f28 00000089 c00ca8bc
[16575.122633] dec0: 00000003 c0838970 00000000 d40aae00 c097eac8 c0047840 c0047840 c00cac6c
[16575.130933] dee0: c097e8e8 c09e9f58 00001fff c00cbc50 c00aa42c c0047320 de00e55b 00000f12
[16575.139234] df00: c0047320 c0047320 00684c85 5caa04bc 33f278db c0047320 2c627275 00000004
[16575.147479] df20: 0000000a 0000000e 00000007 00000003 00000077 00000000 00000061 c09d8780
[16575.155779] df40: d4103e00 d5534860 d183c000 c09d8780 d40aae00 c00a9e64 00000004 00000000
[16575.164080] df60: c00cbbf4 d40aae05 c0047840 d5534860 c09d8780 c09d8788 d5534870 d183c000
[16575.172380] df80: c0047840 c0047840 00000089 c00aa33c 00000013 d183c000 c0047840 c0047840
[16575.180625] dfa0: 00000013 d0543f04 d5534860 c00aa1cc 00000013 00000000 00000000 00000000
[16575.188925] dfc0: 00000000 c00ae430 c004f408 00000000 d5534860 00000000 00000000 00000000
[16575.197226] dfe0: d183dfe0 d183dfe0 d0543f04 c00ae3b0 c004f408 c004f408 00000000 00000000
[16575.205484] [<c06b91e0>] (_raw_spin_unlock_irq+0x18/0x40) from [<c0341398>] (uart_suspend_port+0x1c0/0x2a4)
[16575.215356] [<c0341398>] (uart_suspend_port+0x1c0/0x2a4) from [<c0342198>] (serial_imx_suspend+0x54/0x64)
[16575.225052] [<c0342198>] (serial_imx_suspend+0x54/0x64) from [<c03504bc>] (platform_pm_suspend+0x50/0x5c)
[16575.234750] [<c03504bc>] (platform_pm_suspend+0x50/0x5c) from [<c0353664>] (pm_op+0x7c/0x104)
[16575.243403] [<c0353664>] (pm_op+0x7c/0x104) from [<c03541a0>] (__device_suspend+0x264/0x2c8)
[16575.251969] [<c03541a0>] (__device_suspend+0x264/0x2c8) from [<c0354a04>] (dpm_suspend+0x54/0x194)
[16575.261002] [<c0354a04>] (dpm_suspend+0x54/0x194) from [<c00ca8bc>] (suspend_devices_and_enter+0x78/0x344)
[16575.270781] [<c00ca8bc>] (suspend_devices_and_enter+0x78/0x344) from [<c00cac6c>] (enter_state+0xe4/0x134)
[16575.280563] [<c00cac6c>] (enter_state+0xe4/0x134) from [<c00cbc50>] (suspend+0x5c/0x194)
[16575.288785] [<c00cbc50>] (suspend+0x5c/0x194) from [<c00a9e64>] (process_one_work+0x12c/0x494)
[16575.297525] [<c00a9e64>] (process_one_work+0x12c/0x494) from [<c00aa33c>] (worker_thread+0x170/0x3cc)
[16575.306819] [<c00aa33c>] (worker_thread+0x170/0x3cc) from [<c00ae430>] (kthread+0x80/0x88)
[16575.315213] [<c00ae430>] (kthread+0x80/0x88) from [<c004f408>] (kernel_thread_exit+0x0/0x8)
[16575.323687] Code: e5803000 f57ff04f e320f004 f1080080 (e1a0200d)
[16575.329900] ---[ end trace f54ae59d5c310c0c ]---
[16575.334654] Kernel panic - not syncing: Fatal exception
[16575.339967] [<c0056044>] (unwind_backtrace+0x0/0x138) from [<c06b2244>] (panic+0x74/0x194)
[16575.348374] [<c06b2244>] (panic+0x74/0x194) from [<c00524d8>] (die+0x218/0x284)
[16575.355828] [<c00524d8>] (die+0x218/0x284) from [<c004847c>] (do_DataAbort+0x8c/0x9c)
[16575.363747] [<c004847c>] (do_DataAbort+0x8c/0x9c) from [<c004e2d0>] (__dabt_svc+0x70/0xa0)
[16575.372144] Exception stack(0xd183dd50 to 0xd183dd98)
[16575.377319] dd40: d4431c00 a0000093 00004025 00000000
[16575.385577] dd60: d4431c00 d449c800 d449c850 c098e75c c098e738 d449c848 c097bda8 00000f12
[16575.393888] dd80: 00000000 d183dd98 c0341398 c06b91e0 60000013 ffffffff
[16575.400634] [<c004e2d0>] (__dabt_svc+0x70/0xa0) from [<c06b91e0>] (_raw_spin_unlock_irq+0x18/0x40)
[16575.409681] [<c06b91e0>] (_raw_spin_unlock_irq+0x18/0x40) from [<c0341398>] (uart_suspend_port+0x1c0/0x2a4)
[16575.419566] [<c0341398>] (uart_suspend_port+0x1c0/0x2a4) from [<c0342198>] (serial_imx_suspend+0x54/0x64)
[16575.429274] [<c0342198>] (serial_imx_suspend+0x54/0x64) from [<c03504bc>] (platform_pm_suspend+0x50/0x5c)
[16575.438980] [<c03504bc>] (platform_pm_suspend+0x50/0x5c) from [<c0353664>] (pm_op+0x7c/0x104)
[16575.447642] [<c0353664>] (pm_op+0x7c/0x104) from [<c03541a0>] (__device_suspend+0x264/0x2c8)
[16575.456164] [<c03541a0>] (__device_suspend+0x264/0x2c8) from [<c0354a04>] (dpm_suspend+0x54/0x194)
[16575.465262] [<c0354a04>] (dpm_suspend+0x54/0x194) from [<c00ca8bc>] (suspend_devices_and_enter+0x78/0x344)
[16575.475053] [<c00ca8bc>] (suspend_devices_and_enter+0x78/0x344) from [<c00cac6c>] (enter_state+0xe4/0x134)
[16575.484842] [<c00cac6c>] (enter_state+0xe4/0x134) from [<c00cbc50>] (suspend+0x5c/0x194)
[16575.493073] [<c00cbc50>] (suspend+0x5c/0x194) from [<c00a9e64>] (process_one_work+0x12c/0x494)
[16575.501773] [<c00a9e64>] (process_one_work+0x12c/0x494) from [<c00aa33c>] (worker_thread+0x170/0x3cc)
[16575.511132] [<c00aa33c>] (worker_thread+0x170/0x3cc) from [<c00ae430>] (kthread+0x80/0x88)
[16575.519526] [<c00ae430>] (kthread+0x80/0x88) from [<c004f408>] (kernel_thread_exit+0x0/0x8)
[16586.141047] **** DPM device timeout: imx-uart.0 (imx-uart)
[16586.146601] dpm suspend stack:
[16586.149732] [<c0056044>] (unwind_backtrace+0x0/0x138) from [<c00522bc>] (show_stack+0x10/0x14)
[16586.158487] [<c00522bc>] (show_stack+0x10/0x14) from [<c03535ac>] (dpm_drv_timeout+0x40/0x5c)
[16586.167152] [<c03535ac>] (dpm_drv_timeout+0x40/0x5c) from [<c009df38>] (run_timer_softirq+0x134/0x3e4)
[16586.176602] [<c009df38>] (run_timer_softirq+0x134/0x3e4) from [<c00962b0>] (__do_softirq+0xc8/0x25c)
[16586.185875] [<c00962b0>] (__do_softirq+0xc8/0x25c) from [<c00968f8>] (irq_exit+0x98/0xa0)
[16586.194131] [<c00968f8>] (irq_exit+0x98/0xa0) from [<c004f1b4>] (handle_IRQ+0x50/0xac)
[16586.202180] [<c004f1b4>] (handle_IRQ+0x50/0xac) from [<c004e34c>] (__irq_svc+0x4c/0xe8)
[16586.210318] [<c004e34c>] (__irq_svc+0x4c/0xe8) from [<c02e0e10>] (__delay+0x0/0xc)
[16586.217966] kernel BUG at drivers/base/power/main.c:651!
[16586.223415] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[16586.231635] pgd = c0004000
[16586.234406] [00000000] *pgd=00000000
[16586.238123] Internal error: Oops: 805 [#2] PREEMPT SMP
[16586.243381] Modules linked in: wl12xx_sdio fio_usb wl12xx mac80211 cfg80211 mipi_ov5645
[16586.251979] CPU: 0 Tainted: G D W (3.0.35 #15)
[16586.257499] PC is at __bug+0x1c/0x28
[16586.261140] LR is at __bug+0x18/0x28
[16586.264781] pc : [<c0052070>] lr : [<c005206c>] psr: 20000113
[16586.264786] sp : d183db10 ip : 00000000 fp : 00000104
[16586.276454] r10: d183dc82 r9 : d183c000 r8 : c094a080
[16586.281799] r7 : d183c000 r6 : d183de2c r5 : c09d76e0 r4 : cedd5600
[16586.288448] r3 : 00000000 r2 : c097be00 r1 : 60000193 r0 : 00000042
[16586.295042] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[16586.302471] Control: 10c53c7d Table: 1e37404a DAC: 00000015
[16586.308280]
[16586.308282] PC: 0xc0051ff0:
[16586.312742] 1ff0 e1a04000 e24dd010 e590003c eb01c7bb e3500000 0594003c 0a00000d e2841034
[16586.321663] 2010 e594002c e891000e e88d000f ea000003 e59d000c eb01c7b1 e3500000 0a000006
[16586.330633] 2030 e1a0000d eb000eab e3500000 aafffff7 e3a00000 e28dd010 e8bd8010 e59d000c
[16586.339552] 2050 eafffffb e92d4008 e1a03000 e1a02001 e59f0010 e1a01003 eb1980bd e3a03000
[16586.348524] 2070 e5833000 eafffffe c082e788 e30e07a4 e30012e1 e92d4008 e34c0082 ebfffff0
[16586.357447] 2090 e1a01000 e30e07bc e92d4008 e34c0082 eb1980af e30e07a4 e30012c5 e34c0082
[16586.366422] 20b0 ebffffe7 e92d4008 e1a02000 e1a03001 e30e07dc e1a0100e e34c0082 eb1980a4
[16586.375394] 20d0 e30e07a4 e3001299 e34c0082 ebffffdc e92d4ff0 e24dd06c e1a06002 e1a08000
[16586.384315]
[16586.384317] LR: 0xc0051fec:
[16586.388776] 1fec e92d4010 e1a04000 e24dd010 e590003c eb01c7bb e3500000 0594003c 0a00000d
[16586.397747] 200c e2841034 e594002c e891000e e88d000f ea000003 e59d000c eb01c7b1 e3500000
[16586.406670] 202c 0a000006 e1a0000d eb000eab e3500000 aafffff7 e3a00000 e28dd010 e8bd8010
[16586.415644] 204c e59d000c eafffffb e92d4008 e1a03000 e1a02001 e59f0010 e1a01003 eb1980bd
[16586.424617] 206c e3a03000 e5833000 eafffffe c082e788 e30e07a4 e30012e1 e92d4008 e34c0082
[16586.433536] 208c ebfffff0 e1a01000 e30e07bc e92d4008 e34c0082 eb1980af e30e07a4 e30012c5
[16586.442508] 20ac e34c0082 ebffffe7 e92d4008 e1a02000 e1a03001 e30e07dc e1a0100e e34c0082
[16586.451478] 20cc eb1980a4 e30e07a4 e3001299 e34c0082 ebffffdc e92d4ff0 e24dd06c e1a06002
[16586.460446]
[16586.460448] SP: 0xd183da90:
[16586.464853] da90 00000002 315ba080 36383536 3731322e 5d363639 c06b0020 00000000 d183dabc
[16586.473827] dab0 00000000 0000040f 00000005 d183de2c d183c000 c004e2d0 00000042 60000193
[16586.482742] dad0 c097be00 00000000 cedd5600 c09d76e0 d183de2c d183c000 c094a080 d183c000
[16586.491715] daf0 d183dc82 00000104 00000000 d183db10 c005206c c0052070 20000113 ffffffff
[16586.500692] db10 00000002 c03535b8 d183db38 c009df38 00000001 c094cccc 00200200 c035356c
[16586.509663] db30 d183de24 d183db38 d183db38 d183db38 d183c000 00000101 c094a044 d183c000
[16586.518588] db50 00000057 00000001 d183c000 d183dc82 00000104 c00962b0 00000057 00000000
[16586.527553] db70 00000000 0000000a c094cccc d183c000 c0046dd8 d183c000 00000057 00000000
[16586.536528]
[16586.536530] R2: 0xc097bd80:
[16586.540935] bd80 00000018 00000019 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f
[16586.549908] bda0 c09d34a4 00004000 00000000 c097bdac c097bdac 00000000 00000000 000001f4
[16586.558878] bdc0 0000000a 00000002 00000000 0003c5cc 0000000f 00000004 00000001 00000007
[16586.567793] bde0 00000000 00000000 00000001 c097bdec c097bdec 00000000 00000000 00000000
[16586.576766] be00 c097be00 c097be00 00000004 ffffffff 00000000 00000001 ffffffff 00000000
[16586.585740] be20 c009175c c097a644 00000000 00000000 00000001 00000000 00000000 c097be3c
[16586.594655] be40 c097be3c 00000000 00000000 00000001 00000000 00000000 c097be58 c097be58
[16586.603573] be60 00000000 00000000 c0838794 c0838798 c08387a0 c08387a8 c08387b0 c08387b8
[16586.612542]
[16586.612545] R4: 0xcedd5580:
[16586.616950] 5580 cedd557c 00000000 cedd5588 cedd5588 00000000 00000000 00000000 00000001
[16586.625921] 55a0 00000000 00000000 cedd55a8 cedd55a8 00000000 cedd55b4 cedd55b4 00000000
[16586.634891] 55c0 d2ac20cc c0091bf8 00000000 00000000 00000000 00000000 00000000 00000000
[16586.643811] 55e0 0000c350 0000c350 00000000 00000000 00000000 00000000 00000000 00000000
[16586.652728] 5600 00000000 d183c000 00000002 84208060 00000000 00000000 00000001 00000001
[16586.661702] 5620 00000078 00000078 00000078 00000000 c06bb9f4 00000000 00000400 00400000
[16586.670674] 5640 00000001 00000000 00000000 c13643a0 d5c3068c 00000001 f619ccf1 00000f12
[16586.679587] 5660 a6d69a2d 00000000 353fae39 00000699 a6d33c32 00000000 00000000 00000000
[16586.688557]
[16586.688559] R5: 0xc09d7660:
[16586.693021] 7660 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.701938] 7680 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.710910] 76a0 00000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000
[16586.719878] 76c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.728788] 76e0 00000000 00000000 d183de2c 0018d991 0018d4d2 c09d76f4 c09d76f4 c09d76fc
[16586.737759] 7700 c09d76fc c09d7704 c09d7704 c09d770c c09d770c c09d7714 c09d7714 c09d771c
[16586.746730] 7720 c09d771c c09d7724 c09d7724 c09d772c c09d772c c09d7734 c09d7734 c09d773c
[16586.755704] 7740 c09d773c c09d7744 c09d7744 c09d774c c09d774c c09d7754 c09d7754 c09d775c
[16586.764625]
[16586.764627] R6: 0xd183ddac:
[16586.769088] ddac 00000714 c06eed70 d40e143c 00000000 00000000 d5d7f237 c0342198 c0342144
[16586.778006] ddcc d40e1408 c035046c c03504bc c035046c c0353664 d183de23 a0000013 d5d7f237
[16586.786977] ddec 00000f12 c098f000 d40e1408 c0a23df4 c0a23df4 c098f450 00000002 c098f420
[16586.795947] de0c c03541a0 00000000 20000013 00000000 00000000 00354204 d40e1408 cedd5600
[16586.804919] de2c 00000000 00200200 0018d990 c09d76e0 c035356c d183de24 ffffffff ffffffff
[16586.813832] de4c 00000000 00000000 00000000 00000000 00000000 d40e1470 00000000 d40e1408
[16586.822797] de6c c098f420 c0a23df4 c097e830 c098f420 c0354a04 00000007 00000002 c8827941
[16586.831760] de8c 00000f12 c8827941 00000f12 00000003 00000003 00000003 c09e9f50 d40aae00
[16586.840683]
[16586.840685] R7: 0xd183bf80:
[16586.845089] bf80 00650076 00690070 006b0063 00720065 00000000 ffffffff 00000020 006f0063
[16586.854059] bfa0 002e006d 006e0061 00720064 0069006f 002e0064 00610077 006c006c 00610070
[16586.862971] bfc0 00650070 002e0072 0069006c 00650076 00690070 006b0063 00720065 00000000
[16586.871941] bfe0 ffffffff 00000000 00c8be45 00000000 00000000 00000000 00000024 0073002f
[16586.880909] c000 00000002 00000106 00000000 cedd5600 c097bcf4 00000000 00000015 cedd5600
[16586.889823] c020 c1364320 00000000 d183c000 f702e336 d5c30640 cedd58a0 d183dd8c d183dcd8
[16586.898736] c040 c06b6da0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.907706] c060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.916678]
[16586.916680] R8: 0xc094a000:
[16586.921086] a000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.930057] a020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.938974] a040 c00959fc c009de04 c055af4c c055f3a8 c02d6dc0 c02d74f0 c0095bd4 c0087dbc
[16586.947893] a060 c00b31b0 c00ddd20 00000000 00000000 00000000 00000000 00000000 00000000
[16586.956942] a080 0018d999 00000001 00000000 00000000 00000000 00000000 00000000 00000000
[16586.965915] a0a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.974832] a0c0 0020a9e4 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16586.983804] a0e0 c094a0e0 c094a0e0 00000000 00000000 00000000 00000000 00000000 00000000
[16586.992721]
[16586.992724] R9: 0xd183bf80:
[16586.997129] bf80 00650076 00690070 006b0063 00720065 00000000 ffffffff 00000020 006f0063
[16587.006102] bfa0 002e006d 006e0061 00720064 0069006f 002e0064 00610077 006c006c 00610070
[16587.015075] bfc0 00650070 002e0072 0069006c 00650076 00690070 006b0063 00720065 00000000
[16587.023985] bfe0 ffffffff 00000000 00c8be45 00000000 00000000 00000000 00000024 0073002f
[16587.032955] c000 00000002 00000106 00000000 cedd5600 c097bcf4 00000000 00000015 cedd5600
[16587.041873] c020 c1364320 00000000 d183c000 f702e336 d5c30640 cedd58a0 d183dd8c d183dcd8
[16587.050846] c040 c06b6da0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16587.059761] c060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[16587.068732]
[16587.068734] R10: 0xd183dc02:
[16587.073224] dc00 20000113 ffffffff c082e8ac d183dc34 c082e8ac d183c000 00000001 00000001
[16587.082197] dc20 c06b91e2 00000000 d183dc82 c00524d8 c082e95c 20000113 d183dc38 00000001
[16587.091166] dc40 d183c2f0 0000000b 00000008 00000000 65000f12 33303835 20303030 66373566
[16587.100139] dc60 66343066 32336520 30306630 31662034 30303830 28203038 30613165 64303032
[16587.109052] dc80 20002029 c097bda8 00000f12 00001406 00030003 6cee4c78 d183dd50 c098e738
[16587.118021] dca0 20000113 c097bda8 00000f12 c004847c 00000000 00002410 00000007 00000000
[16587.126989] dcc0 00030003 6cee4c78 00000000 d183c000 d183c000 c00d8918 d183c000 c00dd9c4
[16587.135906] dce0 00000000 c094be00 d5c30640 c094be00 c094be4c d59e9ca0 0000003a 00000000
[16587.144822] dd00 d183c000 c094be00 c094be4c c00d8b34 c005d0b0 c094be00 00000000 d183c000
[16587.153795] Process kworker/u:26 (pid: 16833, stack limit = 0xd183c2f0)
[16587.160529] Stack: (0xd183db10 to 0xd183e000)
[16587.164952] db00: 00000002 c03535b8 d183db38 c009df38
[16587.173253] db20: 00000001 c094cccc 00200200 c035356c d183de24 d183db38 d183db38 d183db38
[16587.181499] db40: d183c000 00000101 c094a044 d183c000 00000057 00000001 d183c000 d183dc82
[16587.189800] db60: 00000104 c00962b0 00000057 00000000 00000000 0000000a c094cccc d183c000
[16587.198100] db80: c0046dd8 d183c000 00000057 00000000 d183c000 d183dc82 c082e8ac c00968f8
[16587.206401] dba0: c095e7d0 c004f1b4 ffffffff f2a00100 00000057 00000003 00000002 c004e34c
[16587.214647] dbc0: 00099d28 ffffffff 000025e3 c008f5c0 00002a30 00000000 00000042 00002968
[16587.222947] dbe0: c09d2b80 c06b91e4 d183dc82 c082e8ac 00000000 d183dc08 c06b2338 c02e0e10
[16587.231248] dc00: 20000113 ffffffff c082e8ac d183dc34 c082e8ac d183c000 00000001 00000001
[16587.239493] dc20: c06b91e2 00000000 d183dc82 c00524d8 c082e95c 20000113 d183dc38 00000001
[16587.247794] dc40: d183c2f0 0000000b 00000008 00000000 65000f12 33303835 20303030 66373566
[16587.256094] dc60: 66343066 32336520 30306630 31662034 30303830 28203038 30613165 64303032
[16587.264396] dc80: 20002029 c097bda8 00000f12 00001406 00030003 6cee4c78 d183dd50 c098e738
[16587.272642] dca0: 20000113 c097bda8 00000f12 c004847c 00000000 00002410 00000007 00000000
[16587.280944] dcc0: 00030003 6cee4c78 00000000 d183c000 d183c000 c00d8918 d183c000 c00dd9c4
[16587.289245] dce0: 00000000 c094be00 d5c30640 c094be00 c094be4c d59e9ca0 0000003a 00000000
[16587.297546] dd00: d183c000 c094be00 c094be4c c00d8b34 c005d0b0 c094be00 00000000 d183c000
[16587.305791] dd20: c0046dd8 d183c000 0000003a 00000f12 c095e7d0 c004f1b4 ffffffff 0000040f
[16587.314093] dd40: 00000406 d449c850 c098e75c c004e2d0 d4431c00 a0000093 00004025 00000000
[16587.322394] dd60: d4431c00 d449c800 d449c850 c098e75c c098e738 d449c848 c097bda8 00000f12
[16587.330641] dd80: 00000000 d183dd98 c0341398 c06b91e0 60000013 ffffffff 2210d037 00000000
[16587.338942] dda0: d4431c00 c098e738 d4431c00 00000714 c06eed70 d40e143c 00000000 00000000
[16587.347241] ddc0: d5d7f237 c0342198 c0342144 d40e1408 c035046c c03504bc c035046c c0353664
[16587.355539] dde0: d183de23 a0000013 d5d7f237 00000f12 c098f000 d40e1408 c0a23df4 c0a23df4
[16587.363785] de00: c098f450 00000002 c098f420 c03541a0 00000000 20000013 00000000 00000000
[16587.372084] de20: 00354204 d40e1408 cedd5600 00000000 00200200 0018d990 c09d76e0 c035356c
[16587.380386] de40: d183de24 ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000
[16587.388688] de60: d40e1470 00000000 d40e1408 c098f420 c0a23df4 c097e830 c098f420 c0354a04
[16587.396934] de80: 00000007 00000002 c8827941 00000f12 c8827941 00000f12 00000003 00000003
[16587.405235] dea0: 00000003 c09e9f50 d40aae00 00000000 c0047840 c09b8f28 00000089 c00ca8bc
[16587.413537] dec0: 00000003 c0838970 00000000 d40aae00 c097eac8 c0047840 c0047840 c00cac6c
[16587.421783] dee0: c097e8e8 c09e9f58 00001fff c00cbc50 c00aa42c c0047320 de00e55b 00000f12
[16587.430084] df00: c0047320 c0047320 00684c85 5caa04bc 33f278db c0047320 2c627275 00000004
[16587.438385] df20: 0000000a 0000000e 00000007 00000003 00000077 00000000 00000061 c09d8780
[16587.446686] df40: d4103e00 d5534860 d183c000 c09d8780 d40aae00 c00a9e64 00000004 00000000
[16587.454931] df60: c00cbbf4 d40aae05 c0047840 d5534860 c09d8780 c09d8788 d5534870 d183c000
[16587.463233] df80: c0047840 c0047840 00000089 c00aa33c 00000013 d183c000 c0047840 c0047840
[16587.471534] dfa0: 00000013 d0543f04 d5534860 c00aa1cc 00000013 00000000 00000000 00000000
[16587.479834] dfc0: 00000000 c00ae430 c004f408 00000000 d5534860 00000000 00000000 00000000
[16587.488082] dfe0: d183dfe0 d183dfe0 d0543f04 c00ae3b0 c004f408 c004f408 00000000 00000000
[16587.496393] [<c0052070>] (__bug+0x1c/0x28) from [<c03535b8>] (dpm_drv_timeout+0x4c/0x5c)
[16587.504612] [<c03535b8>] (dpm_drv_timeout+0x4c/0x5c) from [<c009df38>] (run_timer_softirq+0x134/0x3e4)
[16587.514047] [<c009df38>] (run_timer_softirq+0x134/0x3e4) from [<c00962b0>] (__do_softirq+0xc8/0x25c)
[16587.523251] [<c00962b0>] (__do_softirq+0xc8/0x25c) from [<c00968f8>] (irq_exit+0x98/0xa0)
[16587.531556] [<c00968f8>] (irq_exit+0x98/0xa0) from [<c004f1b4>] (handle_IRQ+0x50/0xac)
[16587.539597] [<c004f1b4>] (handle_IRQ+0x50/0xac) from [<c004e34c>] (__irq_svc+0x4c/0xe8)
[16587.547673] [<c004e34c>] (__irq_svc+0x4c/0xe8) from [<c02e0e10>] (__delay+0x0/0xc)
[16587.555367] Code: e59f0010 e1a01003 eb1980bd e3a03000 (e5833000)
[16587.561599] ---[ end trace f54ae59d5c310c0d ]---
[16587.566284] Kernel panic - not syncing: Fatal exception in interrupt
[16587.572784] [<c0056044>] (unwind_backtrace+0x0/0x138) from [<c06b2244>] (panic+0x74/0x194)
[16587.581137] [<c06b2244>] (panic+0x74/0x194) from [<c00524e0>] (die+0x220/0x284)
[16587.588577] [<c00524e0>] (die+0x220/0x284) from [<c06b1604>] (__do_kernel_fault.part.3+0x54/0x74)
[16587.597592] [<c06b1604>] (__do_kernel_fault.part.3+0x54/0x74) from [<c0059e10>] (do_page_fault+0x2cc/0x334)
[16587.607474] [<c0059e10>] (do_page_fault+0x2cc/0x334) from [<c0048424>] (do_DataAbort+0x34/0x9c)
[16587.616254] [<c0048424>] (do_DataAbort+0x34/0x9c) from [<c004e2d0>] (__dabt_svc+0x70/0xa0)
[16587.624649] Exception stack(0xd183dac8 to 0xd183db10)
[16587.629822] dac0: 00000042 60000193 c097be00 00000000 cedd5600 c09d76e0
[16587.638078] dae0: d183de2c d183c000 c094a080 d183c000 d183dc82 00000104 00000000 d183db10
[16587.646387] db00: c005206c c0052070 20000113 ffffffff
[16587.651573] [<c004e2d0>] (__dabt_svc+0x70/0xa0) from [<c0052070>] (__bug+0x1c/0x28)
[16587.659303] [<c0052070>] (__bug+0x1c/0x28) from [<c03535b8>] (dpm_drv_timeout+0x4c/0x5c)
[16587.667532] [<c03535b8>] (dpm_drv_timeout+0x4c/0x5c) from [<c009df38>] (run_timer_softirq+0x134/0x3e4)
[16587.676976] [<c009df38>] (run_timer_softirq+0x134/0x3e4) from [<c00962b0>] (__do_softirq+0xc8/0x25c)
[16587.686245] [<c00962b0>] (__do_softirq+0xc8/0x25c) from [<c00968f8>] (irq_exit+0x98/0xa0)
[16587.694502] [<c00968f8>] (irq_exit+0x98/0xa0) from [<c004f1b4>] (handle_IRQ+0x50/0xac)
[16587.702554] [<c004f1b4>] (handle_IRQ+0x50/0xac) from [<c004e34c>] (__irq_svc+0x4c/0xe8)
[16587.710687] [<c004e34c>] (__irq_svc+0x4c/0xe8) from [<c02e0e10>] (__delay+0x0/0xc)

Tags (2)
0 Kudos
3 Replies

124 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Jeffery

one can try nxp official sources from source.codeaurora.org/external/imx repository

and check low power driver (description can be found in Chapter 16 Low-level

Power Management (PM) Driver attached Linux Manual)

mx6_suspend.S\mach-mx6\arm\arch - linux-imx - i.MX Linux kernel 

General recommendation is to upgrade to L3.0.101 : linux-imx - i.MX Linux kernel 

or better to use latest L4.9.88 : linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

124 Views
jeffreychang
Contributor I

Dear Igor,

Thank you for the prompt response.

I have compared your mx6_suspend.S with ours and both files are exactly the same.

We are currently in the final stage of product development so I am afraid that we cannot upgrade the Linux kernel version now. Are there kernel patches or errata which are related to spinlock crash in the new versions? 

0 Kudos

124 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Jeffrey

there are no special patches for that error, one can try to reproduce issue on i.MX6DL Sabre SD

board and check suggestions on

https://community.nxp.com/thread/467546 

Best regards
igor

0 Kudos