summaryrefslogtreecommitdiff
path: root/drivers/hwtracing/coresight/coresight-trbe.h
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2022-09-19 19:09:28 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2022-09-21 11:24:29 +0300
commitdb74cd6337d2691ea932e36b84683090f0712ec1 (patch)
tree4561077e0622411d65fbcf25fde697014fb06a40 /drivers/hwtracing/coresight/coresight-trbe.h
parent10453bf149c9539c446574932f00ea50438cede5 (diff)
downloadlinux-db74cd6337d2691ea932e36b84683090f0712ec1.tar.xz
arm64/sysreg: Fix a few missed conversions
After the conversion to automatically generating the ID_AA64DFR0_EL1 definition names, the build fails in a few different places because some of the definitions were not changed to their new names along the way. Update the names to resolve the build errors. Fixes: c0357a73fa4a ("arm64/sysreg: Align field names in ID_AA64DFR0_EL1 with architecture") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220919160928.3905780-1-nathan@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-trbe.h')
-rw-r--r--drivers/hwtracing/coresight/coresight-trbe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwtracing/coresight/coresight-trbe.h b/drivers/hwtracing/coresight/coresight-trbe.h
index 30e4d7db4f8e..98ff1b17ad07 100644
--- a/drivers/hwtracing/coresight/coresight-trbe.h
+++ b/drivers/hwtracing/coresight/coresight-trbe.h
@@ -20,7 +20,8 @@
static inline bool is_trbe_available(void)
{
u64 aa64dfr0 = read_sysreg_s(SYS_ID_AA64DFR0_EL1);
- unsigned int trbe = cpuid_feature_extract_unsigned_field(aa64dfr0, ID_AA64DFR0_TRBE_SHIFT);
+ unsigned int trbe = cpuid_feature_extract_unsigned_field(aa64dfr0,
+ ID_AA64DFR0_EL1_TraceBuffer_SHIFT);
return trbe >= 0b0001;
}