Messages in this thread | | | Date | Sun, 22 Feb 2009 15:02:31 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [RFC][PATCH 0/2] Rework disabling of interrupts during suspend-resume |
| |
On Sun, 22 Feb 2009, Eric W. Biederman wrote: > > How does this sync with the ACPI requirement that the it's late suspend MUST > happen with irqs disabled?
All the system device suspend and the actual CPU power-off still happens with CPU interrupts disabled.
It's just that the regular two-phase device suspend code now runs first with interrupts enabled (the regular "->suspend()" callback), and then the second phase runs with the CPU still having interrupts on (and taking timer interrupts), but with the actual device interrupts disabled.
Linus
| |