arm64: KVM: Implement fpsimd save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 26 Oct 2015 08:34:09 +0000 (08:34 +0000)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:44 +0000 (22:15 +0800)
commit3ff56990bcd69f2b80e8cbff3cb49a544971f3d5
tree9e7e557e5941c53b4e2d2cc95521231958a976e1
parent1980361d468b1245235abf9240962d1a766a9c2d
arm64: KVM: Implement fpsimd save/restore

Implement the fpsimd save restore, keeping the lazy part in
assembler (as returning to C would be overkill).

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit c13d1683df16db16c91372177ca10c31677b5ed5)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/kvm/hyp/Makefile
arch/arm64/kvm/hyp/entry.S
arch/arm64/kvm/hyp/fpsimd.S [new file with mode: 0644]
arch/arm64/kvm/hyp/hyp.h
arch/arm64/kvm/hyp/switch.c
arch/arm64/kvm/hyp/sysreg-sr.c