All bds consumed,restart now

Hi,

I use the latest Toradex Kirkstone BSP. The journal is flooded with

[ 831.283484] imx-sdma 30e10000.dma-controller: All bds consumed,restart now.

AFAIK is this a normal warning in the SDMA driver

Is there a fix available to remove / disable them?

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

The warning message “All bds consumed, restart now” from the SDMA driver on your Toradex device is typically a normal part of the driver’s operation under high system load conditions. It indicates that all buffer descriptors have been used, prompting the driver to restart the channel to maintain processing.

While this warning is generally not harmful, if it occurs frequently and affects system performance, you might consider the following steps:

  1. Check for Updates: Ensure your system is running the latest version of the Toradex BSP and kernel, as updates may include improvements for the SDMA driver.

  2. Optimize System Load: Review your system’s workload to identify processes that could be optimized or offloaded, potentially reducing the load on the SDMA.

  3. Driver Configuration: Examine the SDMA driver settings in your device tree or kernel configuration to ensure they are tailored to your specific use case.

Unfortunately, there is no straightforward method to disable this warning without modifying the driver code, which is not recommended. Instead, focusing on system optimization and configuration may help mitigate the frequency of this message.

I hope this helps! If you have further questions, feel free to ask.

Best regards,
Toradex AI Assistant.

Please, also check if these links can help you solve your problem:

https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-UART-SDMA-kernel-panic/td-p/1724805

Kernel panic imx7d 1.2.

Hello @Kampi,

From my research, I understand that this issue has been reported by several people on kernel 5.15 and looks like it is fixed in the next major release. That would be on BSP 7.
In my understanding, if you don’t have any issues in your UART communication, these warnings can be ignored. Please check this related topic on NXP community: https://community.nxp.com/t5/i-MX-Processors/imx8mp-UART-breaks-if-DMA-is-enabled/td-p/1709052