Re: [Xen-devel] [PATCH] x86/mm: fix dump_pagetables with Xen PV

From: Julien Grall
Date: Fri Feb 21 2020 - 05:51:33 EST


Hi Juergen,

On 21/02/2020 10:38, Juergen Gross wrote:
Commit 2ae27137b2db89 ("x86: mm: convert dump_pagetables to use
walk_page_range") broke Xen PV guests as the hypervisor reserved hole
in the memory map was not taken into account.

Fix that by starting the kernel range only at GUARD_HOLE_END_ADDR.

Fixes: 2ae27137b2db89 ("x86: mm: convert dump_pagetables to use walk_page_range")
Reported-by: Julien Grall <julien@xxxxxxx>
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

I can confirm the crash has now disappeared:

Tested-by: Julien Grall <julien@xxxxxxx>

Cheers,

--
Julien Grall