1. 22 Jun, 2012 17 commits
  2. 20 Jun, 2012 7 commits
  3. 18 Jun, 2012 5 commits
  4. 16 Jun, 2012 4 commits
  5. 15 Jun, 2012 1 commit
  6. 13 Jun, 2012 6 commits
    • Bjorn Helgaas's avatar
      Merge branch 'topic/alex-vfio-prep' into next · cc2fa3fa
      Bjorn Helgaas authored
      * topic/alex-vfio-prep:
        PCI: misc pci_reg additions
        PCI: create common pcibios_err_to_errno
        PCI: export pci_user functions for use by other drivers
        PCI: add ACS validation utility
        PCI: add PCI DMA source ID quirk
      cc2fa3fa
    • Bjorn Helgaas's avatar
      Merge branch 'topic/bjorn-remove-unused' into next · 10c48093
      Bjorn Helgaas authored
      * topic/bjorn-remove-unused:
        PCI/AER: use pci_is_pcie() instead of obsolete pci_dev.is_pcie
        PCI: remove pci_max_busnr() (was already commented out)
        PCI: remove pci_bus_find_ext_capability() (unused)
      10c48093
    • Bjorn Helgaas's avatar
      Merge branch 'topic/kong-acpiphp-remove' into next · a187177a
      Bjorn Helgaas authored
      * topic/kong-acpiphp-remove:
        PCI: acpiphp: remove all functions in slot, even without ACPI _EJx
        PCI: acpiphp: fix function 0 leak when disabling a slot
      a187177a
    • Bjorn Helgaas's avatar
      Merge branch 'topic/yinghai-busn-alloc' into next · 4d17e851
      Bjorn Helgaas authored
      * topic/yinghai-busn-alloc: (33 commits)
        PCI: hotplug: remove pci_do_scan_bus()
        PCI: sgihp: use generic pci_hp_add_bridge()
        PCI: ibmhp: use generic pci_hp_add_bridge()
        PCI: cpqhp: use generic pci_hp_add_bridge()
        PCI: shpchp: use generic pci_hp_add_bridge()
        PCI: cpci_hotplug: use generic pci_hp_add_bridge()
        PCI: pciehp: use generic pci_hp_add_bridge()
        PCI: add generic pci_hp_add_bridge()
        PCI: sgihp: register busn_res
        PCI: ibmhp: register busn_res
        PCI: cpqhp: register busn_res
        PCI: shpchp: register busn_res
        PCI: cpci_hotplug: register busn_res
        PCI: insert busn_res for child bus
        PCI: register busn_res for iov bus
        tile/PCI: use pci_scan_root_bus instead pci_scan_bus
        parisc/PCI: register busn_res for root buses
        powerpc/PCI: register busn_res for root buses
        sparc/PCI: register busn_res for root buses
        ia64/PCI: register busn_res for root buses
        ...
      4d17e851
    • Amos Kong's avatar
      PCI: acpiphp: remove all functions in slot, even without ACPI _EJx · ce29ca3e
      Amos Kong authored
      When we add a device with acpiphp, we enumerate all functions in the
      slot with pci_scan_slot(), regardless of whether they have associated
      ACPI methods such as _EJ0.
      
      When removing the device, we previously removed only the functions
      with those ACPI methods.  This patch makes the remove symmetric with the
      add: we remove all functions in the slot, whether they have associated
      ACPI methods or not.
      
      With qemu-kvm and SeaBIOS, we can build a multi-function device where
      only function 0 has _EJ0 and _ADR (see bugzilla below).  Removing and
      re-adding that slot (including all functions of the device) works correctly
      with Windows guests.  This patch makes it also work in Linux guests.
      
      [bhelgaas: restructure loop iteration, pull out of slot->funcs loop]
      Reference: https://bugzilla.kernel.org/show_bug.cgi?id=43219Signed-off-by: default avatarAmos Kong <kongjianjun@gmail.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      ce29ca3e
    • Amos Kong's avatar
      PCI: acpiphp: fix function 0 leak when disabling a slot · 638f2933
      Amos Kong authored
      Previously, we acquired two references to function 0, but only released
      one.
      
      [bhelgaas: split this out from "remove all functions" fix]
      Signed-off-by: default avatarAmos Kong <kongjianjun@gmail.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      638f2933