Skip to content

x86/boot: a few cleanups

Mike Rapoport lkml 3 versions – Applied

Status from this message: The following commit has been merged into the x86/boot branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/24 patches 0 repliesApplied
  2. v2 posting 1/24 patches 1 replySuperseded
  3. v14 patches 2 repliesSuperseded

Patches in v2 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/4x86/boot: move setting of memblock parameters to e820__memblock_setup()arch/x86/kernel/e820.c arch/x86/kernel/setup.c+30 -250 replies
2/4x86/boot: split kernel resources setup into a helper functionarch/x86/kernel/setup.c+22 -140 replies
3/4x86/boot: split parsing of boot_params into a helper functionarch/x86/kernel/setup.c+41 -310 replies
4/4x86/e820: drop E820_TYPE_RESERVED_KERN and related codearch/x86/include/asm/e820/api.h arch/x86/include/asm/e820/types.h arch/x86/kernel/e820.c +3 more+4 -830 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

From: "Mike Rapoport (Microsoft)" <[email protected]>

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/[email protected]

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

Signature · 1 line
2.47.2