linux/drivers/firmware/arm_scmi/transports
Sudeep Holla f3e3773c4e firmware: arm_scmi: Unwind P2A receiver mailbox setup failure
mailbox_chan_setup() can request an additional P2A receiver channel after
successfully acquiring the primary P2A channel. If that later request
fails, the function returns immediately and leaves the primary channel
allocated.

Unwind the primary mailbox channel before returning the error so probe
deferral or other setup failures do not leave the channel busy for later
probe attempts.

Fixes: fa8b28ba22 ("firmware: arm_scmi: Add support for platform to agent channel completion")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://patch.msgid.link/20260714-scmi_core_fixes-v6-14-3afe499d46e3@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
2026-07-14 21:19:22 +01:00
..
Kconfig firmware: arm_scmi: Make VirtIO transport a standalone driver 2024-08-16 10:26:58 +01:00
mailbox.c firmware: arm_scmi: Unwind P2A receiver mailbox setup failure 2026-07-14 21:19:22 +01:00
Makefile firmware: arm_scmi: Give SMC transport precedence over mailbox 2024-10-11 16:52:42 +01:00
optee.c firmware: arm_scmi: optee: Rework transport probe sequence 2026-05-21 17:31:51 +01:00
smc.c firmware: arm_scmi: Publish channel state before callbacks 2026-07-14 21:19:21 +01:00
virtio.c firmware: arm_scmi: virtio: Rework transport probe sequence 2026-05-21 17:31:51 +01:00