RE: [PATCH v1 18/22] vfio: add support for flush iommu stage-1 cache

2020-03-25 Thread Liu, Yi L
> From: Peter Xu 
> Sent: Wednesday, March 25, 2020 2:19 AM
> To: Liu, Yi L 
> Subject: Re: [PATCH v1 18/22] vfio: add support for flush iommu stage-1 cache
> 
> On Sun, Mar 22, 2020 at 05:36:15AM -0700, Liu Yi L wrote:
> > This patch adds flush_stage1_cache() definition in HostIOMUContextClass.
> > And adds corresponding implementation in VFIO. This is to expose a way
> > for vIOMMU to flush stage-1 cache in host side since guest owns
> > stage-1 translation structures in dual stage DMA translation configuration.
> >
> > Cc: Kevin Tian 
> > Cc: Jacob Pan 
> > Cc: Peter Xu 
> > Cc: Eric Auger 
> > Cc: Yi Sun 
> > Cc: David Gibson 
> > Cc: Alex Williamson 
> > Signed-off-by: Liu Yi L 
> 
> Acked-by: Peter Xu 

Thanks, Peter.

Regards,
Yi Liu


Re: [PATCH v1 18/22] vfio: add support for flush iommu stage-1 cache

2020-03-24 Thread Peter Xu
On Sun, Mar 22, 2020 at 05:36:15AM -0700, Liu Yi L wrote:
> This patch adds flush_stage1_cache() definition in HostIOMUContextClass.
> And adds corresponding implementation in VFIO. This is to expose a way
> for vIOMMU to flush stage-1 cache in host side since guest owns stage-1
> translation structures in dual stage DMA translation configuration.
> 
> Cc: Kevin Tian 
> Cc: Jacob Pan 
> Cc: Peter Xu 
> Cc: Eric Auger 
> Cc: Yi Sun 
> Cc: David Gibson 
> Cc: Alex Williamson 
> Signed-off-by: Liu Yi L 

Acked-by: Peter Xu 

-- 
Peter Xu