]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/paravirt: Restrict PARAVIRT_XXL to 64-bit only
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Fri, 16 May 2025 12:33:06 +0000 (15:33 +0300)
committerIngo Molnar <mingo@kernel.org>
Sat, 17 May 2025 08:38:29 +0000 (10:38 +0200)
commit09230b7554824c9db1712324efcf3595c67fd326
treeaaadfe5110b8677dd284dae1505401e12e72a36f
parent7212b58d6d7133e4cd3c2295e1fb54febe284156
x86/paravirt: Restrict PARAVIRT_XXL to 64-bit only

PARAVIRT_XXL is exclusively utilized by XEN_PV, which is only compatible
with 64-bit machines.

Clearly designate PARAVIRT_XXL as 64-bit only and remove ifdefs to
support CONFIG_PGTABLE_LEVELS < 5.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250516123306.3812286-5-kirill.shutemov@linux.intel.com
arch/x86/Kconfig
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt_types.h
arch/x86/kernel/paravirt.c