Re: [PATCH 03/14] hw/intc/arm_gicv3: Initialise dma_as in GIC, not ITS

2022-01-27 Thread Richard Henderson
On 1/23/22 05:24, Peter Maydell wrote: In our implementation, all ITSes connected to a GIC share a single AddressSpace, which we keep in the GICv3State::dma_as field and initialized based on the GIC's 'sysmem' property. The right place to set it up by calling address_space_init() is therefore in

[PATCH 03/14] hw/intc/arm_gicv3: Initialise dma_as in GIC, not ITS

2022-01-22 Thread Peter Maydell
In our implementation, all ITSes connected to a GIC share a single AddressSpace, which we keep in the GICv3State::dma_as field and initialized based on the GIC's 'sysmem' property. The right place to set it up by calling address_space_init() is therefore in the GIC's realize method, not the ITS's