Re: Patch "usb: dwc3: qcom: fix peripheral and OTG suspend" has been added to the 5.19-stable tree

From: Johan Hovold
Date: Tue Sep 06 2022 - 03:01:09 EST


On Tue, Sep 06, 2022 at 08:46:21AM +0200, Greg Kroah-Hartman wrote:
> On Tue, Sep 06, 2022 at 07:48:22AM +0200, Johan Hovold wrote:
> > On Mon, Sep 05, 2022 at 01:00:59PM -0400, Sasha Levin wrote:
> > > On Mon, Sep 05, 2022 at 05:00:10PM +0200, Johan Hovold wrote:

> > > >Just pick
> > > >
> > > > a872ab303d5d ("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")
> > > >
> > > >which was the only patch I had marked for stable and fix up the trivial
> > > >context change (an unrelated function has been added after the new
> > > >helper in mainline).
> > >
> > > Okay, this should be done. Please take a look at the queue to confirm.
> >
> > I only checked the pending-5.19 branch, but that one still has
> >
> > 360e8230516d ("usb: dwc3: qcom: Add helper functions to enable,disable wake irqs")
> >
> > which should be dropped as well.
>
> Now dropped. It was needed for a different dwc3 patch, so I dropped
> that too and will figure them out later today...

I believe that wasn't a real dependency either and only changed the
context somewhat.

The only dwc3 fix that should be needed is the one mentioned above:

a872ab303d5d ("usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup")

which is self-contained, even if the context (as in unrelated functions
following the helper) may need to be adjusted.

Johan