diff options
author | Marc Zyngier <maz@kernel.org> | 2020-06-11 13:26:09 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-06-22 13:42:50 +0300 |
commit | 655169cec7bbf84f59faa9f824edb581eaecf78d (patch) | |
tree | 72b27ddd35ec6af993fd0b57069238720e3320be /net/unix/af_unix.c | |
parent | aff7cce0d337f5468470d614ef83a507dcf4c93f (diff) | |
download | linux-655169cec7bbf84f59faa9f824edb581eaecf78d.tar.xz |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions