PCI/P2PDMA: Add provider's pci_dev to pci_p2pdma_pagemap struct
authorLogan Gunthorpe <logang@deltatee.com>
Mon, 12 Aug 2019 17:30:36 +0000 (11:30 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Aug 2019 13:40:05 +0000 (08:40 -0500)
commit0afea3814358c97e2964710ba16fbb0b54ceda0e
treeea1c2238b9be24c8b9f06f64057abfec3a33cf03
parenta6e6fe6549f609f5c00c91e988da9d25f8ae8604
PCI/P2PDMA: Add provider's pci_dev to pci_p2pdma_pagemap struct

The provider will be needed to figure out how to map a device.

Link: https://lore.kernel.org/r/20190730163545.4915-3-logang@deltatee.com
Link: https://lore.kernel.org/r/20190812173048.9186-3-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