[PATCH v3 14/23] arm64: KVM: VHE: Make __fpsimd_enabled VHE aware

2016-02-03 Thread Marc Zyngier
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 Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/kvm_arm.h | 3 +++

[PATCH v3 14/23] arm64: KVM: VHE: Make __fpsimd_enabled VHE aware

2016-02-03 Thread Marc Zyngier
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 Signed-off-by: Marc Zyngier ---