Re: PROBLEM: Resume form hibernate broken by setting NX on gap
From: Rafael J. Wysocki
Date: Fri Jun 10 2016 - 18:29:34 EST
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