]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Tidying up PAuth code in KVM
authorFuad Tabba <tabba@google.com>
Mon, 22 Jul 2024 16:33:11 +0000 (17:33 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 7 Aug 2024 19:11:05 +0000 (19:11 +0000)
commit7e814a20f6da2bd2044b1a4682dd92a6f0df5a92
tree1ce76bf3ddac6e16afa7aa60ffdc20a75ae29d66
parent01ab08cafeced7ae1d6c01a08218742c8182f8da
KVM: arm64: Tidying up PAuth code in KVM

Tidy up some of the PAuth trapping code to clear up some comments
and avoid clang/checkpatch warnings. Also, don't bother setting
PAuth HCR_EL2 bits in pKVM, since it's handled by the hypervisor.

Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20240722163311.1493879-1-tabba@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_ptrauth.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/nvhe/switch.c