Skip to content

Hibernation: Arbitrary boot kernel support on x86_64 (rev. 2)

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Hibernation: Arbitrary boot kernel support - generic code (rev. 2)kernel/power/power.h kernel/power/snapshot.c+54 -191 reply
2/4Hibernation: Arbitrary boot kernel support on x86_64 (rev. 2)arch/x86_64/Kconfig arch/x86_64/kernel/suspend.c arch/x86_64/kernel/suspend_asm.S +1 more+95 -80 replies
2/4Hibernation: Arbitrary boot kernel support on x86_64 (rev. 2)arch/x86_64/Kconfig arch/x86_64/kernel/suspend.c arch/x86_64/kernel/suspend_asm.S +1 more+95 -80 replies
3/4Hibernation: Pass CR3 in the image header on x86_64 (rev. 2)arch/x86_64/kernel/suspend.c arch/x86_64/kernel/suspend_asm.S+17 -70 replies
3/4Hibernation: Pass CR3 in the image header on x86_64 (rev. 2)arch/x86_64/kernel/suspend.c arch/x86_64/kernel/suspend_asm.S+17 -70 replies
4/4Hibernation: Use temporary page tables for kernel text mapping on x86_64arch/x86_64/kernel/suspend.c+33 -60 replies
4/4Hibernation: Use temporary page tables for kernel text mapping on x86_64arch/x86_64/kernel/suspend.c+33 -60 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchPavel Machek
1/4
2/4A-b A-b
2/4A-b A-b
3/4A-b A-b
3/4A-b A-b
4/4A-b A-b
4/4A-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 -mm 0/4] Hibernation: Arbitrary boot kernel support on x86_64 (rev. 2)

Hi,

The first two patches in this series make it possible to restore the memory state from a hibernation image with the help of a kernel different from the image one.

The first patch adds the generic, platform independent code needed for that. The second patch implements the idea on x86_64.

The remaining two patches remove some implicit assumptions about the boot and image kernels from the x86_64 restore code.

Greetings,
Rafael

Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth