The reg_set[] array holds the register values for registers in the "sets of 4 registers IIESRn, IIECRn, IISTRn, IIMSRn" part of this device, not the extra non-grouped ICIPSRn registers at the end. It therefore needs at most 0x40 entries (for registers at offset 0x0 up to offset 0xFC), but we oversized it at 0x41.
Reduce the size to what it ought to be. This is a migration break, but we don't care for the exynos boards. Signed-off-by: Peter Maydell <[email protected]> --- include/hw/intc/exynos4210_combiner.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/hw/intc/exynos4210_combiner.h b/include/hw/intc/exynos4210_combiner.h index b1db48cb880..94177827196 100644 --- a/include/hw/intc/exynos4210_combiner.h +++ b/include/hw/intc/exynos4210_combiner.h @@ -39,7 +39,11 @@ OBJECT_DECLARE_SIMPLE_TYPE(Exynos4210CombinerState, EXYNOS4210_COMBINER) /* Number of groups and total number of interrupts for the internal combiner */ #define IIC_NGRP 64 #define IIC_NIRQ (IIC_NGRP * 8) -#define IIC_REGSET_SIZE 0x41 +/* + * Number of registers in the IIESRn, IIECRn, IISTRn, IIMSRn part + * of the register map. + */ +#define IIC_REGSET_SIZE 0x40 struct Exynos4210CombinerState { SysBusDevice parent_obj; -- 2.43.0
