[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-644ddf588f5dba34df483a6ea8abe639cc102289@git.kernel.org>
Date: Mon, 5 Dec 2011 09:35:54 -0800
From: tip-bot for Prarit Bhargava <prarit@...hat.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
tglx@...utronix.de, rientjes@...gle.com, prarit@...hat.com,
mingo@...e.hu
Subject: [tip:x86/urgent] Add TAINT_FIRMWARE_WORKAROUND on MTRR fixup
Commit-ID: 644ddf588f5dba34df483a6ea8abe639cc102289
Gitweb: http://git.kernel.org/tip/644ddf588f5dba34df483a6ea8abe639cc102289
Author: Prarit Bhargava <prarit@...hat.com>
AuthorDate: Tue, 18 Oct 2011 13:24:10 -0400
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Mon, 5 Dec 2011 13:48:50 +0100
Add TAINT_FIRMWARE_WORKAROUND on MTRR fixup
TAINT_FIRMWARE_WORKAROUND should be set when an MTRR fixup
is done.
Signed-off-by: Prarit Bhargava <prarit@...hat.com>
Acked-by: David Rientjes <rientjes@...gle.com>
Link: http://lkml.kernel.org/r/1318958650-12447-1-git-send-email-prarit@redhat.com
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
arch/x86/kernel/cpu/mtrr/generic.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c
index a71efcdb..e1fe7f4 100644
--- a/arch/x86/kernel/cpu/mtrr/generic.c
+++ b/arch/x86/kernel/cpu/mtrr/generic.c
@@ -547,6 +547,7 @@ static void generic_get_mtrr(unsigned int reg, unsigned long *base,
if (tmp != mask_lo) {
printk(KERN_WARNING "mtrr: your BIOS has configured an incorrect mask, fixing it.\n");
+ add_taint(TAINT_FIRMWARE_WORKAROUND);
mask_lo = tmp;
}
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists