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

Mike Rapoport posted 4 patches 1 year ago
There is a newer version of this series
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(-)
[PATCH v2 0/4] x86/boot: a few cleanups
Posted by Mike Rapoport 1 year ago
From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>

Hi,

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

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: 40384c840ea1944d7c5a392e8975ed088ecf0b37
-- 
2.45.2
Re: [PATCH v2 0/4] x86/boot: a few cleanups
Posted by Mike Rapoport 1 year ago
Gentle ping

On Fri, Dec 06, 2024 at 12:30:27PM +0200, Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
> 
> Hi,
> 
> These patches cleanup x86::setup_arch() and e820.c.
> No functional changes intended.
> 
> 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: 40384c840ea1944d7c5a392e8975ed088ecf0b37
> -- 
> 2.45.2
> 

-- 
Sincerely yours,
Mike.