On Fri, 5 May 2023 at 17:37, Jens Wiklander jens.wiklander@linaro.org wrote:
Hi Jacob,
On Fri, May 5, 2023 at 2:01 PM Jacob Kroon Jacob.Kroon@axis.com wrote:
Hi,
I'm wondering if it is safe to call tee_invoke_supp_plugin_rpc() from within the OP-TEE kernel with both foreign and/or native exceptions masked ?
tee_invoke_supp_plugin_rpc() must be called from a normal thread context, the exceptions can be masked even if it's probably not a good idea.
Yeah, especially if expensive operations are performed by that RPC with interrupts masked, you are probably going to get CPU stall messages from the Linux scheduler.
-Sumit
Cheers, Jens