diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-10-15 22:39:42 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-10-15 22:39:43 +0200 |
commit | 1b59d6c19c2ca4e705effee5c2f68fd8ab307c90 (patch) | |
tree | ebe0ce0630ad6434dfb3118433979d8f425e2834 /arch | |
parent | Merge tag 'ffa-fixes-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
parent | firmware: arm_scmi: Queue in scmi layer for mailbox implementation (diff) | |
download | linux-1b59d6c19c2ca4e705effee5c2f68fd8ab307c90.tar.xz linux-1b59d6c19c2ca4e705effee5c2f68fd8ab307c90.zip |
Merge tag 'scmi-fixes-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes
Arm SCMI fixes for v6.12
Couple of fixes to address the issues found and reported on Broadcom
STB platforms following the recent refactor of all the SCMI transports
as standalone drivers.
One of the issue is that the effective timeout value is much less than
the intended value due to the way mailbox messages are queues in the
mailbox framework. Since we block or serialise the shmem access anyway,
there is no point in utilizing mailbox queues. The issue is fixed with
exclusive lock on the channel when sending the message.
The other issues is actually non-issue for upstream, but the workaround
is just changing the link order of the transport drivers which enables
Broadcom STB platforms to run both upstream and custom downstream kernel
without any device tree changes. So pushing this to help them test upstream
seamlessly as it has no practical or theoretical impact for others.
There is also a fix to address possible double freeing of the name string
in scmi_debugfs_common_cleanup() when devm_add_action_or_reset() fails.
* tag 'scmi-fixes-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
firmware: arm_scmi: Queue in scmi layer for mailbox implementation
firmware: arm_scmi: Give SMC transport precedence over mailbox
firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()
Link: https://lore.kernel.org/r/20241015185128.1000604-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions