x86/reboot: use EFI reboot on ThinkPad X1 Carbon 5th
PATCH 1/1 x86/reboot: use EFI reboot on ThinkPad X1 Carbon 5th
This laptop needs EFI reboot to respect BootNext variable, otherwise it uses just BootOrder on reboot.
Signed-off-by Marek Marczykowski-Górecki <[email protected]>
--- arch/x86/kernel/reboot.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/x86/kernel/reboot.c +11 -0
@@ -471,6 +471,17 @@ static const struct dmi_system_id reboot_dmi_table[] __initconst = { }, }, +/* Lenovo */ + { +/* BootNext EFI variable is not respected without EFI reboot */ + .callback = set_efi_reboot, + .ident = "Lenovo ThinkPad X1 Carbon 5th", + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"LENOVO" ), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X1 Carbon 5th"), + }, + }, + { /* PCIe Wifi card isn't detected after reboot otherwise */ .callback = set_pci_reboot, .ident = "Zotac ZBOX CI327 nano",
Signature · 1 line
2.52.0