]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: dont rely on a valid GICH base address
authorAndre Przywara <andre.przywara@arm.com>
Sun, 26 Oct 2014 23:18:14 +0000 (23:18 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 20 Jan 2015 17:25:27 +0000 (18:25 +0100)
commit9001c24beb94cb5b49247e1d2769e570bc43cf3a
treed0033372ccdd1c40ccbb8b622e8999794e0fadf7
parent1ad3e31dede603066d687ca16cb19e0c23a25d35
arm/arm64: KVM: dont rely on a valid GICH base address

To check whether the vGIC was already initialized, we currently check
the GICH base address for not being NULL. Since with GICv3 we may
get along without this address, lets use the irqchip_in_kernel()
function to detect an already initialized vGIC.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c