]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
arm64: KVM: vgic-v2: Enable GICV access from HYP if access from guest is unsafe
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Sep 2016 08:28:47 +0000 (09:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 8 Sep 2016 10:53:00 +0000 (12:53 +0200)
commita07d3b07a876d44827e62f3ef55837ebbf61c4e6
tree58d07ebae9e09ac06c056d5a002a3840f96d8b60
parentbf8feb39642b4c71c644e2d534ce53029bd2219b
arm64: KVM: vgic-v2: Enable GICV access from HYP if access from guest is unsafe

So far, we've been disabling KVM on systems where the GICV region couldn't
be safely given to a guest. Now that we're able to handle this access
safely by emulating it in HYP, we can enable this feature when we detect
an unsafe configuration.

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