aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-etm4x.h
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2022-03-04 17:19:11 +0000
committerMathieu Poirier <mathieu.poirier@linaro.org>2022-04-13 11:05:50 -0600
commit67493ca4cbe7e8335b94dfe71b12eae79a07b8b8 (patch)
treeecf8dd9e0be65c5f131883f140ebb9a9b1b9bb5e /drivers/hwtracing/coresight/coresight-etm4x.h
parentcoresight: etm4x: Cleanup TRCSSPCICRn register accesses (diff)
downloadlinux-dev-67493ca4cbe7e8335b94dfe71b12eae79a07b8b8.tar.xz
linux-dev-67493ca4cbe7e8335b94dfe71b12eae79a07b8b8.zip
coresight: etm4x: Cleanup TRCBBCTLR register accesses
This is a no-op change for style and consistency and has no effect on the binary output by the compiler. In sysreg.h fields are defined as the register name followed by the field name and then _MASK. This allows for grepping for fields by name rather than using magic numbers. Signed-off-by: James Clark <james.clark@arm.com> Reviewed-by: Mike Leach <mike.leach@linaro.org> Link: https://lore.kernel.org/r/20220304171913.2292458-15-james.clark@arm.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm4x.h')
-rw-r--r--drivers/hwtracing/coresight/coresight-etm4x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hwtracing/coresight/coresight-etm4x.h b/drivers/hwtracing/coresight/coresight-etm4x.h
index 3b81c104a44b..15704982357f 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x.h
+++ b/drivers/hwtracing/coresight/coresight-etm4x.h
@@ -220,6 +220,9 @@
#define TRCSSPCICRn_PC_MASK GENMASK(7, 0)
+#define TRCBBCTLR_MODE BIT(8)
+#define TRCBBCTLR_RANGE_MASK GENMASK(7, 0)
+
/*
* System instructions to access ETM registers.
* See ETMv4.4 spec ARM IHI0064F section 4.3.6 System instructions