arm_gic: gic_update should always update all cores
commit235069a380147e31236b94c31528fc5170c3a421
authorJohan Karlsson <Johan.Karlsson@enea.com>
Mon, 15 Jun 2015 17:06:07 +0000 (15 18:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 15 Jun 2015 17:06:07 +0000 (15 18:06 +0100)
tree917b530bce82aa4e390aefdad791848db90fd0ec
parent4e42a6ca37e39e56725518851f4388e46bd91129
arm_gic: gic_update should always update all cores

This patch fixes so that gic_update always updates all the cores with
new pending irq states.  If the function returns early it is possible
to get interrupts that has already been acknowledged.

Signed-off-by: Johan Karlsson <johan.karlsson@enea.com>
[PMM: rebased to apply to current master]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic.c