]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
EDAC/i10nm: Skip the absent memory controllers
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Mon, 10 Jul 2023 01:32:32 +0000 (09:32 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 24 Jul 2023 15:57:26 +0000 (08:57 -0700)
commitc545f5e412250555bd4e717d062b117f20bab418
treece6250338f81b6189e852984a5a431ce8ecfa784
parent6eaae198076080886b9e7d57f4ae06fa782f90ef
EDAC/i10nm: Skip the absent memory controllers

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.

Reported-by: Kai-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: Kai-Heng Feng <kai.heng.feng@canonical.com>
Reported-by: Koba Ko <koba.ko@canonical.com>
Closes: https://lore.kernel.org/linux-edac/SA1PR11MB71305B71CCCC3D9305835202892AA@SA1PR11MB7130.namprd11.prod.outlook.com/T/#t
Tested-by: Koba Ko <koba.ko@canonical.com>
Fixes: d4dc89d069aa ("EDAC, i10nm: Add a driver for Intel 10nm server processors")
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20230710013232.59712-1-qiuxu.zhuo@intel.com
drivers/edac/i10nm_base.c