Skip to contentSkip to conversation

OP-TEE memref size check for v5.13

GIT PULL Applied Jens Wiklander 2 participants 2 messages Mar 30, 2021 – Apr 1, 2021

lore
Share & tools
lore
#0 lore raw

Hello arm-soc maintainers,

Please pull this small patch for the OP-TEE driver to remove the invalid size check of outgoing memref parameters. This code path is only activated for a certain configuration of OP-TEE in secure world (CFG_CORE_DYN_SHM=n) so this problem isn't always visible.

Thanks,
Jens

The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

are available in the Git repository at:

git://git.linaro.org/people/jens.wiklander/linux-tee.git/ tags/optee-memref-size-for-v5.13

for you to fetch changes up to c650b8dc7a7910eb25af0aac1720f778b29e679d:

tee: optee: do not check memref size on return from Secure World (2021-03-30 10:44:50 +0200)

----------------------------------------------------------------
OP-TEE skip check of returned memref size

----------------------------------------------------------------
Jerome Forissier (1):
tee: optee: do not check memref size on return from Secure World

 drivers/tee/optee/core.c | 10 ----------
 1 file changed, 10 deletions(-)
#1 lore raw

From: Arnd Bergmann <[email protected]>

Quoted 9 lines · Jens Wiklander

Please pull this small patch for the OP-TEE driver to remove the invalid size check of outgoing memref parameters. This code path is only activated for a certain configuration of OP-TEE in secure world (CFG_CORE_DYN_SHM=n) so this problem isn't always visible.

Thanks,
Jens

[...]

Merged into arm/drivers, thanks!

merge commit: d6358a687891dacbe7d88541a83f61bdccb4f7b8

Arnd