hongbin wang b4a9d33cb1 tee: change shm register flag when restore [1/1]
PD#SWPL-185800

Problem:
Youtube can not play when restore in STD function.
the TEE print :
std_entry_with_parg:235 Bad arg address 0x1200c180

Find the dynamic shm flag should not have
OPTEE_SHM_ARG_ALLOC_PRIV flag.  it should same to
optee_probe function , just need OPTEE_SHM_ARG_SHARED

Solution:
remove OPTEE_SHM_ARG_ALLOC_PRIV when re-register

Verify:
S7 + Yocto

Change-Id: Ibe9708cb4db0e0b98f1a144d204f66e93bb56d22
Signed-off-by: hongbin wang <hongbin.wang@amlogic.com>
2024-11-18 21:57:02 -08:00
2024-11-18 03:56:11 -08:00
2024-10-24 04:26:13 -07:00
2024-11-13 19:24:25 -08:00
2024-11-14 23:50:23 -08:00
2024-11-15 04:39:24 -08:00
S
Description
No description provided
118 MiB
Languages
C 98.9%
Perl 0.4%
Makefile 0.4%
Shell 0.2%