x86-iommu: introduce IEC notifiers
commit02a2cbc872df99205eeafd399f01c210e0b797c4
authorPeter Xu <peterx@redhat.com>
Thu, 14 Jul 2016 05:56:26 +0000 (14 13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Jul 2016 17:43:49 +0000 (21 20:43 +0300)
tree5bfb6691fc1c0673f4082d2310f693fb19332a89
parent8b5ed7dffa1fa2835a782a8db8d4f3f1f772ada9
x86-iommu: introduce IEC notifiers

This patch introduces x86 IOMMU IEC (Interrupt Entry Cache)
invalidation notifier list. When vIOMMU receives IEC invalidate
request, all the registered units will be notified with specific
invalidation requests.

Intel IOMMU is the first provider that generates such a event.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/intel_iommu.c
hw/i386/intel_iommu_internal.h
hw/i386/trace-events
hw/i386/x86-iommu.c
include/hw/i386/x86-iommu.h