On Fri, Oct 21, 2016 at 03:14:00PM +0800, Jason Wang wrote:
>
>
>On 2016年10月17日 23:44, Aviv B.D wrote:
> >From: "Aviv Ben-David"<address@hidden>
> >
> >This capability asks the guest to invalidate cache before each map operation.
> >We can use this invalidation to trap map operations in the hypervisor.
> >
> >Signed-off-by: Aviv Ben-David<address@hidden>
> >---
> > hw/i386/intel_iommu.c | 5 +++++
> > hw/i386/intel_iommu_internal.h | 1 +
> > include/hw/i386/intel_iommu.h | 2 ++
> > 3 files changed, 8 insertions(+)
>
>As I asked in previous version, this may not be sufficient.
>
>CM requires to cache fault translations which is not implemented in this
>patch.
I'm not sure why would there be a requirement to cache
fault information. Cache can always be invalidated for
any reason, in particular an empty cache is always OK.