x86/mce: Add a Scalable MCA vendor flags bit
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Fri, 30 Oct 2015 12:11:37 +0000 (13:11 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 1 Nov 2015 10:26:13 +0000 (11:26 +0100)
commitc7f54d21fb02e90042e6233b46716dcb244e70e6
tree3972035446b8c6856e2cf55ab7e09043385bc1c4
parent79ebdc9536c132eb92b4bcce26daaed7f4bf359e
x86/mce: Add a Scalable MCA vendor flags bit

Scalable MCA (SMCA) is a new feature in AMD Fam17h processors
which indicates presence of MCA extensions.

MCA extensions expands existing register space for the MCE banks
and also introduces a new MSR range to accommodate new banks.

Add the detection bit.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
[ Reformat mce_vendor_flags definitions and save indentation levels. Improve comments. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.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: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1446207099-24948-2-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce.c