Re: [PATCH v2 15/29] net: designware: fix non-1:1 mapped 64-bit systems

2021-06-21 Thread Ahmad Fatoum
Hi, On 21.06.21 09:25, Sascha Hauer wrote: > On Sat, Jun 19, 2021 at 06:50:41AM +0200, Ahmad Fatoum wrote: >> drivers/net/designware.c handles the older Designware < 4.x MAC IPs, >> which do not support DMA beyond 32-bit. They are still being integrated >> into SoCs with 64-bit CPUs like the StarF

Re: [PATCH v2 15/29] net: designware: fix non-1:1 mapped 64-bit systems

2021-06-21 Thread Sascha Hauer
On Sat, Jun 19, 2021 at 06:50:41AM +0200, Ahmad Fatoum wrote: > drivers/net/designware.c handles the older Designware < 4.x MAC IPs, > which do not support DMA beyond 32-bit. They are still being integrated > into SoCs with 64-bit CPUs like the StarFive JH7100, which additionally > needs a non 1:1

[PATCH v2 15/29] net: designware: fix non-1:1 mapped 64-bit systems

2021-06-18 Thread Ahmad Fatoum
drivers/net/designware.c handles the older Designware < 4.x MAC IPs, which do not support DMA beyond 32-bit. They are still being integrated into SoCs with 64-bit CPUs like the StarFive JH7100, which additionally needs a non 1:1 mapping for coherent DMA. Fix the driver to support such usage. The d