Jose Abreu 06a80a7d09 net: stmmac: Fix descriptors address being in > 32 bits address space
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>
2019-07-09 12:20:08 -07:00
..
2019-06-21 09:58:42 -07:00
2019-06-21 09:58:42 -07:00
2019-06-08 12:52:42 -07:00
2019-06-21 11:03:33 -07:00
2019-06-21 10:20:19 -07:00
2019-06-21 09:58:42 -07:00
2019-06-22 14:08:47 -07:00
2019-06-21 09:58:42 -07:00
2019-06-25 03:41:03 +08:00
2019-06-21 10:18:16 -07:00
2019-06-21 09:58:42 -07:00
2019-06-08 12:52:42 -07:00
2019-06-15 13:43:06 -07:00
2019-06-21 09:58:42 -07:00
2019-06-10 18:07:39 +02:00
2019-06-20 11:56:35 +02:00