Re: [PATCH v2] vhost-vdpa: add support for vIOMMU

2022-10-23 Thread Cindy Lu
On Thu, 20 Oct 2022 at 10:15, Jason Wang wrote: > > On Wed, Oct 19, 2022 at 2:39 PM Cindy Lu wrote: > > > > Add support for vIOMMU. Register a memory listener to dma_as in > > dev_start > > - during region_add register a specific IOMMU notifier, and store all > > notifiers in a list. > > - durin

Re: [PATCH v2] vhost-vdpa: add support for vIOMMU

2022-10-23 Thread Cindy Lu
On Mon, 24 Oct 2022 at 09:51, Jason Wang wrote: > > On Sun, Oct 23, 2022 at 10:46 PM Cindy Lu wrote: > > > > On Thu, 20 Oct 2022 at 10:15, Jason Wang wrote: > > > > > > On Wed, Oct 19, 2022 at 2:39 PM Cindy Lu wrote: > > > > > > > > Add support for vIOMMU. Register a memory listener to dma_as i

Re: [PATCH v2] vhost-vdpa: add support for vIOMMU

2022-10-23 Thread Jason Wang
On Sun, Oct 23, 2022 at 10:46 PM Cindy Lu wrote: > > On Thu, 20 Oct 2022 at 10:15, Jason Wang wrote: > > > > On Wed, Oct 19, 2022 at 2:39 PM Cindy Lu wrote: > > > > > > Add support for vIOMMU. Register a memory listener to dma_as in > > > dev_start > > > - during region_add register a specific I

Re: [PATCH v2] vhost-vdpa: add support for vIOMMU

2022-10-19 Thread Jason Wang
On Wed, Oct 19, 2022 at 2:39 PM Cindy Lu wrote: > > Add support for vIOMMU. Register a memory listener to dma_as in > dev_start > - during region_add register a specific IOMMU notifier, and store all > notifiers in a list. > - during region_del, compare and delete the IOMMU notifier from the list

[PATCH v2] vhost-vdpa: add support for vIOMMU

2022-10-18 Thread Cindy Lu
Add support for vIOMMU. Register a memory listener to dma_as in dev_start - during region_add register a specific IOMMU notifier, and store all notifiers in a list. - during region_del, compare and delete the IOMMU notifier from the list Verified in vp_vdpa and vdpa_sim_net driver Signed-off-by: