Re: [PATCH v9 2/2] vhost-vdpa: add support for vIOMMU

2022-10-31 Thread Michael S. Tsirkin
On Mon, Oct 31, 2022 at 08:56:22PM +0800, Cindy Lu wrote: > On Mon, 31 Oct 2022 at 16:30, Cindy Lu wrote: > > > > On Mon, 31 Oct 2022 at 15:20, Michael S. Tsirkin wrote: > > > > > > On Mon, Oct 31, 2022 at 03:15:14PM +0800, Cindy Lu wrote: > > > > , > > > > > > > > > > > > On Mon, 31 Oct 2022 at

Re: [PATCH v9 2/2] vhost-vdpa: add support for vIOMMU

2022-10-31 Thread Cindy Lu
On Mon, 31 Oct 2022 at 16:30, Cindy Lu wrote: > > On Mon, 31 Oct 2022 at 15:20, Michael S. Tsirkin wrote: > > > > On Mon, Oct 31, 2022 at 03:15:14PM +0800, Cindy Lu wrote: > > > , > > > > > > > > > On Mon, 31 Oct 2022 at 15:04, Michael S. Tsirkin wrote: > > > > > > > > On Mon, Oct 31, 2022 at

Re: [PATCH v9 2/2] vhost-vdpa: add support for vIOMMU

2022-10-31 Thread Cindy Lu
On Mon, 31 Oct 2022 at 15:20, Michael S. Tsirkin wrote: > > On Mon, Oct 31, 2022 at 03:15:14PM +0800, Cindy Lu wrote: > > , > > > > > > On Mon, 31 Oct 2022 at 15:04, Michael S. Tsirkin wrote: > > > > > > On Mon, Oct 31, 2022 at 11:10:20AM +0800, Cindy Lu wrote: > > > > Add support for vIOMMU.

Re: [PATCH v9 2/2] vhost-vdpa: add support for vIOMMU

2022-10-31 Thread Michael S. Tsirkin
On Mon, Oct 31, 2022 at 03:15:14PM +0800, Cindy Lu wrote: > , > > > On Mon, 31 Oct 2022 at 15:04, Michael S. Tsirkin wrote: > > > > On Mon, Oct 31, 2022 at 11:10:20AM +0800, Cindy Lu wrote: > > > Add support for vIOMMU. add the new function to deal with iommu MR. > > > - during iommu_region_add

Re: [PATCH v9 2/2] vhost-vdpa: add support for vIOMMU

2022-10-31 Thread Cindy Lu
, On Mon, 31 Oct 2022 at 15:04, Michael S. Tsirkin wrote: > > On Mon, Oct 31, 2022 at 11:10:20AM +0800, Cindy Lu wrote: > > Add support for vIOMMU. add the new function to deal with iommu MR. > > - during iommu_region_add register a specific IOMMU notifier, > > and store all notifiers in a

Re: [PATCH v9 2/2] vhost-vdpa: add support for vIOMMU

2022-10-31 Thread Michael S. Tsirkin
On Mon, Oct 31, 2022 at 11:10:20AM +0800, Cindy Lu wrote: > Add support for vIOMMU. add the new function to deal with iommu MR. > - during iommu_region_add register a specific IOMMU notifier, > and store all notifiers in a list. > - during iommu_region_del, compare and delete the IOMMU notifier

[PATCH v9 2/2] vhost-vdpa: add support for vIOMMU

2022-10-30 Thread Cindy Lu
Add support for vIOMMU. add the new function to deal with iommu MR. - during iommu_region_add register a specific IOMMU notifier, and store all notifiers in a list. - during iommu_region_del, compare and delete the IOMMU notifier from the list Verified in vp_vdpa and vdpa_sim_net driver