projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e68666
)
Add TAINT_FIRMWARE_WORKAROUND on MTRR fixup
author
Prarit Bhargava
<prarit@redhat.com>
Tue, 18 Oct 2011 17:24:10 +0000
(13:24 -0400)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 5 Dec 2011 12:48:50 +0000
(13:48 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/mtrr/generic.c
b/arch/x86/kernel/cpu/mtrr/generic.c
index a71efcdbb0925ffe7c2f97d58d0625e4179662fc..e1fe7f42e0fbd02700df1da8ba5925af48e7264e 100644
(file)
--- 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;
}
}