x86/boot/compressed: Move bootargs parsing out of 32-bit startup code
authorArd Biesheuvel <ardb@kernel.org>
Tue, 22 Nov 2022 16:10:03 +0000 (17:10 +0100)
committerBorislav Petkov <bp@suse.de>
Tue, 22 Nov 2022 18:21:26 +0000 (19:21 +0100)
commit5c3a85f35b583259cf5ca0344cd79c8899ba1bb7
treef5176e3327b833a05d396fe8eabd759fcbbbaa52
parente2ab9eab324cdf240de89741e4a1aa79919f0196
x86/boot/compressed: Move bootargs parsing out of 32-bit startup code

Move the logic that chooses between the different EFI entrypoints out of
the 32-bit boot path, and into a 64-bit helper that can perform the same
task much more cleanly. While at it, document the mixed mode boot flow
in a code comment.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221122161017.2426828-4-ardb@kernel.org
arch/x86/boot/compressed/efi_mixed.S
arch/x86/boot/compressed/head_64.S