coresight: etm4x: Do not save/restore Data trace control registers
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Fri, 12 Apr 2024 14:27:00 +0000 (15:27 +0100)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 22 Apr 2024 10:23:49 +0000 (11:23 +0100)
commit5eb3a0c2c52368cb9902e9a6ea04888e093c487d
treebe9fd3f9b419a5226bc0a9ac0b4ffe60adb13e02
parent1e7ba33fa591de1cf60afffcabb45600b3607025
coresight: etm4x: Do not save/restore Data trace control registers

ETM4x doesn't support Data trace on A class CPUs. As such do not access the
Data trace control registers during CPU idle. This could cause problems for
ETE. While at it, remove all references to the Data trace control registers.

Fixes: f188b5e76aae ("coresight: etm4x: Save/restore state across CPU low power states")
Reported-by: Yabin Cui <yabinc@google.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Tested-by: Yabin Cui <yabinc@google.com>
Link: https://lore.kernel.org/r/20240412142702.2882478-3-suzuki.poulose@arm.com
drivers/hwtracing/coresight/coresight-etm4x-core.c
drivers/hwtracing/coresight/coresight-etm4x.h