[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2733358.ov5sOzsSmy@vostro.rjw.lan>
Date: Sat, 11 Jun 2016 00:33:31 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Logan Gunthorpe <logang@...tatee.com>
Cc: Kees Cook <keescook@...omium.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Stephen Smalley <sds@...ho.nsa.gov>,
Ingo Molnar <mingo@...nel.org>, Ingo Molnar <mingo@...hat.com>,
the arch/x86 maintainers <x86@...nel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andy Lutomirski <luto@...nel.org>,
Borislav Petkov <bp@...en8.de>,
Denys Vlasenko <dvlasenk@...hat.com>,
Brian Gerst <brgerst@...il.com>
Subject: Re: PROBLEM: Resume form hibernate broken by setting NX on gap
On Friday, June 10, 2016 04:28:01 PM Logan Gunthorpe wrote:
>
> On 10/06/16 04:29 PM, Rafael J. Wysocki wrote:
> > OK, I have a theory, but I need a bit of help.
> >
> > This may be a dumb question, but I don't quite remember the answer readily.
> >
> > Given a physical address, how do I get the corresponding virtual one under
> > the kernel identity mapping?
>
> Is that not just 'phys_to_virt(x)'??
Ah that. Thanks!
Rafael
Powered by blists - more mailing lists