Re: [PATCH] usb: xhci-mtk: set the dma max_seg_size

From: Greg Kroah-Hartman
Date: Thu Jun 29 2023 - 04:42:56 EST


On Thu, Jun 29, 2023 at 09:13:23AM +0200, Ricardo Ribalda wrote:
> Hi Zubin
>
> On Wed, 28 Jun 2023 at 23:57, Zubin Mithra <zsm@xxxxxxxxxxxx> wrote:
> >
> > On Wed, Jun 28, 2023 at 11:04:20PM +0200, Ricardo Ribalda wrote:
> > > On Wed, 28 Jun 2023 at 23:00, Ricardo Ribalda <ribalda@xxxxxxxxxxxx> wrote:
> > > >
> > > > Allow devices to have dma operations beyond 64K, and avoid warnings such
> > > > as:
> > > >
> > > > DMA-API: xhci-mtk 11200000.usb: mapping sg segment longer than device claims to support [len=98304] [max=65536]
> > > >
> > > > Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>
> > > Reported-by: Zubin Mithra <zsm@xxxxxxxxxxxx>
> >
> > Should this be cc'd to stable@ as well?
>
> Not sure, in most of the cases this is "just" a warning fix. Let the
> maintainer decide:

Warnings can cause reboots as the majority of the linux systems in the
world run panic-on-warn, so yes, it should be backported.

thanks,

greg k-h