]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Don't use the EFI reboot method by default
authorMatthew Garrett <mjg@redhat.com>
Wed, 6 Jul 2011 20:52:37 +0000 (16:52 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 7 Jul 2011 09:35:05 +0000 (11:35 +0200)
commitd49a43b3ae087b36a00311b85e24ac2567007184
tree550629ad27a8b8d3896fbdce4b9a9848753ee611
parentf3d853cb02d33c59408d340ee6a6a358fff6c558
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>
arch/x86/platform/efi/efi.c