coresight: Fix missing AMBA dev_pm_ops and modernize PM ops
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | coresight: Add missing dev_pm_ops to AMBA driversdrivers/ drivers/ drivers/ | +34 | 0 replies | |
| 2/2 | coresight: Switch to DEFINE_RUNTIME_DEV_PM_OPS()drivers/ drivers/ drivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] coresight: Fix missing AMBA dev_pm_ops and modernize PM ops
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(-)
Signature · 1 line
2.55.0.1003.g10538fe699-goog