]> git.baikalelectronics.ru Git - kernel.git/commit
x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
authorJian-Hong Pan <jian-hong@endlessm.com>
Fri, 12 Apr 2019 08:01:53 +0000 (16:01 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 16 Apr 2019 08:01:24 +0000 (10:01 +0200)
commit292ca9732a5ddb0235c823b6bf1da6a920354c64
tree0061ade9b7cc8e9fc623a640b37aeaf68af790e2
parent345caee150cfe3cc2e365f9f522a98e58be18c00
x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T

Upon reboot, the Acer TravelMate X514-51T laptop appears to complete the
shutdown process, but then it hangs in BIOS POST with a black screen.

The problem is intermittent - at some points it has appeared related to
Secure Boot settings or different kernel builds, but ultimately we have
not been able to identify the exact conditions that trigger the issue to
come and go.

Besides, the EFI mode cannot be disabled in the BIOS of this model.

However, after extensive testing, we observe that using the EFI reboot
method reliably avoids the issue in all cases.

So add a boot time quirk to use EFI reboot on such systems.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=203119
Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
Signed-off-by: Daniel Drake <drake@endlessm.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Cc: linux@endlessm.com
Link: http://lkml.kernel.org/r/20190412080152.3718-1-jian-hong@endlessm.com
[ Fix !CONFIG_EFI build failure, clarify the code and the changelog a bit. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/reboot.c
include/linux/efi.h