summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/arm.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-03-06 10:21:06 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2018-03-14 19:28:41 +0100
commit62b06f8f429cd233e4e2e7bbd21081ad60c9018f (patch)
tree0871247997ddd7cd419f800e41b64c506c3b7cb5 /virt/kvm/arm/arm.c
parentARM: kvm: fix building with gcc-8 (diff)
downloadlinux-62b06f8f429cd233e4e2e7bbd21081ad60c9018f.tar.xz
linux-62b06f8f429cd233e4e2e7bbd21081ad60c9018f.zip
KVM: arm/arm64: vgic: Add missing irq_lock to vgic_mmio_read_pending
Our irq_is_pending() helper function accesses multiple members of the vgic_irq struct, so we need to hold the lock when calling it. Add that requirement as a comment to the definition and take the lock around the call in vgic_mmio_read_pending(), where we were missing it before. Fixes: 96b298000db4 ("KVM: arm/arm64: vgic-new: Add PENDING registers handlers") Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/arm/arm.c')
0 files changed, 0 insertions, 0 deletions