From: Greg KH <gregkh@linuxfoundation.org>
To: Jun Li <jun.li@nxp.com>
Cc: "peter.chen@kernel.org" <peter.chen@kernel.org>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
dl-linux-imx <linux-imx@nxp.com>,
Faqiang Zhu <faqiang.zhu@nxp.com>
Subject: Re: [PATCH] usb: chipidea: udc: assign interrupt number to USB gadget structure
Date: Wed, 9 Jun 2021 10:26:11 +0200 [thread overview]
Message-ID: <YMB7IzMTj8s12Wig@kroah.com> (raw)
In-Reply-To: <VI1PR04MB5935921F1543147A27C23AA1893B9@VI1PR04MB5935.eurprd04.prod.outlook.com>
On Fri, Jun 04, 2021 at 11:34:53AM +0000, Jun Li wrote:
>
>
> > -----Original Message-----
> > From: Jun Li
> > Sent: Friday, June 4, 2021 7:10 PM
> > To: Greg KH <gregkh@linuxfoundation.org>
> > Cc: peter.chen@kernel.org; linux-usb@vger.kernel.org; dl-linux-imx
> > <linux-imx@nxp.com>; Faqiang Zhu <faqiang.zhu@nxp.com>
> > Subject: RE: [PATCH] usb: chipidea: udc: assign interrupt number to USB gadget
> > structure
> >
> > > -----Original Message-----
> > > From: Greg KH <gregkh@linuxfoundation.org>
> > > Sent: Friday, June 4, 2021 6:52 PM
> > > To: Jun Li <jun.li@nxp.com>
> > > Cc: peter.chen@kernel.org; linux-usb@vger.kernel.org; dl-linux-imx
> > > <linux-imx@nxp.com>; Faqiang Zhu <faqiang.zhu@nxp.com>
> > > Subject: Re: [PATCH] usb: chipidea: udc: assign interrupt number to
> > > USB gadget structure
> > >
> > > On Fri, May 14, 2021 at 06:59:44PM +0800, Li Jun wrote:
> > > > Chipidea also need sync interrupt before unbind the udc while gadget
> > > > remove driver, otherwise setup irq handling may happen while unbind,
> > > > see below dump generated from android function switch stress test:
> > > >
> > ...
> > > >
> > >
> > > What commit does this fix? Should it go to stable kernels, and if so,
> > > how far back?
> >
> > I will resend the patch with fix tag added.
>
> Hi Greg,
>
> I assume this problem may exist all along or very far, but this patch
> need base one commit[1] to fix this problem, so I think that commit is
> the point to know how far this patch can apply back for stable kernels,
> in this case, please let me know if adding fix tag pointing to that commit
> still the right way for this.
>
> [1] 3c73bc52195d ("usb: gadget: core: sync interrupt before unbind the udc")
Yes, that's fine and the correct way to do it.
thanks,
greg k-h
prev parent reply other threads:[~2021-06-09 8:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-14 10:59 [PATCH] usb: chipidea: udc: assign interrupt number to USB gadget structure Li Jun
2021-06-04 10:51 ` Greg KH
2021-06-04 11:10 ` Jun Li
2021-06-04 11:34 ` Jun Li
2021-06-09 8:26 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YMB7IzMTj8s12Wig@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=faqiang.zhu@nxp.com \
--cc=jun.li@nxp.com \
--cc=linux-imx@nxp.com \
--cc=linux-usb@vger.kernel.org \
--cc=peter.chen@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).