Hello arm-soc maintainers,
Please pull these two patches adding a generic TEE revision sysfs
attribute and implement support for OP-TEE.
Thanks,
Jens
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/tee-sysfs-for-6.20
for you to fetch changes up to c19faf5a62315d5e0e65dde49b7b59e30330b9c2:
tee: optee: store OS revision for TEE core (2026-01-15 10:35:14 +0100)
----------------------------------------------------------------
TEE sysfs for 6.20
- Add an optional generic sysfs attribute for TEE revision
- Implement revision reporting for OP-TEE using both SMC and FF-A ABIs
----------------------------------------------------------------
Aristo Chen (2):
tee: add revision sysfs attribute
tee: optee: store OS revision for TEE core
Documentation/ABI/testing/sysfs-class-tee | 10 ++++++
drivers/tee/optee/core.c | 23 +++++++++++++
drivers/tee/optee/ffa_abi.c | 54 +++++++++++++++++++++++--------
drivers/tee/optee/optee_private.h | 19 +++++++++++
drivers/tee/optee/smc_abi.c | 15 +++++++--
drivers/tee/tee_core.c | 51 ++++++++++++++++++++++++++++-
include/linux/tee_core.h | 9 ++++++
7 files changed, 163 insertions(+), 18 deletions(-)
Hello arm-soc maintainers,
Please pull this small patch removing unused return variables in a
couple of functions in the AMDTEE driver in the TEE subsystem.
Thanks,
Jens
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/amdtee-update-for-6.20
for you to fetch changes up to a0db08f47c836251fbaccf711e12fe8428235465:
tee: amdtee: Remove unused return variables (2026-01-14 10:20:51 +0100)
----------------------------------------------------------------
AMDTEE update for 6.20
Remove unused return variables
----------------------------------------------------------------
Thorsten Blum (1):
tee: amdtee: Remove unused return variables
drivers/tee/amdtee/call.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Hello arm-soc maintainers,
Please pull these updates adding TEE bus callbacks to let the users of
the bus get rid of the struct device_driver callbacks .probe(),
.remove() and .shutdown().
The maintainers for the updated drivers using the TEE bus have agreed to
take these changes via my tree, with the exception of the maintainer for
drivers/firmware/broadcom/tee_bnxt_fw.c, who has remained silent during
the review. However, the changes in the drivers are straight forward so
it's better to take these patches too rather than excluding them.
Further details are in the last patch set:
https://lore.kernel.org/op-tee/cover.1765791463.git.u.kleine-koenig@baylibr…
Thanks,
Jens
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/tee-bus-callback-for-6.20
for you to fetch changes up to e82d0477fd80707221c3d110f56d05506de2698c:
tpm/tpm_ftpm_tee: Fix kdoc after function renames (2026-01-15 10:28:33 +0100)
----------------------------------------------------------------
TEE bus callback for 6.20
- Move from generic device_driver to TEE bus-specific callbacks
- Add module_tee_client_driver() and registration helpers to reduce
boilerplate
- Convert several client drivers (TPM, KEYS, firmware, EFI, hwrng,
and RTC)
- Update documentation and fix kernel-doc warnings
----------------------------------------------------------------
Uwe Kleine-König (18):
tee: Add some helpers to reduce boilerplate for tee client drivers
tee: Add probe, remove and shutdown bus callbacks to tee_client_driver
tee: Adapt documentation to cover recent additions
rtc: optee: Migrate to use tee specific driver registration function
rtc: optee: Make use of tee bus methods
hwrng: optee - Make use of module_tee_client_driver()
hwrng: optee - Make use of tee bus methods
efi: stmm: Make use of module_tee_client_driver()
efi: stmm: Make use of tee bus methods
firmware: arm_scmi: optee: Make use of module_tee_client_driver()
firmware: arm_scmi: Make use of tee bus methods
firmware: tee_bnxt: Make use of module_tee_client_driver()
firmware: tee_bnxt: Make use of tee bus methods
KEYS: trusted: Migrate to use tee specific driver registration function
KEYS: trusted: Make use of tee bus methods
tpm/tpm_ftpm_tee: Make use of tee specific driver registration
tpm/tpm_ftpm_tee: Make use of tee bus methods
tpm/tpm_ftpm_tee: Fix kdoc after function renames
Documentation/driver-api/tee.rst | 18 +-----
drivers/char/hw_random/optee-rng.c | 26 ++-------
drivers/char/tpm/tpm_ftpm_tee.c | 35 ++++++++----
drivers/firmware/arm_scmi/transports/optee.c | 32 ++++-------
drivers/firmware/broadcom/tee_bnxt_fw.c | 30 +++-------
drivers/firmware/efi/stmm/tee_stmm_efi.c | 25 ++-------
drivers/rtc/rtc-optee.c | 27 +++------
drivers/tee/tee_core.c | 84 ++++++++++++++++++++++++++++
include/linux/tee_drv.h | 12 ++++
security/keys/trusted-keys/trusted_tee.c | 17 +++---
10 files changed, 166 insertions(+), 140 deletions(-)
Hello arm-soc maintainers,
Please pull these three small updates for OP-TEE driver in the TEE
subsystem, and for the OP-TEE mailing list.
Thanks,
Jens
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/optee-update-for-6.20
for you to fetch changes up to 94ea7063fae835e800768d3b0507f0994ef03878:
optee: make read-only array attr static const (2026-01-16 10:35:05 +0100)
----------------------------------------------------------------
OP-TEE update for 6.20
- A micro optimization by making a local array static const
- Update OP-TEE mailing list as moderated
- Update an outdated comment for cmd_alloc_suppl()
----------------------------------------------------------------
Colin Ian King (1):
optee: make read-only array attr static const
Geert Uytterhoeven (1):
MAINTAINERS: Mark the OP-TEE mailing list moderated
Julia Lawall (1):
optee: update outdated comment
MAINTAINERS | 6 +++---
drivers/tee/optee/rpc.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
Hello arm-soc maintainers,
Please pull thes three small fixes for the QCOMTEE driver in the TEE
subsystem.
Thanks,
Jens
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/qcomtee-fixes-for-6.20
for you to fetch changes up to 1c05d9a4cab2abfb93ebce5edaa17752126b6d35:
tee: qcomtee: user: Fix confusing cleanup.h syntax (2026-01-05 10:21:09 +0100)
----------------------------------------------------------------
QCOMTEE fixes for 6.20
Small cleanups for the qcomtee driver to align with recommended coding
practices for the cleanup.h infrastructure.
----------------------------------------------------------------
Krzysztof Kozlowski (3):
tee: qcomtee: call: Fix confusing cleanup.h syntax
tee: qcomtee: mem: Fix confusing cleanup.h syntax
tee: qcomtee: user: Fix confusing cleanup.h syntax
drivers/tee/qcomtee/call.c | 17 ++++++++---------
drivers/tee/qcomtee/mem_obj.c | 4 ++--
drivers/tee/qcomtee/user_obj.c | 8 ++++----
3 files changed, 14 insertions(+), 15 deletions(-)
All Qualcomm SoCs starting from SM8650 provide access to the Qualcomm
Trusted Execution Environment (QTEE) through the SMCInvoke interface,
implemented by the QCOMTEE driver. QTEE runs in the Secure World domain
on ARM64 CPUs and exposes secure services to Linux running in the Normal
World domain.
This change enables the QCOMTEE driver as a module to support
communication with QTEE.
QCOMTEE has been tested on a Qualcomm RB3Gen2 board by loading and
executing a Trusted Application via tests hosted at
github.com/qualcomm/minkipc.
Signed-off-by: Harshal Dev <harshal.dev(a)oss.qualcomm.com>
---
Changes in v4:
- Updated the commit message as per discussion to clarify the following:
- Why we are enabling QCOMTEE for all arm64 boards.
- From which Qualcomm SoC onwards the driver is applicable.
- What functionality the driver provides.
- How the functionality has been tested and on which board.
- Link to v3: https://lore.kernel.org/r/20251208-qcom_qcomtee_defconfig-v3-1-b50dcf8ab45e…
Changes in v3:
- Updated the commit message to reflect the supported Qualcomm platforms.
- Link to v2: https://lore.kernel.org/r/20251205-qcom_qcomtee_defconfig-v2-1-c92560b0346e…
Changes in v2:
- Updated CONFIG_QCOMTEE flag to 'm' since QCOMTEE can be built as a module.
- Link to v1: https://lore.kernel.org/r/20251202-qcom_qcomtee_defconfig-v1-1-11bfe40a8ea4…
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index cdb7d69e3b24..e952d24bef77 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1789,6 +1789,7 @@ CONFIG_FPGA_MGR_ZYNQMP_FPGA=m
CONFIG_FPGA_MGR_VERSAL_FPGA=m
CONFIG_TEE=y
CONFIG_OPTEE=y
+CONFIG_QCOMTEE=m
CONFIG_MUX_GPIO=m
CONFIG_MUX_MMIO=y
CONFIG_SLIMBUS=m
---
base-commit: 47b7b5e32bb7264b51b89186043e1ada4090b558
change-id: 20251202-qcom_qcomtee_defconfig-8dc0fed1411b
Best regards,
--
Harshal Dev <harshal.dev(a)oss.qualcomm.com>
After sending a patch to op-tee(a)lists.trustedfirmware.org, I got the
typical response for a moderated list:
Your mail to 'op-tee(a)lists.trustedfirmware.org' with the subject
[...]
Is being held until the list moderator can review it for approval.
The message is being held because:
The message is not from a list member
Either the message will get posted to the list, or you will receive
notification of the moderator's decision.
Mark this mailing list moderated in MAINTAINERS.
Signed-off-by: Geert Uytterhoeven <geert+renesas(a)glider.be>
Reviewed-by: Jens Wiklander <jens.wiklander(a)linaro.org>
---
v2:
- Add Reviewed-by.
---
MAINTAINERS | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 13e2f2fdc248ec65..9c988eb1cc86628f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -19578,14 +19578,14 @@ F: drivers/net/phy/ncn*
OP-TEE DRIVER
M: Jens Wiklander <jens.wiklander(a)linaro.org>
-L: op-tee(a)lists.trustedfirmware.org
+L: op-tee(a)lists.trustedfirmware.org (moderated for non-subscribers)
S: Maintained
F: Documentation/ABI/testing/sysfs-bus-optee-devices
F: drivers/tee/optee/
OP-TEE RANDOM NUMBER GENERATOR (RNG) DRIVER
M: Sumit Garg <sumit.garg(a)kernel.org>
-L: op-tee(a)lists.trustedfirmware.org
+L: op-tee(a)lists.trustedfirmware.org (moderated for non-subscribers)
S: Maintained
F: drivers/char/hw_random/optee-rng.c
@@ -25693,7 +25693,7 @@ F: include/media/i2c/tw9910.h
TEE SUBSYSTEM
M: Jens Wiklander <jens.wiklander(a)linaro.org>
R: Sumit Garg <sumit.garg(a)kernel.org>
-L: op-tee(a)lists.trustedfirmware.org
+L: op-tee(a)lists.trustedfirmware.org (moderated for non-subscribers)
S: Maintained
F: Documentation/ABI/testing/sysfs-class-tee
F: Documentation/driver-api/tee.rst
--
2.43.0