x86/mce: Add the missing memory error check on AMD
authorBorislav Petkov <bp@suse.de>
Tue, 24 Nov 2015 07:41:19 +0000 (08:41 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 24 Nov 2015 08:12:35 +0000 (09:12 +0100)
commitdb548a28fcee0f38cf4c7c726becf24c8afacf02
tree8d5262e733abc132929d1713766a810b1c54dab0
parentc0ec382e1928402031e754ad0391ecbdabb18c43
x86/mce: Add the missing memory error check on AMD

We simply need to look at the extended error code when detecting
whether the error is of type memory.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
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>
Link: http://lkml.kernel.org/r/1448350880-5573-4-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mcheck/mce.c