• Linus Torvalds's avatar
    Merge tag 'efi-next-for-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi · e55037c8
    Linus Torvalds authored
    Pull EFI updates from Ard Biesheuvel:
     "Note the removal of the EFI fake memory map support - this is believed
      to be unused and no longer worth supporting. However, we could easily
      bring it back if needed.
    
      With recent developments regarding confidential VMs and unaccepted
      memory, combined with kexec, creating a known inaccurate view of the
      firmware's memory map and handing it to the OS is a feature we can
      live without, hence the removal. Alternatively, I could imagine making
      this feature mutually exclusive with those confidential VM related
      features, but let's try simply removing it first.
    
      Summary:
    
       - Drop support for the 'fake' EFI memory map on x86
    
       - Add an SMBIOS based tweak to the EFI stub instructing the firmware
         on x86 Macbook Pros to keep both GPUs enabled
    
       - Replace 0-sized array with flexible array in EFI memory attributes
         table handling
    
       - Drop redundant BSS clearing when booting via the native PE
         entrypoint on x86
    
       - Avoid returning EFI_SUCCESS when aborting on an out-of-memory
         condition
    
       - Cosmetic tweak for arm64 KASLR loading logic"
    
    * tag 'efi-next-for-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
      efi: Replace efi_memory_attributes_table_t 0-sized array with flexible array
      efi: Rename efi_early_memdesc_ptr() to efi_memdesc_ptr()
      arm64/efistub: Clean up KASLR logic
      x86/efistub: Drop redundant clearing of BSS
      x86/efistub: Avoid returning EFI_SUCCESS on error
      x86/efistub: Call Apple set_os protocol on dual GPU Intel Macs
      x86/efistub: Enable SMBIOS protocol handling for x86
      efistub/smbios: Simplify SMBIOS enumeration API
      x86/efi: Drop support for fake EFI memory maps
    e55037c8
Kconfig 100 KB