]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit966e0149196fe02c6d239f00162e9f92a5bbf3d5
tree5af6090832d47c9d63ec421b821eca7515b9c427
parent096f31c4360f6bab130e3f68513719ec6890128c
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