Re: [PATCH] usb: dwc3: gadget: synchronize_irq dwc irq in suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> writes:
> On 2019-01-14 09:30, Felipe Balbi wrote:
>> From: Bo He <bo.he@xxxxxxxxx>
>>
>> We see dwc3 endpoint stopped by unwanted irq during
>> suspend resume test, which is caused dwc3 ep can't be started
>> with error "No Resource".
>>
>> Here, add synchronize_irq before suspend to sync the
>> pending IRQ handlers complete.
>>
>> Signed-off-by: Bo He <bo.he@xxxxxxxxx>
>> Signed-off-by: Yu Wang <yu.y.wang@xxxxxxxxx>
>> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>
>
> This patch causes following kernel BUG on Samsung Exynos based platforms
> during system suspend/resume cycle:

are you calling ->suspend() from ->suspend_noirq() time? Are we not
allowed to call synchronize_irq() during ->suspend()?

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux