Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH 0/2] perf/smmuv3: Add runtime PM support
@ 2026-11-18 10:19 Amita Mishra
  2026-11-18 10:19 ` [PATCH 1/2] dt-bindings: perf: arm,smmu-v3-pmcg: Allow power-domains Amita Mishra
  2026-11-18 10:19 ` [PATCH 2/2] perf/smmuv3: Add runtime PM support Amita Mishra
  0 siblings, 2 replies; 4+ messages in thread
From: Amita Mishra @ 2026-11-18 10:19 UTC (permalink / raw)
  To: Will Deacon, Mark Rutland, Robin Murphy, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, linux-perf-users, devicetree, linux-kernel,
	amitamishra

On some SoCs, SMMUv3 Performance Monitor Counter Groups (PMCGs) reside
in switchable subsystem power domains rather than an always-on domain.
Currently, when such a PMCG is probed, the power domain is attached and
powered on, and remains powered on indefinitely even when no perf events
are active.

This series adds runtime power management support for SMMUv3 PMCG
devices that are attached to a PM domain:

- Patch 1 documents the optional power-domains property in the
  arm,smmu-v3-pmcg devicetree binding.
- Patch 2 adds runtime PM support to the arm_smmuv3_pmu driver, keeping
  the PMCG powered only while probe or at least one perf event is
  active, and guarding post-event perf context and shared IRQ callbacks
  against accessing registers of a suspended PMCG.

Amita Mishra (2):
  dt-bindings: perf: arm,smmu-v3-pmcg: Allow power-domains
  perf/smmuv3: Add runtime PM support

 .../bindings/perf/arm,smmu-v3-pmcg.yaml       |   3 +
 drivers/perf/arm_smmuv3_pmu.c                 | 134 +++++++++++++++---
 2 files changed, 118 insertions(+), 19 deletions(-)


base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3
-- 
2.56.1.703.gf848ed807c-goog


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

end of thread, other threads:[~2026-11-18 10:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 10:19 [PATCH 0/2] perf/smmuv3: Add runtime PM support Amita Mishra
2026-11-18 10:19 ` [PATCH 1/2] dt-bindings: perf: arm,smmu-v3-pmcg: Allow power-domains Amita Mishra
2026-11-18 10:24   ` sashiko-bot
2026-11-18 10:19 ` [PATCH 2/2] perf/smmuv3: Add runtime PM support Amita Mishra

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