Bharat Bhushan 3016dca06c PPC: e500: implement PCI INTx routing
This patch adds pci pin to irq_num routing callback.
This callback is called from pci_device_route_intx_to_irq to
find which pci device maps to which irq.
This fix is required for pci-device passthrough using vfio.

Also without this patch we gets below prints

"
  PCI: Bug - unimplemented PCI INTx routing (e500-pcihost)
  qemu-system-ppc64: PCI: Bug - unimplemented PCI INTx routing (e500-pcihost) "

and Legacy interrupt does not work with pci device passthrough.

Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
[agraf: remove double semicolon]
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-06-16 13:24:34 +02:00
..
2014-06-05 21:52:37 +01:00
2014-05-28 17:36:21 +02:00
2014-05-30 13:10:07 -06:00
2014-06-16 13:24:26 +02:00
2014-06-16 13:24:26 +02:00
2014-06-16 13:24:34 +02:00
2014-06-10 09:50:27 +02:00
2014-05-28 17:36:21 +02:00
2014-06-11 00:25:06 +01:00