Hi,
On Fri, May 17, 2024 at 10:42 AM Hareesh Das Ulleri hareesh.ulleri@ovt.com wrote:
Hello All,
[please suggest the email list if this is not the right platform to discuss, sorry for that]
We use Op-tee (3.18) in our ARM64 based project (Linux 5.15.14+) for cryption, so basically it is like " OpenSSH -> OpenSSL -> OpTee -> HSM". It works fine until we tried with a test scenario of reboot request via SSH.
When we request the system reboot via SSH, the shutting down looks not a graceful way (ssh client connection exception). This is only we add OpTee layer, otherwise everything works fine. I would like to know anyone has encountered similar kind of issue where OpTee has to take care any special shutting down process. Any leads much appreciated !
The OP-TEE kernel driver does something to prepare for shutdown. The exception in the ssh client suggests it could be a user-space integration issue. I assume the exception is triggered by an unexpected return code from OP-TEE. Is it possible to do something special when receiving that return code in order to avoid the exception?
Cheers, Jens