[PATCH v1 0/1] powercap: arm_scmi: Keep protocol ops private to each zone
Philip Radford
philip.radford at arm.com
Wed Dec 2 00:36:34 PST 2026
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
More information about the linux-arm-kernel
mailing list