mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-06 17:35:20 +02:00
ANDROID: KVM: arm64: Do not advertise FEAT_MOPS for protected guests
Memory Copy and Memory Set Operations (MOPS) are not supported for protected guests. Ensure that the feature is not on the allow list in ID_AA64ISAR2_EL1. Bug: 278749606 Bug: 369812426 Reported-by: Sebastian Ene <sebastianene@google.com> Signed-off-by: Fuad Tabba <tabba@google.com> Change-Id: I1b3f951e3f68223cd64b4d5e0b0e17a75d2438f1
This commit is contained in:
parent
e05b2ba1f7
commit
3d3a7b6271
|
@ -236,7 +236,6 @@ void pkvm_host_reclaim_page(struct kvm *host_kvm, phys_addr_t ipa);
|
|||
#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_MOPS) | \
|
||||
FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64ISAR2_EL1_APA3), ID_AA64ISAR2_EL1_APA3_PAuth) \
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user