]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: vgic-its: Fix handling of indirect tables
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 15:16:26 +0000 (16:16 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:16 +0000 (18:15 +0100)
commitba542524778860e3bc9fb6cb4c6a0b61d8651dfd
tree702b64e1d6557399aa7c377ee79d5e0aa6fcc1b0
parent0ec43b1e2130eafa66e3c921ec0ee8d2190a08b8
KVM: arm64: vgic-its: Fix handling of indirect tables

The current code will fail on valid indirect tables, and happily
use the ones that are pointing out of the guest RAM. Funny what a
small "!" can do for you...

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-its.c