Merge tag 'efi-urgent' into x86/efi
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 11 Aug 2014 20:58:54 +0000 (13:58 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 11 Aug 2014 20:58:54 +0000 (13:58 -0700)
 * Enforce CONFIG_RELOCATABLE for the x86 EFI boot stub, otherwise
   it's possible to overwrite random pieces of unallocated memory during
   kernel decompression, leading to machine resets.

Resolved Conflicts:
arch/x86/Kconfig

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
1  2 
arch/x86/Kconfig
arch/x86/boot/header.S
drivers/firmware/efi/efi.c
drivers/firmware/efi/libstub/fdt.c

@@@ -1536,7 -1535,8 +1536,8 @@@ config EF
  
  config EFI_STUB
         bool "EFI stub support"
 -       depends on EFI
 +       depends on EFI && !X86_USE_3DNOW
+        select RELOCATABLE
         ---help---
            This kernel feature allows a bzImage to be loaded directly
          by EFI firmware without the use of a bootloader.
Simple merge
Simple merge
Simple merge