x86: Don't use the EFI reboot method by default
commit f70e957cda22d309c769805cbb932407a5232219 upstream.
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 <firstname.lastname@example.org>
Cc: Linus Torvalds <email@example.com>
Cc: Andrew Morton <firstname.lastname@example.org>
Cc: Alan Cox <email@example.com>
Signed-off-by: Ingo Molnar <firstname.lastname@example.org>
[PG: in 2.6.34, file is x86/platform/efi/efi.c --> x86/kernel/efi.c]
Signed-off-by: Paul Gortmaker <email@example.com>
1 file changed