Re: [PATCH v12 0/1] vhost-vdpa: add support for vIOMMU

2022-12-20 Thread Cindy Lu
On Tue, 20 Dec 2022 at 22:33, Michael S. Tsirkin wrote: > > On Fri, Dec 09, 2022 at 09:08:04PM +0800, Cindy Lu wrote: > > These patches are to support vIOMMU in vdpa device > > Verified in vp_vdpa/vdpa_sim_net driverand intel_iommu > > virtio-iommu device > > Pls address comments and repost. > Hi

Re: [PATCH v12 0/1] vhost-vdpa: add support for vIOMMU

2022-12-20 Thread Michael S. Tsirkin
On Fri, Dec 09, 2022 at 09:08:04PM +0800, Cindy Lu wrote: > These patches are to support vIOMMU in vdpa device > Verified in vp_vdpa/vdpa_sim_net driverand intel_iommu > virtio-iommu device Pls address comments and repost. > changes in V3 > 1. Move function vfio_get_xlat_addr to memory.c > 2. Use

[PATCH v12 0/1] vhost-vdpa: add support for vIOMMU

2022-12-09 Thread Cindy Lu
These patches are to support vIOMMU in vdpa device Verified in vp_vdpa/vdpa_sim_net driverand intel_iommu virtio-iommu device changes in V3 1. Move function vfio_get_xlat_addr to memory.c 2. Use the existing memory listener, while the MR is iommu MR then call the function iommu_region_add/ iommu_r