nvic: set pending status for not active interrupts
authorMarcin Krzeminski <marcin.krzeminski@nokia.com>
Mon, 7 Nov 2016 10:00:24 +0000 (10:00 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Nov 2016 10:00:24 +0000 (10:00 +0000)
commit3bc4b52ccd7754de4fb177871f1c5eaaa61ec7ef
treec24d1e169d01bd8dc2e7cb02abb1f51994640486
parent6e29651c5e3a0e0336818574f273b3f6ecea491d
nvic: set pending status for not active interrupts

According to ARM DUI 0552A 4.2.10. NVIC set pending status
also for disabled interrupts. Correct the logic for
when interrupts are marked pending both on input level
transition and when interrupts are dismissed, to match
the NVIC behaviour rather than the 11MPCore GIC.

Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic.c