EDAC, sb_edac: Classify PCI-IDs by topology
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Tue, 23 May 2017 00:05:33 +0000 (08:05 +0800)
committerBorislav Petkov <bp@suse.de>
Thu, 25 May 2017 09:19:25 +0000 (11:19 +0200)
commit00cf50d90a99fac96644078f40c88a7ad43fb71c
tree12ac147ec00abfa45e8c8eab5a48cbfc330f29bd
parent18caec20bfa56911b5d23811ae344ae8dc163ba9
EDAC, sb_edac: Classify PCI-IDs by topology

Each of the PCI device IDs belongs to a CPU socket, or to one of the
integrated memory controllers. Provide an enum to specify the domain of
each, and distinguish the resource number in each domain: the number
of the PCI device IDs per integrated memory controller/socket, and the
number of integrated memory controllers per socket.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170523000533.87704-1-qiuxu.zhuo@intel.com
[ Realign pci_dev_descr_knl members. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/sb_edac.c