commit | c6bfaeb573a6caae4b96885b8bad63ee57495c77 | [log] [tgz] |
---|---|---|
author | Logan Gunthorpe <logang@deltatee.com> | Mon Aug 12 11:30:38 2019 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Aug 16 08:40:38 2019 -0500 |
tree | 651093f006955d278ee2d9cb0250e0bf39f1d2f2 | |
parent | 72583084e3fe333c27bc37527efe455d27eaf0b1 [diff] |
PCI/P2PDMA: Factor out __upstream_bridge_distance() This is a prep patch to create a second level helper. There are no functional changes. The root complex whitelist code will be moved into this function in a subsequent patch. Link: https://lore.kernel.org/r/20190730163545.4915-5-logang@deltatee.com Link: https://lore.kernel.org/r/20190812173048.9186-5-logang@deltatee.com Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Christoph Hellwig <hch@lst.de>