lkml.org 
[lkml]   [2009]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-pm] [RFC][PATCH 2/2] PM: Rework handling of interrupts during suspend-resume
On Thu, 26 Feb 2009, Linus Torvalds wrote:

> The _only_ driver that does enable_irq_wake() on x86 is the cmos timer
> driver, and even there it actually doesn't use irq_wake, but ACPI. Why?
> Because I don't think irq wakeup even _works_ on x86.
>
> So the whole enable_irq_wake is largely some embedded ARM platform issue,
> and a very special case, and doesn't exist anywhere else.
>
> Maybe I'm missing something, but it's definitely not the normal case.

What you're missing is that the embedded world is quite a large one.
As any member of CELF will tell you, there are lots more embedded
systems around than there are desktop/laptop computers. (I admit, I
don't know what the ratio is if you restrict your attention to systems
running Linux.) We can't afford to regard them as second-class
citizens.

Plenty of embedded systems use normal interrupts from GPIO lines as
wakeup sources. Don't discount the need for this just because desktop
systems don't use them that way. It may not be "normal" in the
circles you're accustomed to, but it _is_ normal elsewhere.

Alan Stern



\
 
 \ /
  Last update: 2009-02-27 04:23    [W:0.354 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site