ANDROID: KVM: arm64: Mark PAuth as a restricted feature for protected VMs

Protected VMs will only support basic PAuth (FEAT_PAuth). Mark it
as restricted to ensure that later versions aren't supported for
protected guests.

Bug: 357781595
Change-Id: Ie8e2c73f6a7c9a1776ecfefba15892f3721af212
Signed-off-by: Fuad Tabba <tabba@google.com>
This commit is contained in:
Fuad Tabba
2023-12-08 12:23:37 +00:00
committed by Keir Fraser
parent f7ee817af4
commit 2a14422dcf
-1
View File
@@ -228,7 +228,6 @@ bool pkvm_is_hyp_created(struct kvm *kvm);
#define PVM_ID_AA64ISAR2_ALLOW (\
ARM64_FEATURE_MASK(ID_AA64ISAR2_EL1_ATS1A)| \
ARM64_FEATURE_MASK(ID_AA64ISAR2_EL1_GPA3) | \
ARM64_FEATURE_MASK(ID_AA64ISAR2_EL1_APA3) | \
ARM64_FEATURE_MASK(ID_AA64ISAR2_EL1_MOPS) \
)