[PATCH 0/2] perf/smmuv3: Add runtime PM support
From: Amita Mishra
Date: Wed Nov 18 2026 - 05:19:28 EST
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