Re: [discuss] [RFC][PATCH -mm 2/4] Hibernation: Turn on ACPI during restore if necessary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, 22 August 2007 01:36, Pavel Machek wrote:
> On Tue 2007-08-21 16:39:01, Rafael J. Wysocki wrote:
> > On Tuesday, 21 August 2007 09:57, Pavel Machek wrote:
> > > Hi!
> > > 
> > > > From: Rafael J. Wysocki <rjw@xxxxxxx>
> > > > 
> > > > If the boot kernel doesn't support ACPI and ACPI is not enabled by the platform
> > > > boot code, it may be possible to enable ACPI after restoring the system memory
> > > > from a hibernation image.  Implement that.
> > > 
> > > ACK... and I guess this should go in early. It is possible to test w/o
> > > rest of patches, (just pass acpi=off to resume kernel, no?),
> > 
> > Yup, that might work.
> > 
> > > and it  should get lot of testing.
> > 
> > Why do you think so?
> 
> Anything that touches acpi is almost guaranteed to produce nice
> fireworks :-). Okay, maybe I'm too paranoid.

Well, there's a catch, but it requires quite a bit more patching.

Namely, some ACPI code may be called from within CPU hotplug, so in
principle we should enable ACPI before that.  Fortunately, on contemporary SMP
machines ACPI is usually enabled by the BIOS, AFAICS, so that should not be
an issue.

Still, I have some patches that handle it, among other things.  I think I'll
just post them (tomorrow).

Greetings,
Rafael
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux