hw/intc/arm_gicv3: Use correct number of priority bits for the CPU
Make the GICv3 set its number of bits of physical priority from the implementation-specific value provided in the CPU state struct, in the same way we already do for virtual priority bits. Because this would be a migration compatibility break, we provide a property force-8-bit-prio which is enabled for 7.0 and earlier versioned board models to retain the legacy "always use 8 bits" behaviour. Signed-off-by:Peter Maydell <peter.maydell@linaro.org> Reviewed-by:
Richard Henderson <richard.henderson@linaro.org> Message-id: 20220512151457.3899052-6-peter.maydell@linaro.org Message-id: 20220506162129.2896966-5-peter.maydell@linaro.org
Showing
- hw/core/machine.c 3 additions, 1 deletionhw/core/machine.c
- hw/intc/arm_gicv3_common.c 5 additions, 0 deletionshw/intc/arm_gicv3_common.c
- hw/intc/arm_gicv3_cpuif.c 11 additions, 4 deletionshw/intc/arm_gicv3_cpuif.c
- include/hw/intc/arm_gicv3_common.h 1 addition, 0 deletionsinclude/hw/intc/arm_gicv3_common.h
- target/arm/cpu.h 1 addition, 0 deletionstarget/arm/cpu.h
- target/arm/cpu64.c 6 additions, 0 deletionstarget/arm/cpu64.c
Loading
Please register or sign in to comment