]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/{i10nm,skx,skx_common}: Support UV systems
authorKyle Meyer <kyle.meyer@hpe.com>
Fri, 13 Dec 2024 01:25:49 +0000 (19:25 -0600)
committerTony Luck <tony.luck@intel.com>
Fri, 13 Dec 2024 19:10:31 +0000 (11:10 -0800)
commit584e09743d2f44905290b0dbf3215064d2a1888c
treee900c10dc49274b8e52b53959a7834a3b23bd2b2
parent2e55bb9b71e179c37d05deff37daa0dd8d04b59d
EDAC/{i10nm,skx,skx_common}: Support UV systems

The 3-bit source IDs in PCI configuration space registers, used to map
devices to sockets, are limited to 8 unique IDs, and each ID is local to
a UPI/QPI domain.

Source IDs cannot be used to map devices to sockets on UV systems
because they can exceed 8 sockets and have multiple UPI/QPI domains with
identical, repeating source IDs.

Use NUMA information to get package IDs instead of source IDs on UV
systems, and use package/source IDs to name IMC information structures.

Signed-off-by: Kyle Meyer <kyle.meyer@hpe.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Link: https://lore.kernel.org/all/20241213012549.43099-1-kyle.meyer@hpe.com/
drivers/edac/i10nm_base.c
drivers/edac/skx_base.c
drivers/edac/skx_common.c
drivers/edac/skx_common.h