Hi! > > > 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". > > Well, actually, "let the bios do the whole suspend" should be > implemented by a new PM_SUSPEND_FIRMWAREDISK mode that can be used > instead of "disk" and is invoked through pm_ops directly w/o hitting the > disk.c code. That would be the right way to invoke such a mode, however, > currently, no platforms even have such a mode as far as I can tell. Yes, ignore that. (ACPI can do that in S4bios case. I used to have machine where it actually worked. It is obscure corner case these days). 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