On 4/8/22 07:15, Peter Maydell wrote:
In the GICv3 code we implicitly rely on there being at least one CPU
and thus at least one redistributor and CPU interface. Sanity-check
that the property the board code sets is not zero.
Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
Doing this would be a board code error, but we might as well
get a clean diagnostic for it and not have to think about
num_cpu == 0 as a special case later.
---
hw/intc/arm_gicv3_common.c | 4 ++++
1 file changed, 4 insertions(+)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~