[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1608100948560.22028@cbobk.fhfr.pm>
Date: Wed, 10 Aug 2016 09:50:15 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Thomas Garnier <thgarnie@...gle.com>,
Linux PM list <linux-pm@...r.kernel.org>,
the arch/x86 maintainers <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Yinghai Lu <yinghai@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H . Peter Anvin" <hpa@...or.com>,
Kees Cook <keescook@...omium.org>, Pavel Machek <pavel@....cz>,
Kernel Hardening <kernel-hardening@...ts.openwall.com>,
Borislav Petkov <bpetkov@...e.de>
Subject: Re: [Resend][PATCH] x86/power/64: Always create temporary identity
mapping correctly
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
Powered by blists - more mailing lists