Commit 04ecf167 authored by Qiuxu Zhuo's avatar Qiuxu Zhuo Committed by Wen Jin
Browse files

EDAC/i10nm: Skip the absent memory controllers

mainline inclusion
from mainline-v6.6-rc1
commit c545f5e4
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8Y47N
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c545f5e412250555bd4e717d062b117f20bab418



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

Some Sapphire Rapids workstations' absent memory controllers
still appear as PCIe devices that fool the i10nm_edac driver
and result in "shift exponent -66 is negative" call traces
from skx_get_dimm_info().

Skip the absent memory controllers to avoid the call traces.

Intel-SIG: commit c545f5e4 EDAC/i10nm: Skip the absent memory controllers.
Backport to avoid call trace in some situations.

Reported-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
Closes: https://lore.kernel.org/linux-edac/CAAd53p41Ku1m1rapeqb1xtD+kKuk+BaUW=dumuoF0ZO3GhFjFA@mail.gmail.com/T/#m5de16dce60a8c836ec235868c7c16e3fefad0cc2


Tested-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
Reported-by: default avatarKoba Ko <koba.ko@canonical.com>
Closes: https://lore.kernel.org/linux-edac/SA1PR11MB71305B71CCCC3D9305835202892AA@SA1PR11MB7130.namprd11.prod.outlook.com/T/#t


Tested-by: default avatarKoba Ko <koba.ko@canonical.com>
Fixes: d4dc89d0 ("EDAC, i10nm: Add a driver for Intel 10nm server processors")
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/r/20230710013232.59712-1-qiuxu.zhuo@intel.com


Signed-off-by: default avatarWen Jin <wen.jin@intel.com>
parent 17d358c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment