Re: PROBLEM: Resume form hibernate broken by setting NX on gap
From: Logan Gunthorpe
Date: Fri Jun 10 2016 - 18:28:20 EST
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)'??
Logan