Skip to content

Commit 140fd4a

Browse files
mahiuchunsuryasaimadhu
authored andcommitted
x86/reboot/quirks: Add MacBook6,1 reboot quirk
On MacBook6,1 reboot would hang unless parameter reboot=pci is added. Make it automatic. Signed-off-by: Hill Ma <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent 9cb1fd0 commit 140fd4a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

arch/x86/kernel/reboot.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,14 @@ static const struct dmi_system_id reboot_dmi_table[] __initconst = {
197197
DMI_MATCH(DMI_PRODUCT_NAME, "MacBook5"),
198198
},
199199
},
200+
{ /* Handle problems with rebooting on Apple MacBook6,1 */
201+
.callback = set_pci_reboot,
202+
.ident = "Apple MacBook6,1",
203+
.matches = {
204+
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
205+
DMI_MATCH(DMI_PRODUCT_NAME, "MacBook6,1"),
206+
},
207+
},
200208
{ /* Handle problems with rebooting on Apple MacBookPro5 */
201209
.callback = set_pci_reboot,
202210
.ident = "Apple MacBookPro5",

0 commit comments

Comments
 (0)