qemu-patch-raspberry4/include/hw/pci
Pavel Fedin 38d40ff10f Add stream ID to MSI write
GICv3 ITS distinguishes between devices by using hardwired device IDs passed on the bus.
This patch implements passing these IDs in qemu.
SMMU is also known to use stream IDs, therefore this addition can also be useful for
implementing platforms with SMMU.

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>

 Changes from v1:
- Added bus number to the stream ID
- Added stream ID not only to MSI-X, but also to plain MSI. Some common code was made into
msi_send_message() function.
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-05-31 20:29:02 +02:00
..
msi.h Add stream ID to MSI write 2015-05-31 20:29:02 +02:00
msix.h pci: add VMSTATE_MSIX 2013-06-03 11:37:44 +02:00
pci.h pci: add rocker device ID 2015-05-11 14:49:04 +01:00
pci_bridge.h pci-bridge: update mappings for migration/restore 2013-07-10 12:49:26 +03:00
pci_bus.h hw/pci: switch to a generic hotplug handling for PCIDevice 2014-02-10 10:27:00 +02:00
pci_host.h pci: Fold host_buses list into PCIHostState functionality 2013-07-07 23:10:57 +03:00
pci_ids.h pci: add network device class 'other' for network switches 2015-05-11 14:49:04 +01:00
pci_regs.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie.h qdev: HotplugHandler: Rename unplug callback to unplug_request 2014-10-15 05:03:13 +02:00
pcie_aer.h pci: fix several trivial typos in comment 2015-03-18 12:19:16 +01:00
pcie_host.h pci: Split pcie_host_mmcfg_map() 2015-01-26 20:25:52 +02:00
pcie_port.h pcie_port: Turn PCIEPort and PCIESlot into abstract QOM types 2013-07-29 20:45:24 +02:00
pcie_regs.h Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
shpc.h pci: split shpc_cleanup and shpc_free 2015-02-16 17:30:14 +01:00
slotid_cap.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00