Re: [PATCH v4 3/3] usb: dwc3: invalidate dcache on buffer used in interrupt handling

2024-12-30 Thread Ahmad Fatoum
Hi Neil, On 30.12.24 11:35, Neil Armstrong wrote: > On 28/12/2024 14:46, Ahmad Fatoum wrote: >> Doing cache maintenance on DMA-coherent memory doesn't make sense. >> If this makes things better for you, it's probable that something else >> is broken. >> >> Additionally, this will break platforms t

Re: [PATCH v4 3/3] usb: dwc3: invalidate dcache on buffer used in interrupt handling

2024-12-30 Thread Neil Armstrong
On 28/12/2024 14:46, Ahmad Fatoum wrote: Hi, On 11.10.24 16:38, Neil Armstrong wrote: On Qualcomm systems, the setup buffer and even buffers are in a bad state at interrupt handling, so invalidate the dcache lines for the setup_buf and event buffer to make sure we read correct data written by t

Re: [PATCH v4 3/3] usb: dwc3: invalidate dcache on buffer used in interrupt handling

2024-12-28 Thread Ahmad Fatoum
Hi, On 11.10.24 16:38, Neil Armstrong wrote: > On Qualcomm systems, the setup buffer and even buffers are in > a bad state at interrupt handling, so invalidate the dcache lines > for the setup_buf and event buffer to make sure we read correct > data written by the hardware. > > This fixes the fol

Re: [PATCH v4 3/3] usb: dwc3: invalidate dcache on buffer used in interrupt handling

2024-10-13 Thread Marek Vasut
On 10/11/24 4:38 PM, Neil Armstrong wrote: On Qualcomm systems, the setup buffer and even buffers are in a bad state at interrupt handling, so invalidate the dcache lines for the setup_buf and event buffer to make sure we read correct data written by the hardware. This fixes the following error:

[PATCH v4 3/3] usb: dwc3: invalidate dcache on buffer used in interrupt handling

2024-10-11 Thread Neil Armstrong
On Qualcomm systems, the setup buffer and even buffers are in a bad state at interrupt handling, so invalidate the dcache lines for the setup_buf and event buffer to make sure we read correct data written by the hardware. This fixes the following error: dwc3-generic-peripheral usb@a60: UNKNOWN