x86, MCE: Do not taint when handling correctable errors
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 18 Apr 2011 14:00:21 +0000 (16:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Apr 2011 17:14:13 +0000 (19:14 +0200)
commit7b70bd3441437b7bc04fc9d321e17c8ed0e8f958
tree4fc610ccefebf7688adc9b71029fbd36390a6c35
parentf0e615c3cb72b42191b558c130409335812621d8
x86, MCE: Do not taint when handling correctable errors

Correctable errors are considered something rather normal on
modern hardware these days. Even more importantly, correctable
errors mean exactly that - they've been corrected by the
hardware - and there's no need to taint the kernel since
execution hasn't been compromised so far.

Also, drop tainting in the thermal throttling code for a similar
reason: crossing a thermal threshold does not mean corruption.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Acked-by: Nagananda Chumbalkar <Nagananda.Chumbalkar@hp.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Russ Anderson <rja@sgi.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1303135222-17118-1-git-send-email-bp@amd64.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/mce.c
arch/x86/kernel/cpu/mcheck/therm_throt.c