EDAC, skx_common: Add code to recognise new compound error code
authorTony Luck <tony.luck@intel.com>
Tue, 5 Feb 2019 18:21:09 +0000 (10:21 -0800)
committerBorislav Petkov <bp@suse.de>
Wed, 6 Feb 2019 10:03:06 +0000 (11:03 +0100)
commitcbfa482f7e2becbb774dd30117efac48819252f8
tree2868c294615d747db3a0e847f6a23860ef70c99a
parentd6a9f7336d925364daca00557afa59a68e78b422
EDAC, skx_common: Add code to recognise new compound error code

A new error code for systems that use DRAM as an extra level of cache
looks like:

    000F 0010 1MMM CCCC

where the MMM and CCCC bits are used for the same purpose as the
original code. For this new class of errors the ADXL translation will
provide details of both the DIMM used as cache for the error location
and the component that is being cached.

Note: This new error code is first supported in Skylake. Older EDAC
drivers do not need to be updated.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Aristeu Rozanski <aris@redhat.com>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: https://lkml.kernel.org/r/20190205182109.27828-1-tony.luck@intel.com
drivers/edac/skx_common.c