diff options
| author | Marc Zyngier <maz@kernel.org> | 2020-06-11 11:26:09 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2020-06-22 11:42:50 +0100 |
| commit | 655169cec7bbf84f59faa9f824edb581eaecf78d (patch) | |
| tree | 72b27ddd35ec6af993fd0b57069238720e3320be /tools/perf/scripts/python | |
| parent | KVM: arm64: Allow PtrAuth to be enabled from userspace on non-VHE systems (diff) | |
| download | linux-655169cec7bbf84f59faa9f824edb581eaecf78d.tar.gz linux-655169cec7bbf84f59faa9f824edb581eaecf78d.zip | |
KVM: arm64: Check HCR_EL2 instead of shadow copy to swap PtrAuth registers
When save/restoring PtrAuth registers between host and guest, it is
pretty useless to fetch the in-memory state, while we have the right
state in the HCR_EL2 system register. Use that instead.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
