Re: [PATCH V3] net: dwc_eth_qos: Pad descriptors to cacheline size

2021-01-19 Thread Tom Rini
On Thu, Jan 07, 2021 at 11:12:16AM +0100, Marek Vasut wrote: > The DWMAC4 IP has the possibility to skip up to 7 AXI bus width size words > after the descriptor. Use this to pad the descriptors to cacheline size and > remove the need for noncached memory altogether. Moreover, this lets Tegra >

Re: [PATCH V3] net: dwc_eth_qos: Pad descriptors to cacheline size

2021-01-08 Thread Patrice CHOTARD
Hi Marek On 1/7/21 7:16 PM, Marek Vasut wrote: > On 1/7/21 5:33 PM, Stephen Warren wrote: >> On 1/7/21 3:12 AM, Marek Vasut wrote: >>> The DWMAC4 IP has the possibility to skip up to 7 AXI bus width size words >>> after the descriptor. Use this to pad the descriptors to cacheline size and >>>

Re: [PATCH V3] net: dwc_eth_qos: Pad descriptors to cacheline size

2021-01-07 Thread Marek Vasut
On 1/7/21 5:33 PM, Stephen Warren wrote: On 1/7/21 3:12 AM, Marek Vasut wrote: The DWMAC4 IP has the possibility to skip up to 7 AXI bus width size words after the descriptor. Use this to pad the descriptors to cacheline size and remove the need for noncached memory altogether. Moreover, this

Re: [PATCH V3] net: dwc_eth_qos: Pad descriptors to cacheline size

2021-01-07 Thread Stephen Warren
On 1/7/21 3:12 AM, Marek Vasut wrote: > The DWMAC4 IP has the possibility to skip up to 7 AXI bus width size words > after the descriptor. Use this to pad the descriptors to cacheline size and > remove the need for noncached memory altogether. Moreover, this lets Tegra > use the generic cache

[PATCH V3] net: dwc_eth_qos: Pad descriptors to cacheline size

2021-01-07 Thread Marek Vasut
The DWMAC4 IP has the possibility to skip up to 7 AXI bus width size words after the descriptor. Use this to pad the descriptors to cacheline size and remove the need for noncached memory altogether. Moreover, this lets Tegra use the generic cache flush / invalidate operations. Signed-off-by: