Yong-Xuan Wang
ca334e10dc
hw/riscv/virt.c: fix the interrupts-extended property format of PLIC
...
The interrupts-extended property of PLIC only has 2 * hart number
fields when KVM enabled, copy 4 * hart number fields to fdt will
expose some uninitialized value.
In this patch, I also refactor the code about the setting of
interrupts-extended property of PLIC for improved readability.
Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Reviewed-by: Jim Shu <jim.shu@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20231218090543.22353-1-yongxuan.wang@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2024-01-10 18:47:47 +10:00
..
2024-01-04 19:55:20 +00:00
2024-01-04 19:55:20 +00:00
2023-12-29 11:17:30 +11:00
2023-11-03 09:20:31 +01:00
2024-01-10 18:47:46 +10:00
2024-01-05 16:20:15 +01:00
2023-11-28 14:27:12 +01:00
2024-01-08 10:45:43 -05:00
2023-12-29 11:17:30 +11:00
2024-01-08 10:45:43 -05:00
2024-01-05 16:20:15 +01:00
2023-12-31 09:11:28 +01:00
2024-01-08 10:45:43 -05:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-11-20 15:30:59 +00:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-01-10 18:47:46 +10:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-01-08 10:45:43 -05:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-01-05 16:20:15 +01:00
2023-12-31 09:11:28 +01:00
2024-01-08 10:45:43 -05:00
2024-01-08 10:45:43 -05:00
2024-01-08 10:45:43 -05:00
2023-11-23 14:10:04 +00:00
2024-01-10 18:47:46 +10:00
2023-12-30 07:38:06 +11:00
2024-01-04 19:55:20 +00:00
2024-01-04 19:55:20 +00:00
2024-01-10 18:47:47 +10:00
2023-10-27 12:48:57 +01:00
2024-01-08 10:45:43 -05:00
2023-10-21 15:00:22 +03:00
2024-01-08 10:45:43 -05:00
2024-01-10 18:47:47 +10:00
2023-12-30 07:38:06 +11:00
2023-11-10 18:19:13 +01:00
2024-01-08 10:45:43 -05:00
2024-01-08 10:45:43 -05:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-31 09:11:28 +01:00
2024-01-05 16:20:15 +01:00
2024-01-05 16:20:15 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-05 13:57:18 +09:00
2024-01-05 13:35:25 +00:00
2024-01-05 21:25:20 +01:00
2024-01-10 18:47:46 +10:00
2023-12-30 07:38:06 +11:00
2024-01-04 09:52:42 +08:00
2023-11-07 08:54:20 +00:00