[PATCH 0/2] Fix some issues with TRBE building as a module

Junhao He hejunhao3 at huawei.com
Mon Aug 14 02:38:11 PDT 2023


The TRBE driver support is build as a module, we found some driver issues
based on the patchset [1] and set CONFIG_CORESIGHT_TRBE=m.
1. TRBE driver potential sleep in atomic context when unregister device
2. Multiple free the platform data resource when rmmod coresight TRBE
driver

[1] "coresight: trbe: Enable ACPI based devices"
https://lore.kernel.org/all/20230808082247.383405-1-anshuman.khandual@arm.com/

Junhao He (2):
  coresight: trbe: Fix TRBE potential sleep in atomic context
  coresight: core: Fix multiple free TRBE platform data resource

 drivers/hwtracing/coresight/coresight-core.c |  7 ++--
 drivers/hwtracing/coresight/coresight-trbe.c | 35 +++++++++++---------
 2 files changed, 24 insertions(+), 18 deletions(-)

-- 
2.33.0




More information about the linux-arm-kernel mailing list