Commit 9db6db9f authored by Qiuxu Zhuo's avatar Qiuxu Zhuo Committed by Song, Youquan
Browse files

EDAC/skx_common: Enable EDAC support for the "near" memory

mainline inclusion
from mainline-v6.3-rc1
commit 6e8746cb
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I7220G


CVE: NA

Intel-SIG: commit 6e8746cb EDAC/skx_common: Enable EDAC support for the "near"
 memory.
Backport to add retry_rd_err_log for SPR HBM 2LM.

--------------------------------

The current {skx,i10nm}_edac miss the EDAC support to decode errors from
the 1st level memory (the fast "near" memory as cache) of the 2-level
memory system. Introduce a helper function skx_error_in_mem() to check
whether errors are from memory at the beginning of skx_mce_check_error().

As long as the errors are from memory (either the 1-level memory system
or the 2-level memory system), decode the errors.

Reported-and-tested-by: default avatarYouquan Song <youquan.song@intel.com>
Signed-off-by: default avatarQiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/all/20230113032802.41752-1-qiuxu.zhuo@intel.com


[ Youquan Song: amend commit log ]
Signed-off-by: default avatarYouquan Song <youquan.song@intel.com>
parent 56db1289
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment