]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8e6b5ed3a4aeae579afbd45b36849455e44c0be
treeea9294f1f53410ec582788bc65250a40f84832b2
parentfb79c336bbaf98500b02729ca6b2c31c0cd47299
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