RE: [PATCH 4/6] net: dwc_eth_qos: Invalidate RX descriptor before reading

2020-04-06 Thread Patrick DELAUNAY
Dear Marek, > From: Marek Vasut > Sent: lundi 23 mars 2020 02:45 > > The current code polls the RX desciptor ring for new packets by reading the RX > descriptor status. This works by accident, as the RX descriptors are often in > non- > cacheable memory. However, the driver does support use of

Re: [PATCH 4/6] net: dwc_eth_qos: Invalidate RX descriptor before reading

2020-03-23 Thread Ramon Fried
On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: > > The current code polls the RX desciptor ring for new packets by reading > the RX descriptor status. This works by accident, as the RX descriptors > are often in non-cacheable memory. However, the driver does support use > of RX descriptors in

[PATCH 4/6] net: dwc_eth_qos: Invalidate RX descriptor before reading

2020-03-22 Thread Marek Vasut
The current code polls the RX desciptor ring for new packets by reading the RX descriptor status. This works by accident, as the RX descriptors are often in non-cacheable memory. However, the driver does support use of RX descriptors in cacheable memory. This patch adds a missing RX descriptor