public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] x86/boot changes for v6.7
@ 2023-10-28 13:10 Ingo Molnar
  2023-10-31  0:10 ` Linus Torvalds
  2023-10-31  2:12 ` pr-tracker-bot
  0 siblings, 2 replies; 4+ messages in thread
From: Ingo Molnar @ 2023-10-28 13:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Thomas Gleixner, Borislav Petkov, H. Peter Anvin,
	Peter Zijlstra, Andrew Morton, Ard Biesheuvel

Linus,

Please pull the latest x86/boot git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-2023-10-28

   # HEAD: 50dcc2e0d62e3c4a54f39673c4dc3dcde7c74d52 x86/boot: efistub: Assign global boot_params variable

MERGE NOTE:

 - Pulling this tree will generate a conflict in 
   drivers/firmware/efi/libstub/x86-stub.c, due to a fix we wanted upstream 
   without related cleanups, which is resolved by picking this resolution:

        boot_params_ptr = boot_params;

Changes to the x86 boot code in v6.7:

 - Rework PE header generation, primarily to generate a modern, 4k aligned
   kernel image view with narrower W^X permissions.

 - Further refine init-lifetime annotations

 - Misc cleanups & fixes

 Thanks,

	Ingo

------------------>
Alexey Dobriyan (1):
      x86/boot: Compile boot code with -std=gnu11 too

Ard Biesheuvel (17):
      x86/efi: Drop EFI stub .bss from .data section
      x86/efi: Disregard setup header of loaded image
      x86/efi: Drop alignment flags from PE section headers
      x86/boot: Remove the 'bugger off' message
      x86/boot: Omit compression buffer from PE/COFF image memory footprint
      x86/boot: Drop redundant code setting the root device
      x86/boot: Drop references to startup_64
      x86/boot: Grab kernel_info offset from zoffset header directly
      x86/boot: Set EFI handover offset directly in header asm
      x86/boot: Define setup size in linker script
      x86/boot: Derive file size from _edata symbol
      x86/boot: Construct PE/COFF .text section from assembler
      x86/boot: Drop PE/COFF .reloc section
      x86/boot: Split off PE/COFF .data section
      x86/boot: Increase section and file alignment to 4k/512
      x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr'
      x86/boot: efistub: Assign global boot_params variable

Hou Wenlong (3):
      x86/head/64: Mark 'startup_gdt[]' and 'startup_gdt_descr' as __initdata
      x86/head/64: Add missing __head annotation to startup_64_load_idt()
      x86/head/64: Move the __head definition to <asm/init.h>

Wang Jinchao (1):
      x86/boot: Harmonize the style of array-type parameter for fixup_pointer() calls

Yuntao Wang (1):
      x86/boot: Fix incorrect startup_gdt_descr.size


 arch/x86/Makefile                       |   2 +-
 arch/x86/boot/Makefile                  |   2 +-
 arch/x86/boot/compressed/acpi.c         |  14 +-
 arch/x86/boot/compressed/cmdline.c      |   4 +-
 arch/x86/boot/compressed/ident_map_64.c |   7 +-
 arch/x86/boot/compressed/kaslr.c        |  26 +--
 arch/x86/boot/compressed/mem.c          |   6 +-
 arch/x86/boot/compressed/misc.c         |  24 +--
 arch/x86/boot/compressed/misc.h         |   1 -
 arch/x86/boot/compressed/pgtable_64.c   |   9 +-
 arch/x86/boot/compressed/sev.c          |   2 +-
 arch/x86/boot/compressed/vmlinux.lds.S  |   6 +-
 arch/x86/boot/header.S                  | 213 ++++++++++---------------
 arch/x86/boot/setup.ld                  |  14 +-
 arch/x86/boot/tools/build.c             | 273 ++------------------------------
 arch/x86/include/asm/boot.h             |   2 +
 arch/x86/include/asm/init.h             |   2 +
 arch/x86/kernel/head64.c                |  17 +-
 drivers/firmware/efi/libstub/Makefile   |   7 -
 drivers/firmware/efi/libstub/x86-stub.c |  48 +-----
 20 files changed, 175 insertions(+), 504 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] x86/boot changes for v6.7
  2023-10-28 13:10 [GIT PULL] x86/boot changes for v6.7 Ingo Molnar
@ 2023-10-31  0:10 ` Linus Torvalds
  2023-10-31  7:45   ` Thomas Gleixner
  2023-10-31  2:12 ` pr-tracker-bot
  1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2023-10-31  0:10 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Thomas Gleixner, Borislav Petkov, H. Peter Anvin,
	Peter Zijlstra, Andrew Morton, Ard Biesheuvel

On Sat, 28 Oct 2023 at 03:11, Ingo Molnar <mingo@kernel.org> wrote:
>
> MERGE NOTE:
>
>  - Pulling this tree will generate a conflict in
>    drivers/firmware/efi/libstub/x86-stub.c, due to a fix we wanted upstream
>    without related cleanups, which is resolved by picking this resolution:
>
>         boot_params_ptr = boot_params;

Hmm. I think I should also remove the now legacy line of

   extern struct boot_params *boot_params_pointer asm("boot_params");

from drivers/firmware/efi/libstub/x86-stub.h, no?

               Linus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] x86/boot changes for v6.7
  2023-10-28 13:10 [GIT PULL] x86/boot changes for v6.7 Ingo Molnar
  2023-10-31  0:10 ` Linus Torvalds
@ 2023-10-31  2:12 ` pr-tracker-bot
  1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2023-10-31  2:12 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Linus Torvalds, linux-kernel, Thomas Gleixner, Borislav Petkov,
	H. Peter Anvin, Peter Zijlstra, Andrew Morton, Ard Biesheuvel

The pull request you sent on Sat, 28 Oct 2023 15:10:59 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-2023-10-28

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2b95bb052656d46c2073b87f9487a53ef5e79732

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] x86/boot changes for v6.7
  2023-10-31  0:10 ` Linus Torvalds
@ 2023-10-31  7:45   ` Thomas Gleixner
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Gleixner @ 2023-10-31  7:45 UTC (permalink / raw)
  To: Linus Torvalds, Ingo Molnar
  Cc: linux-kernel, Borislav Petkov, H. Peter Anvin, Peter Zijlstra,
	Andrew Morton, Ard Biesheuvel

On Mon, Oct 30 2023 at 14:10, Linus Torvalds wrote:
> On Sat, 28 Oct 2023 at 03:11, Ingo Molnar <mingo@kernel.org> wrote:
>>  - Pulling this tree will generate a conflict in
>>    drivers/firmware/efi/libstub/x86-stub.c, due to a fix we wanted upstream
>>    without related cleanups, which is resolved by picking this resolution:
>>
>>         boot_params_ptr = boot_params;
>
> Hmm. I think I should also remove the now legacy line of
>
>    extern struct boot_params *boot_params_pointer asm("boot_params");
>
> from drivers/firmware/efi/libstub/x86-stub.h, no?

Indeed.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-31  7:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-28 13:10 [GIT PULL] x86/boot changes for v6.7 Ingo Molnar
2023-10-31  0:10 ` Linus Torvalds
2023-10-31  7:45   ` Thomas Gleixner
2023-10-31  2:12 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox