hw/intc/arm_gicv3_cpuif: Don't recalculate maintenance irq unnecessarily
commit189d1d9d5704dfb4fca4d2ccad087bf0e4615898
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Apr 2022 14:15:35 +0000 (8 15:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Apr 2022 13:44:52 +0000 (22 14:44 +0100)
treef663551ddfd9c26616dd4cf4227d52a575d3f23e
parentc3f21b065a41c14b6a18a38e417379ac75b9fc0e
hw/intc/arm_gicv3_cpuif: Don't recalculate maintenance irq unnecessarily

The maintenance interrupt state depends only on:
 * ICH_HCR_EL2
 * ICH_LR<n>_EL2
 * ICH_VMCR_EL2 fields VENG0 and VENG1

Now we have a separate function that updates only the vIRQ and vFIQ
lines, use that in places that only change state that affects vIRQ
and vFIQ but not the maintenance interrupt.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220408141550.1271295-27-peter.maydell@linaro.org
hw/intc/arm_gicv3_cpuif.c