Re: [PATCH 40/41] hw/arm/virt: Abstract out calculation of redistributor region capacity

2022-04-09 Thread Richard Henderson
On 4/8/22 07:15, Peter Maydell wrote: In several places in virt.c we calculate the number of redistributors that fit in a region of our memory map, which is the size of the region divided by the size of a single redistributor frame. For GICv4, the redistributor frame is a different size from

[PATCH 40/41] hw/arm/virt: Abstract out calculation of redistributor region capacity

2022-04-08 Thread Peter Maydell
In several places in virt.c we calculate the number of redistributors that fit in a region of our memory map, which is the size of the region divided by the size of a single redistributor frame. For GICv4, the redistributor frame is a different size from that for GICv3. Abstract out the