Re: [PATCH 04/26] hw/intc/arm_gicv3_its: Remove maxids union from TableDesc

2021-12-13 Thread Alex Bennée
Peter Maydell writes: > The TableDesc struct defines properties of the in-guest-memory tables > which the guest tells us about by writing to the GITS_BASER > registers. This struct currently has a union 'maxids', but all the > fields of the union have the same type (uint32_t) and do the same >

Re: [PATCH 04/26] hw/intc/arm_gicv3_its: Remove maxids union from TableDesc

2021-12-12 Thread Richard Henderson
On 12/11/21 11:11 AM, Peter Maydell wrote: The TableDesc struct defines properties of the in-guest-memory tables which the guest tells us about by writing to the GITS_BASER registers. This struct currently has a union 'maxids', but all the fields of the union have the same type (uint32_t) and do

[PATCH 04/26] hw/intc/arm_gicv3_its: Remove maxids union from TableDesc

2021-12-11 Thread Peter Maydell
The TableDesc struct defines properties of the in-guest-memory tables which the guest tells us about by writing to the GITS_BASER registers. This struct currently has a union 'maxids', but all the fields of the union have the same type (uint32_t) and do the same thing (record one-greater-than the