lkml.org 
[lkml]   [2009]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 1/4] PM: Rework handling of interrupts during suspend-resume (rev. 4)


On Mon, 2 Mar 2009, Linus Torvalds wrote:
>
> If IRQ_SUSPENDED _is_ set, then that means that we're after the
> suspend_late() sequence and before the resume_early() sequence

Sorry, after the suspend, and before the resume.

We could be _in_ the suspend_late/resume_early sequence, but a driver that
were to try to play with interrupts at that stage would be broken. It
can't very well do a enable_irq(), because that would be a MAJOR BUG - it
would make the whole irq suspend thing pointless, since now interrupts
would start to happen exactly where they must not happen!

Linus


\
 
 \ /
  Last update: 2009-03-03 00:39    [W:0.080 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site