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

EDAC/i10nm: Add Intel Granite Rapids server support

mainline inclusion
from mainline-v6.3-rc1
commit ba987eaa
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=ba987eaaabf99b462cdfed86274e3455d5126349



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

The Granite Rapids CPU model uses similar memory controller registers
as Sapphire Rapids server but with some different configurations:

- Various memory controller numbers for different Granite Rapids CPUs.
  So detect the number of present memory controllers at run time.

- Different MMIO offsets of memory controllers.

- Different triples of bus/dev/fun of some PCI devices used in i10nm_edac.

Add above configurations and Granite Rapids CPU model ID for EDAC support.

[Tony: Fixed 2 typos s/strcture/structure/]

Intel-SIG: commit ba987eaa EDAC/i10nm: Add Intel Granite Rapids server support.
Backport to support Granite Rapids server.

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


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