The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v1 0/1] firmware: arm_scmi: Lock powercap state updates
@ 2026-12-04 11:14 Philip Radford
  2026-12-04 11:14 ` [PATCH v1 1/1] " Philip Radford
  2026-12-04 11:39 ` [PATCH v1 0/1] " Cristian Marussi
  0 siblings, 2 replies; 4+ messages in thread
From: Philip Radford @ 2026-12-04 11:14 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, arm-scmi
  Cc: sudeep.holla, cristian.marussi, Philip Radford

Hi,

This patch addresses an SCMI powercap bug reported by Sashiko.

Concurrent sysfs writes could lead to conflicting cached values in a
powercap domain, specifically the enabled and last_pcap values. This patch
adds a mutex lock to avoid this from happening.

Based on v7.4-rc5 and tested on an emulated setup.

Regards,
Phil

Philip Radford (1):
  firmware: arm_scmi: Lock powercap state updates

 drivers/firmware/arm_scmi/powercap.c | 37 +++++++++++++++++++++++++---
 1 file changed, 33 insertions(+), 4 deletions(-)

--
2.34.1


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 11:14 [PATCH v1 0/1] firmware: arm_scmi: Lock powercap state updates Philip Radford
2026-12-04 11:14 ` [PATCH v1 1/1] " Philip Radford
2026-12-04 13:33   ` Cristian Marussi
2026-12-04 11:39 ` [PATCH v1 0/1] " Cristian Marussi

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