Logan Gunthorpe 2c84d818ae PCI/P2PDMA: Factor out host_bridge_whitelist()
Push both PCI devices into the whitelist checking function seeing some
hardware will require us ensuring they are on the same host bridge.

At the same time we rename root_complex_whitelist() to
host_bridge_whitelist() to match the terminology used in the code.

Link: https://lore.kernel.org/r/20190730163545.4915-7-logang@deltatee.com
Link: https://lore.kernel.org/r/20190812173048.9186-7-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>
2019-08-16 08:40:59 -05:00
..
2019-07-12 17:08:41 -05:00
2019-05-14 10:30:10 -07:00
2019-07-15 20:44:49 -07:00
2019-07-09 07:24:53 -05:00
2018-03-19 14:20:43 -05:00
2019-01-14 17:01:20 -06:00
2019-07-09 07:24:53 -05:00
2019-07-15 20:44:49 -07:00
2018-03-19 14:20:43 -05:00
2018-10-02 10:14:32 +02:00
2019-07-15 20:44:49 -07:00
2019-07-15 20:44:49 -07:00
2019-07-15 20:44:49 -07:00
2019-07-11 11:13:26 -05:00
2018-06-29 21:17:26 -05:00
2018-03-19 14:20:43 -05:00
2019-06-13 16:49:45 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2019-05-13 18:34:46 -05:00