commit | 59cbcdb5d83b49d1d2e161f3468f850f9fa4b968 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Jan 04 15:41:51 2016 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Feb 29 18:34:13 2016 +0000 |
tree | b924baa5d068732a3a3b1d7c46b25f2956ad5d61 | |
parent | c0c2cdbffef2369a94998fc6d85af25eded92b60 [diff] |
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>