[PATCH 0/4] Coresight TMC-ETR some bugfixes and cleanups

From: Junhao He
Date: Fri Apr 18 2025 - 02:05:08 EST


This patchset builds upon Yicong's previous patches [1].

Introducing fix two race issues found by using TMC-ETR and CATU, Two
cleanups found when debugging the issues.

[1] https://lore.kernel.org/linux-arm-kernel/20241202092419.11777-1-yangyicong@xxxxxxxxxx/

Junhao He (2):
coresight: catu: add locking to catu enable/disable functions
coresight: tmc: refactor the tmc-etr mode setting

Yicong Yang (2):
coresight: tmc: Add missing doc of tmc_drvdata::reading
coresight: tmc-etr: Decouple the perf buffer allocation from sysfs
mode

drivers/hwtracing/coresight/coresight-catu.c | 6 +
drivers/hwtracing/coresight/coresight-catu.h | 1 +
.../hwtracing/coresight/coresight-tmc-etr.c | 106 +++++++++---------
drivers/hwtracing/coresight/coresight-tmc.h | 1 +
4 files changed, 64 insertions(+), 50 deletions(-)

--
2.33.0