1. 15 Mar, 2016 10 commits
    • Bjorn Helgaas's avatar
      Merge branch 'pci/resource' into next · 6e6f498b
      Bjorn Helgaas authored
      * pci/resource:
        PCI: Simplify pci_create_attr() control flow
        PCI: Don't leak memory if sysfs_create_bin_file() fails
        PCI: Simplify sysfs ROM cleanup
        PCI: Remove unused IORESOURCE_ROM_COPY and IORESOURCE_ROM_BIOS_COPY
        MIPS: Loongson 3: Keep CPU physical (not virtual) addresses in shadow ROM resource
        MIPS: Loongson 3: Use temporary struct resource * to avoid repetition
        ia64/PCI: Keep CPU physical (not virtual) addresses in shadow ROM resource
        ia64/PCI: Use ioremap() instead of open-coded equivalent
        ia64/PCI: Use temporary struct resource * to avoid repetition
        PCI: Clean up pci_map_rom() whitespace
        PCI: Remove arch-specific IORESOURCE_ROM_SHADOW size from sysfs
        PCI: Set ROM shadow location in arch code, not in PCI core
        PCI: Don't enable/disable ROM BAR if we're using a RAM shadow copy
        PCI: Don't assign or reassign immutable resources
        PCI: Mark shadow copy of VGA ROM as IORESOURCE_PCI_FIXED
        x86/PCI: Mark Broadwell-EP Home Agent & PCU as having non-compliant BARs
        PCI: Disable IO/MEM decoding for devices with non-compliant BARs
      6e6f498b
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-hv' into next · cfeb8139
      Bjorn Helgaas authored
      * pci/host-hv:
        PCI: hv: Add paravirtual PCI front-end for Microsoft Hyper-V VMs
        PCI: Look up IRQ domain by fwnode_handle
        PCI: Add fwnode_handle to x86 pci_sysdata
      cfeb8139
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-designware' into next · 562df5c8
      Bjorn Helgaas authored
      * pci/host-designware:
        PCI: designware: Add driver for prototyping kits based on ARC SDP
        PCI: designware: Add default link up check if sub-driver doesn't override
        PCI: designware: Add generic dw_pcie_wait_for_link()
        ARC: Add PCI support
      562df5c8
    • Bjorn Helgaas's avatar
      Merge branches 'pci/host-altera', 'pci/host-imx6', 'pci/host-keystone',... · c334f9c8
      Bjorn Helgaas authored
      Merge branches 'pci/host-altera', 'pci/host-imx6', 'pci/host-keystone', 'pci/host-rcar', 'pci/host-tegra', 'pci/host-thunder', 'pci/host-vmd', 'pci/host-xilinx' and 'pci/host-xilinx-nwl' into next
      
      * pci/host-altera:
        PCI: altera: Fix altera_pcie_link_is_up()
      
      * pci/host-imx6:
        PCI: imx6: Add DT bindings to configure PHY Tx driver settings
      
      * pci/host-keystone:
        PCI: keystone: Defer probing if devm_phy_get() returns -EPROBE_DEFER
      
      * pci/host-rcar:
        PCI: rcar: Depend on ARCH_RENESAS, not ARCH_SHMOBILE
      
      * pci/host-tegra:
        PCI: tegra: Remove misleading PHYS_OFFSET
        PCI: tegra: Track bus -> CPU mapping
        PCI: tegra: Remove unused struct tegra_pcie.num_ports field
        PCI: tegra: Implement ->{add,remove}_bus() callbacks
        PCI: Add pci_ops.{add,remove}_bus() callbacks
      
      * pci/host-thunder:
        PCI: thunder: Add driver for ThunderX-pass{1,2} on-chip devices
        PCI: thunder: Add PCIe host driver for ThunderX processors
        PCI: generic: Expose pci_host_common_probe() for use by other drivers
        PCI: generic: Add pci_host_common_probe(), based on gen_pci_probe()
        PCI: generic: Move structure definitions to separate header file
      
      * pci/host-vmd:
        x86/PCI: VMD: Attach VMD resources to parent domain's resource tree
        x86/PCI: VMD: Set bus resource start to 0
        x86/PCI: VMD: Document code for maintainability
      
      * pci/host-xilinx:
        microblaze/PCI: Support generic Xilinx AXI PCIe Host Bridge IP driver
        PCI: xilinx: Update Zynq binding with Microblaze node
        PCI: xilinx: Don't call pci_fixup_irqs() on Microblaze
        PCI: xilinx: Remove dependency on ARM-specific struct hw_pci
        PCI: xilinx: Use of_pci_get_host_bridge_resources() to parse DT
      
      * pci/host-xilinx-nwl:
        PCI: xilinx-nwl: Add support for Xilinx NWL PCIe Host Controller
      c334f9c8
    • Bjorn Helgaas's avatar
      Merge branches 'pci/aer', 'pci/enumeration', 'pci/kconfig', 'pci/misc',... · 18e5e691
      Bjorn Helgaas authored
      Merge branches 'pci/aer', 'pci/enumeration', 'pci/kconfig', 'pci/misc', 'pci/virtualization' and 'pci/vpd' into next
      
      * pci/aer:
        PCI/AER: Log aer_inject error injections
        PCI/AER: Log actual error causes in aer_inject
        PCI/AER: Use dev_warn() in aer_inject
        PCI/AER: Fix aer_inject error codes
      
      * pci/enumeration:
        PCI: Fix broken URL for Dell biosdevname
      
      * pci/kconfig:
        PCI: Cleanup pci/pcie/Kconfig whitespace
        PCI: Include pci/hotplug Kconfig directly from pci/Kconfig
        PCI: Include pci/pcie/Kconfig directly from pci/Kconfig
      
      * pci/misc:
        PCI: Add PCI_CLASS_SERIAL_USB_DEVICE definition
        PCI: Add QEMU top-level IDs for (sub)vendor & device
        unicore32: Remove unused HAVE_ARCH_PCI_SET_DMA_MASK definition
        PCI: Consolidate PCI DMA constants and interfaces in linux/pci-dma-compat.h
        PCI: Move pci_dma_* helpers to common code
        frv/PCI: Remove stray pci_{alloc,free}_consistent() declaration
      
      * pci/virtualization:
        PCI: Wait for up to 1000ms after FLR reset
        PCI: Support SR-IOV on any function type
      
      * pci/vpd:
        PCI: Prevent VPD access for buggy devices
        PCI: Sleep rather than busy-wait for VPD access completion
        PCI: Fold struct pci_vpd_pci22 into struct pci_vpd
        PCI: Rename VPD symbols to remove unnecessary "pci22"
        PCI: Remove struct pci_vpd_ops.release function pointer
        PCI: Move pci_vpd_release() from header file to pci/access.c
        PCI: Move pci_read_vpd() and pci_write_vpd() close to other VPD code
        PCI: Determine actual VPD size on first access
        PCI: Use bitfield instead of bool for struct pci_vpd_pci22.busy
        PCI: Allow access to VPD attributes with size 0
        PCI: Update VPD definitions
      18e5e691
    • Heikki Krogerus's avatar
      PCI: Add PCI_CLASS_SERIAL_USB_DEVICE definition · 7b78f48a
      Heikki Krogerus authored
      PCI-SIG has defined Interface FEh for Base Class 0Ch, Sub-Class 03h as "USB
      Device (not host controller)".  It is already being used in various USB
      device controller drivers for matching, so add PCI_CLASS_SERIAL_USB_DEVICE
      and use it.
      Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      7b78f48a
    • Joao Pinto's avatar
      PCI: designware: Add driver for prototyping kits based on ARC SDP · 5a3aa2a8
      Joao Pinto authored
      Add a reference platform driver for PCI RC IP Protoyping Kits based on the
      ARC SDP.
      
      [bhelgaas: changelog, split patch up, MAINTAINERS update]
      Signed-off-by: default avatarJoao Pinto <jpinto@synopsys.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Acked-by: default avatarPratyush Anand <pratyush.anand@gmail.com>
      5a3aa2a8
    • Joao Pinto's avatar
      PCI: designware: Add default link up check if sub-driver doesn't override · dac29e6c
      Joao Pinto authored
      Add a default DesignWare "link_up" test for use when a sub-driver doesn't
      supply its own pcie_host_ops.link_up() method.
      
      [bhelgaas: changelog, split into its own patch]
      Signed-off-by: default avatarJoao Pinto <jpinto@synopsys.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Acked-by: default avatarPratyush Anand <pratyush.anand@gmail.com>
      dac29e6c
    • Joao Pinto's avatar
      PCI: designware: Add generic dw_pcie_wait_for_link() · 886bc5ce
      Joao Pinto authored
      Several DesignWare-based drivers (dra7xx, exynos, imx6, keystone, qcom, and
      spear13xx) had similar loops waiting for the link to come up.
      
      Add a generic dw_pcie_wait_for_link() for use by all these drivers so the
      waiting is done consistently, e.g., always using usleep_range() rather than
      mdelay() and using similar timeouts and retry counts.
      
      Note that this changes the Keystone link training/wait for link strategy,
      so we initiate link training, then wait longer for the link to come up
      before re-initiating link training.
      
      [bhelgaas: changelog, split into its own patch, update pci-keystone.c, pcie-qcom.c]
      Signed-off-by: default avatarJoao Pinto <jpinto@synopsys.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Acked-by: default avatarPratyush Anand <pratyush.anand@gmail.com>
      886bc5ce
    • Andreas Ziegler's avatar
      PCI: Cleanup pci/pcie/Kconfig whitespace · cc73176c
      Andreas Ziegler authored
      Clean up style issues in drivers/pci/pcie/Kconfig, in particular all
      indentation is now done using tabs, not spaces, and the definition of
      PCIEASPM_DEBUG is now separated from the definition of PCIEASPM with a
      newline.
      Signed-off-by: default avatarAndreas Ziegler <andreas.ziegler@fau.de>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      cc73176c
  2. 12 Mar, 2016 11 commits
  3. 11 Mar, 2016 9 commits
  4. 10 Mar, 2016 7 commits
  5. 09 Mar, 2016 1 commit
  6. 08 Mar, 2016 2 commits