Re: [PATCH] usb: dwc2: Fix DMA cache alignment issues

2019-05-30 Thread Minas Harutyunyan
On 5/29/2019 10:31 PM, Doug Anderson wrote: Hi, On Sun, Feb 17, 2019 at 10:37 PM Martin Schiller wrote: Insert a padding between data and the stored_xfer_buffer pointer to ensure they are not on the same cache line. Otherwise, the stored_xfer_buffer gets corrupted for IN URBs on non-cache-co

Re: [PATCH] usb: dwc2: Fix DMA cache alignment issues

2019-05-29 Thread Doug Anderson
Hi, On Sun, Feb 17, 2019 at 10:37 PM Martin Schiller wrote: > > Insert a padding between data and the stored_xfer_buffer pointer to > ensure they are not on the same cache line. > > Otherwise, the stored_xfer_buffer gets corrupted for IN URBs on > non-cache-coherent systems. (In my case: Lantiq x