Re: [PATCH v3 1/3] usb: dwc3: allocate setup_buf with dma_alloc_coherent()

2024-10-02 Thread Marek Vasut
On 10/2/24 4:39 PM, Neil Armstrong wrote: Since setup_buf is also consumed by hardware DMA, aligns it's allocation like other hardware buffers by introduce setup_buf_addr populated by dma_alloc_coherent(), and use it to pass the physical address of the buffer to the hardware. Reviewed-by: Mattij

[PATCH v3 1/3] usb: dwc3: allocate setup_buf with dma_alloc_coherent()

2024-10-02 Thread Neil Armstrong
Since setup_buf is also consumed by hardware DMA, aligns it's allocation like other hardware buffers by introduce setup_buf_addr populated by dma_alloc_coherent(), and use it to pass the physical address of the buffer to the hardware. Reviewed-by: Mattijs Korpershoek Signed-off-by: Neil Armstrong