diff options
author | Nianyao Tang <[email protected]> | 2022-12-20 18:50:24 +0800 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2023-01-12 21:15:16 +0000 |
commit | 59d78a2ec0e9cfba5935f3a0d3f14a771461cded (patch) | |
tree | 1a716454c69cfd36b94d8a957f6435498fd12cd4 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 7a5e9c8f0b2d18fa5e7f2b8e4ef68464fa3bc83e (diff) |
KVM: arm64: Synchronize SMEN on vcpu schedule out
If we have VHE and need to reenable SME for host in
kvm_arch_vcpu_put_fp, CPACR.SMEN is modified from 0 to 1. Trap
control for reading SVCR is modified from enable to disable.
Synchronization is needed before reading SVCR later in
fpsimd_save, or it may cause sync exception which can not be
handled by host.
Cc: Marc Zyngier <[email protected]>
Cc: James Morse <[email protected]>
Cc: Alexandru Elisei <[email protected]>
Cc: Suzuki K Poulose <[email protected]>
Cc: Oliver Upton <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Nianyao Tang <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions