Skip to content
Commit bdba642a authored by Vignesh Raghavendra's avatar Vignesh Raghavendra Committed by Xulin Sun
Browse files

net: ti: am65-cpsw-nuss: Fix kernel crash for non zero ASEL

commit 368365b6dfdc5423d91cbba0fa473110f17629b1 from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git



In case of chained buffer each of the descriptor address should be
cleared of ASEL value before looking up virtual address.
But this is currently being done only for first descriptor, thus
resulting in kernel crash when ASEL is set to non zero value.

Fix this by dropping ASEL from DMA address for all descriptors.

Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 110b699a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment