EDAC, skx_edac: Handle systems with segmented PCI busses
authorTony Luck <tony.luck@intel.com>
Mon, 25 Sep 2017 17:10:42 +0000 (10:10 -0700)
committerBorislav Petkov <bp@suse.de>
Thu, 28 Sep 2017 16:01:55 +0000 (18:01 +0200)
commit88ae80aa609c7db3e3cc98e97e05badbcc6347dc
treece8c59860eb3d3be14cc3e081a9d170f1a80b725
parentf821fe8cc7e51b238585e71b688e7093bfec355c
EDAC, skx_edac: Handle systems with segmented PCI busses

Large systems separate their PCI busses into segments since
the limit of only 256 PCI busses can be too restrictive.

Extend this driver to check whether <segment, bus-number> matches
when deciding how to group memory controller PCI devices to
CPU sockets.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: Aristeu Rozanski <arozansk@redhat.com>
Cc: Charles Rose <charles.rose@dell.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/f58abfd10bf73c8bc5adc1fe4de7408128b00625.1506358467.git.tony.luck@intel.com
[ Make skx_dev.seg an int. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/skx_edac.c