[GIT PULL] TEE QTEE fixes for v6.18

From: Jens Wiklander
Date: Fri Oct 03 2025 - 08:33:40 EST


Hello arm-soc maintainers,

Please pull these small fixes for the TEE QTEE driver introduced in v6.18
merge window.

Thanks,
Jens

The following changes since commit dcc7a571a3665a16581b5b18ca6b113f60a9a41a:

Documentation: tee: Add Qualcomm TEE driver (2025-09-15 17:34:06 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/tee-qcomtee-fixes-for-v6.18

for you to fetch changes up to 3b63efa21bc6acc1a0fadd1dd0f0e1988a4c0177:

tee: QCOMTEE should depend on ARCH_QCOM (2025-10-02 08:31:10 +0200)

----------------------------------------------------------------
TEE QTEE fixes for v6.18

- Adds ARCH_QCOM dependency for the QTEE driver
- Fixing return values for copy_from_user() failures
- Guarding against potential off by one read

----------------------------------------------------------------
Dan Carpenter (2):
tee: qcom: prevent potential off by one read
tee: qcom: return -EFAULT instead of -EINVAL if copy_from_user() fails

Geert Uytterhoeven (1):
tee: QCOMTEE should depend on ARCH_QCOM

drivers/tee/qcomtee/Kconfig | 1 +
drivers/tee/qcomtee/call.c | 2 +-
drivers/tee/qcomtee/core.c | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)