lkml.org 
[lkml]   [2018]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 10/12][RFC v3] x86-32, hibernate: Switch to relocated restore code during resume on 32bit system
    On Wed 2018-09-19 15:43:12, Chen Yu wrote:
    > From: Zhimin Gu <kookoo.gu@intel.com>
    >
    > Code should be executed in a safe page during page
    > restoring, as the page where instruction is running
    > during resume might be scribbled and causes issues.
    >
    > Backport the code from 64 bit system to fix this bug.

    On 32 bit, we only suspend resuming by same kernel that did the suspend.

    64 bit does not have that restriction. So 32 bit code should not be actually
    bugy.

    > Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
    > Signed-off-by: Zhimin Gu <kookoo.gu@intel.com>
    > Signed-off-by: Chen Yu <yu.c.chen@intel.com>

    But we'd like to remove that restriction in future, so:

    Acked-by: Pavel Machek <pavel@ucw.cz>

    \
     
     \ /
      Last update: 2018-09-21 00:08    [W:4.601 / U:0.168 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site