RE: [PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-04-06 Thread Patrick DELAUNAY
Dear Marek, > From: Marek Vasut > Sent: lundi 23 mars 2020 02:45 > > The DMA may attempt to write a DMA descriptor in the ring while it is being > updated. By writing the DMA descriptor buffer address to 0, it is assured the > DMA > will not use such a buffer and the buffer can be updated witho

Re: [PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-03-23 Thread Marek Vasut
On 3/23/20 1:50 PM, Ramon Fried wrote: > On Mon, Mar 23, 2020 at 2:22 PM Marek Vasut wrote: >> >> On 3/23/20 1:19 PM, Ramon Fried wrote: >>> On Mon, Mar 23, 2020 at 2:00 PM Marek Vasut wrote: On 3/23/20 8:09 AM, Ramon Fried wrote: > On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote

Re: [PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-03-23 Thread Ramon Fried
On Mon, Mar 23, 2020 at 2:22 PM Marek Vasut wrote: > > On 3/23/20 1:19 PM, Ramon Fried wrote: > > On Mon, Mar 23, 2020 at 2:00 PM Marek Vasut wrote: > >> > >> On 3/23/20 8:09 AM, Ramon Fried wrote: > >>> On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: > > The DMA may attempt to writ

Re: [PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-03-23 Thread Marek Vasut
On 3/23/20 1:19 PM, Ramon Fried wrote: > On Mon, Mar 23, 2020 at 2:00 PM Marek Vasut wrote: >> >> On 3/23/20 8:09 AM, Ramon Fried wrote: >>> On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: The DMA may attempt to write a DMA descriptor in the ring while it is being updated. By wr

Re: [PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-03-23 Thread Ramon Fried
On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: > > The DMA may attempt to write a DMA descriptor in the ring while it is > being updated. By writing the DMA descriptor buffer address to 0, it > is assured the DMA will not use such a buffer and the buffer can be > updated without any interferen

Re: [PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-03-23 Thread Ramon Fried
On Mon, Mar 23, 2020 at 2:00 PM Marek Vasut wrote: > > On 3/23/20 8:09 AM, Ramon Fried wrote: > > On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: > >> > >> The DMA may attempt to write a DMA descriptor in the ring while it is > >> being updated. By writing the DMA descriptor buffer address to

Re: [PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-03-23 Thread Marek Vasut
On 3/23/20 8:09 AM, Ramon Fried wrote: > On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: >> >> The DMA may attempt to write a DMA descriptor in the ring while it is >> being updated. By writing the DMA descriptor buffer address to 0, it >> is assured the DMA will not use such a buffer and the b

Re: [PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-03-23 Thread Ramon Fried
On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: > > The DMA may attempt to write a DMA descriptor in the ring while it is > being updated. By writing the DMA descriptor buffer address to 0, it > is assured the DMA will not use such a buffer and the buffer can be > updated without any interferen

[PATCH 6/6] net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor

2020-03-22 Thread Marek Vasut
The DMA may attempt to write a DMA descriptor in the ring while it is being updated. By writing the DMA descriptor buffer address to 0, it is assured the DMA will not use such a buffer and the buffer can be updated without any interference. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Patr