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

Sudeep Holla sudeep.holla at arm.com
Thu Dec 5 03:44:06 PST 2024


Hi ARM SoC Team,

Please pull !

Regards,
Sudeep

-->8

The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:

  Linux 6.13-rc1 (2024-12-01 14:28:56 -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.13

for you to fetch changes up to 81c8b1c2ef7a75fa5f7f805fdb7f681bbbed07e5:

  firmware: arm_ffa: Drop le64_to_cpu() on UUID in ffa_msg_send_direct_req2() (2024-12-04 09:59:54 +0000)

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

Couple of fixes to address:

1. A possible race around setting ffa_dev->properties in ffa_device_register()
   by updating ffa_device_register() to take all the partition information
   received from the firmware and updating the struct ffa_device accordingly
   before registering the device to the bus/driver model in the kernel.

2. Incorrect endian conversion or byte swapping of the UUID by dropping
   le64_to_cpu() for uuid in ffa_msg_send_direct_req2(). This was added
   to fix the compiler warning but missed to get proper end-to-end testing
   as it was relatively new API.

----------------------------------------------------------------
Levi Yun (2):
      firmware: arm_ffa: Fix the race around setting ffa_dev->properties
      firmware: arm_ffa: Drop le64_to_cpu() on UUID in ffa_msg_send_direct_req2()

 drivers/firmware/arm_ffa/bus.c    | 15 +++++++++++----
 drivers/firmware/arm_ffa/driver.c | 13 ++++---------
 include/linux/arm_ffa.h           | 13 ++++++++-----
 3 files changed, 23 insertions(+), 18 deletions(-)



More information about the linux-arm-kernel mailing list