All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add TAINT_FIRMWARE_WORKAROUND on MTRR fixup
@ 2011-10-18 17:24 Prarit Bhargava
  2011-10-18 23:41 ` David Rientjes
  2011-12-05 17:35 ` [tip:x86/urgent] " tip-bot for Prarit Bhargava
  0 siblings, 2 replies; 3+ messages in thread
From: Prarit Bhargava @ 2011-10-18 17:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: Prarit Bhargava, x86

TAINT_FIRMWARE_WORKAROUND should be set when an MTRR fixup is done.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: x86@kernel.org
---
 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 a71efcd..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;
 		}
 	}
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-05 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-18 17:24 [PATCH] Add TAINT_FIRMWARE_WORKAROUND on MTRR fixup Prarit Bhargava
2011-10-18 23:41 ` David Rientjes
2011-12-05 17:35 ` [tip:x86/urgent] " tip-bot for Prarit Bhargava

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.