[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] pci_bridge: Fixup/Cleanup bridge map_irq functi
From: |
Alex Williamson |
Subject: |
[Qemu-devel] [PATCH 0/2] pci_bridge: Fixup/Cleanup bridge map_irq functions |
Date: |
Thu, 07 Mar 2013 16:16:48 -0700 |
User-agent: |
StGit/0.16 |
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(-)