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

From: Marek Szyprowski
Date: Mon Mar 04 2019 - 04:03:35 EST


Hi Greg,

On 2019-03-04 09:53, Greg Kroah-Hartman wrote:
> 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?

The fix has not been merged yet. The issue is also present in v5.0.

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland