summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mtrr
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2011-10-18 13:24:10 -0400
committerIngo Molnar <mingo@elte.hu>2011-12-05 13:48:50 +0100
commit644ddf588f5dba34df483a6ea8abe639cc102289 (patch)
tree886294e324a79d3cda7599c9034bb536780b0e38 /arch/x86/kernel/cpu/mtrr
parent9e6866686bdf2dcf3aeb0838076237ede532dcc8 (diff)
downloadblackbird-op-linux-644ddf588f5dba34df483a6ea8abe639cc102289.tar.gz
blackbird-op-linux-644ddf588f5dba34df483a6ea8abe639cc102289.zip
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@redhat.com> Acked-by: David Rientjes <rientjes@google.com> Link: http://lkml.kernel.org/r/1318958650-12447-1-git-send-email-prarit@redhat.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr')
-rw-r--r--arch/x86/kernel/cpu/mtrr/generic.c1
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 a71efcdbb092..e1fe7f42e0fb 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;
}
}
OpenPOWER on IntegriCloud