qemu-patch-raspberry4/include/hw/i386
Peter Xu e3d9c92507 ioapic: register IOMMU IEC notifier for ioapic
Let IOAPIC the first consumer of x86 IOMMU IEC invalidation
notifiers. This is only used for split irqchip case, when vIOMMU
receives IR invalidation requests, IOAPIC will be notified to update
kernel irq routes. For simplicity, we just update all IOAPIC routes,
even if the invalidated entries are not IOAPIC ones.

Since now we are creating IOMMUs using "-device" parameter, IOMMU
device will be created after IOAPIC.  We need to do the registration
after machine done by leveraging machine_done notifier.

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>
2016-07-21 20:43:49 +03:00
..
apic-msidef.h q35: ioapic: add support for emulated IOAPIC IR 2016-07-21 20:43:49 +03:00
apic.h apic: move target-dependent definitions to cpu.h 2016-05-19 16:42:28 +02:00
apic_internal.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
ich9.h ich9: implement SCI_IRQ_SEL register 2016-06-29 14:03:48 +02:00
intel_iommu.h intel_iommu: add support for split irqchip 2016-07-21 20:43:49 +03:00
ioapic.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
ioapic_internal.h ioapic: register IOMMU IEC notifier for ioapic 2016-07-21 20:43:49 +03:00
pc.h q35: ioapic: add support for emulated IOAPIC IR 2016-07-21 20:43:49 +03:00
topology.h include: Clean up includes 2016-02-23 12:43:05 +00:00
x86-iommu.h x86-iommu: introduce IEC notifiers 2016-07-21 20:43:49 +03:00