summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/include/nvhe/fixed_config.h
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-03-14 19:01:32 +0000
committerWill Deacon <will@kernel.org>2022-03-14 19:01:32 +0000
commit292ca2d8eedfe6580b2b5ce6a8a08b07c8562992 (patch)
treeaa35a7535a3e67c9b169da74f596bb5ff0755cd4 /arch/arm64/kvm/hyp/include/nvhe/fixed_config.h
parentbf587af2abd8c4ff630f260040f7d2722e37e054 (diff)
parentdef8c222f054d18aac1fd065a50b9db5feaefa9d (diff)
Merge branch 'for-next/pauth' into for-next/core
* for-next/pauth: arm64: Add support of PAuth QARMA3 architected algorithm arm64: cpufeature: Mark existing PAuth architected algorithm as QARMA5 arm64: cpufeature: Account min_field_value when cheking secondaries for PAuth
Diffstat (limited to 'arch/arm64/kvm/hyp/include/nvhe/fixed_config.h')
-rw-r--r--arch/arm64/kvm/hyp/include/nvhe/fixed_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/kvm/hyp/include/nvhe/fixed_config.h b/arch/arm64/kvm/hyp/include/nvhe/fixed_config.h
index eea1f6a53723..5ad626527d41 100644
--- a/arch/arm64/kvm/hyp/include/nvhe/fixed_config.h
+++ b/arch/arm64/kvm/hyp/include/nvhe/fixed_config.h
@@ -192,6 +192,11 @@
ARM64_FEATURE_MASK(ID_AA64ISAR1_I8MM) \
)
+#define PVM_ID_AA64ISAR2_ALLOW (\
+ ARM64_FEATURE_MASK(ID_AA64ISAR2_GPA3) | \
+ ARM64_FEATURE_MASK(ID_AA64ISAR2_APA3) \
+ )
+
u64 pvm_read_id_reg(const struct kvm_vcpu *vcpu, u32 id);
bool kvm_handle_pvm_sysreg(struct kvm_vcpu *vcpu, u64 *exit_code);
bool kvm_handle_pvm_restricted(struct kvm_vcpu *vcpu, u64 *exit_code);