Re: [PATCH 4.20 12/88] usb: dwc3: gadget: synchronize_irq dwc irq in suspend

From: Greg Kroah-Hartman
Date: Mon Mar 04 2019 - 03:56:55 EST


On Mon, Mar 04, 2019 at 08:46:30AM +0000, He, Bo wrote:
> Hi, Greg:
> Marek Szyprowski report the patch has issue that calling synchronize_irq() under dwc->lock spinlock, he has upload the below patch for the issue:
>
> dwc3_gadget_suspend() is called under dwc->lock spinlock. In such context calling synchronize_irq() is not allowed. Move the problematic call out of the protected block to fix the following kernel BUG during system

<snip>

Is this patch in Linus's tree yet? If so, what is the git commit id?

If not, is this also an issue in 5.0?

thanks,

greg k-h