[GIT PULL] firmware: arm_ffa: Updates for v6.1

Sudeep Holla sudeep.holla at arm.com
Tue Sep 13 03:06:12 PDT 2022


Hi ARM SoC Team,

Please pull !

There are minor changes in the dependent OPTEE FF-A which are reviewed
by the corresponding maintainers/reviewers.

Regards,
Sudeep

-->8

The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

  Linux 6.0-rc1 (2022-08-14 15:50:18 -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.1

for you to fetch changes up to 5b0c6328e47dccf552996ca711005ca3f44034e9:

  firmware: arm_ffa: Split up ffa_ops into info, message and memory operations (2022-09-08 11:34:04 +0100)

----------------------------------------------------------------
Arm FF-A firmware driver updates for v6.1

Small set of changes in preparation to add support for FF-A v1.1
specification later. It mainly contains:

1. Splitting up ffa_ops into different categories namely information,
   message and memory. It helps to make info and memory operations
   independent from ffa_device so thata generic memory management
   module can use it without specific ffa_dev.
2. Adds support for querying FF-A features and use the same to detect
   the support for 64-bit operations.
3. Adds v1.1 get_partition_info support and use the same to set up
   32-bit execution mode flag automatically.
4. Adds pointer to the ffa_dev_ops in struct ffa_dev and drop
   ffa_dev_ops_get() which enables to drop ffa_ops in optee_ffa
   structure using ffa_dev->ops directly. Additionally ffa_dev_ops is
   renamed as ffa_ops.

----------------------------------------------------------------
Sudeep Holla (10):
      firmware: arm_ffa: Add pointer to the ffa_dev_ops in struct ffa_dev
      tee: optee: Drop ffa_ops in optee_ffa structure using ffa_dev->ops directly
      firmware: arm_ffa: Remove ffa_dev_ops_get()
      firmware: arm_ffa: Add support for querying FF-A features
      firmware: arm_ffa: Use FFA_FEATURES to detect if native versions are supported
      firmware: arm_ffa: Make memory apis ffa_device independent
      firmware: arm_ffa: Rename ffa_dev_ops as ffa_ops
      firmware: arm_ffa: Add v1.1 get_partition_info support
      firmware: arm_ffa: Set up 32bit execution mode flag using partiion property
      firmware: arm_ffa: Split up ffa_ops into info, message and memory operations

 drivers/firmware/arm_ffa/bus.c    |   4 +-
 drivers/firmware/arm_ffa/driver.c | 132 ++++++++++++++++++++++++++++++--------
 drivers/tee/optee/ffa_abi.c       |  46 +++++++------
 drivers/tee/optee/optee_private.h |   1 -
 include/linux/arm_ffa.h           |  36 +++++++----
 5 files changed, 152 insertions(+), 67 deletions(-)



More information about the linux-arm-kernel mailing list