Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly

From: Jiri Kosina
Date: Wed Aug 10 2016 - 14:53:58 EST


On Wed, 10 Aug 2016, Rafael J. Wysocki wrote:

> For the lack of better ideas, below is a patch to try.
>
> It avoids the possible issue with the restore kernel's identity mapping overlap
> with restore_jump_address by creating special super-simple page tables just
> for the final jump to the image kernel.
>
> It is on top of the $subject patch. My test box still works with this applied,
> but then it worked without it as well.
>
> If it doesn't help, the identity mapping created by set_up_temporary_mappings()
> is still not adequate for some reason most likely and we'll need to find out
> why.

Unfortunately, still with $subject patch + this one, triple fault and
reboot after reading the hibernation image.

Due to being slightly out of ideas currently, I'll play a little bit more
with the relocation offsets to see whether that makes any difference.

--
Jiri Kosina
SUSE Labs