]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/intc/arm_gic: Add grouping support to gic_update()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 12 May 2015 10:57:18 +0000 (11:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 May 2015 10:57:18 +0000 (11:57 +0100)
commitdadbb58f5955053c5f5dc2252a4b183f90d7bfce
treea39fb591d7790ee059d88a7007694f79597fc6bb
parentc5619bf9e8935aeb972c0bd935549e9ee0a739f2
hw/intc/arm_gic: Add grouping support to gic_update()

Add support to gic_update() for determining the current IRQ
and FIQ status when interrupt grouping is supported. This
simply requires that instead of always raising IRQ we
check the group of the highest priority pending interrupt
and the GICC_CTLR.FIQEn bit to see whether we should raise
IRQ or FIQ.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1430502643-25909-15-git-send-email-peter.maydell@linaro.org
hw/intc/arm_gic.c