[PATCH 0/2] Fix some issues with TRBE building as a module
From: Junhao He
Date: Mon Aug 14 2023 - 05:41:51 EST
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@xxxxxxx/
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