]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: vgic: Implement early VGIC init functionality
authorChristoffer Dall <cdall@linaro.org>
Sat, 18 Mar 2017 12:40:37 +0000 (13:40 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:11 +0000 (07:49 -0700)
commit2a0caf57e406d109d584e6d1be626878133f738d
tree5af6090832d47c9d63ec421b821eca7515b9c427
parent2d70058d8a70e2b328136224498ee48cefed3536
KVM: arm/arm64: vgic: Implement early VGIC init functionality

Implement early initialization for both the distributor and the CPU
interfaces.  The basic idea is that even though the VGIC is not
functional or not requested from user space, the critical path of the
run loop can still call VGIC functions that just won't do anything,
without them having to check additional initialization flags to ensure
they don't look at uninitialized data structures.

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