aboutsummaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2022-12-23 14:00:21 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-02-20 19:26:58 -0500
commit6c3d329e6486dd079924eba9b791309026b8ea9c (patch)
tree3d3f7ca3a9689c21f23abf5f6d6410c21c7ca5c4 /drivers/vhost
parent0899774cb360769583e91d1951a68af47ce88db2 (diff)
vdpa_sim: get rid of DMA ops
We used to (ab)use the DMA ops for setting up identical mappings in the IOTLB. This patch tries to get rid of the those unnecessary DMA ops by maintaining a simple identical/passthrough mappings by default. When bound to virtio_vdpa driver, DMA API will simply use PA as the IOVA and we will be all fine. When the vDPA bus tries to setup customized mapping (e.g when bound to vhost-vDPA), the identical/passthrough mapping will be removed. Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20221223060021.28011-1-jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions