Skip to content

OP-TEE FF-A notifications

Jens Wiklander lkml op-tee 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 13 repliesSuperseded

Changes in v2 from the cover letter

* Applied Sumit's Reviewed-by
* Addressed Sumit's comment on "optee: ffa_abi: add asynchronous notifications"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2optee: provide optee_do_bottom_half() as a common functiondrivers/tee/optee/call.c drivers/tee/optee/optee_private.h drivers/tee/optee/smc_abi.c+38 -340 replies
2/2optee: ffa_abi: add asynchronous notificationsdrivers/tee/optee/ffa_abi.c drivers/tee/optee/optee_ffa.h drivers/tee/optee/optee_private.h+117 -80 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSumit Garg
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] OP-TEE FF-A notifications

Hi all,

This patchset adds support for using FF-A notifications as a delivery mechanism of asynchronous notifications from OP-TEE running in the secure world. Support for asynchronous notifications via the SMC ABI was added in [1], here we add the counterpart needed when using the the FF-A ABI.

Support for FF-A notifications is added with [2] and this patch set is based on Sudeeps tree at [3].

[1] https://lore.kernel.org/lkml/20211103090255.998070-1-jens.wiklander(a)linaro.org/
[2] https://lore.kernel.org/linux-arm-kernel/20231005-ffa_v1-1_notif-v4-0-cddd3237809c(a)arm.com/
[3] https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/tag/?h=ffa-updates-6.7
commit bcefd1bf63b1 ("firmware: arm_ffa: Upgrade the driver version to v1.1")

v1->v2:
* Applied Sumit's Reviewed-by
* Addressed Sumit's comment on "optee: ffa_abi: add asynchronous notifications"

Thanks,
Jens

Jens Wiklander (2):
optee: provide optee_do_bottom_half() as a common function
optee: ffa_abi: add asynchronous notifications

 drivers/tee/optee/call.c          | 31 ++++++++++-
 drivers/tee/optee/ffa_abi.c       | 93 ++++++++++++++++++++++++++++++-
 drivers/tee/optee/optee_ffa.h     | 28 ++++++++--
 drivers/tee/optee/optee_private.h |  9 ++-
 drivers/tee/optee/smc_abi.c       | 36 ++----------
 5 files changed, 155 insertions(+), 42 deletions(-)

base-commit: bcefd1bf63b1ec9bb08067021cf47f0fad96f395

Signature · 1 line
2.34.1