[PATCH v1 0/1] powercap: arm_scmi: Keep protocol ops private to each zone

From: Philip Radford

Date: Wed Dec 02 2026 - 03:37:00 EST


Hi,

This patch addresses an SCMI bug reported by Sashiko. Global powercap ops
were at risk of being overwritten with an ERR_PTR value if a subsequent
zone failed during scmi_powercap_probe() in a multi-instance system.

This patch stores the pointer in each registered zone to avoid this issue.

Based on v7.4-rc3 and tested on a multi-instance scenario on an emulated
setup.

Philip Radford (1):
powercap: arm_scmi: Keep protocol ops private to each zone

drivers/powercap/arm_scmi_powercap.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)

--
2.34.1