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] powercap: arm_scmi: Keep protocol ops private to each zone
Date: Wed, 2 Dec 2026 08:36:34 +0000 [thread overview]
Message-ID: <20261202083635.619055-1-philip.radford@arm.com> (raw)
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
next reply other threads:[~2026-12-02 8:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 8:36 Philip Radford [this message]
2026-12-02 8:36 ` [PATCH v1 1/1] " Philip Radford
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=20261202083635.619055-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
all inboxes | Powered by JetHome®