Re: [patch 1/2] ACPI: disable lower idle C-states across suspend/resume

2007-10-01 Thread Andi Kleen
Thomas Gleixner <[EMAIL PROTECTED]> writes: > > +/* > + * Suspend / resume control > + */ > +static int acpi_idle_suspend; > + > +int acpi_processor_suspend(struct acpi_device * device, pm_message_t state) > +{ > + acpi_idle_suspend = 1; > + return 0; > +} > + > +int acpi_processor_resume

[patch 1/2] ACPI: disable lower idle C-states across suspend/resume

2007-09-22 Thread Thomas Gleixner
device_suspend() calls ACPI suspend functions, which seems to have undesired side effects on lower idle C-states. It took me some time to realize that especially the VAIO BIOSes (both Andrews jinxed UP and my elfstruck SMP one) show this effect. I'm quite sure that other bug reports against suspend