• Paul Jackson's avatar
    x86 boot: only pick up additional EFI memmap if add_efi_memmap flag · 200001eb
    Paul Jackson authored
    Applies on top of the previous patch:
      x86 boot: add code to add BIOS provided EFI memory entries to kernel
    
    Instead of always adding EFI memory map entries (if present) to the
    memory map after initially finding either E820 BIOS memory map entries
    and/or kernel command line memmap entries, -instead- only add such
    additional EFI memory map entries if the kernel boot option:
    
        add_efi_memmap
    
    is specified.
    
    Requiring this 'add_efi_memmap' option is backward compatible with
    kernels that didn't load such additional EFI memory map entries in
    the first place, and it doesn't override a configuration that tries
    to replace all E820 or EFI BIOS memory map entries with ones given
    entirely on the kernel command line.
    Signed-off-by: default avatarPaul Jackson <pj@sgi.com>
    Cc: "Yinghai Lu" <yhlu.kernel@gmail.com>
    Cc: "Jack Steiner" <steiner@sgi.com>
    Cc: "Mike Travis" <travis@sgi.com>
    Cc: "Huang
    Cc: Ying" <ying.huang@intel.com>
    Cc: "Andi Kleen" <andi@firstfloor.org>
    Cc: "Andrew Morton" <akpm@linux-foundation.org>
    Cc: Paul Jackson <pj@sgi.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    200001eb
uefi.txt 1.69 KB