[PATCH] usb: xhci: fix event trb handling missed

Bin Meng bmeng.cn at gmail.com
Fri Nov 6 08:54:27 CET 2020


On Tue, Sep 22, 2020 at 7:41 PM Marek Vasut <marex at denx.de> wrote:
>
> On 9/22/20 6:54 AM, Ran Wang wrote:
> > In functiion xhci_bulk_tx(), when buffer cross 64KB boundary, it will
> > send request in more than 1 Transfer TRB by chaining them, but then handle
> > only 1 event TRB to mark request completed.
> >
> > However, on Layerscape platforms (LS1028A, LS1088A, etc), we observe xhci
> > controller will generated more than 1 event TRB sometimes, this cause that
> > function mishandle event TRB in next round call, then system hang due to
> > BUG() checking.
> >
> > This patch adds a loop to make sure the event TRB for last Transfer TRB has
> > to be handled in time.
>
> Bin, can you please take a look at this one ? Thanks

Sorry I missed this one. Will take a look at this soon.

Regards,
Bin


More information about the U-Boot mailing list