summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-08-28 09:00:08 +0300
committerChristoph Hellwig <hch@lst.de>2024-09-04 07:08:38 +0300
commit92193b3569ade4968011007356c8606def0657a1 (patch)
treedb5860f41037c869e7da5083af29cafc050fbe94
parent122c234ef4e182440f8a60490e9344bfc4e2b5e9 (diff)
vdpa_sim: don't select DMA_OPS
vdpa_sim has been fixed to not override the dma_map_ops in commit 6c3d329e6486 ("vdpa_sim: get rid of DMA ops"), so don't select the symbol and don't depend on HAS_DMA. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--drivers/vdpa/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
index 5265d09fc1c4..b08de3b77061 100644
--- a/drivers/vdpa/Kconfig
+++ b/drivers/vdpa/Kconfig
@@ -11,8 +11,7 @@ if VDPA
config VDPA_SIM
tristate "vDPA device simulator core"
- depends on RUNTIME_TESTING_MENU && HAS_DMA
- select DMA_OPS
+ depends on RUNTIME_TESTING_MENU
select VHOST_RING
select IOMMU_IOVA
help