]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/xen/pvh: Enable PAE mode for 32-bit guest only when CONFIG_X86_PAE is set
authorHou Wenlong <houwenlong.hwl@antgroup.com>
Sat, 10 Jan 2026 04:00:08 +0000 (12:00 +0800)
committerJuergen Gross <jgross@suse.com>
Mon, 12 Jan 2026 12:04:37 +0000 (13:04 +0100)
commitdb9aded979b491a24871e1621cd4e8822dbca859
tree0ae872ebae4a09f435c4abc64b0ad2f662c29f8c
parent378f1dc3d6472f9bd437f564daf5a1a2f32505e7
x86/xen/pvh: Enable PAE mode for 32-bit guest only when CONFIG_X86_PAE is set

The PVH entry is available for 32-bit KVM guests, and 32-bit KVM guests
do not depend on CONFIG_X86_PAE. However, mk_early_pgtbl_32() builds
different pagetables depending on whether CONFIG_X86_PAE is set.
Therefore, enabling PAE mode for 32-bit KVM guests without
CONFIG_X86_PAE being set would result in a boot failure during CR3
loading.

Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <d09ce9a134eb9cbc16928a5b316969f8ba606b81.1768017442.git.houwenlong.hwl@antgroup.com>
arch/x86/platform/pvh/head.S