]> www.infradead.org Git - linux.git/commit
x86/boot/compressed: Merge the local pgtable.h include into <asm/boot.h>
authorArd Biesheuvel <ardb@kernel.org>
Tue, 1 Apr 2025 13:34:18 +0000 (15:34 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 6 Apr 2025 18:15:14 +0000 (20:15 +0200)
commit5d4456fc88f7aa9bd139b7c5bd4f1c03f552b973
treefff15c8ca05046a88e551494a55ef79099a6d3dc
parent0ee07a07920285d519152974872ca6e43f8742e8
x86/boot/compressed: Merge the local pgtable.h include into <asm/boot.h>

Merge the local include "pgtable.h" -which declares the API of the
5-level paging trampoline- into <asm/boot.h> so that its implementation
in la57toggle.S as well as the calling code can be decoupled from the
traditional decompressor.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250401133416.1436741-9-ardb+git@google.com
arch/x86/boot/compressed/head_64.S
arch/x86/boot/compressed/la57toggle.S
arch/x86/boot/compressed/misc.c
arch/x86/boot/compressed/pgtable.h [deleted file]
arch/x86/boot/compressed/pgtable_64.c
arch/x86/include/asm/boot.h