On Fri, Jul 18, 2025 at 9:53 AM Jason Wang <jasow...@redhat.com> wrote: > > After commit c2dbb3fc2a97 ("vduse: switch to use virtio map API > instead of DMA API"), vduse doesn't use DMA API. So we can safely drop > the depedencies for HAS_DMA and ARCH_HAS_DMA_OPS. > > Signed-off-by: Jason Wang <jasow...@redhat.com>
This should be at the end of the series that makes VDUSE not depend on DMA, isn't it? Or am I missing something? Anyway, Acked-by: Eugenio Pérez <epere...@redhat.com> Thanks! > --- > drivers/vdpa/Kconfig | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig > index 559fb9d3271f..857cf288c876 100644 > --- a/drivers/vdpa/Kconfig > +++ b/drivers/vdpa/Kconfig > @@ -34,13 +34,7 @@ config VDPA_SIM_BLOCK > > config VDPA_USER > tristate "VDUSE (vDPA Device in Userspace) support" > - depends on EVENTFD && MMU && HAS_DMA > - # > - # This driver incorrectly tries to override the dma_ops. It should > - # never have done that, but for now keep it working on architectures > - # that use dma ops > - # > - depends on ARCH_HAS_DMA_OPS > + depends on EVENTFD && MMU > select VHOST_IOTLB > select IOMMU_IOVA > help > -- > 2.47.3 >