Hello All: I have new project for developping TEE in notebook. the system needs to support S4 (Hiberation/STD) in order to reduce the power consume. To make the design simplest, I follow the regular suspend flow as below: 1. the kernel implement suspend flow to freeze thread and store data in swap paritition. then enter into S3 mode 2. system wakeups by pressing poweron event, and boot into kernel as normal. and the TEE OS and Trusted firmware will initialize like in normal boot. Once kernel recover all context, I try to issue CA again, and it prompts the below error message. I know that the context of TEE-OS and TEE driver does not match new after system recovery... I wonder to know if there is way to cleanup TEE driver before entering into S4 to make CA work after wakeup . Thank you for your help . Best Regareds, Vincent Cui
op-tee@lists.trustedfirmware.org