Re: [PATCH 0/2] SCMI protocols fixes and refactor

From: Sudeep Holla

Date: Mon Nov 30 2026 - 13:00:56 EST


On Tue, 24 Nov 2026 18:51:09 +0000, Cristian Marussi wrote:
> A tiny series addressing a minor protocol initialization issue reported by
> Sashiko (patch 1/2) and a general tiny following refactor around that same
> protocol initialization/fnalization code.
>
> Note that the refactoring moves around the scmi_protocol_put() calls on the
> failure path of initialization AND on the protocol release code flow: this
> basicall causes the module_put() where needed to be called after the
> protocol devres group release, which is how it should have happened really
> all the time to avoid races at unload time. IOW the logic is a bit changed
> BUT there should NOT be any functional change...at least intended :P
>
> [...]

Applied to sudeep.holla/linux (for-next/arm_fw/updates), thanks!

[1/2] firmware: arm_scmi: Invoke proper protocol cleanup on failure
https://git.kernel.org/sudeep.holla/c/8e6f6ac801a0
[2/2] firmware: arm_scmi: Refactor protocol allocation
https://git.kernel.org/sudeep.holla/c/8f73e0d4c53f
--
Regards,
Sudeep