All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <felipe.balbi@linux.intel.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>,
	Linux USB <linux-usb@vger.kernel.org>
Cc: Bo He <bo.he@intel.com>, Yu Wang <yu.y.wang@intel.com>,
	'Linux Samsung SOC' <linux-samsung-soc@vger.kernel.org>
Subject: usb: dwc3: gadget: synchronize_irq dwc irq in suspend
Date: Mon, 28 Jan 2019 15:30:24 +0200	[thread overview]
Message-ID: <87bm40hpu7.fsf@linux.intel.com> (raw)

Hi,

Marek Szyprowski <m.szyprowski@samsung.com> writes:
> On 2019-01-14 09:30, Felipe Balbi wrote:
>> From: Bo He <bo.he@intel.com>
>>
>> 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@intel.com>
>> Signed-off-by: Yu Wang <yu.y.wang@intel.com>
>> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
>
> 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()?

             reply	other threads:[~2019-01-28 13:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-28 13:30 Felipe Balbi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-02-08 11:00 usb: dwc3: gadget: synchronize_irq dwc irq in suspend Marek Szyprowski
2019-01-30  8:11 Marek Szyprowski
2019-01-30  6:53 Felipe Balbi
2019-01-29 10:44 Felipe Balbi
2019-01-28 22:58 He, Bo
2019-01-28 14:53 Marek Szyprowski
2019-01-22 14:04 Marek Szyprowski
2019-01-14  8:30 Felipe Balbi

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=87bm40hpu7.fsf@linux.intel.com \
    --to=felipe.balbi@linux.intel.com \
    --cc=bo.he@intel.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=yu.y.wang@intel.com \
    /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.