• Linus Torvalds's avatar
    Merge tag 'x86_boot_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4eb77fa1
    Linus Torvalds authored
    Pull x86 boot updates from Borislav Petkov:
     "A  of early boot cleanups and fixes.
    
       - 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"
    
    * tag 'x86_boot_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/boot: Remove x86_32 PIC using %ebx workaround
      x86/boot: Skip realmode init code when running as Xen PV guest
      x86/efi: Make the deprecated EFI handover protocol optional
      x86/boot/compressed: Only build mem_encrypt.S if AMD_MEM_ENCRYPT=y
      x86/boot/compressed: Adhere to calling convention in get_sev_encryption_bit()
      x86/boot/compressed: Move startup32_check_sev_cbit() out of head_64.S
      x86/boot/compressed: Move startup32_check_sev_cbit() into .text
      x86/boot/compressed: Move startup32_load_idt() out of head_64.S
      x86/boot/compressed: Move startup32_load_idt() into .text section
      x86/boot/compressed: Pull global variable reference into startup32_load_idt()
      x86/boot/compressed: Avoid touching ECX in startup32_set_idt_entry()
      x86/boot/compressed: Simplify IDT/GDT preserve/restore in the EFI thunk
      x86/boot/compressed, efi: Merge multiple definitions of image_offset into one
      x86/boot/compressed: Move efi32_pe_entry() out of head_64.S
      x86/boot/compressed: Move efi32_entry out of head_64.S
      x86/boot/compressed: Move efi32_pe_entry into .text section
      x86/boot/compressed: Move bootargs parsing out of 32-bit startup code
      x86/boot/compressed: Move 32-bit entrypoint code into .text section
      x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S
    4eb77fa1
header.S 17.7 KB