lkml.org 
[lkml]   [2009]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-02-23 00:05    [W:0.041 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site