Patchworkβ [tip:x86/urgent] x86: Add Phoenix/MSC BIOSes to lowmem corruption list

login
register
about
Submitter Simon Kagstrom
Date 2009-11-06 22:51:47
Message ID <tip-f1b291d4c47440cbfc1a478e88800e2742d60a80@git.kernel.org>
Download mbox | patch
Permalink /patch/58259/
State New
Headers show

Comments

Simon Kagstrom - 2009-11-06 22:51:47
Commit-ID:  f1b291d4c47440cbfc1a478e88800e2742d60a80
Gitweb:     http://git.kernel.org/tip/f1b291d4c47440cbfc1a478e88800e2742d60a80
Author:     Simon Kagstrom <simon.kagstrom@netinsight.net>
AuthorDate: Fri, 6 Nov 2009 15:44:04 +0100
Committer:  H. Peter Anvin <hpa@zytor.com>
CommitDate: Fri, 6 Nov 2009 14:49:39 -0800

x86: Add Phoenix/MSC BIOSes to lowmem corruption list

We have a board with a Phoenix/MSC BIOS which also corrupts the low
64KB of RAM, so add an entry to the table.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
LKML-Reference: <20091106154404.002648d9@marrow.netinsight.se>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
---
 arch/x86/kernel/setup.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Patch

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index e09f0e2..2a34f9c 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -660,6 +660,13 @@  static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
 		},
 	},
 	{
+		.callback = dmi_low_memory_corruption,
+		.ident = "Phoenix/MSC BIOS",
+		.matches = {
+			DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix/MSC"),
+		},
+	},
+	{
 	/*
 	 * AMI BIOS with low memory corruption was found on Intel DG45ID board.
 	 * It hase different DMI_BIOS_VENDOR = "Intel Corp.", for now we will