]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
KVM: arm64: Remove duplicate FEAT_{SYSREG128,MTE2} descriptions
authorMarc Zyngier <maz@kernel.org>
Thu, 18 Sep 2025 15:13:53 +0000 (16:13 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:43:25 +0000 (13:43 +0100)
Turns out I'm rather bad at noticing that the description of features
has already been added. Remove superflusous definitions for SYSREG128
and MTE2.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/config.c

index da66c4a1477523b34a7dab8dce3f8fa5bf047235..d85dd05c00b0e9d33b66a5b3490063248b317347 100644 (file)
@@ -131,7 +131,6 @@ struct reg_bits_to_feat_map {
 #define FEAT_SPMU              ID_AA64DFR1_EL1, SPMU, IMP
 #define FEAT_SPE_nVM           ID_AA64DFR2_EL1, SPE_nVM, IMP
 #define FEAT_STEP2             ID_AA64DFR2_EL1, STEP, IMP
-#define FEAT_SYSREG128         ID_AA64ISAR2_EL1, SYSREG_128, IMP
 #define FEAT_CPA2              ID_AA64ISAR3_EL1, CPA, CPA2
 #define FEAT_ASID2             ID_AA64MMFR4_EL1, ASID2, IMP
 #define FEAT_MEC               ID_AA64MMFR3_EL1, MEC, IMP
@@ -143,7 +142,6 @@ struct reg_bits_to_feat_map {
 #define FEAT_LSMAOC            ID_AA64MMFR2_EL1, LSM, IMP
 #define FEAT_MixedEnd          ID_AA64MMFR0_EL1, BIGEND, IMP
 #define FEAT_MixedEndEL0       ID_AA64MMFR0_EL1, BIGENDEL0, IMP
-#define FEAT_MTE2              ID_AA64PFR1_EL1, MTE, MTE2
 #define FEAT_MTE_ASYNC         ID_AA64PFR1_EL1, MTE_frac, ASYNC
 #define FEAT_MTE_STORE_ONLY    ID_AA64PFR2_EL1, MTESTOREONLY, IMP
 #define FEAT_PAN               ID_AA64MMFR1_EL1, PAN, IMP