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

Mike Rapoport posted 4 patches 3 weeks, 5 days ago
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(-)
[RESEND PATCH v2 0/4] x86/boot: a few cleanups
Posted by Mike Rapoport 3 weeks, 5 days ago
From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>

Hi,

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

This is a resend of v2 rebased on v6.14-rc2

v2: update comments as suggested by Ingo
v1: https://lore.kernel.org/all/20241203112525.591496-1-rppt@kernel.org

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: a64dcfb451e254085a7daee5fe51bf22959d52d3
-- 
2.47.2