From: Philip Radford <philip.radford@arm.com>
To: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, arm-scmi@vger.kernel.org
Cc: sudeep.holla@arm.com, cristian.marussi@arm.com,
Philip Radford <philip.radford@arm.com>
Subject: [PATCH v1 0/1] firmware: arm_scmi: Lock powercap state updates
Date: Fri, 4 Dec 2026 11:14:27 +0000 [thread overview]
Message-ID: <20261204111428.1004885-1-philip.radford@arm.com> (raw)
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
next reply other threads:[~2026-12-04 11:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 11:14 Philip Radford [this message]
2026-12-04 11:14 ` [PATCH v1 1/1] firmware: arm_scmi: Lock powercap state updates Philip Radford
2026-12-04 13:33 ` Cristian Marussi
2026-12-04 11:39 ` [PATCH v1 0/1] " Cristian Marussi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204111428.1004885-1-philip.radford@arm.com \
--to=philip.radford@arm.com \
--cc=arm-scmi@vger.kernel.org \
--cc=cristian.marussi@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sudeep.holla@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox