mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] coresight: Fix missing AMBA dev_pm_ops and modernize PM ops
@ 2026-09-10 14:51 Eric Chan
  2026-09-10 14:51 ` [PATCH 1/2] coresight: Add missing dev_pm_ops to AMBA drivers Eric Chan
  2026-09-10 14:51 ` [PATCH 2/2] coresight: Switch to DEFINE_RUNTIME_DEV_PM_OPS() Eric Chan
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Chan @ 2026-09-10 14:51 UTC (permalink / raw)
  To: Suzuki K Poulose, Alexander Shishkin
  Cc: Mike Leach, James Clark, Leo Yan, Anshuman Khandual,
	Sudeep Holla, coresight, linux-arm-kernel, linux-kernel, stable,
	Eric Chan

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-10 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 14:51 [PATCH 0/2] coresight: Fix missing AMBA dev_pm_ops and modernize PM ops Eric Chan
2026-09-10 14:51 ` [PATCH 1/2] coresight: Add missing dev_pm_ops to AMBA drivers Eric Chan
2026-09-10 14:51 ` [PATCH 2/2] coresight: Switch to DEFINE_RUNTIME_DEV_PM_OPS() Eric Chan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®