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 <kevin.tian@xxxxxxxxx> > Cc: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx> > Cc: Peter Xu <peterx@xxxxxxxxxx> > Cc: Eric Auger <eric.auger@xxxxxxxxxx> > Cc: Yi Sun <yi.y.sun@xxxxxxxxxxxxxxx> > Cc: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> > Cc: Alex Williamson <alex.williamson@xxxxxxxxxx> > Signed-off-by: Liu Yi L <yi.l.liu@xxxxxxxxx> Acked-by: Peter Xu <peterx@xxxxxxxxxx> -- Peter Xu