PCI/P2PDMA: Whitelist some Intel host bridges
authorLogan Gunthorpe <logang@deltatee.com>
Mon, 12 Aug 2019 17:30:41 +0000 (11:30 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Aug 2019 13:41:07 +0000 (08:41 -0500)
commit494d63b0d5d0a481f6ac23bc61e94647ab9c4390
tree334e05febc379b0e4771b5503a1c0d1fb9c3ffa0
parent2c84d818aee976390c055a417045a85c23d39662
PCI/P2PDMA: Whitelist some Intel host bridges

Intel devices do not have good support for P2P requests that span different
host bridges as the transactions will cross the QPI/UPI bus and this does
not perform well.

Therefore, enable support for these devices only if the host bridges match.

Add Intel devices that have been tested and are known to work. There are
likely many others out there that will need to be tested and added.

Link: https://lore.kernel.org/r/20190730163545.4915-8-logang@deltatee.com
Link: https://lore.kernel.org/r/20190812173048.9186-8-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/p2pdma.c