linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IRQF_RESUME_EARLY and errors in dpm_suspend_noirq
@ 2013-11-20  9:20 Heiko Stübner
  2013-11-20  9:54 ` Laxman Dewangan
  0 siblings, 1 reply; 7+ messages in thread
From: Heiko Stübner @ 2013-11-20  9:20 UTC (permalink / raw)
  To: Ian Campbell, Rafael J. Wysocki, Thomas Gleixner, Len Brown,
	Greg Kroah-Hartman, Pavel Machek
  Cc: linux-kernel, linux-pm

Hi,

Commit 9bab0b7fbace (genirq: Add IRQF_RESUME_EARLY and resume such IRQs
earlier) split the suspend/resume of the irqs into two parts.

The early-irqs get resumed during syscore_resume, while the rest get
resumed by the regular resume_device_irqs.

I may be blind, but where get the early-irqs resumed in the error
path of dpm_suspend_noirq?

When a suspend_noirq callback returns an error, dpm_resume_noirq gets called,
which only calls resume_device_irqs while the suspend_device_irqs call in
dpm_suspend_noirq suspends all irqs. So it does not seem that the early-irqs
get resumed at all in this case.


Thanks
Heiko

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-11-25 14:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20  9:20 IRQF_RESUME_EARLY and errors in dpm_suspend_noirq Heiko Stübner
2013-11-20  9:54 ` Laxman Dewangan
2013-11-23 21:25   ` Heiko Stübner
2013-11-24 10:41     ` Pavel Machek
2013-11-24 11:20     ` Pavel Machek
2013-11-25 10:13   ` Ian Campbell
2013-11-25 14:12     ` Laxman Dewangan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).