Skip to content

Hibernate: Handle ACPI NVS memory as required by the spec

Rafael J. Wysocki linux-acpi linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 33 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Hibernate: Call platform_begin before swsusp_shrink_memorykernel/power/disk.c+3 -30 replies
1/4Hibernate: Call platform_begin before swsusp_shrink_memorykernel/power/disk.c+3 -33 replies
2/4ACPI hibernate: Add a mechanism to save/restore ACPI NVS memorydrivers/acpi/sleep/main.c include/linux/suspend.h kernel/power/swsusp.c+177 -712 replies
2/4ACPI hibernate: Add a mechanism to save/restore ACPI NVS memorydrivers/acpi/sleep/main.c include/linux/suspend.h kernel/power/swsusp.c+177 -70 replies
2/4ACPI hibernate: Add a mechanism to save/restore ACPI NVS memory (rev. 2)drivers/acpi/sleep/main.c include/linux/suspend.h kernel/power/swsusp.c+180 -72 replies
2/4ACPI hibernate: Add a mechanism to save/restore ACPI NVS memory (rev. 2)drivers/acpi/sleep/main.c include/linux/suspend.h kernel/power/swsusp.c+180 -70 replies
3/4x86 hibernate: Mark ACPI NVS memory region at startuparch/x86/kernel/e820.c+25 -010 replies
3/4x86 hibernate: Mark ACPI NVS memory region at startuparch/x86/kernel/e820.c+25 -00 replies
4/4ACPI hibernate: Introduce new kernel parameter acpi_sleep=s4_nonvsDocumentation/kernel-parameters.txt arch/x86/kernel/acpi/sleep.c drivers/acpi/sleep/main.c +1 more+24 -34 replies
4/4ACPI hibernate: Introduce new kernel parameter acpi_sleep=s4_nonvsDocumentation/kernel-parameters.txt arch/x86/kernel/acpi/sleep.c drivers/acpi/sleep/main.c +1 more+24 -30 replies
4/4ACPI hibernate: Introduce new kernel parameter acpi_sleep=s4_nonvs (rev. 2)Documentation/kernel-parameters.txt arch/x86/kernel/acpi/sleep.c drivers/acpi/sleep/main.c +1 more+24 -32 replies
4/4ACPI hibernate: Introduce new kernel parameter acpi_sleep=s4_nonvs (rev. 2)Documentation/kernel-parameters.txt arch/x86/kernel/acpi/sleep.c drivers/acpi/sleep/main.c +1 more+24 -30 replies

Reviews trailers per patch

10 of 12 patches have a Reviewed-by or Acked-by.

PatchNigel Cunningham
1/4A-b
1/4A-b
2/4A-b A-b A-b A-b
2/4A-b A-b A-b A-b
2/4A-b A-b A-b A-b
2/4A-b A-b A-b A-b
3/4
3/4
4/4A-b A-b A-b A-b
4/4A-b A-b A-b A-b
4/4A-b A-b A-b A-b
4/4A-b A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Hibernate: Handle ACPI NVS memory as required by the spec

Hi,

I have recently tried to rebase the Zhang Rui's patches making the Linux hibernation code handle the ACPI NVS memory as required by the spec, but I found that they didn't work on x86_64 boxes where the NVS region was located behind the last usable PFN. Also, I decided to put the memory management part into the hibernation core rather than into drivers/acpi/sleep/main.c .

As a result, I have obtained the following patch series. Please review and if it looks good, please queue in the 'suspend' branch as .29 material.

Thanks,
Rafael