Re: [RFC][PATCH 0/2] Rework disabling of interrupts during suspend-resume

Linus Torvalds
2009-02-22T23:02:31Z

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