Re: [PATCH 19/31] x86/mm/pae: Populate valid user PGD entries
From: Joerg Roedel <joro@8bytes.org>
Date: 2018-02-14 10:00:15
Also in:
lkml
From: Joerg Roedel <joro@8bytes.org>
Date: 2018-02-14 10:00:15
Also in:
lkml
Hi Juergen, On Wed, Feb 14, 2018 at 10:45:53AM +0100, Juergen Gross wrote:
On 09/02/18 10:25, Joerg Roedel wrote:quoted
+#ifdef CONFIG_X86_PAE + +/* + * PHYSICAL_PAGE_MASK might be non-constant when SME is compiled in, so we can't + * use it here. + */ +#define PGD_PAE_PHYS_MASK (((1ULL << __PHYSICAL_MASK_SHIFT)-1) & PAGE_MASK)I think PAGE_MASK is a 32 bit value here, so you are chopping off the high physical address bits. With that corrected the kernel is coming up as Xen PV guest.
Cool, thanks for testing these patches and debugging the breakage on
Xen-PV. I'll fix that in the next version.
Thanks again,
Joerg
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>