OSDN Git Service

KVM: arm64: Remove eager host SVE state saving
authorDave Martin <Dave.Martin@arm.com>
Fri, 20 Apr 2018 16:39:16 +0000 (17:39 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 25 May 2018 11:28:30 +0000 (12:28 +0100)
commit21cdd7fd76e3259b06d78c909e9caeb084c04b65
treeea9294f1f53410ec582788bc65250a40f84832b2
parent85acda3b4a27ee3e20c54783a44f307b51912c2b
KVM: arm64: Remove eager host SVE state saving

Now that the host SVE context can be saved on demand from Hyp,
there is no longer any need to save this state in advance before
entering the guest.

This patch removes the relevant call to
kvm_fpsimd_flush_cpu_state().

Since the problem that function was intended to solve now no longer
exists, the function and its dependencies are also deleted.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kernel/fpsimd.c
virt/kvm/arm/arm.c