hw/intc/arm_gicv3: Implement functions to identify next pending irq
commitce187c3c15f4bda579c9833cd78092fb73e651aa
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:46 +0000 (17 15:23 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:51 +0000 (17 15:23 +0100)
treebd9c801b0e14a81f6a8d5bf674b6716bb5bc2a7f
parent56992670a45aa14637dafc145e9f9b68172efb13
hw/intc/arm_gicv3: Implement functions to identify next pending irq

Implement the GICv3 logic to recalculate the highest priority pending
interrupt for each CPU after some part of the GIC state has changed.
We avoid unnecessary full recalculation where possible.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org>
Tested-by: Shannon Zhao <shannon.zhao@linaro.org>
Message-id: 1465915112-29272-11-git-send-email-peter.maydell@linaro.org
hw/intc/arm_gicv3.c
hw/intc/arm_gicv3_common.c
hw/intc/gicv3_internal.h
include/hw/intc/arm_gicv3_common.h