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

From: Ricardo Ribalda
Date: Thu Jun 29 2023 - 03:14:14 EST


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:

Fixes: 0cbd4b34cda9 ("xhci: mediatek: support MTK xHCI host controller")
Cc: stable@xxxxxxxxxxxxxxx