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

From: Linus Torvalds
Date: Sun Feb 22 2009 - 18:03:19 EST




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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/