diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-01-04 15:41:51 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-29 18:34:13 +0000 |
commit | 59cbcdb5d83b49d1d2e161f3468f850f9fa4b968 (patch) | |
tree | b924baa5d068732a3a3b1d7c46b25f2956ad5d61 /arch/arm/kvm/hyp/Makefile | |
parent | c0c2cdbffef2369a94998fc6d85af25eded92b60 (diff) | |
download | lwn-59cbcdb5d83b49d1d2e161f3468f850f9fa4b968.tar.gz lwn-59cbcdb5d83b49d1d2e161f3468f850f9fa4b968.zip |
ARM: KVM: Add VFP save/restore
This is almost a copy/paste of the existing version, with a couple
of subtle differences:
- Only write to FPEXC once on the save path
- Add an isb when enabling VFP access
The patch also defines a few sysreg accessors and a __vfp_enabled
predicate that test the VFP trapping state.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/hyp/Makefile')
-rw-r--r-- | arch/arm/kvm/hyp/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kvm/hyp/Makefile b/arch/arm/kvm/hyp/Makefile index d8acbb691249..5a45f4c21f83 100644 --- a/arch/arm/kvm/hyp/Makefile +++ b/arch/arm/kvm/hyp/Makefile @@ -6,3 +6,4 @@ obj-$(CONFIG_KVM_ARM_HOST) += tlb.o obj-$(CONFIG_KVM_ARM_HOST) += cp15-sr.o obj-$(CONFIG_KVM_ARM_HOST) += timer-sr.o obj-$(CONFIG_KVM_ARM_HOST) += vgic-v2-sr.o +obj-$(CONFIG_KVM_ARM_HOST) += vfp.o |