]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/ras/therm_throt: Do not log a fake MCE for thermal events
authorBorislav Petkov <bp@suse.de>
Mon, 23 Jan 2017 18:35:07 +0000 (19:35 +0100)
committerEthan Zhao <ethan.zhao@oracle.com>
Wed, 28 Jun 2017 22:51:35 +0000 (07:51 +0900)
commite21b68b4ce950f37f17c95238c5493e9043d6da9
tree99e274a6b3ad7a984f2bf5d728c9efb50b96f9f6
parent9b9ebe243bef49e2afbe61d277d4da075fbd67de
x86/ras/therm_throt: Do not log a fake MCE for thermal events

We log a fake bank 128 MCE to note that we're handling a CPU thermal
event. However, this confuses people into thinking that their hardware
generates MCEs. Hijacking MCA for logging thermal events is a gross
misuse anyway and it shouldn't have been done in the first place. And
besides we have other means for dealing with thermal events which are
much more suitable.

So let's kill the MCE logging part.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Ashok Raj <ashok.raj@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170105213846.GA12024@gmail.com
Link: http://lkml.kernel.org/r/20170123183514.13356-3-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit 9b052ea4ced0fa1ad30a2eafe86984a16297e6f1)

Orabug: 26361336

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce.c
arch/x86/kernel/cpu/mcheck/therm_throt.c