[SRU] [Xenial] [PATCH 0/3] Fix S4 image restoration issue on Precision Rack

Kai-Heng Feng kai.heng.feng at canonical.com
Tue Apr 25 10:20:06 UTC 2017


BugLink: https://bugs.launchpad.net/bugs/1686061

Impact:
About 70% chance that the machine will fail to resume from S4 at image restoration stage.

Fix:
Xenial's 4.4 kernel with these commits can fix the issue.
e4630fdd47637168927905983205d7b7c5c08c09 x86/power/64: Always create temporary identity mapping correctly
406f992e4a372dafbe3c2cff7efbb2002a5c8ebd x86 / hibernate: Use hlt_play_dead() when resuming from hibernation

Also, need this commit as dependency:
cf4fb15b3110df070fe9829a1ef38fef8316fb90 x86/boot: Split out kernel_ident_mapping_init()

All three commits are clean cherry-picks.
Yakkety and laters already has these patches.

Test:
"fwts s4 --s4-multiple=30". It can now pass S4 stress 30 times, 

Rafael J. Wysocki (2):
  x86 / hibernate: Use hlt_play_dead() when resuming from hibernation
  x86/power/64: Always create temporary identity mapping correctly

Yinghai Lu (1):
  x86/boot: Split out kernel_ident_mapping_init()

 arch/x86/include/asm/init.h   |  4 +--
 arch/x86/include/asm/page.h   |  5 +++
 arch/x86/include/asm/smp.h    |  1 +
 arch/x86/kernel/smpboot.c     |  2 +-
 arch/x86/mm/ident_map.c       | 77 +++++++++++++++++++++++++++++++++++++++++++
 arch/x86/mm/init_64.c         | 74 +----------------------------------------
 arch/x86/power/cpu.c          | 30 +++++++++++++++++
 arch/x86/power/hibernate_64.c |  2 +-
 kernel/power/hibernate.c      |  7 +++-
 kernel/power/power.h          |  2 ++
 10 files changed, 126 insertions(+), 78 deletions(-)
 create mode 100644 arch/x86/mm/ident_map.c

-- 
2.12.2





More information about the kernel-team mailing list