Skip to contentSkip to conversation

x86, setup: Phoenix BIOS fixup is needed on Dell Inspiron Mini 1012

tip:x86/urgent tip-bot for Gabor Gombas 1 participant 1 message May 24, 2010 1 message not in the archive x86

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Commit-ID:  3d6e77a3ddb8e4156b89f4273ff8c7d37abaf781
Gitweb:     http://git.kernel.org/tip/3d6e77a3ddb8e4156b89f4273ff8c7d37abaf781
Author:     Gabor Gombas <[email protected]>
AuthorDate: Mon, 24 May 2010 12:13:18 -0700
Committer:  H. Peter Anvin <[email protected]>
CommitDate: Mon, 24 May 2010 13:33:14 -0700

x86, setup: Phoenix BIOS fixup is needed on Dell Inspiron Mini 1012

The low-memory corruption checker triggers during suspend/resume, so we need to reserve the low 64k. Don't be fooled that the BIOS identifies itself as "Dell Inc.", it's still Phoenix BIOS.

[ hpa: I think we blacklist almost every BIOS in existence. We should either change this to a whitelist or just make it unconditional. ]

LKML-Reference: <[email protected]>

---
 arch/x86/kernel/setup.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
arch/x86/kernel/setup.c +11 -0
index e802989..b4ae4ac 100644
@@ -676,6 +676,17 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "DG45FC"),
 		},
 	},
+	/*
+	 * The Dell Inspiron Mini 1012 has DMI_BIOS_VENDOR = "Dell Inc.", so
+	 * match on the product name.
+	 */
+	{
+		.callback = dmi_low_memory_corruption,
+		.ident = "Phoenix BIOS",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1012"),
+		},
+	},
 #endif
 	{}
 };