aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-06-11 11:26:09 +0100
committerMarc Zyngier <maz@kernel.org>2020-06-22 11:42:50 +0100
commit655169cec7bbf84f59faa9f824edb581eaecf78d (patch)
tree72b27ddd35ec6af993fd0b57069238720e3320be /lib/mpi/mpi-add.c
parentaff7cce0d337f5468470d614ef83a507dcf4c93f (diff)
downloadlinux-655169cec7bbf84f59faa9f824edb581eaecf78d.tar.gz
linux-655169cec7bbf84f59faa9f824edb581eaecf78d.tar.bz2
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 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions