Ricardo Ribalda
11780e3756
pinctrl: meditatek: Startup with the IRQs disabled
...
If the system is restarted via kexec(), the peripherals do not start
with a known state.
If the previous system had enabled an IRQs we will receive unexected
IRQs that can lock the system.
[ 28.109251] watchdog: BUG: soft lockup - CPU#0 stuck for 26s!
[swapper/0:0]
[ 28.109263] Modules linked in:
[ 28.109273] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
5.15.79-14458-g4b9edf7b1ac6 #1 9f2e76613148af94acccd64c609a552fb4b4354b
[ 28.109284] Hardware name: Google Elm (DT)
[ 28.109290] pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS
BTYPE=--)
[ 28.109298] pc : __do_softirq+0xa0/0x388
[ 28.109309] lr : __do_softirq+0x70/0x388
[ 28.109316] sp : ffffffc008003ee0
[ 28.109321] x29: ffffffc008003f00 x28: 000000000000000a x27:
0000000000000080
[ 28.109334] x26: 0000000000000001 x25: ffffffefa7b350c0 x24:
ffffffefa7b47480
[ 28.109346] x23: ffffffefa7b3d000 x22: 0000000000000000 x21:
ffffffefa7b0fa40
[ 28.109358] x20: ffffffefa7b005b0 x19: ffffffefa7b47480 x18:
0000000000065b6b
[ 28.109370] x17: ffffffefa749c8b0 x16: 000000000000018c x15:
00000000000001b8
[ 28.109382] x14: 00000000000d3b6b x13: 0000000000000006 x12:
0000000000057e91
[ 28.109394] x11: 0000000000000000 x10: 0000000000000000 x9 :
ffffffefa7b47480
[ 28.109406] x8 : 00000000000000e0 x7 : 000000000f424000 x6 :
0000000000000000
[ 28.109418] x5 : ffffffefa7dfaca0 x4 : ffffffefa7dfadf0 x3 :
000000000000000f
[ 28.109429] x2 : 0000000000000000 x1 : 0000000000000100 x0 :
0000000001ac65c5
[ 28.109441] Call trace:
[ 28.109447] __do_softirq+0xa0/0x388
[ 28.109454] irq_exit+0xc0/0xe0
[ 28.109464] handle_domain_irq+0x68/0x90
[ 28.109473] gic_handle_irq+0xac/0xf0
[ 28.109480] call_on_irq_stack+0x28/0x50
[ 28.109488] do_interrupt_handler+0x44/0x58
[ 28.109496] el1_interrupt+0x30/0x58
[ 28.109506] el1h_64_irq_handler+0x18/0x24
[ 28.109512] el1h_64_irq+0x7c/0x80
[ 28.109519] arch_local_irq_enable+0xc/0x18
[ 28.109529] default_idle_call+0x40/0x140
[ 28.109539] do_idle+0x108/0x290
[ 28.109547] cpu_startup_entry+0x2c/0x30
[ 28.109554] rest_init+0xe8/0xf8
[ 28.109562] arch_call_rest_init+0x18/0x24
[ 28.109571] start_kernel+0x338/0x42c
[ 28.109578] __primary_switched+0xbc/0xc4
[ 28.109588] Kernel panic - not syncing: softlockup: hung tasks
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://lore.kernel.org/r/20221122-mtk-pinctrl-v1-1-bedf5655a3d2@chromium.org
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-11-22 21:05:18 +01:00
..
2021-12-16 04:18:30 +01:00
2022-08-31 14:14:31 +02:00
2022-10-11 10:59:59 -07:00
2022-09-05 14:10:14 +02:00
2021-12-22 03:09:56 +01:00
2022-09-08 10:06:57 +02:00
2022-08-10 11:01:44 -07:00
2022-11-22 21:05:18 +01:00
2022-09-08 10:35:30 +02:00
2022-08-22 10:46:25 +02:00
2022-09-19 09:35:57 +02:00
2022-10-04 09:40:57 +02:00
2022-01-24 01:12:54 +01:00
2022-11-08 15:03:24 +01:00
2022-07-11 14:40:17 +02:00
2022-08-10 11:01:44 -07:00
2022-08-16 12:23:30 +03:00
2021-12-16 04:18:30 +01:00
2021-01-18 14:41:42 +01:00
2022-10-04 10:47:48 +02:00
2022-09-20 11:16:42 +02:00
2022-07-11 15:04:19 +02:00
2022-10-11 10:59:59 -07:00
2022-05-04 23:40:05 +02:00
2021-04-08 15:57:14 +02:00
2022-02-11 01:37:21 +01:00
2021-02-15 11:43:26 +01:00
2021-12-16 04:18:30 +01:00
2022-07-18 11:38:37 +02:00
2022-11-10 12:26:18 +01:00
2022-10-11 10:59:59 -07:00
2022-10-04 10:42:11 +02:00
2022-03-15 01:24:15 +01:00
2021-03-10 14:41:58 +01:00
2022-10-12 10:23:24 -07:00
2022-06-15 15:54:20 +02:00
2022-05-25 09:37:44 +02:00
2022-06-10 14:51:36 +02:00
2022-07-18 11:38:36 +02:00
2022-09-03 00:19:23 +02:00
2022-06-30 14:05:57 +02:00
2020-07-16 15:13:55 +02:00
2022-09-20 11:22:12 +02:00
2021-12-22 03:09:56 +01:00
2021-12-16 04:18:30 +01:00
2022-05-09 13:46:51 +02:00
2022-05-09 13:46:51 +02:00
2020-12-04 09:17:51 +01:00
2021-10-14 01:22:58 +02:00
2022-10-17 11:47:38 +02:00
2022-02-11 02:19:47 +01:00
2021-12-22 02:57:27 +01:00
2021-04-22 02:03:01 +02:00
2022-04-22 22:56:46 +02:00
2020-11-05 11:30:31 +01:00
2022-09-03 00:17:35 +02:00
2021-06-12 01:58:10 +02:00
2022-10-11 10:59:59 -07:00
2022-10-18 10:42:10 +02:00
2021-12-16 04:18:30 +01:00
2022-06-10 14:51:36 +02:00
2021-12-16 04:18:30 +01:00
2022-09-08 15:18:58 +02:00
2021-12-22 03:09:56 +01:00
2022-11-07 15:39:38 +01:00
2022-08-22 09:51:08 +02:00
2022-11-21 14:41:52 +01:00
2022-10-04 09:58:17 +02:00
2021-12-16 04:18:30 +01:00
2021-12-16 04:18:30 +01:00
2022-04-23 00:01:55 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2021-12-16 04:18:30 +01:00
2022-03-15 01:46:13 +01:00
2022-10-18 09:50:29 +02:00
2021-12-22 02:57:27 +01:00
2021-12-22 02:57:27 +01:00