]> 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)
commit7785233cdb8fa2193ad3b78eec707c3320aa7c57
tree5af6090832d47c9d63ec421b821eca7515b9c427
parent295ab6220c6bccddb88923792a6f904882c9c4eb
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