Hi Community!
I have just started working on optee and found out that whenever logs like EMSG; IMSG and DMSG comes in my application, my system gots hanged and gives the following error
rcu: INFO: rcu_preempt detected stalls on CP/1/0x4000000000000000 softirq=11458/11459 fqs=1051
When I removed such logs from the Trusted application (TA), my optee examples work fine. Does Anyone have any idea how to resolve this error?
Here are the different things that I tried to resolve this error
- I have already played with CFG_TEE_TA_LOG_LEVEL and CFG_TEE_CORE_LOG_LEVEL. I have tried different log levels but it didn't work.
- After that, I have also tried to change the debug UART of optee but it still hangs.
- I also increased the rcu_preempt time but it didn't work too
- I also tried to read code where it was mentioned that if optee core log level is less than some minimum level, these EMSG, IMSG and DMSG won't take effect. I did it too but it still hanged. One more interesting thing that I noticed that these EMSG, DMSG and IMSG logs are also used in optee uart driver even when UART are not initialized. Where these logs dump the data. Any idea about this? If I am percieving it wrong please let me know!