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.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -989,6 +989,8 @@ struct kvm_ppc_resize_hpt { · 988 unmodified lines | ||
| 989 | 989 | #define KVM_CAP_MANUAL_DIRTY_LOG_PROTECT 166 |
| 990 | 990 | #define KVM_CAP_HYPERV_CPUID 167 |
| 991 | 991 | #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 | 995 | #ifdef KVM_CAP_IRQ_ROUTING |
| 994 | 996 | |