Fixes: 551199aca1c3 ("lib/dma-virt: Add dma_virt_ops")
Note that the drivers had open coded versions of this earlier. I think
this goes back to the addition of the qib driver which is now gone
or the addition of the hfi1 or rxe drivers for something that still
matters
Christoph,Jason
I built a branch using the following recipe:
https://patchwork.kernel.org/project/linux-rdma/patch/:
20201106181941.1878556-11-hch@xxxxxx/ dma-mapping: remove dma_virt_ops
20201106181941.1878556-10-hch@xxxxxx/ PCI/P2PDMA: Cleanup
__pci_p2pdma_map_sg a bit
20201106181941.1878556-9-hch@xxxxxx/ PCI/P2PDMA: Remove the
DMA_VIRT_OPS hacks
20201106181941.1878556-8-hch@xxxxxx/ RDMA/core: remove use of dma_virt_ops
20201106181941.1878556-7-hch@xxxxxx/ RDMA/core: remove
ib_dma_{alloc,free}_coherent
20201106181941.1878556-6-hch@xxxxxx/ rds: stop using dmapool
20201106181941.1878556-5-hch@xxxxxx/ nvme-rdma: use ibdev_to_node
instead of dereferencing ->dma_device
20201106181941.1878556-4-hch@xxxxxx/ RDMA: lift ibdev_to_node from rds
to common code
20201106181941.1878556-3-hch@xxxxxx/ RDMA/umem: use ib_dma_max_seg_size
instead of dma_get_max_seg_size
rdma/for-rc dabbd6abcdbe which has RMDA/sw: don't allow drivers using
dma_virt_ops on highmem configs
All of our rdmavt/hfi1 tests passed.
So I can at least vouch for "RDMA/core: remove use of dma_virt_ops"
Mike
Tested-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxxxxxxxxxxxxx>