I have been seeing out of memory failures due to tee_shm_free() on
kexec path. This issue in discussed in length at:
link: https://github.com/OP-TEE/optee_os/issues/3637 Driver: drivers/firmware/broadcom/tee_bnxt_fw.c
I have tried various experiments to try and debug this issue but
haven't found a fix. All I have manged is to delay the occurrence of the issue.
Any pointers would be helpful.
I guess you've seen that optee_disable_shm_cache() must somehow be called in the kexec flow. I don't know how to do that though.
Thank you Jens. I don't have much idea either, but will try out some experiments.
Thanks.