Files
kernel_common_drivers/drivers/aml_tee
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 21:56:28 -08:00