* Make efi_enabled a function that allows callers to query the EFI
services/facilities provided by the firmware.
samsung-laptop: Disable on EFI hardware
It has been reported that running this driver on some Samsung laptops
with EFI can cause those machines to become bricked as detailed in the
There have also been reports of this driver causing Machine Check
Exceptions on recent EFI-enabled Samsung laptops,
So disable it if booting from EFI since this driver relies on
grovelling around in the BIOS memory map which isn't going to work.
Acked-by: H. Peter Anvin <email@example.com>
Cc: Corentin Chary <firstname.lastname@example.org>
Cc: Matthew Garrett <email@example.com>
Cc: Colin Ian King <firstname.lastname@example.org>
Cc: Steve Langasek <email@example.com>
Signed-off-by: Matt Fleming <firstname.lastname@example.org>
1 file changed