diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-01-21 19:36:15 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2013-02-11 18:59:49 +0000 |
commit | a1fcb44e26b0d98ebe53e8299462bf84c5aff178 (patch) | |
tree | e86131a6cb09992df13f5d04f94f47be32368575 /arch/arm/kvm/arm.c | |
parent | 9d949dce523df878f1fce9f4d7738a5834650927 (diff) | |
download | op-kernel-dev-a1fcb44e26b0d98ebe53e8299462bf84c5aff178.zip op-kernel-dev-a1fcb44e26b0d98ebe53e8299462bf84c5aff178.tar.gz |
ARM: KVM: vgic: retire queued, disabled interrupts
An interrupt may have been disabled after being made pending on the
CPU interface (the classic case is a timer running while we're
rebooting the guest - the interrupt would kick as soon as the CPU
interface gets enabled, with deadly consequences).
The solution is to examine already active LRs, and check the
interrupt is still enabled. If not, just retire it.
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/arm.c')
0 files changed, 0 insertions, 0 deletions