[PATCH 0/2] coresight: Fix missing AMBA dev_pm_ops and modernize PM ops

Eric Chan ericchancf at google.com
Thu Sep 10 07:51:05 PDT 2026


This 2-patch series addresses an issue where CoreSight AMBA drivers (TMC,
CATU, and ETM4x) missed setting their dev_pm_ops during earlier ACPI and
platform driver refactorings, and modernizes runtime PM ops definitions
across these drivers to align with Documentation/power/runtime_pm.rst.

- Patch 1 is a bug fix (marked for stable) that sets the missing .pm
  pointer in the AMBA drivers (tmc_driver, catu_driver, and
  etm4x_amba_driver) so runtime PM suspend and resume callbacks are
  properly invoked when probed via AMBA bus.
- Patch 2 modernizes the runtime PM definitions across TMC, CATU, and
  ETM4x to use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr(), eliminating
  unnecessary #ifdef CONFIG_PM blocks.

Eric Chan (2):
  coresight: Add missing dev_pm_ops to AMBA drivers
  coresight: Switch to DEFINE_RUNTIME_DEV_PM_OPS()

 drivers/hwtracing/coresight/coresight-catu.c  | 31 +++++++++--------
 .../coresight/coresight-etm4x-core.c          | 30 ++++++++---------
 .../hwtracing/coresight/coresight-tmc-core.c  | 33 +++++++++----------
 3 files changed, 44 insertions(+), 50 deletions(-)

-- 
2.55.0.1003.g10538fe699-goog




More information about the linux-arm-kernel mailing list