]> git.proxmox.com Git - qemu.git/commit
hw/arm_gic: Fix comparison with priority mask register
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Dec 2012 11:30:37 +0000 (11:30 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Dec 2012 11:30:37 +0000 (11:30 +0000)
commitcad065f18e1ca7694385f42f560da637d4e651b6
treebfba72e964d262655842c525b03cc1f1d0543203
parentbf471f7950e9dc9416747b2774eb712f63afe5a7
hw/arm_gic: Fix comparison with priority mask register

The GIC spec states that only interrupts with higher priority
than the value in the GICC_PMR priority mask register are
passed through to the processor. We were incorrectly allowing
through interrupts with a priority equal to the specified
value: correct the comparison operation to match the spec.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
hw/arm_gic.c