diff options
author | Mark Brown <broonie@kernel.org> | 2022-09-10 17:33:50 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-09-16 12:38:57 +0100 |
commit | fcf37b38ff2282ef3dc6ba1966c83b29e5734edd (patch) | |
tree | 47071b5e36f161d8fd24c10d8e97972cd7fb7cac /arch/arm64/include/asm/cpufeature.h | |
parent | c0357a73fa4a96d8ed9ee46e9927d9fcbc9d0828 (diff) | |
download | linux-stable-fcf37b38ff2282ef3dc6ba1966c83b29e5734edd.tar.gz linux-stable-fcf37b38ff2282ef3dc6ba1966c83b29e5734edd.tar.bz2 linux-stable-fcf37b38ff2282ef3dc6ba1966c83b29e5734edd.zip |
arm64/sysreg: Add _EL1 into ID_AA64DFR0_EL1 definition names
Normally we include the full register name in the defines for fields within
registers but this has not been followed for ID registers. In preparation
for automatic generation of defines add the _EL1s into the defines for
ID_AA64DFR0_EL1 to follow the convention. No functional changes.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220910163354.860255-3-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpufeature.h')
-rw-r--r-- | arch/arm64/include/asm/cpufeature.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index e3b63967c8a9..ff06e6fb5939 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -553,7 +553,7 @@ cpuid_feature_cap_perfmon_field(u64 features, int field, u64 cap) u64 mask = GENMASK_ULL(field + 3, field); /* Treat IMPLEMENTATION DEFINED functionality as unimplemented */ - if (val == ID_AA64DFR0_PMUVer_IMP_DEF) + if (val == ID_AA64DFR0_EL1_PMUVer_IMP_DEF) val = 0; if (val > cap) { |