[PATCH] dmaengine: at_xdmac: handle empty transfer list in tx_status

Ziheng Wei zihengw03 at 163.com
Tue Nov 17 11:13:11 PST 2026


On Tue, Nov 17, 2026 at 01:17:18PM -0500, Frank Li wrote:
> suppose below patch can fix this problem
> https://lore.kernel.org/dmaengine/avdni52GEjf_B3vE@lizhi-Precision-Tower-5810/

Hi Frank,

Thank you for the pointer. It looks like the same empty-list issue in
the Xilinx driver, and the list_first_entry_or_null() guard is also
what this patch uses in at_xdmac_tx_status().

Since my issue arises after terminate_all() empties xfers_list in the
at_xdmac driver, I am not sure whether you meant the Xilinx patch as a
reference for the guard, or had another suggestion in mind. I would
appreciate any clarification.

Thanks,
Ziheng




More information about the linux-arm-kernel mailing list