Hello arm-soc maintainers,
Please pull these small fixes in the TEE subssytem. The OP-TEE driver
patch fixes an error which was introduced during the merge window. I'm
not sure if the error really can be triggered, but it would be nice to
have it fixed before the release.
Thanks,
Jens
The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:
Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)
are available in the Git repository at:
https://git.linaro.org/people/jens.wiklander/linux-tee.git/ tags/tee-fixes-for-v5.19
for you to fetch changes up to e5ce073c8a1e01b215a5eb32ba48f8d17ded3bd5:
tee: tee_get_drvdata(): fix description of return value (2022-07-08 10:51:24 +0200)
----------------------------------------------------------------
Fixes for TEE subsystem
A fix for the recently merged commit ed8faf6c8f8c ("optee: add
OPTEE_SMC_CALL_WITH_RPC_ARG and OPTEE_SMC_CALL_WITH_REGD_ARG").
Two small fixes in comment, repeated words etc.
----------------------------------------------------------------
Jiang Jian (1):
optee: Remove duplicate 'of' in two places.
Marc Kleine-Budde (1):
tee: tee_get_drvdata(): fix description of return value
Yang Yingliang (1):
optee: smc_abi.c: fix wrong pointer passed to IS_ERR/PTR_ERR()
drivers/tee/optee/optee_smc.h | 2 +-
drivers/tee/optee/smc_abi.c | 4 ++--
drivers/tee/tee_core.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
[BCC all OP-TEE maintainers]
Hi OP-TEE maintainers & contributors,
OP-TEE v3.17.0 is scheduled to be released on 2022-07-15. So, now is a
good time to start testing the master branch on the various platforms
and report/fix any bugs.
The GitHub pull request for collecting Tested-by tags or any other
comments is https://github.com/OP-TEE/optee_os/pull/5395
As usual, we will create a release candidate tag one week before the
release date for final testing.
In addition to that you can find some additional information related
to releases here:
https://optee.readthedocs.io/en/latest/general/releases.html
Thanks,
Jens
Hello arm-soc maintainers,
Please pull this small patch which fixes a compiler warning in the OP-TEE
driver.
Note that this pull request is on top of and earlier accepted/applied [1]
pull request in order to avoid a merge conflict.
Thanks,
Jens
[1] https://lore.kernel.org/lkml/20220503192916.GA3288817@jade/
The following changes since commit 3e47235eaee09488c7e467b9aaccb7c93c862c6b:
tee: make tee_shm_register_kernel_buf vmalloc supported (2022-04-05 08:04:16 +0200)
are available in the Git repository at:
https://git.linaro.org/people/jens.wiklander/linux-tee.git/ tags/optee-warning-for-v5.19
for you to fetch changes up to a3b9ecc805e9131476c719111fe347c7dbc0d1d1:
tee: optee: Pass a pointer to virt_addr_valid() (2022-05-30 08:06:45 +0200)
----------------------------------------------------------------
Fix a compiler warning in OP-TEE driver
----------------------------------------------------------------
Linus Walleij (1):
tee: optee: Pass a pointer to virt_addr_valid()
drivers/tee/optee/call.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
A pointer into virtual memory is represented by a (void *)
not an u32, so the compiler warns:
drivers/tee/optee/call.c:365:29: warning: passing argument 1
of 'virt_to_pfn' makes pointer from integer without a
cast [-Wint-conversion]
Fix this with an explicit cast.
Cc: Sumit Garg <sumit.garg(a)linaro.org>
Signed-off-by: Linus Walleij <linus.walleij(a)linaro.org>
---
drivers/tee/optee/call.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tee/optee/call.c b/drivers/tee/optee/call.c
index bd49ec934060..51275d77ec84 100644
--- a/drivers/tee/optee/call.c
+++ b/drivers/tee/optee/call.c
@@ -362,7 +362,7 @@ int optee_check_mem_type(unsigned long start, size_t num_pages)
* Allow kernel address to register with OP-TEE as kernel
* pages are configured as normal memory only.
*/
- if (virt_addr_valid(start))
+ if (virt_addr_valid((void *)start))
return 0;
mmap_read_lock(mm);
--
2.35.1