OSDN Git Service

PCI/P2PDMA: Remove the DMA_VIRT_OPS hacks
authorChristoph Hellwig <hch@lst.de>
Fri, 6 Nov 2020 18:19:39 +0000 (19:19 +0100)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 17 Nov 2020 19:22:07 +0000 (15:22 -0400)
commit4d34d52c25a042e8fdfcaed9715774759394e32e
tree4b69ca7c75891a894d3726551342d5967fa7f5c2
parent5a7a9e038b032137ae9c45d5429f18a2ffdf7d42
PCI/P2PDMA: Remove the DMA_VIRT_OPS hacks

Now that all users of dma_virt_ops are gone we can remove the workaround
for it in the PCI peer to peer code.

Link: https://lore.kernel.org/r/20201106181941.1878556-9-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/pci/p2pdma.c