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

Yicong Yang yangyicong at huawei.com
Mon Dec 2 01:24:15 PST 2024


From: Yicong Yang <yangyicong at hisilicon.com>

Fix two race issues found by using TMC-ETR. Two cleanups found when
debugging the issues. Patch 1/4 is suggested by Suzuki in [1] and
tested to solve the original issue.

[1] https://lore.kernel.org/linux-arm-kernel/20241114081653.24328-1-yangyicong@huawei.com/

Suzuki K Poulose (1):
  coresight: tmc: Don't reallocate the sysfs_buffer if it's in use

Yicong Yang (3):
  coresight: tmc: Add missing doc of tmc_drvdata::reading
  coresight: tmc-etr: Fix race condition between sysfs and perf mode
  coresight: tmc-etr: Decouple the perf buffer allocation from sysfs
    mode

 .../hwtracing/coresight/coresight-tmc-etr.c   | 65 +++++++++++++------
 drivers/hwtracing/coresight/coresight-tmc.h   |  1 +
 2 files changed, 45 insertions(+), 21 deletions(-)

-- 
2.24.0




More information about the linux-arm-kernel mailing list