]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: arm64: Remove PtrAuth guest vcpu flag
authorFuad Tabba <tabba@google.com>
Mon, 16 Dec 2024 10:50:55 +0000 (10:50 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Dec 2024 13:54:06 +0000 (13:54 +0000)
commitc5c1763596660fcd77a1190b3bd78bbe24bcfd6a
tree598467b0c4e351d6f7977091395e00929cf4b48d
parent1eccad35c9268f1ad4be3d72d37167a58c0ac2db
KVM: arm64: Remove PtrAuth guest vcpu flag

The vcpu flag GUEST_HAS_PTRAUTH is always associated with the
vcpu PtrAuth features, which are defined per vm rather than per
vcpu.

Remove the flag, and replace it with checks for the features
instead.

Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241216105057.579031-16-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/hyp/nvhe/pkvm.c
arch/arm64/kvm/reset.c