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: NBharat Bhushan <Bharat.Bhushan@freescale.com> Acked-by: NMichael S. Tsirkin <mst@redhat.com> [agraf: remove double semicolon] Signed-off-by: NAlexander Graf <agraf@suse.de>
Showing
想要评论请 注册 或 登录