[PATCH v1 0/1] firmware: arm_scmi: Lock powercap state updates

From: Philip Radford

Date: Fri Dec 04 2026 - 06:14:44 EST


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