summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-03-17 16:50:39 +0000
committerMarc Zyngier <maz@kernel.org>2021-03-18 14:22:31 +0000
commitbeed09067b428a7e84a53b05c1de1f93c8460e91 (patch)
treeb1191fec23fd574d4eb8d17ffc22453bc66217a5 /tools/perf/scripts/python
parentb145a8437aab2799969f6ad8e384b557872333c2 (diff)
KVM: arm64: Trap host SVE accesses when the FPSIMD state is dirty
ZCR_EL2 controls the upper bound for ZCR_EL1, and is set to a potentially lower limit when the guest uses SVE. In order to restore the SVE state on the EL1 host, we must first reset ZCR_EL2 to its original value. To make it as lazy as possible on the EL1 host side, set the SVE trapping in place when exiting from the guest. On the first EL1 access to SVE, ZCR_EL2 will be restored to its full glory. Suggested-by: Andrew Scull <ascull@google.com> Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions