|
|
Log in / Subscribe / Register

OP-TEE FF-A notifications

From:  Jens Wiklander <jens.wiklander-AT-linaro.org>
To:  linux-kernel-AT-vger.kernel.org, op-tee-AT-lists.trustedfirmware.org
Subject:  [PATCH 0/2] OP-TEE FF-A notifications
Date:  Thu, 26 Oct 2023 10:04:07 +0200
Message-ID:  <20231026080409.4149616-1-jens.wiklander@linaro.org>
Cc:  Sumit Garg <sumit.garg-AT-linaro.org>, Jerome Forissier <jerome.forissier-AT-linaro.org>, Sudeep Holla <sudeep.holla-AT-arm.com>, Marc Bonnici <marc.bonnici-AT-arm.com>, Olivier Deprez <Olivier.Deprez-AT-arm.com>, Lorenzo Pieralisi <lpieralisi-AT-kernel.org>, Jens Wiklander <jens.wiklander-AT-linaro.org>
Archive-link:  Article

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...
[2] https://lore.kernel.org/linux-arm-kernel/20231005-ffa_v1-...
[3] https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.ho...
    commit bcefd1bf63b1 ("firmware: arm_ffa: Upgrade the driver version to v1.1")

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       | 91 ++++++++++++++++++++++++++++++-
 drivers/tee/optee/optee_ffa.h     | 28 ++++++++--
 drivers/tee/optee/optee_private.h |  9 ++-
 drivers/tee/optee/smc_abi.c       | 36 ++----------
 5 files changed, 153 insertions(+), 42 deletions(-)


base-commit: bcefd1bf63b1ec9bb08067021cf47f0fad96f395
-- 
2.34.1



Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds