mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Phoenix BIOS fixup is needed on Dell Inspiron Mini 1012
@ 2010-03-31 18:02 Gabor Gombas
  0 siblings, 0 replies; only message in thread
From: Gabor Gombas @ 2010-03-31 18:02 UTC (permalink / raw)
  To: linux-kernel
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, Yinghai Lu,
	Pekka Enberg

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.

Signed-off-by: Gabor Gombas <gombasg@digikabel.hu>
---
 arch/x86/kernel/setup.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 5d9e40c..261bfdf 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -663,6 +663,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
 	{}
 };
-- 
1.7.0.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-31 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-31 18:02 [PATCH] Phoenix BIOS fixup is needed on Dell Inspiron Mini 1012 Gabor Gombas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®