On Thu, Jul 17, 2025 at 04:02:37PM +0800, Jason Wang wrote: > Lacking the support of device specific mapping supported in virtio, > VDUSE must trick the DMA API in order to make virtio-vdpa transport > work. This is done by advertising vDPA device as dma device with a > VDUSE specific dma_ops even if it doesn't do DMA at all. > > This will be fixed by this patch. Thanks to the new mapping operations > support by virtio and vDPA. VDUSE can simply switch to advertise its > specific mappings operations to virtio via virtio-vdpa then DMA API is > not needed for VDUSE any more.
This can now drop the depends on HAS_DMA and ARCH_HAS_DMA_OPS for VDPA_USER.