]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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

index 7ea8aaaab7fc7d519c411208644a1b3196d8f417,a24097768463aef86644f35f60c97b097d4b6d17..842a5abf3aedd463a3ee7578e9e7986bedfce795
@@@ -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