History

KVM: arm64: Add capability to advertise ptrauth for guest

This patch advertises the capability of two cpu feature called address pointer authentication and generic pointer authentication. These capabilities depend upon system support for pointer authentication and VHE mode. The current arm64 KVM partially implements pointer authentication and support of address/generic authentication are tied together. However, separate ABI requirements for both of them is added so that any future isolated implementation will not require any ABI changes.

Amit Daniel Kachhap committed 7 years ago

Commit a243c161 parent a22fa323 files · +17 −4Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/kvm.h+2−0
@@ -989,6 +989,8 @@ struct kvm_ppc_resize_hpt { · 988 unmodified lines
989#define KVM_CAP_MANUAL_DIRTY_LOG_PROTECT 166989#define KVM_CAP_MANUAL_DIRTY_LOG_PROTECT 166
990#define KVM_CAP_HYPERV_CPUID 167990#define KVM_CAP_HYPERV_CPUID 167
991#define KVM_CAP_ARM_SVE 168991#define KVM_CAP_ARM_SVE 168
992#define KVM_CAP_ARM_PTRAUTH_ADDRESS 169
993#define KVM_CAP_ARM_PTRAUTH_GENERIC 170
992 994
993#ifdef KVM_CAP_IRQ_ROUTING995#ifdef KVM_CAP_IRQ_ROUTING
994 996