]> 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)
commitc86e812050cb5a18724c3c95fb2204a7943cf260
treeea9294f1f53410ec582788bc65250a40f84832b2
parent6746f6cf855ae6bfff34989262561b1030dcbc99
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