Re: [Qemu-devel] [PATCH v5 15/18] intel_iommu: introduce IEC notifiers

2016-04-28 Thread Peter Xu
On Thu, Apr 28, 2016 at 06:56:05PM +0300, David Kiarie wrote: [...] > I think AMD IOMMU could be a benefit greatly from the Intel IOMMU > cache implementation. There could be a few differences but I think > much of the code could be reused. The thing is, AMD IOMMU spec doesn't > mention anything

Re: [Qemu-devel] [PATCH v5 15/18] intel_iommu: introduce IEC notifiers

2016-04-28 Thread David Kiarie
On Thu, Apr 28, 2016 at 11:49 AM, Peter Xu wrote: > On Thu, Apr 28, 2016 at 10:36:19AM +0200, Jan Kiszka wrote: >> On 2016-04-28 10:29, Peter Xu wrote: >> > On Thu, Apr 28, 2016 at 09:26:01AM +0200, Jan Kiszka wrote: >> >> On 2016-04-28 09:05, Peter Xu wrote: >> >>> This patch

Re: [Qemu-devel] [PATCH v5 15/18] intel_iommu: introduce IEC notifiers

2016-04-28 Thread Peter Xu
On Thu, Apr 28, 2016 at 10:36:19AM +0200, Jan Kiszka wrote: > On 2016-04-28 10:29, Peter Xu wrote: > > On Thu, Apr 28, 2016 at 09:26:01AM +0200, Jan Kiszka wrote: > >> On 2016-04-28 09:05, Peter Xu wrote: > >>> This patch introduces Intel VT-d IEC (Interrupt Entry Cache) > >>> invalidation

Re: [Qemu-devel] [PATCH v5 15/18] intel_iommu: introduce IEC notifiers

2016-04-28 Thread Jan Kiszka
On 2016-04-28 10:29, Peter Xu wrote: > On Thu, Apr 28, 2016 at 09:26:01AM +0200, Jan Kiszka wrote: >> On 2016-04-28 09:05, Peter Xu wrote: >>> This patch introduces Intel VT-d IEC (Interrupt Entry Cache) >>> invalidation notifier list. When vIOMMU receives IEC invalidate request, >>> all the

Re: [Qemu-devel] [PATCH v5 15/18] intel_iommu: introduce IEC notifiers

2016-04-28 Thread Peter Xu
On Thu, Apr 28, 2016 at 09:26:01AM +0200, Jan Kiszka wrote: > On 2016-04-28 09:05, Peter Xu wrote: > > This patch introduces Intel VT-d IEC (Interrupt Entry Cache) > > invalidation notifier list. When vIOMMU receives IEC invalidate request, > > all the registered units will be notified with

Re: [Qemu-devel] [PATCH v5 15/18] intel_iommu: introduce IEC notifiers

2016-04-28 Thread Jan Kiszka
On 2016-04-28 09:05, Peter Xu wrote: > This patch introduces Intel VT-d IEC (Interrupt Entry Cache) > invalidation notifier list. When vIOMMU receives IEC invalidate request, > all the registered units will be notified with specific invalidation > requests. This should be designed to be

[Qemu-devel] [PATCH v5 15/18] intel_iommu: introduce IEC notifiers

2016-04-28 Thread Peter Xu
This patch introduces Intel VT-d IEC (Interrupt Entry Cache) invalidation notifier list. When vIOMMU receives IEC invalidate request, all the registered units will be notified with specific invalidation requests. Signed-off-by: Peter Xu --- hw/i386/intel_iommu.c | 56