firmware: arm_scmi: Lock powercap state updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | firmware: arm_scmi: Lock powercap state updatesdrivers/ | +33 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/1] firmware: arm_scmi: Lock powercap state updates
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