From: Linus Torvalds Subject: Re: [RFC][PATCH 0/2] Rework disabling of interrupts during suspend-resume Date: Sun, 22 Feb 2009 15:02:31 -0800 (PST) Message-ID: References: <200902221837.49396.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Eric W. Biederman" Cc: Jeremy Fitzhardinge , LKML , Jesse Barnes , Thomas Gleixner , Ingo Molnar , pm list List-Id: linux-pm@vger.kernel.org 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