The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v1 0/1] powercap: arm_scmi: Keep protocol ops private to each zone
@ 2026-12-02  8:36 Philip Radford
  2026-12-02  8:36 ` [PATCH v1 1/1] " Philip Radford
  0 siblings, 1 reply; 3+ messages in thread
From: Philip Radford @ 2026-12-02  8:36 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, arm-scmi
  Cc: sudeep.holla, cristian.marussi, Philip Radford

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


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

end of thread, other threads:[~2026-12-04 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  8:36 [PATCH v1 0/1] powercap: arm_scmi: Keep protocol ops private to each zone Philip Radford
2026-12-02  8:36 ` [PATCH v1 1/1] " Philip Radford
2026-12-04 13:40   ` Cristian Marussi

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