Re: [PATCH] usb: dwc3: set the dma max_seg_size

From: Greg Kroah-Hartman
Date: Fri Oct 27 2023 - 06:51:13 EST


On Thu, Oct 26, 2023 at 12:28:36PM +0000, Ricardo Ribalda wrote:
> Allow devices to have dma operations beyond 4K, and avoid warnings such
> as:
>
> DMA-API: dwc3 a600000.usb: mapping sg segment longer than device claims to support [len=86016] [max=65536]
>
> Reported-by: Zubin Mithra <zsm@xxxxxxxxxxxx>
> Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>
> ---
> Found while running
> yavta -f YUYV -s 1280x720 -c /dev/video0
>
> with:
>
> CONFIG_DMA_API_DEBUG=y
> ---
> drivers/usb/dwc3/core.c | 2 ++
> 1 file changed, 2 insertions(+)

What commit id does this fix?

thanks,

greg k-h