lkml.org 
[lkml]   [2009]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Reworking suspend-resume sequence (was: Re: PCI PM: Restore standard config registers of all devices early)


On Wed, 4 Feb 2009, Benjamin Herrenschmidt wrote:
>
> Wait wait wait ... the -whole- point of the exercise, wether using
> local_irq_save or disable_irq, -is- to put the ACPI bit -after- setting
> the device in low power state and before the restore on wakeup...

You're missing context.

ACPI isn't just for the device power settings. It's for the CPU's too, and
it's for things like "prepare to sleep". And they all have _different_
requirements.

What Rafael is trying to tell you is that we have ACPI-initiated ordering
requirements between turning CPU's off, and turning devices off, and he's
not willing to change that.

> The -one- thing that indeed conflicts here is that we disable nonboot
> CPUs earlier. Right ?

This.

> Now, I doubt that would be a big issue

With ACPI, there is no such thing as a "big issue". There are only tons of
small horrid details that. And the "big issue" is that all the small
details are insane.

Linus


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