2009-07-15 12:16:23

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH] Lowmemory corruption. Quirk for Intel DG45ID board.

AMI BIOS with lowmemory corruption was found on Intel DG45ID board
(Bug 13710). It hase differnt DMI_BIOS_VENDOR = "Intel Corp.", for
now we will match only DMI_BOARD_NAME.

Signed-off-by: Alexey Fisher <[email protected]>
---
arch/x86/kernel/setup.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index de2cab1..4bacb68 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -672,6 +672,19 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies"),
},
},
+ {
+ /*
+ * AMI BIOS with lowmemory corruption was found on Intel DG45ID board.
+ * It hase differnt DMI_BIOS_VENDOR = "Intel Corp.", for now we will
+ * match only DMI_BOARD_NAME and see if there is more bad products
+ * with this vendor.
+ */
+ .callback = dmi_low_memory_corruption,
+ .ident = "AMI BIOS",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "DG45ID"),
+ },
+ },
#endif
{}
};
--
1.6.3.3


2009-07-18 11:40:58

by Ingo Molnar

[permalink] [raw]
Subject: Re: [PATCH] Lowmemory corruption. Quirk for Intel DG45ID board.


* Alexey Fisher <[email protected]> wrote:

> AMI BIOS with lowmemory corruption was found on Intel DG45ID board
> (Bug 13710). It hase differnt DMI_BIOS_VENDOR = "Intel Corp.", for
> now we will match only DMI_BOARD_NAME.
>
> Signed-off-by: Alexey Fisher <[email protected]>
> ---
> arch/x86/kernel/setup.c | 13 +++++++++++++
> 1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
> index de2cab1..4bacb68 100644
> --- a/arch/x86/kernel/setup.c
> +++ b/arch/x86/kernel/setup.c
> @@ -672,6 +672,19 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
> DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies"),
> },
> },
> + {
> + /*
> + * AMI BIOS with lowmemory corruption was found on Intel DG45ID board.
> + * It hase differnt DMI_BIOS_VENDOR = "Intel Corp.", for now we will

FYI, i did: s/differnt/different

and a few other minor edits.

> + * match only DMI_BOARD_NAME and see if there is more bad products
> + * with this vendor.
> + */
> + .callback = dmi_low_memory_corruption,
> + .ident = "AMI BIOS",
> + .matches = {
> + DMI_MATCH(DMI_BOARD_NAME, "DG45ID"),
> + },
> + },
> #endif

Applied to tip:x86/urgent, thanks Alexey!

Ingo

2009-07-18 11:43:12

by Oleksij Rempel

[permalink] [raw]
Subject: [tip:x86/urgent] x86: Add quirk for Intel DG45ID board to avoid low memory corruption

Commit-ID: 6aa542a694dc9ea4344a8a590d2628c33d1b9431
Gitweb: http://git.kernel.org/tip/6aa542a694dc9ea4344a8a590d2628c33d1b9431
Author: Alexey Fisher <[email protected]>
AuthorDate: Wed, 15 Jul 2009 14:16:09 +0200
Committer: Ingo Molnar <[email protected]>
CommitDate: Sat, 18 Jul 2009 13:38:29 +0200

x86: Add quirk for Intel DG45ID board to avoid low memory corruption

AMI BIOS with low memory corruption was found on Intel DG45ID
board (Bug 13710). Add this board to the blacklist - in the
(somewhat optimistic) hope of future boards/BIOSes from Intel
not having this bug.

Also see:

http://bugzilla.kernel.org/show_bug.cgi?id=13736

Signed-off-by: Alexey Fisher <[email protected]>
Cc: ykzhao <[email protected]>
Cc: [email protected]
Cc: <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>


---
arch/x86/kernel/setup.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index de2cab1..63f32d2 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -672,6 +672,19 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies"),
},
},
+ {
+ /*
+ * AMI BIOS with low memory corruption was found on Intel DG45ID board.
+ * It hase different DMI_BIOS_VENDOR = "Intel Corp.", for now we will
+ * match only DMI_BOARD_NAME and see if there is more bad products
+ * with this vendor.
+ */
+ .callback = dmi_low_memory_corruption,
+ .ident = "AMI BIOS",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "DG45ID"),
+ },
+ },
#endif
{}
};