This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x PRU SUART驱动 BUG: scheduling while atomic异常

SDK版本:5.03.00.07  RT-Preempt

内核版本:4.14.79

PRU SUART版本:1.2

问题描述:

在使用PRU SUART驱动时,且Linux采用RT-Preempt,中断线程化

在PRU串口收发时,很容易复现BUG: scheduling while atomic异常

是不是驱动irq中未考虑抢占问题?

具体错误和调用栈截图如下: