kernel-hacking-2024-linux-s.../kernel/power
Rafael J. Wysocki 3f4b0ef7f2 ACPI hibernate: Add a mechanism to save/restore ACPI NVS memory
According to the ACPI Specification 3.0b, Section 15.3.2,
"OSPM will call the _PTS control method some time before entering a
sleeping state, to allow the platform's AML code to update this
memory image before entering the sleeping state. After the system
awakes from an S4 state, OSPM will restore this memory area and call
the _WAK control method to enable the BIOS to reclaim its memory
image."  For this reason, implement a mechanism allowing us to save
the NVS memory during hibernation and to restore it during the
subsequent resume.

Based on a patch by Zhang Rui.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Nigel Cunningham <nigel@tuxonice.net>
Cc: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-12-19 04:40:34 -05:00
..
console.c
disk.c Hibernate: Call platform_begin before swsusp_shrink_memory 2008-12-19 04:40:34 -05:00
Kconfig PM_TEST_SUSPEND should depend on RTC_CLASS, not RTC_LIB 2008-11-01 12:40:38 -07:00
main.c suspend: use WARN not WARN_ON to print the message 2008-11-18 08:07:36 -08:00
Makefile
power.h [PATCH] propagate mode through swsusp_close() 2008-10-21 07:49:02 -04:00
poweroff.c pm: schedule sysrq poweroff on boot cpu 2008-07-24 10:47:24 -07:00
process.c container freezer: skip frozen cgroups during power management resume 2008-10-20 08:52:34 -07:00
snapshot.c pm: hibernation: simplify memory bitmap 2008-07-24 10:47:23 -07:00
swap.c [PATCH] kill obsolete temporary comment in swsusp_close() 2008-12-04 04:22:54 -05:00
swsusp.c ACPI hibernate: Add a mechanism to save/restore ACPI NVS memory 2008-12-19 04:40:34 -05:00
user.c pm: rework disabling of user mode helpers during suspend/hibernation 2008-10-16 11:21:29 -07:00