Skip to contentSkip to conversation

firmware: arm_scmi: Updates for v7.3

GIT PULL Applied Sudeep Holla 2 participants 2 messages Jul 24 System control & power/management interface (SCPI/SCMI) Message Protocol drivers

lore
Share & tools
lore

Sudeep Holla

author maintainer
#0 lore raw

Hi ARM SoC Team,

Please pull !

I am keeping these as updates for v7.3 rather than fixes for v7.2, allowing them to remain in -next for additional reviewi/testing time. Aside from Sashiko’s review, there has been limited feedback on these fixes, which address issues identified by Sashiko.

Regards,
Sudeep

-->8
The following changes since commit 980a8bfe7baec9b9ee0d5443b0b204552e41c407:

Merge branches 'for-next/scmi/fixes' and 'for-next/ffa/fixes' (2026-07-13 11:38:34 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-7.3

for you to fetch changes up to 9f7cd6a62aa754ed6b48cbd5d50de40add1bcc86:

firmware: arm_scmi: Unrequest devices if driver registration fails (2026-07-22 20:33:43 +0100)

----------------------------------------------------------------
Arm SCMI updates/fixes for v7.3

A collection of SCMI core and transport fixes addressing resource lifetimes, teardown races and error handling. Most of these issues are reported by Sashiko as existing issues while reviewing new feature additions to SCMI.

The changes:
- publish channel state before mailbox and SMC callbacks can run,
- quiesce notification work before tearing down transport channels,
- fix partial channel setup and mailbox allocation cleanup,
- make IDR iteration and shared-channel teardown safe,
- correct SCMI device, OF node, handle, bus ID and SystemPower lifetimes;,
- harden requested-device registration and removal against races and partial failures,
- reject out-of-range DT protocol IDs, and
- simplify notification allocations using flexible arrays.

----------------------------------------------------------------
Rosen Penev (1):
firmware: arm_scmi: Simplify notification allocations

Sudeep Holla (19):
firmware: arm_scmi: Publish channel state before callbacks
firmware: arm_scmi: Unregister device notifier before IDR teardown
firmware: arm_scmi: Quiesce notifications before teardown
firmware: arm_scmi: Clean up channels on setup failure
firmware: arm_scmi: Free transport channel on IDR failure
firmware: arm_scmi: Avoid IDR updates while cleaning channels
firmware: arm_scmi: Reject out of range DT protocol IDs
firmware: arm_scmi: Use channel ID for transport teardown
firmware: arm_scmi: Protect device request lookup with RCU
firmware: arm_scmi: Drop handle on protocol bind failures
firmware: arm_scmi: Clear SystemPower flag on create failure
firmware: arm_scmi: Fix OF node reference handling
firmware: arm_scmi: Unwind TX receiver mailbox setup failure
firmware: arm_scmi: Unwind P2A receiver mailbox setup failure
firmware: arm_scmi: Fix SCMI device destroy lifetimes
firmware: arm_scmi: Fix transport device teardown lookup
firmware: arm_scmi: Fix requested device removal race
firmware: arm_scmi: Roll back partial protocol table registration
firmware: arm_scmi: Unrequest devices if driver registration fails

 drivers/firmware/arm_scmi/bus.c                | 182 +++++++++++++++----------
 drivers/firmware/arm_scmi/common.h             |   2 +
 drivers/firmware/arm_scmi/driver.c             |  81 +++++++----
 drivers/firmware/arm_scmi/notify.c             |  64 +++++----
 drivers/firmware/arm_scmi/notify.h             |   1 +
 drivers/firmware/arm_scmi/transports/mailbox.c |  26 +++-
 drivers/firmware/arm_scmi/transports/smc.c     |  15 +-
 7 files changed, 230 insertions(+), 141 deletions(-)
#1 lore raw
This pull request was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This pull request was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Quoted 10 lines · On Fri, 24 Jul 2026 14:46:48 +0100 you wrote:

Hi ARM SoC Team,

Please pull !

I am keeping these as updates for v7.3 rather than fixes for v7.2, allowing them to remain in -next for additional reviewi/testing time. Aside from Sashiko’s review, there has been limited feedback on these fixes, which address issues identified by Sashiko.

[...]

Here is the summary with links:
- [GIT,PULL] firmware: arm_scmi: Updates for v7.3

    https://git.kernel.org/soc/soc/c/7c4856193d6c

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html