arm64: KVM: VHE: Add fpsimd enabling on guest access
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 28 Oct 2015 14:42:09 +0000 (14:42 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:17 +0000 (18:34 +0000)
commit77cb2d91333312d7426055d4369f3821e5e8bda0
tree3ef94f5d8792be1a432d5d5c864de0ced73bbe31
parent5efe6de13807fe927f0ecc63d83197b5cd3c7782
arm64: KVM: VHE: Add fpsimd enabling on guest access

Despite the fact that a VHE enabled kernel runs at EL2, it uses
CPACR_EL1 to trap FPSIMD access. Add the required alternative
code to re-enable guest FPSIMD access when it has trapped to
EL2.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp/entry.S