mbox series

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

Message ID 20241202092419.11777-1-yangyicong@huawei.com (mailing list archive)
Headers show
Series Coresight TMC-ETR some bugfixes and cleanups | expand

Message

Yicong Yang Dec. 2, 2024, 9:24 a.m. UTC
From: Yicong Yang <yangyicong@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(-)