[PATCH 0/4] x86/boot: a few cleanups

From: Mike Rapoport
Date: Tue Dec 03 2024 - 07:27:19 EST


From: "Mike Rapoport (Microsoft)" <rppt@xxxxxxxxxx>

Hi,

These patches cleanup x86::setup_arch() e820.c.
No functional changes intended.

Mike Rapoport (Microsoft) (4):
x86/boot: move setting of memblock parameters to e820__memblock_setup()
x86/boot: split kernel resources setup into a helper function
x86/boot: split parsing of boot_params into a helper function
x86/e820: drop E820_TYPE_RESERVED_KERN and related code

arch/x86/include/asm/e820/api.h | 1 -
arch/x86/include/asm/e820/types.h | 9 --
arch/x86/kernel/e820.c | 95 ++++++++-------------
arch/x86/kernel/setup.c | 134 ++++++++++++++----------------
arch/x86/kernel/tboot.c | 3 +-
arch/x86/mm/init_64.c | 8 --
6 files changed, 97 insertions(+), 153 deletions(-)


base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
--
2.45.2