]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/arm64/kvm/hyp/switch.c
arm64: KVM: VHE: Make __fpsimd_enabled VHE aware
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 28 Oct 2015 14:15:45 +0000 (14:15 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:17 +0000 (18:34 +0000)
commit328762247cd33b4533f9dd89a4faf40288f359b7
tree59d51bc3be01fa15432ffe4d54eb593391ac3e9c
parentd1526e5efc3978efe8c9c37a2396d91e4702251b
arm64: KVM: VHE: Make __fpsimd_enabled VHE aware

As non-VHE and VHE have different ways to express the trapping of
FPSIMD registers to EL2, make __fpsimd_enabled a patchable predicate
and provide a VHE implementation.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_arm.h
arch/arm64/kvm/hyp/hyp.h
arch/arm64/kvm/hyp/switch.c