The serial port uses DMA to transmit memory leaks

Hardware:Jetson AGX Orin
Software:Jetpack 5.1.0
Question:We connect an IMU on 3140000.serial. When the serial port is opened, It works normally, but the KMALLOC-256 slab objs keeps growing 80K bytes per second,When the serial port is clocked,the KMALLOC-256 slab objs remains unchanged

The memory leak stack can be found through the kmemleak slub_debug as follows

UART and DMA DTS are as follows

During debugging, it was found that the number of GPC-DMA interrupts is 0,tegra_dma_isr interrupt handler not execute, desc_dma there is no kfree
UART drivers and DMA drivers are NVIDIA’s own drivers, what is the reason?

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

Hi 1105644160,

Are you using the devkit or custom board for AGX Orin?

Is your issue about the memory leak at 3140000.serial?

Could you help to verify if the issue could be reproduced on the devkit with JP5.1.1(R35.3.1) and also provide the serial console log?