Re: suspend to disk modes, default mode

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

 



Hi!

> This suspend to disk modes stuff really sucks. The last time I looked
> must have been a long time ago because then shutdown was default. Now I
> find that in November 06 you changed it to be platform by default.
> 
> The problem with this is that not all platforms support the "platform"
> mode.
> 
> I have a pm_ops struct for PMU-based Apple powerpc machines that doesn't
> set pm_disk_mode in order not to allow the platform mode because that
> currently fails.
> 
> I also used to think this was for implementing suspend-to-both, is that
> wrong? In any case, I can't live with it being platform by default

No, it is to get ACPI working after resume.

> Maybe we just need a pm_disk_modes bitmap and a default_pm_disk_mode
> member in struct pm_ops instead? What's firmware vs. platform anyway?

bitmap would be nice. Firmware used to mean "let the bios do the whole
suspend", platform means "linux does the suspend, but we tell bios we
are doing it", shutdown means "linux does the suspend, does not tell
anyone".
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
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