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

* Re: [PATCH] Add TAINT_FIRMWARE_WORKAROUND on MTRR fixup
  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
  1 sibling, 0 replies; 3+ messages in thread
From: David Rientjes @ 2011-10-18 23:41 UTC (permalink / raw)
  To: Prarit Bhargava, Ingo Molnar, H. Peter Anvin, Thomas Gleixner
  Cc: linux-kernel, x86

On Tue, 18 Oct 2011, Prarit Bhargava wrote:

> TAINT_FIRMWARE_WORKAROUND should be set when an MTRR fixup is done.
> 
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> Cc: x86@kernel.org

Acked-by: David Rientjes <rientjes@google.com>

Adding the x86 maintainers to the cc, not sure if x86@kernel.org is 
silently failing (or is it just an alias to them that is already back up 
working)?

> ---
>  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;
>  		}
>  	}

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

* [tip:x86/urgent] Add TAINT_FIRMWARE_WORKAROUND on MTRR fixup
  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-bot for Prarit Bhargava
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Prarit Bhargava @ 2011-12-05 17:35 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, rientjes, prarit, mingo

Commit-ID:  644ddf588f5dba34df483a6ea8abe639cc102289
Gitweb:     http://git.kernel.org/tip/644ddf588f5dba34df483a6ea8abe639cc102289
Author:     Prarit Bhargava <prarit@redhat.com>
AuthorDate: Tue, 18 Oct 2011 13:24:10 -0400
Committer:  Ingo Molnar <mingo@elte.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@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>
---
 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;
 		}
 	}

^ 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.