EDAC, sb_edac: Add support for systems with segmented PCI buses
authorMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Tue, 24 Jul 2018 19:02:13 +0000 (15:02 -0400)
committerBorislav Petkov <bp@suse.de>
Wed, 25 Jul 2018 09:17:15 +0000 (11:17 +0200)
commit190bd6e98afc512fb16d4a471acd488e36141637
tree0c017ecb2a0a5090250a2641298cf53369e83fd6
parent6663484b4e2d98f5609dc1b90fe4c242dd8fe18a
EDAC, sb_edac: Add support for systems with segmented PCI buses

Extend the driver to check whether segment number and bus number matches
when deciding how to group memory controller PCI devices to CPU sockets.

Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20180724190213.26359-1-msys.mizuma@gmail.com
[ Cleanup commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/sb_edac.c