summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/Kconfig
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2020-03-26 22:01:20 +0800
committerMichael S. Tsirkin <mst@redhat.com>2020-04-01 12:06:26 -0400
commit9ad9c49cfe970b053bb0ef323b682dd1b4d4f8a0 (patch)
tree92f1cb32d9e41467a75d1c3e5fa973cc5eefc9fa /drivers/vhost/Kconfig
parent0bbe30668d89ec8a309f28ced6d092c90fb23e8c (diff)
downloadlinux-9ad9c49cfe970b053bb0ef323b682dd1b4d4f8a0.tar.gz
linux-9ad9c49cfe970b053bb0ef323b682dd1b4d4f8a0.tar.bz2
linux-9ad9c49cfe970b053bb0ef323b682dd1b4d4f8a0.zip
vringh: IOTLB support
This patch implements the third memory accessor for vringh besides current kernel and userspace accessors. This idea is to allow vringh to do the address translation through an IOTLB which is implemented via vhost_map interval tree. Users should setup and IOVA to PA mapping in this IOTLB. This allows us to: - Use vringh to access virtqueues with vIOMMU - Use vringh to implement software virtqueues for vDPA devices Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200326140125.19794-5-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/Kconfig')
-rw-r--r--drivers/vhost/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
index 37400a1655b4..128238488078 100644
--- a/drivers/vhost/Kconfig
+++ b/drivers/vhost/Kconfig
@@ -6,6 +6,7 @@ config VHOST_IOTLB
config VHOST_RING
tristate
+ select VHOST_IOTLB
help
This option is selected by any driver which needs to access
the host side of a virtio ring.