mbox series

[GIT,PULL] firmware: arm_ffa: Updates for v6.11

Message ID 20240620093924.375244-1-sudeep.holla@arm.com (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] firmware: arm_ffa: Updates for v6.11 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/ffa-updates-6.11

Message

Sudeep Holla June 20, 2024, 9:39 a.m. UTC
Hi ARM SoC Team,

Please pull ! As mentioned in tha tag there is one PSCI fix that kept
missing for few months now, so have included it here.

Regards,
Sudeep

-->8

The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

  Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/ffa-updates-6.11

for you to fetch changes up to f624c7cbd155ef5787f8bf06c1208f45353d24ec:

  firmware: psci: Fix return value from psci_system_suspend() (2024-06-17 11:02:42 +0100)

----------------------------------------------------------------
Arm FF-A driver updates for  v6.11

The main addition is the split of bus and driver into distinct modules
The FF-A bus module is initialized at subsys_initcall level when builtin.

FF-A drivers initialization is now changed to module_init level so that
pKVM ffa proxy is all setup and running in case pKVM hypervisor needs to
trap and handle FF-A calls.

One of the reason for not having this split from the beginning is the
need to workaround the FF-A v1.0 NULL UUID. The FF-A bus layer called
into FF-A driver and populated the device UUID if it matches with the
driver attempting to match. Moving the workaround away from the FF-A
bus layer to the FF-A core driver as a bus notifier will help to remove
the dependency.

Also, there is one fix to handle the return value from psci_system_suspend()
correctly.

----------------------------------------------------------------
Sudeep Holla (3):
      firmware: arm_ffa: Move the FF-A v1.0 NULL UUID workaround to bus notifier
      firmware: arm_ffa: Split bus and driver into distinct modules
      firmware: psci: Fix return value from psci_system_suspend()

 drivers/firmware/arm_ffa/Makefile |  6 +++--
 drivers/firmware/arm_ffa/bus.c    | 22 ++++++++++-----
 drivers/firmware/arm_ffa/common.h |  2 --
 drivers/firmware/arm_ffa/driver.c | 57 ++++++++++++++++++++++++++-------------
 drivers/firmware/psci/psci.c      |  4 ++-
 5 files changed, 61 insertions(+), 30 deletions(-)