]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64/sysreg: Get rid of TRFCR_ELx SysregFields
authorMarc Zyngier <maz@kernel.org>
Sun, 12 Jan 2025 13:08:59 +0000 (13:08 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 17 Jan 2025 11:07:55 +0000 (11:07 +0000)
commit01009b06a6b52d8439c55b530633a971c13b6cb2
treef542010e6573d54723bb019c7fcc90c21738d2fd
parentfa5e4043e9b17ddd7339258eed26399c755e7659
arm64/sysreg: Get rid of TRFCR_ELx SysregFields

There is no such thing as TRFCR_ELx in the architecture.
What we have is TRFCR_EL1, for which TRFCR_EL12 is an accessor.

Rename TRFCR_ELx_* to TRFCR_EL1_*, and fix the bit of code using
these names.

Similarly, TRFCR_EL12 is redefined as a mapping to TRFCR_EL1.

Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/87cygsqgkh.wl-maz@kernel.org
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/tools/sysreg
drivers/hwtracing/coresight/coresight-etm4x-core.c
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
drivers/hwtracing/coresight/coresight-trbe.c