Re: [PATCH] x86/mm: fix dump pagetables for 4 levels of page tables

From: Kirill A. Shutemov
Date: Wed Apr 12 2017 - 11:28:29 EST


On Wed, Apr 12, 2017 at 04:36:34PM +0200, Juergen Gross wrote:
> Commit fdd3d8ce0ea62 ("x86/dump_pagetables: Add support for 5-level
> paging") introduced an error for dumping with only 4 levels by setting
> PGD_LEVEL_MULT to a wrong value.
>
> This is leading to e.g. addresses printed as "(null)" for ranges:
>
> x86/mm: Found insecure W+X mapping at address (null)/(null)
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Sorry for this.

Reviewed-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

--
Kirill A. Shutemov