All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jun Li <jun.li@nxp.com>
To: Greg KH <gregkh@linuxfoundation.org>
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: Fri, 4 Jun 2021 11:34:53 +0000	[thread overview]
Message-ID: <VI1PR04MB5935921F1543147A27C23AA1893B9@VI1PR04MB5935.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <VI1PR04MB59356EF043AFBFEF160410F6893B9@VI1PR04MB5935.eurprd04.prod.outlook.com>



> -----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")

thanks
Li Jun

> 
> Li Jun
> >
> > thanks,
> >
> > greg k-h

  reply	other threads:[~2021-06-04 11:34 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 [this message]
2021-06-09  8:26       ` Greg KH

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=VI1PR04MB5935921F1543147A27C23AA1893B9@VI1PR04MB5935.eurprd04.prod.outlook.com \
    --to=jun.li@nxp.com \
    --cc=faqiang.zhu@nxp.com \
    --cc=gregkh@linuxfoundation.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.