commit 2738c69a88 upstream.
Current i10nm_edac only supports firmware decoder (ACPI DSM methods).
MCA bank registers of Ice Lake or Tremont CPUs contain the information
to decode DDR memory errors. To get better decoding performance, add
the driver decoder (decoding DDR memory errors via extracting error
information from MCA bank registers) for Ice Lake and Tremont CPUs.
Intel-SIG: commit 2738c69a88 EDAC/i10nm: Add driver decoder for Ice Lake and Tremont
CPUs.
Backport to decode DDR error by MCA bank registers in replace of firmware.
Co-developed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/all/20220901194310.115427-1-tony.luck@intel.com/
[ Youquan Song: amend commit log ]
Signed-off-by: Youquan Song <youquan.song@intel.com>