lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y5hqkAfK7okjRh6n@zn.tnic>
Date:   Tue, 13 Dec 2022 13:11:46 +0100
From:   Borislav Petkov <bp@...en8.de>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     x86-ml <x86@...nel.org>, lkml <linux-kernel@...r.kernel.org>
Subject: [GIT PULL] x86/boot for v6.2

Hi Linus,

please pull a pile of early boot cleanups and fixes for 6.2.

Thx.

---

The following changes since commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8:

  Linux 6.1-rc6 (2022-11-20 16:02:16 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_boot_for_v6.2

for you to fetch changes up to 60253f100c5846029f1370e51be6ebaeb160dcec:

  x86/boot: Remove x86_32 PIC using %ebx workaround (2022-11-29 16:26:53 +0100)

----------------------------------------------------------------
- Do some spring cleaning to the compressed boot code by moving the
EFI mixed-mode code to a separate compilation unit, the AMD memory
encryption early code where it belongs and fixing up build dependencies.
Make the deprecated EFI handover protocol optional with the goal of
removing it at some point (Ard Biesheuvel)

- Skip realmode init code on Xen PV guests as it is not needed there

- Remove an old 32-bit PIC code compiler workaround

----------------------------------------------------------------
Ard Biesheuvel (17):
      x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S
      x86/boot/compressed: Move 32-bit entrypoint code into .text section
      x86/boot/compressed: Move bootargs parsing out of 32-bit startup code
      x86/boot/compressed: Move efi32_pe_entry into .text section
      x86/boot/compressed: Move efi32_entry out of head_64.S
      x86/boot/compressed: Move efi32_pe_entry() out of head_64.S
      x86/boot/compressed, efi: Merge multiple definitions of image_offset into one
      x86/boot/compressed: Simplify IDT/GDT preserve/restore in the EFI thunk
      x86/boot/compressed: Avoid touching ECX in startup32_set_idt_entry()
      x86/boot/compressed: Pull global variable reference into startup32_load_idt()
      x86/boot/compressed: Move startup32_load_idt() into .text section
      x86/boot/compressed: Move startup32_load_idt() out of head_64.S
      x86/boot/compressed: Move startup32_check_sev_cbit() into .text
      x86/boot/compressed: Move startup32_check_sev_cbit() out of head_64.S
      x86/boot/compressed: Adhere to calling convention in get_sev_encryption_bit()
      x86/boot/compressed: Only build mem_encrypt.S if AMD_MEM_ENCRYPT=y
      x86/efi: Make the deprecated EFI handover protocol optional

Juergen Gross (1):
      x86/boot: Skip realmode init code when running as Xen PV guest

Uros Bizjak (1):
      x86/boot: Remove x86_32 PIC using %ebx workaround

 arch/x86/Kconfig                        |  17 ++
 arch/x86/boot/compressed/Makefile       |   8 +-
 arch/x86/boot/compressed/efi_mixed.S    | 351 ++++++++++++++++++++++++++++++++
 arch/x86/boot/compressed/efi_thunk_64.S | 195 ------------------
 arch/x86/boot/compressed/head_32.S      |   4 -
 arch/x86/boot/compressed/head_64.S      | 303 ++-------------------------
 arch/x86/boot/compressed/mem_encrypt.S  | 152 ++++++++++++--
 arch/x86/boot/cpuflags.c                |  15 +-
 arch/x86/boot/header.S                  |   2 +-
 arch/x86/boot/tools/build.c             |   2 +
 arch/x86/include/asm/realmode.h         |   1 +
 arch/x86/include/asm/x86_init.h         |   4 +
 arch/x86/kernel/setup.c                 |   2 +-
 arch/x86/kernel/x86_init.c              |   3 +
 arch/x86/realmode/init.c                |   8 +-
 arch/x86/xen/enlighten_pv.c             |   2 +
 drivers/firmware/efi/libstub/x86-stub.c |   2 +-
 17 files changed, 553 insertions(+), 518 deletions(-)
 create mode 100644 arch/x86/boot/compressed/efi_mixed.S
 delete mode 100644 arch/x86/boot/compressed/efi_thunk_64.S

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ