KVM: arm/arm64: vgic: Don't check vgic_initialized in sync/flush
authorChristoffer Dall <cdall@linaro.org>
Sat, 18 Mar 2017 12:41:54 +0000 (13:41 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:11 +0000 (07:49 -0700)
commit0b09b6e51931ef5b4e0d7adee0a666c7f4b1867b
treee32dedfd3813ed5badcb404590692ff03d805442
parent966e0149196fe02c6d239f00162e9f92a5bbf3d5
KVM: arm/arm64: vgic: Don't check vgic_initialized in sync/flush

Now when we do an early init of the static parts of the VGIC data
structures, we can do things like checking if the AP lists are empty
directly without having to explicitly check if the vgic is initialized
and reduce a bit of work in our critical path.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
virt/kvm/arm/vgic/vgic.c