Re: [PATCH] hw/riscv: virt: Avoid double FDT platform node

2022-05-19 Thread Dylan Reid
On Thu, May 19, 2022 at 08:34:06PM +0530, Anup Patel wrote: > On Fri, May 13, 2022 at 1:34 AM Dylan Reid wrote: > > > > When starting the virt machine with `-machine virt,aia=aplic-imsic`, > > both the imsic and aplic init code will add platform fdt nodes by > > calling `platform_bus_add_all_fdt_n

Re: [PATCH] hw/riscv: virt: Avoid double FDT platform node

2022-05-19 Thread Anup Patel
On Fri, May 13, 2022 at 1:34 AM Dylan Reid wrote: > > When starting the virt machine with `-machine virt,aia=aplic-imsic`, > both the imsic and aplic init code will add platform fdt nodes by > calling `platform_bus_add_all_fdt_nodes`. This leads to an error at > startup: > ``` > qemu_fdt_add_subno

Re: [PATCH] hw/riscv: virt: Avoid double FDT platform node

2022-05-16 Thread Alistair Francis
On Fri, May 13, 2022 at 5:12 AM Dylan Reid wrote: > > When starting the virt machine with `-machine virt,aia=aplic-imsic`, > both the imsic and aplic init code will add platform fdt nodes by > calling `platform_bus_add_all_fdt_nodes`. This leads to an error at > startup: > ``` > qemu_fdt_add_subno

Re: [PATCH] hw/riscv: virt: Avoid double FDT platform node

2022-05-16 Thread Alistair Francis
On Fri, May 13, 2022 at 5:12 AM Dylan Reid wrote: > > When starting the virt machine with `-machine virt,aia=aplic-imsic`, > both the imsic and aplic init code will add platform fdt nodes by > calling `platform_bus_add_all_fdt_nodes`. This leads to an error at > startup: > ``` > qemu_fdt_add_subno