Re: [Qemu-devel] [RFC PATCH 12/13] intel_iommu: do replay when context invalidate

2016-12-29 Thread Liu, Yi L
gnu.org' <qemu-devel@nongnu.org>; 'bd.a...@gmail.com' > <bd.a...@gmail.com> > Subject: Re: [Qemu-devel] [RFC PATCH 12/13] intel_iommu: do replay when > context > invalidate > > On Thu, Dec 29, 2016 at 07:38:38AM +, Liu, Yi L wrote: > > > Before this one we o

Re: [Qemu-devel] [RFC PATCH 12/13] intel_iommu: do replay when context invalidate

2016-12-29 Thread Peter Xu
On Thu, Dec 29, 2016 at 07:38:38AM +, Liu, Yi L wrote: > > Before this one we only invalidate context cache when we receive context > > entry invalidations. However it's possible that the invalidation also > > contains a domain switch (only if cache-mode is enabled for vIOMMU). In > > that

Re: [Qemu-devel] [RFC PATCH 12/13] intel_iommu: do replay when context invalidate

2016-12-28 Thread Liu, Yi L
> Before this one we only invalidate context cache when we receive context > entry invalidations. However it's possible that the invalidation also > contains a domain switch (only if cache-mode is enabled for vIOMMU). In > that case we need to notify all the registered components about the new >

[Qemu-devel] [RFC PATCH 12/13] intel_iommu: do replay when context invalidate

2016-12-06 Thread Peter Xu
Before this one we only invalidate context cache when we receive context entry invalidations. However it's possible that the invalidation also contains a domain switch (only if cache-mode is enabled for vIOMMU). In that case we need to notify all the registered components about the new mapping.