1. Apr 05, 2018
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/xgene' · d2f48c5d
      Bjorn Helgaas authored
      * lorenzo/pci/xgene:
        PCI: xgene: Fix the xgene_msi_probe() return code
      d2f48c5d
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/tegra' · 34fe07b1
      Bjorn Helgaas authored
      * lorenzo/pci/tegra:
        PCI: tegra: Add power management support
        PCI: tegra: Add loadable kernel module support
        PCI: tegra: Free resources on probe failure
      34fe07b1
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/rcar' · df25d407
      Bjorn Helgaas authored
      * lorenzo/pci/rcar:
        dt-bindings: PCI: rcar: Add device tree support for r8a7743
        PCI: rcar-gen2: Remove duplicated bit-wise or of RCAR_PCI_INT_SIGRETABORT
      df25d407
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/mediatek' · 11ee0905
      Bjorn Helgaas authored
      * lorenzo/pci/mediatek:
        dt-bindings: PCI: MediaTek: fix dtc warnings
      11ee0905
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/hv' · 84d4d6f8
      Bjorn Helgaas authored
      * lorenzo/pci/hv:
        PCI: hv: Only queue new work items in hv_pci_devices_present() if necessary
        PCI: hv: Remove the bogus test in hv_eject_device_work()
        PCI: hv: Fix a comment typo in _hv_pcifront_read_config()
        PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
        PCI: hv: Serialize the present and eject work items
      84d4d6f8
    • Bjorn Helgaas's avatar
      Merge branch '6c994c50' · 74716ff7
      Bjorn Helgaas authored
        - exclude af3c73473d10 ("PCI: Improve host drivers compile test
          coverage") from lorenzo/pci/host/misc to avoid build failure
      
      * commit '6c994c50':
        PCI: v3-semi: Remove unnecessary semicolon
        PCI: rcar: Remove unnecessary semicolon
        PCI: faraday: Make struct faraday_pci_variant static
        PCI: kirin: Make struct kirin_pcie_driver static
        PCI: kirin: Fix missing dependency on PCI_MSI_IRQ_DOMAIN
        PCI: iproc: Remove dependency on ARM specific struct pci_sys_data
        PCI: kirin: Remove unnecessary asm/compiler.h include
        PCI: tegra: Add PCI_MSI_IRQ_DOMAIN kconfig dependency
        PCI: vmd: Fix malformed Kconfig default
      74716ff7
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/endpoint' · 14d8d776
      Bjorn Helgaas authored
      * lorenzo/pci/endpoint:
        misc: pci_endpoint_test: Handle 64-bit BARs properly
        PCI: designware-ep: Make dw_pcie_ep_reset_bar() handle 64-bit BARs properly
        PCI: endpoint: Make sure that BAR_5 does not have 64-bit flag set when clearing
        PCI: endpoint: Make epc->ops->clear_bar()/pci_epc_clear_bar() take struct *epf_bar
        PCI: endpoint: Handle 64-bit BARs properly
        PCI: cadence: Set PCI_BASE_ADDRESS_MEM_TYPE_64 if a 64-bit BAR was set-up
        PCI: designware-ep: Make dw_pcie_ep_set_bar() handle 64-bit BARs properly
        PCI: endpoint: Setting a BAR size > 4 GB is invalid if 64-bit flag is not set
        PCI: endpoint: Setting 64-bit/prefetch bit is invalid when IO is set
        PCI: endpoint: Setting BAR_5 to 64-bits wide is invalid
        PCI: endpoint: Simplify epc->ops->set_bar()/pci_epc_set_bar()
        PCI: endpoint: BAR width should not depend on sizeof dma_addr_t
        PCI: endpoint: Remove goto labels in pci_epf_create()
        PCI: endpoint: Fix kernel panic after put_device()
        PCI: endpoint: Simplify name allocation for EPF device
      14d8d776
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/dwc-msi' · 1ad9a873
      Bjorn Helgaas authored
      * lorenzo/pci/dwc-msi:
        PCI: dwc: Expand maximum number of MSI IRQs from 32 to 256
        PCI: dwc: Remove old MSI IRQs API
        PCI: dwc: Move MSI IRQs allocation to IRQ domains hierarchical API
      1ad9a873
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/dwc' · f3c91098
      Bjorn Helgaas authored
      * lorenzo/pci/dwc:
        PCI: histb: Add an optional regulator for PCIe port power control
        PCI: histb: Fix error path of histb_pcie_host_enable()
        PCI: qcom: Use regulator bulk api for apq8064 supplies
        PCI: qcom: Add missing supplies required for msm8996
        PCI: designware-ep: Fix typo in error message
      f3c91098
    • Bjorn Helgaas's avatar
      Merge branch 'lorenzo/pci/altera' · 248c51d9
      Bjorn Helgaas authored
      * lorenzo/pci/altera:
        PCI: altera: Fix bool initialization in tlp_read_packet()
      248c51d9
    • Bjorn Helgaas's avatar
      Merge branch 'pci/vpd' · c8afd5ef
      Bjorn Helgaas authored
        - consolidate VPD code in vpd.c (Bjorn Helgaas)
      
      * pci/vpd:
        PCI/VPD: Move VPD structures to vpd.c
        PCI/VPD: Move VPD quirks to vpd.c
        PCI/VPD: Move VPD sysfs code to vpd.c
        PCI/VPD: Move VPD access code to vpd.c
      c8afd5ef
    • Bjorn Helgaas's avatar
      Merge branch 'pci/virtualization' · a4b88505
      Bjorn Helgaas authored
        - probe for device reset support during enumeration instead of runtime
          (Bjorn Helgaas)
      
        - add ACS quirk for Ampere (née APM) root ports (Feng Kan)
      
        - add function 1 DMA alias quirk for Marvell 88SE9220 (Thomas
          Vincent-Cross)
      
        - protect device restore with device lock (Sinan Kaya)
      
        - handle failure of FLR gracefully (Sinan Kaya)
      
        - handle CRS (config retry status) after device resets (Sinan Kaya)
      
        - skip various config reads for SR-IOV VFs as an optimization (KarimAllah
          Ahmed)
      
      * pci/virtualization:
        PCI/IOV: Add missing prototypes for powerpc pcibios interfaces
        PCI/IOV: Use VF0 cached config registers for other VFs
        PCI/IOV: Skip BAR sizing for VFs
        PCI/IOV: Skip INTx config reads for VFs
        PCI: Wait for device to become ready after secondary bus reset
        PCI: Add a return type for pci_reset_bridge_secondary_bus()
        PCI: Wait for device to become ready after a power management reset
        PCI: Rename pci_flr_wait() to pci_dev_wait() and make it generic
        PCI: Handle FLR failure and allow other reset types
        PCI: Protect restore with device lock to be consistent
        PCI: Add function 1 DMA alias quirk for Marvell 88SE9220
        PCI: Add ACS quirk for Ampere root ports
        PCI: Remove redundant probes for device reset support
        PCI: Probe for device reset support during enumeration
      
      Conflicts:
      	include/linux/pci.h
      a4b88505
    • Bjorn Helgaas's avatar
      Merge branch 'pci/sparc' · 0eb6de78
      Bjorn Helgaas authored
        - support arbitrary PCI host bridge offsets on sparc (Yinghai Lu)
      
        - remove System and Video ROM reservations on sparc (Bjorn Helgaas)
      
      * pci/sparc:
        sparc/PCI: Stop reserving System ROM and Video ROM in PCI space
        sparc/PCI: Support arbitrary host bridge address offset
      0eb6de78
    • Bjorn Helgaas's avatar
      Merge branch 'pci/resource-mmap' · 1e1b3201
      Bjorn Helgaas authored
        - use generic pci_mmap_resource_range() instead of powerpc and xtensa
          arch-specific versions (David Woodhouse)
      
      * pci/resource-mmap:
        xtensa/PCI: Use generic pci_mmap_resource_range()
        powerpc/pci: Use generic pci_mmap_resource_range()
      1e1b3201
    • Bjorn Helgaas's avatar
      Merge branch 'pci/portdrv' · 64ae499c
      Bjorn Helgaas authored
        - move pcieport_if.h to drivers/pci/pcie/ to encapsulate it (Frederick
          Lawler)
      
        - merge pcieport_if.h into portdrv.h (Bjorn Helgaas)
      
        - move workaround for BIOS PME issue from portdrv to PCI core (Bjorn
          Helgaas)
      
        - completely disable portdrv with "pcie_ports=compat" (Bjorn Helgaas)
      
        - remove portdrv link order dependency (Bjorn Helgaas)
      
        - remove support for unused VC portdrv service (Bjorn Helgaas)
      
        - simplify portdrv feature permission checking (Bjorn Helgaas)
      
        - remove "pcie_hp=nomsi" parameter (use "pci=nomsi" instead) (Bjorn
          Helgaas)
      
        - remove unnecessary "pcie_ports=auto" parameter (Bjorn Helgaas)
      
        - use cached AER capability offset (Frederick Lawler)
      
        - don't enable DPC if BIOS hasn't granted AER control (Mika Westerberg)
      
        - rename pcie-dpc.c to dpc.c (Bjorn Helgaas)
      
      * pci/portdrv:
        PCI/DPC: Rename from pcie-dpc.c to dpc.c
        PCI/DPC: Do not enable DPC if AER control is not allowed by the BIOS
        PCI/AER: Use cached AER Capability offset
        PCI/portdrv: Rename and reverse sense of pcie_ports_auto
        PCI/portdrv: Encapsulate pcie_ports_auto inside the port driver
        PCI/portdrv: Remove unnecessary "pcie_ports=auto" parameter
        PCI/portdrv: Remove "pcie_hp=nomsi" kernel parameter
        PCI/portdrv: Remove unnecessary include of <linux/pci-aspm.h>
        PCI/portdrv: Simplify PCIe feature permission checking
        PCI/portdrv: Remove unused PCIE_PORT_SERVICE_VC
        PCI/portdrv: Remove pcie_port_bus_type link order dependency
        PCI/portdrv: Disable port driver in compat mode
        PCI/PM: Clear PCIe PME Status bit for Root Complex Event Collectors
        PCI/PM: Clear PCIe PME Status bit in core, not PCIe port driver
        PCI/PM: Move pcie_clear_root_pme_status() to core
        PCI/portdrv: Merge pcieport_if.h into portdrv.h
        PCI/portdrv: Move pcieport_if.h to drivers/pci/pcie/
      
      Conflicts:
      	drivers/pci/pcie/Makefile
      	drivers/pci/pcie/portdrv.h
      64ae499c
    • Bjorn Helgaas's avatar
      Merge branch 'pci/msi' · ac30aa59
      Bjorn Helgaas authored
        - don't set up INTx if MSI or MSI-X is enabled to align cris, frv, ia64,
          and mn10300 with x86 (Bjorn Helgaas)
      
      * pci/msi:
        PCI/MSI: Don't set up INTx if MSI or MSI-X is enabled
      ac30aa59
    • Bjorn Helgaas's avatar
      Merge branch 'pci/misc' · 43b90eae
      Bjorn Helgaas authored
        - use PCI_EXP_DEVCTL2_COMP_TIMEOUT in rapidio/tsi721 (Bjorn Helgaas)
      
        - remove possible NULL pointer dereference in of_pci_bus_find_domain_nr()
          (Shawn Lin)
      
        - report quirk timings with dev_info (Bjorn Helgaas)
      
        - report quirks that take longer than 10ms (Bjorn Helgaas)
      
        - add and use Altera Vendor ID (Johannes Thumshirn)
      
        - tidy Makefiles and comments (Bjorn Helgaas)
      
      * pci/misc:
        PCI: Always define the of_node helpers
        PCI: Tidy comments
        PCI: Tidy Makefiles
        mcb: Add Altera PCI ID to mcb-pci
        PCI: Add Altera vendor ID
        PCI: Report quirks that take more than 10ms
        PCI: Report quirk timings with pci_info() instead of pr_debug()
        PCI: Fix NULL pointer dereference in of_pci_bus_find_domain_nr()
        rapidio/tsi721: use PCI_EXP_DEVCTL2_COMP_TIMEOUT macro
      43b90eae
    • Bjorn Helgaas's avatar
      Merge branch 'pci/lpc' · 3da1b617
      Bjorn Helgaas authored
        - add support for PCI I/O port space that's neither directly accessible
          via CPU in/out instructions nor directly mapped into CPU physical
          memory space (Zhichang Yuan)
      
        - add support for HiSilicon Hip06/Hip07 LPC I/O space (Zhichang Yuan,
          John Garry)
      
      * pci/lpc:
        MAINTAINERS: Add John Garry as maintainer for HiSilicon LPC driver
        HISI LPC: Add ACPI support
        ACPI / scan: Do not enumerate Indirect IO host children
        ACPI / scan: Rename acpi_is_serial_bus_slave() for more general use
        HISI LPC: Support the LPC host on Hip06/Hip07 with DT bindings
        of: Add missing I/O range exception for indirect-IO devices
        PCI: Apply the new generic I/O management on PCI IO hosts
        PCI: Add fwnode handler as input param of pci_register_io_range()
        PCI: Remove __weak tag from pci_register_io_range()
        lib: Add generic PIO mapping method
      3da1b617
    • Bjorn Helgaas's avatar
      Merge branch 'pci/hotplug' · a5c6ad78
      Bjorn Helgaas authored
        - fix possible cpqphp NULL pointer dereference (Shawn Lin)
      
        - rescan more of the hierarchy on ACPI hotplug to fix Thunderbolt/xHCI
          hotplug (Mika Westerberg)
      
      * pci/hotplug:
        ACPI / hotplug / PCI: Check presence of slot itself in get_slot_status()
        PCI: cpqphp: Fix possible NULL pointer dereference
      a5c6ad78
    • Bjorn Helgaas's avatar
      Merge branch 'pci/enumeration' · 315271b0
      Bjorn Helgaas authored
        - add decoding for 16 GT/s link speed (Jay Fang)
      
        - add interfaces to get max link speed and width (Tal Gilboa)
      
        - add pcie_bandwidth_capable() to compute max supported link bandwidth
          (Tal Gilboa)
      
        - add pcie_bandwidth_available() to compute bandwidth available to device
          (Tal Gilboa)
      
        - add pcie_print_link_status() to log link speed and whether it's limited
          (Tal Gilboa)
      
        - use PCI core interfaces to report when device performance may be
          limited by its slot instead of doing it in each driver (Tal Gilboa)
      
      * pci/enumeration:
        fm10k: Report PCIe link properties with pcie_print_link_status()
        net/mlx5e: Use pcie_bandwidth_available() to compute bandwidth
        net/mlx5: Report PCIe link properties with pcie_print_link_status()
        net/mlx4_core: Report PCIe link properties with pcie_print_link_status()
        PCI: Add pcie_print_link_status() to log link speed and whether it's limited
        PCI: Add pcie_bandwidth_available() to compute bandwidth available to device
        PCI: Add pcie_bandwidth_capable() to compute max supported link bandwidth
        PCI: Add pcie_get_width_cap() to find max supported link width
        PCI: Add pcie_get_speed_cap() to find max supported link speed
        PCI: Add decoding for 16 GT/s link speed
      315271b0
    • Bjorn Helgaas's avatar
      Merge branch 'pci/deprecate-get-bus-and-slot' · db7a726e
      Bjorn Helgaas authored
        - remove last user of pci_get_bus_and_slot() and the function itself
          (Sinan Kaya)
      
      * pci/deprecate-get-bus-and-slot:
        PCI: Remove pci_get_bus_and_slot() function
        drm/i915: Deprecate pci_get_bus_and_slot()
      db7a726e
    • Bjorn Helgaas's avatar
      Merge branch 'pci/aspm' · 09baca98
      Bjorn Helgaas authored
        - skip ASPM common clock warning if BIOS already configured it (Sinan
          Kaya)
      
        - fix ASPM Coverity warning about threshold_ns (Gustavo A. R. Silva)
      
      * pci/aspm:
        PCI/ASPM: Don't warn if already in common clock mode
        PCI/ASPM: Declare threshold_ns as u32, not u64
      09baca98
    • Bjorn Helgaas's avatar
      Merge branch 'pci/aer' · 63d5ce5f
      Bjorn Helgaas authored
        - move pci_uevent_ers() out of pci.h (Michael Ellerman)
      
      * pci/aer:
        PCI/AER: Move pci_uevent_ers() out of pci.h
      63d5ce5f
  2. Apr 04, 2018
  3. Apr 03, 2018