]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
x86, setup: Phoenix BIOS fixup is needed on Dell Inspiron Mini 1012
authorGabor Gombas <gombasg@digikabel.hu>
Mon, 24 May 2010 19:13:18 +0000 (12:13 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 24 May 2010 20:33:14 +0000 (13:33 -0700)
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. ]

Signed-off-by: Gabor Gombas <gombasg@digikabel.hu>
LKML-Reference: <201005241913.o4OJDIMM010877@imap1.linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: <stable@kernel.org>
arch/x86/kernel/setup.c

index e8029896309af8cadb39b2445568d8c3ddc410ae..b4ae4acbd031061d022a0c3e2873b7fd346a9263 100644 (file)
@@ -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
        {}
 };