Commit f70e957cda22d309c769805cbb932407a5232219

Authored by Matthew Garrett
Committed by Ingo Molnar
1 parent 7a3136666b

x86: Don't use the EFI reboot method by default

Testing suggests that at least some Lenovos and some Intels will
fail to reboot via EFI, attempting to jump to an unmapped
physical address. In the long run we could handle this by
providing a page table with a 1:1 mapping of physical addresses,
but for now it's probably just easier to assume that ACPI or
legacy methods will be present and reboot via those.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Cox <alan@linux.intel.com>
Link: http://lkml.kernel.org/r/1309985557-15350-1-git-send-email-mjg@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff

arch/x86/platform/efi/efi.c
... ... @@ -504,9 +504,6 @@
504 504 x86_platform.set_wallclock = efi_set_rtc_mmss;
505 505 #endif
506 506  
507   - /* Setup for EFI runtime service */
508   - reboot_type = BOOT_EFI;
509   -
510 507 #if EFI_DEBUG
511 508 print_efi_memmap();
512 509 #endif