qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] pci_bridge: Fixup/Cleanup bridge map_irq functions
@ 2013-03-07 23:16 Alex Williamson
  2013-03-07 23:16 ` [Qemu-devel] [PATCH 1/2] pci_bridge: Use a default map_irq function Alex Williamson
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Alex Williamson @ 2013-03-07 23:16 UTC (permalink / raw)
  To: mst; +Cc: qemu-devel

Rather than have everyone call pci_bridge_map_irq() themselves and
come up with incorrect mapping functions let's use the default PCI
defined swizzle function unless told otherwise.  Then we can also
clean out the duplicate function in pci_bridge_dev.  Tested with an
assigned device behind a PCIe switch behind a PCIe root port at
addresses 0-3.  Note that Linux requires the pci=pcie_scan_all boot
option to find devices behind PCIe ports if not addr=0.0.  Windows
finds them but won't use them (code 10).

This replaces the ioh3420 & xio3130 upstream/downstream patches.
Thanks,

Alex

---

Alex Williamson (2):
      pci_bridge: Use a default map_irq function
      pci_bridge: Remove duplicate IRQ swizzle function


 hw/pci/pci_bridge.c |    2 +-
 hw/pci_bridge_dev.c |    9 ---------
 2 files changed, 1 insertion(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-03-10 20:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07 23:16 [Qemu-devel] [PATCH 0/2] pci_bridge: Fixup/Cleanup bridge map_irq functions Alex Williamson
2013-03-07 23:16 ` [Qemu-devel] [PATCH 1/2] pci_bridge: Use a default map_irq function Alex Williamson
2013-03-07 23:17 ` [Qemu-devel] [PATCH 2/2] pci_bridge: Remove duplicate IRQ swizzle function Alex Williamson
2013-03-10 16:16 ` [Qemu-devel] [PATCH 0/2] pci_bridge: Fixup/Cleanup bridge map_irq functions Michael S. Tsirkin
2013-03-10 18:13   ` Alex Williamson
2013-03-10 18:15     ` Alex Williamson
2013-03-10 20:31       ` Michael S. Tsirkin
2013-03-10 20:29     ` Michael S. Tsirkin
2013-03-10 16:17 ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).