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

Junhao He hejunhao3 at huawei.com
Thu Apr 17 22:58:16 PDT 2025


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@huawei.com/

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




More information about the linux-arm-kernel mailing list