[PATCH 1/4] iommu: Introduce cache_invalidate API

2019-09-18 Thread Jacob Pan
From: Yi L Liu In any virtualization use case, when the first translation stage is "owned" by the guest OS, the host IOMMU driver has no knowledge of caching structure updates unless the guest invalidation activities are trapped by the virtualizer and passed down to the host. Since the invalidat

Re: [PATCH 1/4] iommu: Introduce cache_invalidate API

2019-09-20 Thread Jean-Philippe Brucker
On Wed, Sep 18, 2019 at 04:26:31PM -0700, Jacob Pan wrote: > From: Yi L Liu > > In any virtualization use case, when the first translation stage > is "owned" by the guest OS, the host IOMMU driver has no knowledge > of caching structure updates unless the guest invalidation activities > are trapp