x86/mce: Recognise machine check bank signature for data path error
authorTony Luck <tony.luck@intel.com>
Tue, 3 Jan 2012 19:48:04 +0000 (11:48 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 3 Jan 2012 20:07:07 +0000 (12:07 -0800)
commit5f7b88d51e89771f64c15903b96b5933dd0bc6d8
treeb6ee73357d24d1ea194babf152878f8a7f609c8f
parenta8c321fbf9aeced45519248e5901af8cbc240510
x86/mce: Recognise machine check bank signature for data path error

Action required data path signature is defined in table 15-19 of SDM:

+-----------------------------------------------------------------------------+
| SRAR Error | Valid | OVER | UC | EN | MISCV | ADDRV | PCC | S | AR | MCACOD |
| Data Load  |     1 |    0 |  1 |  1 |     1 |     1 |   0 | 1 |  1 |  0x134 |
+-----------------------------------------------------------------------------+

Recognise this, and pass MCE_AR_SEVERITY code back to do_machine_check() if
we have the action handler configured (CONFIG_MEMORY_FAILURE=y)

Acked-by: Borislav Petkov <bp@amd64.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/x86/kernel/cpu/mcheck/mce-severity.c