On Wed 2018-09-19 15:43:12, Chen Yu wrote: > From: Zhimin Gu <[email protected]> > > 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" <[email protected]> > Signed-off-by: Zhimin Gu <[email protected]> > Signed-off-by: Chen Yu <[email protected]> But we'd like to remove that restriction in future, so: Acked-by: Pavel Machek <[email protected]>

