Commit 21c687a8 authored by Fuad Tabba's avatar Fuad Tabba Committed by Will Deacon
Browse files

ANDROID: KVM: arm64: Eagerly restore host FPSIMD/SVE state in pKVM



Eagerly restore the host fpsimd/sve state after every vcpu run in
protected mode if the fpsimd/sve unit was used by the guest, instead of
setting fpsimd/simd traps and restoring if the host triggers them.

Note that the behavior with this patch is the existing behavior in
Android 16 (except for restoring ZCL_EL2, which is being fixed in
conjunction with this patch there as well).

Bug: 411040189
Change-Id: I5702590331093937c1cd0d08ac754c634054c7f7
Signed-off-by: default avatarFuad Tabba <tabba@google.com>
parent d871a644
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment