[PATCH 0/1] [Karmic] SRU: stop resume from hibernate oopsing

Colin King colin.king at canonical.com
Tue Apr 6 18:20:56 UTC 2010


From: Colin Ian King <colin.king at canonical.com>

BugLink: http://bugs.launchpad.net/bugs/531309

SRU justification:

Impact: Resuming from hibernate on i3,i5 and i7 CPUs can
cause kernel oopses when restoring the kernel image. This
always seems to occur on the final 4K of a 4M boundary. The
bug is caused when resuming a kernel image that uses
mixed 4M/4K pages and the TLB is not flushed correctly.


Fix: The attached patch uses a global TLB flush which stops
the oopsing.

Testcase: Without the patch on an i3, i5 and i7 CPU, resume from
hibernate can oops and the resume just hangs. With the patch resume
from hibernate works correctly. Tested on Arrandale i5 and i7 based
CPUs.


Shaohua Li (1):
  (pre-stable) x86-32, resume: do a global tlb flush in S4 resume

 arch/x86/power/hibernate_asm_32.S |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)





More information about the kernel-team mailing list