]> 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)
commitfc8c1cc6f19417f637ac3952eb76ce934c7eded2
tree702b64e1d6557399aa7c377ee79d5e0aa6fcc1b0
parent266e910ed7daba264576f84057779c9659d0eb23
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