x86/mce/AMD: Set MCAX Enable bit
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Mon, 25 Jan 2016 19:41:53 +0000 (20:41 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 1 Feb 2016 09:53:59 +0000 (10:53 +0100)
commite6c8f1873be8a14c7e44202df1f7e6ea61bf3352
tree53ce4fa46053d0fce438d039e18f176773eb92be
parent429893b16d35d309ed6b35136aad5f908a08d9b9
x86/mce/AMD: Set MCAX Enable bit

It is required for the OS to acknowledge that it is using the
MCAX register set and its associated fields by setting the
'McaXEnable' bit in each bank's MCi_CONFIG register. If it is
not set, then all UC errors will cause a system panic.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
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/1453750913-4781-9-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/msr-index.h
arch/x86/kernel/cpu/mcheck/mce_amd.c