Merge tag 'v3.13-rc7' into x86/efi-kexec to resolve conflicts
authorIngo Molnar <mingo@kernel.org>
Sun, 5 Jan 2014 11:34:29 +0000 (12:34 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 5 Jan 2014 11:34:29 +0000 (12:34 +0100)
Conflicts:
arch/x86/platform/efi/efi.c
drivers/firmware/efi/Kconfig

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1  2 
Documentation/kernel-parameters.txt
arch/x86/platform/efi/efi.c
drivers/firmware/efi/Kconfig
drivers/firmware/efi/Makefile
include/linux/efi.h

Simple merge
index 7ed3ecfde98ab642eaf2dbbf21fb32d7e0d0277f,cceb813044efc5dfdcbaf9fddbd076b23b2d1dc1..d62ec87a2b26d5d51bf2228ac7c2155cf9e8b06e
@@@ -764,19 -684,15 +764,12 @@@ void __init efi_init(void
                        return;
                set_bit(EFI_RUNTIME_SERVICES, &x86_efi_facility);
        }
--
        if (efi_memmap_init())
                return;
  
        set_bit(EFI_MEMMAP, &x86_efi_facility);
  
- #ifdef CONFIG_X86_32
-       if (efi_is_native()) {
-               x86_platform.get_wallclock = efi_get_time;
-               x86_platform.set_wallclock = efi_set_rtc_mmss;
-       }
- #endif
 -#if EFI_DEBUG
        print_efi_memmap();
 -#endif
  }
  
  void __init efi_late_init(void)
index 730f5f2e8b7f7734bddccf286ab300d8c3478a49,6aecbc86ec9482f322e55735de02c9daa1e4775a..1e75f48b61f8a1ca92991873e27e69479862bcbb
@@@ -36,18 -36,7 +36,18 @@@ config EFI_VARS_PSTORE_DEFAULT_DISABL
          backend for pstore by default. This setting can be overridden
          using the efivars module's pstore_disable parameter.
  
- config UEFI_CPER
-       def_bool n
 +config EFI_RUNTIME_MAP
 +      bool "Export efi runtime maps to sysfs"
 +      depends on X86 && EFI && KEXEC
 +      default y
 +      help
 +        Export efi runtime memory maps to /sys/firmware/efi/runtime-map.
 +        That memory map is used for example by kexec to set up efi virtual
 +        mapping the 2nd kernel, but can also be used for debugging purposes.
 +
 +        See also Documentation/ABI/testing/sysfs-firmware-efi-runtime-map.
 +
  endmenu
+ config UEFI_CPER
+       bool
Simple merge
index e64540746c6381389f35972e2eb2df7a4abd0854,11ce6784a196c2a40710080ee5464cbf9ed557a0..0a819e7a60c961246c529570fedf7717dd6c3c7c
@@@ -870,19 -868,8 +872,21 @@@ void efivar_run_worker(void)
  #if defined(CONFIG_EFI_VARS) || defined(CONFIG_EFI_VARS_MODULE)
  int efivars_sysfs_init(void);
  
+ #define EFIVARS_DATA_SIZE_MAX 1024
  #endif /* CONFIG_EFI_VARS */
  
 +#ifdef CONFIG_EFI_RUNTIME_MAP
 +int efi_runtime_map_init(struct kobject *);
 +void efi_runtime_map_setup(void *, int, u32);
 +#else
 +static inline int efi_runtime_map_init(struct kobject *kobj)
 +{
 +      return 0;
 +}
 +
 +static inline void
 +efi_runtime_map_setup(void *map, int nr_entries, u32 desc_size) {}
 +#endif
 +
  #endif /* _LINUX_EFI_H */