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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Jun 29 01:40:09 PDT 2023


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 at chromium.org> 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 at chromium.org> 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 at chromium.org>
> > > Reported-by: Zubin Mithra <zsm at chromium.org>
> >
> > 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



More information about the Linux-mediatek mailing list