diff options
| author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2012-08-07 16:10:37 +0000 |
|---|---|---|
| committer | Alexander Graf <agraf@suse.de> | 2012-08-15 19:43:16 +0200 |
| commit | 0ee2c058a3fe485b8901186179102e251a33d082 (patch) | |
| tree | acc8e7fb4ba8901e8d5aa3868aa4a88cc123082d /hw/usb/host-linux.c | |
| parent | a2950fb6e795e3e10fed35d347a7aa28a44be2ff (diff) | |
| download | focaccia-qemu-0ee2c058a3fe485b8901186179102e251a33d082.tar.gz focaccia-qemu-0ee2c058a3fe485b8901186179102e251a33d082.zip | |
pseries: Add PCI MSI/MSI-X support
This patch implements MSI and MSI-X support for the pseries PCI host bridge. To do this it adds: * A "config_space_address to msi_table" map, since the MSI RTAS calls take a PCI config space address as an identifier. * A MSIX memory region to catch msi_notify()/msix_notiry() from virtio-pci and pass them to the guest via qemu_irq_pulse(). * RTAS call "ibm,change-msi" which sets up MSI vectors for a device. Note that this call may configure and return lesser number of vectors than requested. * RTAS call "ibm,query-interrupt-source-number" which translates MSI vector to interrupt controller (XICS) IRQ number. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [agraf: fix error case ndev < 0] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/usb/host-linux.c')
0 files changed, 0 insertions, 0 deletions