]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: vgic: avoid map in kvm_vgic_map_is_active()
authorAndre Przywara <andre.przywara@arm.com>
Wed, 13 Apr 2016 09:03:49 +0000 (10:03 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:38 +0000 (15:39 +0200)
commit6ad22a29e09241b43fdabda1cefe9337be2608d3
treeccee602ddeb5337a1dc38f49cd659f00f4a07813
parent4b8632a83d96591c7af80f8b3f1fdb3958a5a4fe
KVM: arm/arm64: vgic: avoid map in kvm_vgic_map_is_active()

For getting the active state of a mapped IRQ, we actually only need
the virtual IRQ number, not the pointer to the mapping entry.
Pass the virtual IRQ number from the arch timer to the VGIC directly.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/arch_timer.c
virt/kvm/arm/vgic.c