x86: EFI: Back efi_ioremap with init_memory_mapping instead of FIX_MAP
Impact: Fix boot failure on EFI system with large runtime memory range Brian Maly reported that some EFI system with large runtime memory range can not boot. Because the FIX_MAP used to map runtime memory range is smaller than run time memory range. This patch fixes this issue by re-implement efi_ioremap() with init_memory_mapping(). Reported-and-tested-by:Brian Maly <bmaly@redhat.com> Signed-off-by:
Huang Ying <ying.huang@intel.com> Cc: Brian Maly <bmaly@redhat.com> Cc: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <1236135513.6204.306.camel@yhuang-dev.sh.intel.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/include/asm/efi.h 0 additions, 2 deletionsarch/x86/include/asm/efi.h
- arch/x86/include/asm/fixmap_64.h 0 additions, 4 deletionsarch/x86/include/asm/fixmap_64.h
- arch/x86/kernel/efi.c 5 additions, 2 deletionsarch/x86/kernel/efi.c
- arch/x86/kernel/efi_64.c 4 additions, 17 deletionsarch/x86/kernel/efi_64.c
Loading
Please register or sign in to comment