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

Ricardo Ribalda ribalda at chromium.org
Thu Jun 29 00:13:23 PDT 2023


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:

Fixes: 0cbd4b34cda9 ("xhci: mediatek: support MTK xHCI host controller")
Cc: stable at vger.kernel.org



More information about the Linux-mediatek mailing list