From: Eric Chan <ericchancf@google.com>
To: Suzuki K Poulose <suzuki.poulose@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Mike Leach <mike.leach@linaro.org>,
James Clark <james.clark@linaro.org>, Leo Yan <leo.yan@arm.com>,
Anshuman Khandual <anshuman.khandual@arm.com>,
Sudeep Holla <sudeep.holla@kernel.org>,
coresight@lists.linaro.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
Eric Chan <ericchancf@google.com>
Subject: [PATCH 0/2] coresight: Fix missing AMBA dev_pm_ops and modernize PM ops
Date: Thu, 10 Sep 2026 14:51:05 +0000 [thread overview]
Message-ID: <20260910145107.3640991-1-ericchancf@google.com> (raw)
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
next reply other threads:[~2026-09-10 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 14:51 Eric Chan [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260910145107.3640991-1-ericchancf@google.com \
--to=ericchancf@google.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=anshuman.khandual@arm.com \
--cc=coresight@lists.linaro.org \
--cc=james.clark@linaro.org \
--cc=leo.yan@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mike.leach@linaro.org \
--cc=stable@vger.kernel.org \
--cc=sudeep.holla@kernel.org \
--cc=suzuki.poulose@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®