]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Refactor kvm_vcpu_enable_ptrauth() for hyp use
authorFuad Tabba <tabba@google.com>
Fri, 18 Oct 2024 07:48:30 +0000 (08:48 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 18:45:24 +0000 (18:45 +0000)
commit3663b258f7231c7f3888c96e5c1eee33547873a6
tree59a45d65398fd6f5e3b51dbfc0fe16f074a62fcc
parent0546d4a925a6ce52b362e528f6d962efd72c84b9
KVM: arm64: Refactor kvm_vcpu_enable_ptrauth() for hyp use

Move kvm_vcpu_enable_ptrauth() to a shared header to be used by
hypervisor code in protected mode.

No functional change intended.

Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241018074833.2563674-3-tabba@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/kvm/reset.c