Re: [PATCH 1/1] hw/riscv/virt.c: fix the interrupts-extended property format of PLIC

2024-01-03 Thread Alistair Francis
On Mon, Dec 18, 2023 at 7:07 PM Yong-Xuan Wang wrote: > > 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 > inter

Re: [PATCH 1/1] hw/riscv/virt.c: fix the interrupts-extended property format of PLIC

2023-12-18 Thread Daniel Henrique Barboza
On 12/18/23 06:05, Yong-Xuan Wang wrote: 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 propert

[PATCH 1/1] hw/riscv/virt.c: fix the interrupts-extended property format of PLIC

2023-12-18 Thread Yong-Xuan Wang
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-of