[PATCH] firmware: arm_scmi: Fix chan_free cleanup on SMC

Sudeep Holla sudeep.holla at arm.com
Sat Jul 22 01:07:41 PDT 2023


On Wed, 19 Jul 2023 18:35:33 +0100, Cristian Marussi wrote:
> SCMI transport based on SMC can optionally use an additional IRQ to signal
> message completion; the associated ISR is currently allocated using devres
> but the core SCMI stack, on shutdown, will call .chan_free() well before
> any managed cleanup is invoked by devres and, as a consequence, the arrival
> of a late reply to an in-flight pending transaction could still trigger the
> ISR well after the SCMI core has cleaned up the channels, with unpleasant
> results.
> 
> [...]

Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks!

[1/1] firmware: arm_scmi: Fix chan_free cleanup on SMC
      https://git.kernel.org/sudeep.holla/c/d1ff11d7ad87
--
Regards,
Sudeep




More information about the linux-arm-kernel mailing list