[GIT PULL] firmware: arm_ffa: Fixes for v6.8

Sudeep Holla sudeep.holla at arm.com
Mon Jan 22 08:16:50 PST 2024


Hi ARM SoC Team,

Please pull !

Regards,
Sudeep

-->8

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

  Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/ffa-fixes-6.8

for you to fetch changes up to 0c565d16b80074e57e3e56240d13fc6cd6ed0334:

  firmware: arm_ffa: Handle partitions setup failures (2024-01-22 10:07:12 +0000)

----------------------------------------------------------------
Arm FF-A fixes for v6.8

Quite a few fixes addressing issues around missing RW lock initialisation
in ffa_setup_partitions(), missing check for xa_load() return value,
use of xa_insert instead of xa_store to flag case of duplicate insertion.
It also simplifies ffa_partitions_cleanup() with xa_for_each() and xa_erase()
instead of xa_extract() and kfree(). Finally it includes fixes around
handling of partitions setup failures during initialisation.

----------------------------------------------------------------
Cristian Marussi (6):
      firmware: arm_ffa: Add missing rwlock_init() in ffa_setup_partitions()
      firmware: arm_ffa: Add missing rwlock_init() for the driver partition
      firmware: arm_ffa: Check xa_load() return value
      firmware: arm_ffa: Simplify ffa_partitions_cleanup()
      firmware: arm_ffa: Use xa_insert() and check for result
      firmware: arm_ffa: Handle partitions setup failures

 drivers/firmware/arm_ffa/driver.c | 85 ++++++++++++++++++++++++++-------------
 1 file changed, 57 insertions(+), 28 deletions(-)



More information about the linux-arm-kernel mailing list