1. 02 Jan, 2019 15 commits
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/uniphier' · cdf4f4dc
      Bjorn Helgaas authored
        - Add UniPhier PCIe controller driver and DT bindings (Kunihiko Hayashi)
      
      * remotes/lorenzo/pci/uniphier:
        PCI: uniphier: Add UniPhier PCIe host controller support
        dt-bindings: PCI: Add UniPhier PCIe host controller description
      
      # Conflicts:
      #	drivers/pci/controller/dwc/Kconfig
      #	drivers/pci/controller/dwc/Makefile
      cdf4f4dc
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/mediatek' · c266b026
      Bjorn Helgaas authored
        - Use devm resource parser in mediatek (Honghui Zhang)
      
        - Remove unused mediatek "num-lanes" DT property (Honghui Zhang)
      
      * remotes/lorenzo/pci/mediatek:
        arm64: dts: mt7622: Remove un-used property for PCIe
        arm: dts: mt7623: Remove un-used property for PCIe
        dt-bindings: PCI: MediaTek: Remove un-used property
        PCI: mediatek: Remove un-used variant in struct mtk_pcie_port
        PCI: mediatek: Use devm_of_pci_get_host_bridge_resources() to parse DT
      c266b026
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/dwc-msi' · c8778707
      Bjorn Helgaas authored
        - Mask DesignWare interrupts instead of disabling them to avoid lost
          interrupts (Marc Zyngier)
      
        - Add locking when acking DesignWare interrupts (Marc Zyngier)
      
        - Ack DesignWare interrupts in the proper callbacks (Marc Zyngier)
      
      * remotes/lorenzo/pci/dwc-msi:
        PCI: dwc: Move interrupt acking into the proper callback
        PCI: dwc: Take lock when ACKing an interrupt
        PCI: dwc: Use interrupt masking instead of disabling
      c8778707
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/dwc' · 6a790bf0
      Bjorn Helgaas authored
        - Constify histb dw_pcie_host_ops structure (Julia Lawall)
      
        - Support multiple power domains for imx6 (Leonard Crestez)
      
        - Constify layerscape driver data (Stefan Agner)
      
        - Update imx6 Kconfig to allow imx6 PCIe in imx7 kernel (Trent Piepho)
      
        - Support armada8k GPIO reset (Baruch Siach)
      
        - Support suspend/resume support on imx6 (Leonard Crestez)
      
        - Don't hard-code DesignWare DBI/ATU offst (Stephen Warren)
      
        - Skip i.MX6 PHY setup on i.MX7D (Andrey Smirnov)
      
        - Remove Jianguo Sun from HiSilicon STB maintainers (Lorenzo Pieralisi)
      
      * remotes/lorenzo/pci/dwc:
        MAINTAINERS: Remove Jianguo Sun from HiSilicon STB DWC entry
        PCI: dwc: Don't hard-code DBI/ATU offset
        PCI: imx: Add imx6sx suspend/resume support
        PCI: armada8k: Add support for gpio controlled reset signal
        PCI: dwc: Adjust Kconfig to allow IMX6 PCIe host on IMX7
        PCI: dwc: layerscape: Constify driver data
        PCI: imx: Add multi-pd support
        dt-bindings: imx6q-pcie: Add multi-pd bindings for imx6sx
        PCI: histb: Constify dw_pcie_host_ops structure
      6a790bf0
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/amlogic' · 33f3fd75
      Bjorn Helgaas authored
        - Add Amlogic Meson PCIe controller driver and DT bindings (Yue Wang)
      
      * remotes/lorenzo/pci/amlogic:
        PCI: amlogic: Add the Amlogic Meson PCIe controller driver
        dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller
      33f3fd75
    • Bjorn Helgaas's avatar
      Merge branch 'pci/virtualization' · 6ee86cac
      Bjorn Helgaas authored
        - Skip VF scanning on powerpc, which does this in firmware (Sebastian
          Ott)
      
      * pci/virtualization:
        s390/pci: skip VF scanning
        PCI/IOV: Add flag so platforms can skip VF scanning
        PCI/IOV: Factor out sriov_add_vfs()
      6ee86cac
    • Bjorn Helgaas's avatar
      Merge branch 'pci/switchtec' · 54aed190
      Bjorn Helgaas authored
        - Remove status check after submitting Switchtec MRPC Firmware Download
          commands to avoid Completion Timeouts (Kelvin Cao)
      
        - Set Switchtec coherent DMA mask to allow 64-bit DMA (Boris Glimcher)
      
        - Fix Switchtec SWITCHTEC_IOCTL_EVENT_IDX_ALL flag overwrite issue (Joey
          Zhang)
      
        - Enable write combining for Switchtec MRPC Input buffers (Kelvin Cao)
      
        - Add Switchtec MRPC DMA mode support (Wesley Sheng)
      
      * pci/switchtec:
        switchtec: Add MRPC DMA mode support
        switchtec: Improve MRPC efficiency by enabling write combining
        switchtec: Fix SWITCHTEC_IOCTL_EVENT_IDX_ALL flags overwrite
        switchtec: Set DMA coherent mask
        switchtec: Remove immediate status check after submitting MRPC command
      54aed190
    • Bjorn Helgaas's avatar
      Merge branch 'pci/pm' · 6f7cebea
      Bjorn Helgaas authored
        - Allow runtime PM even if driver doesn't supply callbacks (Jarkko
          Nikula)
      
      * pci/pm:
        PCI / PM: Allow runtime PM without callback functions
      6f7cebea
    • Bjorn Helgaas's avatar
      Merge branch 'pci/peer-to-peer' · baa12e5f
      Bjorn Helgaas authored
        - Clean up P2PDMA documentation (Randy Dunlap)
      
      * pci/peer-to-peer:
        PCI/P2PDMA: Clean up documentation and kernel-doc
      baa12e5f
    • Bjorn Helgaas's avatar
      Merge branch 'pci/misc' · e6397dfc
      Bjorn Helgaas authored
        - Expand Kconfig "PF" acronyms (Randy Dunlap)
      
        - Update MAINTAINERS for arch/x86/kernel/early-quirks.c (Bjorn Helgaas)
      
        - Add missing include to drivers/pci.h (Alexandru Gagniuc)
      
        - Override Synopsys USB 3.x HAPS device class so dwc3-haps can claim it
          instead of xhci (Thinh Nguyen)
      
      * pci/misc:
        PCI: Override Synopsys USB 3.x HAPS device class
        PCI: Move Synopsys HAPS platform device IDs
        PCI: Add missing include to drivers/pci.h
        PCI: Remove unnecessary space before function pointer arguments
        MAINTAINERS: Add x86 early-quirks.c file pattern to PCI subsystem
        PCI: Expand the "PF" acronym in Kconfig help text
      e6397dfc
    • Bjorn Helgaas's avatar
      Merge branch 'pci/enumeration' · 84e0e727
      Bjorn Helgaas authored
        - Fix Broadcom CNB20LE host bridge unintended sign extension (Colin Ian
          King)
      
      * pci/enumeration:
        x86/PCI: Fix Broadcom CNB20LE unintended sign extension (redux)
      84e0e727
    • Bjorn Helgaas's avatar
      Merge branch 'pci/aspm' · 2caa4dc6
      Bjorn Helgaas authored
        - Remove unused lists from ASPM pcie_link_state (Frederick Lawler)
      
      * pci/aspm:
        PCI/ASPM: Remove unused lists from struct pcie_link_state
      2caa4dc6
    • Sebastian Ott's avatar
      s390/pci: skip VF scanning · 7dc20ab1
      Sebastian Ott authored
      Set the flag to skip scanning for VFs after SR-IOV enablement.  VF creation
      will be triggered by the hotplug code.
      Signed-off-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      7dc20ab1
    • Sebastian Ott's avatar
      PCI/IOV: Add flag so platforms can skip VF scanning · aff68a5a
      Sebastian Ott authored
      Provide a flag to skip scanning for new VFs after SR-IOV enablement.  This
      can be set by implementations for which the VFs are already reported by
      other means.
      Signed-off-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      aff68a5a
    • Sebastian Ott's avatar
      PCI/IOV: Factor out sriov_add_vfs() · 18f9e9d1
      Sebastian Ott authored
      Provide sriov_add_vfs() as a wrapper to scan for VFs that cleans up after
      itself.  This is just a code simplification.  No functional change.
      Signed-off-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      18f9e9d1
  2. 19 Dec, 2018 4 commits
  3. 18 Dec, 2018 11 commits
  4. 17 Dec, 2018 3 commits
  5. 13 Dec, 2018 2 commits
    • Wesley Sheng's avatar
      switchtec: Add MRPC DMA mode support · f7eb7b8a
      Wesley Sheng authored
      MRPC normal mode requires the host to read the MRPC command status and
      output data from BAR.  This results in high latency responses from the
      Memory Read TLP and potential Completion Timeout (CTO).
      
      Add support for MRPC DMA mode, including related macro definitions and data
      structures and code to:
      
        * Retrieve MRPC DMA mode version from adapter firmware
        * Allocate DMA buffer, register ISR, and enable DMA during init
        * Check MRPC execution status and get execution results from DMA buffer
        * Release DMA buffer and disable DMA function when unloading module
      
      MRPC DMA mode is a new feature of firmware, and the driver will fall back
      to MRPC normal mode if there is no support in the legacy firmware.
      
      Add a module parameter, "use_dma_mrpc", to select between MRPC DMA mode and
      MRPC normal mode.  Since the driver automatically detects DMA support in
      the firmware, this parameter is just for debugging and testing.
      
      Include <linux/io-64-nonatomic-lo-hi.h> so that readq/writeq is replaced by
      two readl/writel on systems that do not support it.
      Signed-off-by: default avatarWesley Sheng <wesley.sheng@microchip.com>
      [bhelgaas: changelog, simplify dma_ver check]
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
      f7eb7b8a
    • Kelvin Cao's avatar
      switchtec: Improve MRPC efficiency by enabling write combining · 52d8db8e
      Kelvin Cao authored
      The MRPC Input buffer is mostly memory without any side effects, so we
      can improve the access time by enabling write combining on this region
      of the BAR.
      
      In a few places, we still need to flush the WC buffer.  To do this, we
      simply read from the Outbound Doorbell register because reads to this
      register are processed by low latency hardware.
      Signed-off-by: default avatarKelvin Cao <kelvin.cao@microchip.com>
      Signed-off-by: default avatarWesley Sheng <wesley.sheng@microchip.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
      52d8db8e
  6. 12 Dec, 2018 4 commits
  7. 11 Dec, 2018 1 commit