Luo Haiyang
f2edf797da
irqchip/riscv-imsic: Revert "Remove redundant irq_data lookups"
...
Commit c475c0b71314("irqchip/riscv-imsic: Remove redundant irq_data
lookups") leads to a NULL pointer deference in imsic_msi_update_msg():
virtio_blk virtio1: 8/0/0 default/read/poll queues
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Current kworker/u32:2 pgtable: 4K pagesize, 48-bit VAs, pgdp=0x0000000081c33000
[0000000000000000] pgd=0000000000000000, p4d=0000000000000000
CPU: 5 UID: 0 PID: 75 Comm: kworker/u32:2 Not tainted 6.19.0-rc4-next-20260109 #1 NONE
epc : 0x0
ra : imsic_irq_set_affinity+0x110/0x130
The irq_data argument of imsic_irq_set_affinity() is associated with the
imsic domain and not with the top-level MSI domain. As a consequence the
code dereferences the wrong interrupt chip, which has the
irq_write_msi_msg() callback not populated.
Signed-off-by: Luo Haiyang <luo.haiyang@zte.com.cn >
Signed-off-by: Thomas Gleixner <tglx@kernel.org >
Link: https://patch.msgid.link/20260113111930821RrC26avITHWSFCN0bYbgI@zte.com.cn
2026-01-13 09:51:46 +01:00
..
2019-05-30 11:26:32 -07:00
2025-11-14 10:01:52 +01:00
2025-11-11 22:17:22 +01:00
2025-05-27 08:07:32 -07:00
2025-07-03 15:49:25 +02:00
2025-12-05 17:01:20 -08:00
2025-11-14 10:01:52 +01:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-10-07 10:23:22 +02:00
2025-05-16 21:06:09 +02:00
2019-06-19 17:09:55 +02:00
2025-06-20 21:38:52 +02:00
2025-08-23 21:41:07 +02:00
2025-11-26 19:42:51 -06:00
2025-08-23 21:41:07 +02:00
2025-10-16 18:17:27 +02: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-12-05 17:29:04 -08:00
2025-10-16 18:17:27 +02:00
2025-10-16 18:17:27 +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-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
2025-11-22 17:09:03 +01:00
2025-07-08 18:35:52 +01:00
2023-08-21 17:49:11 +01:00
2022-06-09 17:36:57 +01:00
2025-09-04 14:52:47 +02:00
2025-09-03 09:01:26 -05:00
2025-11-14 10:01:52 +01:00
2025-05-27 08:15:26 -07:00
2025-10-27 17:16:36 +01:00
2025-06-20 13:52:29 -07:00
2025-09-30 16:00:29 -07:00
2026-01-09 16:10:04 +01:00
2025-08-05 10:43:48 +02:00
2025-09-17 17:41:02 +01:00
2025-11-24 14:29:11 -08:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-11-14 10:01:52 +01:00
2025-05-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-11-14 10:01:52 +01: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
2025-05-27 08:07:32 -07:00
2025-05-16 21:06:09 +02: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
2025-12-06 10:39:49 +08:00
2025-05-16 21:06:07 +02:00
2025-11-14 10:01:52 +01:00
2025-11-14 10:01:52 +01:00
2025-11-14 10:01:52 +01:00
2025-05-27 08:07:32 -07:00
2025-11-14 10:01:52 +01:00
2025-07-03 15:49:24 +02:00
2025-11-14 10:01:52 +01:00
2024-08-23 20:40:27 +02: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-07-18 14:54:45 +02:00
2024-11-26 20:09:06 +01:00
2024-09-17 07:09:17 +02:00
2025-12-10 12:11:06 +09:00
2025-11-13 14:04:16 +01:00
2025-05-16 21:06:09 +02:00
2025-06-21 18:20:54 +02:00
2025-05-16 21:06:09 +02:00
2025-05-27 08:07:32 -07:00
2025-09-09 14:44:30 +02:00
2025-11-14 10:01:52 +01:00
2025-11-14 10:01:52 +01:00
2025-05-16 21:06:09 +02:00
2025-08-24 12:00:47 +02:00
2025-05-16 21:32:19 +02:00
2025-05-27 08:15:26 -07: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
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-16 21:06:09 +02:00
2025-06-12 15:08:12 +02:00
2025-10-16 18:17:27 +02:00
2021-10-26 10:13:31 +01: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
2025-09-03 14:10:30 +02:00
2025-12-05 17:29:04 -08:00
2025-10-16 18:17:27 +02:00
2025-06-26 16:06:40 +02:00
2024-11-16 00:45:37 +01:00
2024-08-27 15:48:36 +02:00
2024-11-16 00:45:37 +01:00
2025-10-16 18:17:28 +02:00
2026-01-13 09:51:46 +01:00
2026-01-09 16:10:05 +01:00
2026-01-09 16:10:05 +01:00
2025-11-14 16:52:34 +01: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
2025-12-05 17:29:04 -08:00
2023-04-13 13:13:53 -07:00
2025-05-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2023-08-21 17:49:11 +01:00
2025-10-16 18:17:27 +02:00
2025-05-27 08:07:32 -07:00
2025-06-12 15:08:12 +02:00
2025-05-16 21:06:09 +02: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
2025-11-14 10:01:52 +01:00
2025-06-12 15:08:12 +02:00
2025-06-12 15:08:12 +02: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
2025-05-16 21:06:09 +02:00
2025-11-14 10:01:52 +01:00
2025-05-07 15:36:56 +02: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-16 21:06:09 +02:00
2025-05-16 21:06:09 +02:00
2025-10-16 18:17:27 +02:00
2025-12-02 09:32:53 -08:00
2025-10-27 17:16:36 +01:00
2025-10-17 15:18:18 +02:00
2025-10-16 18:17:27 +02:00
2025-05-16 21:06:09 +02:00