Jessica Liu
b330fbfd34
irqchip/riscv-aplic: Register syscore operations only once
...
Since commit 95a8ddde36 ("irqchip/riscv-aplic: Preserve APLIC
states across suspend/resume"), when multiple NUMA nodes exist
and AIA is not configured as "none", aplic_probe() is called
multiple times. This leads to register_syscore(&aplic_syscore)
being invoked repeatedly, causing the following Oops:
list_add double add: new=ffffffffb91461f0, prev=ffffffffb91461f0, next=ffffffffb915c408.
[<ffffffffb7b5c8ca>] __list_add_valid_or_report+0x60/0xc0
[<ffffffffb7cc3236>] register_syscore+0x3e/0x70
[<ffffffffb7b8d61c>] aplic_probe+0xc6/0x112
Fix this by registering syscore operations only once, using a static
variable aplic_syscore_registered to track registration.
[ tglx: Trim backtrace properly ]
Fixes: 95a8ddde36 ("irqchip/riscv-aplic: Preserve APLIC states across suspend/resume")
Signed-off-by: Jessica Liu <liu.xuemei1@zte.com.cn >
Signed-off-by: Thomas Gleixner <tglx@kernel.org >
Link: https://patch.msgid.link/20260310141731145xMwLsyvXl9Gw-m6A4VRYj@zte.com.cn
2026-03-10 18:42:34 +01:00
..
2026-02-21 17:09:51 -08:00
2026-01-18 14:39:18 +01:00
2026-02-21 17:09:51 -08:00
2026-02-21 20:03:00 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-06-20 21:38:52 +02:00
2025-08-23 21:41:07 +02:00
2026-02-21 17:09:51 -08:00
2025-08-23 21:41:07 +02:00
2026-02-21 17:09:51 -08:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2026-02-21 20:03:00 -08:00
2026-02-21 20:03:00 -08:00
2026-02-21 20:03:00 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-05-27 08:07:32 -07:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-05-13 16:39:03 +02:00
2025-05-16 21:06:09 +02:00
2024-06-24 18:16:44 +01:00
2025-07-08 18:35:52 +01:00
2026-01-27 15:31:42 +01:00
2025-07-08 18:35:52 +01:00
2023-08-21 17:49:11 +01:00
2026-02-21 17:09:51 -08:00
2025-09-03 09:01:26 -05:00
2026-03-01 10:58:16 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-06-20 13:52:29 -07:00
2026-02-28 15:33:34 +01:00
2026-02-21 17:09:51 -08:00
2026-02-21 20:03:00 -08:00
2026-02-13 11:31:15 -08:00
2025-11-24 14:29:11 -08:00
2026-02-21 17:09:51 -08:00
2025-05-16 21:06:09 +02:00
2025-11-14 10:01:52 +01:00
2026-02-21 17:09:51 -08:00
2025-06-12 15:08:12 +02:00
2026-02-21 17:09:51 -08:00
2025-05-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-10-16 18:17:27 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-05-16 21:06:07 +02:00
2025-05-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-05-27 08:07:32 -07:00
2026-02-21 17:09:51 -08:00
2025-05-16 21:06:07 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2024-08-23 20:40:27 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-24 18:35:49 +01:00
2025-07-18 14:54:45 +02:00
2024-11-26 20:09:06 +01:00
2024-09-17 07:09:17 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-06-21 18:20:54 +02:00
2026-02-17 11:03:56 +01:00
2025-05-27 08:07:32 -07:00
2025-09-09 14:44:30 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-22 08:26:33 -08:00
2025-08-24 12:00:47 +02:00
2025-05-16 21:32:19 +02:00
2026-02-21 17:09:51 -08:00
2025-10-16 18:17:28 +02:00
2025-05-16 21:32:20 +02:00
2025-05-16 21:06:09 +02:00
2025-09-03 14:10:30 +02:00
2025-05-16 21:06:09 +02:00
2026-01-16 16:38:56 +00:00
2026-01-16 16:38:56 +00:00
2025-05-16 21:06:09 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-06-12 15:08:12 +02:00
2025-10-16 18:17:27 +02:00
2025-05-16 21:06:09 +02:00
2025-07-18 16:46:09 +02:00
2025-07-18 16:46:09 +02:00
2026-01-15 12:03:27 +01:00
2025-12-05 17:29:04 -08:00
2025-12-15 22:44:32 +01:00
2026-02-10 14:01:40 -08:00
2025-12-16 19:08:43 +01:00
2026-03-10 18:42:34 +01:00
2025-12-16 19:08:43 +01:00
2024-11-16 00:45:37 +01:00
2025-12-15 22:44:33 +01:00
2026-01-13 09:51:46 +01:00
2026-02-22 08:26:33 -08:00
2026-01-09 16:10:05 +01:00
2026-02-21 20:03:00 -08:00
2025-09-25 19:49:19 -06:00
2025-11-14 10:01:52 +01:00
2025-09-04 14:52:48 +02:00
2026-03-01 10:58:16 -08:00
2023-04-13 13:13:53 -07:00
2026-02-21 17:09:51 -08:00
2025-05-16 21:06:09 +02:00
2023-08-21 17:49:11 +01:00
2026-02-21 17:09:51 -08:00
2026-02-22 08:26:33 -08:00
2025-06-12 15:08:12 +02:00
2026-02-21 17:09:51 -08:00
2025-11-14 10:01:52 +01:00
2025-05-27 08:07:32 -07:00
2025-05-27 08:07:32 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-01-26 16:40:04 +01:00
2025-10-16 18:17:28 +02:00
2025-05-16 21:06:07 +02:00
2025-05-16 21:06:09 +02:00
2026-02-21 17:09:51 -08:00
2025-11-14 10:01:52 +01:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-10-16 18:17:27 +02:00
2026-01-18 14:39:18 +01:00
2025-12-15 22:44:32 +01:00
2025-10-17 15:18:18 +02:00
2026-02-21 17:09:51 -08:00
2025-05-16 21:06:09 +02:00