Re: [PATCH v1 1/1] powercap: arm_scmi: Keep protocol ops private to each zone
From: Cristian Marussi
Date: Fri Dec 04 2026 - 08:40:54 EST
On Wed, Dec 02, 2026 at 08:36:35AM +0000, Philip Radford wrote:
> Store the SCMI powercap protocol ops pointer in each registered zone
> instead of a global scope. This avoids corruption for any previous
> zones' callbacks upon failure of a new zone being probed.
Hi,
>
> Reported-by: Sashiko <sashiko-bot@xxxxxxxxxx>
> Closes: https://sashiko.dev/#/bug/linux-060984a3-ef4a-4e64-96d3-91788c93c300
> Fixes: b55eef5226b7 ("powercap: arm_scmi: Add SCMI Powercap based driver")
> Signed-off-by: Philip Radford <philip.radford@xxxxxxx>
LGTM.
Reviewed-by: Cristian Marussi <cristian.marussi@xxxxxxx>
Thanks,
Cristian