Revision 06a80a7d09cc3fbecbd44e225e825a37fb806836 authored by Jose Abreu on 09 July 2019, 08:02:59 UTC, committed by David S. Miller on 09 July 2019, 19:20:08 UTC
Commit a993db88d17d ("net: stmmac: Enable support for > 32 Bits
addressing in XGMAC"), introduced support for > 32 bits addressing in
XGMAC but the conversion of descriptors to dma_addr_t was left out.

As some devices assing coherent memory in regions > 32 bits we need to
set lower and upper value of descriptors address when initializing DMA
channels.

Luckly, this was working for me because I was assigning CMA to < 4GB
address space for performance reasons.

Fixes: a993db88d17d ("net: stmmac: Enable support for > 32 Bits addressing in XGMAC")
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d429b66
History
File Mode Size
Makefile -rw-r--r-- 599 bytes
trace-events-sample.c -rw-r--r-- 2.9 KB
trace-events-sample.h -rw-r--r-- 17.1 KB

back to top