1. 07 Sep, 2017 38 commits
    • Bjorn Helgaas's avatar
      Merge branch 'pci/pm' into next · d872694b
      Bjorn Helgaas authored
      * pci/pm:
        PCI/PM: Expand description of pci_set_power_state()
      d872694b
    • Bjorn Helgaas's avatar
      Merge branch 'pci/msi' into next · 79ab592c
      Bjorn Helgaas authored
      * pci/msi:
        PCI/MSI: Assume MSIs use real Requester ID, not an alias
      79ab592c
    • Bjorn Helgaas's avatar
      Merge branch 'pci/misc' into next · 33db87de
      Bjorn Helgaas authored
      * pci/misc:
        PCI: Fix PCIe capability sizes
        PCI: Convert to using %pOF instead of full_name()
        PCI: Constify endpoint pci_epf_type device_type
        PCI: Constify bin_attribute structures
        PCI: Constify hotplug pci_device_id structures
        PCI: Constify hotplug attribute_group structures
        PCI: Constify label attribute_group structures
        PCI: Constify sysfs attribute_group structures
      33db87de
    • Bjorn Helgaas's avatar
      Merge branch 'pci/irq-fixups' into next · d4fdf844
      Bjorn Helgaas authored
      * pci/irq-fixups:
        PCI: Inline and remove pcibios_update_irq()
        PCI: Remove unused pci_fixup_irqs() function
        sparc/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks
        unicore32/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks
        tile/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks
        MIPS: PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks
        m68k/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks
        alpha/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks
        sh/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks
        sh/PCI: Remove __init optimisations from IRQ mapping functions/data
        MIPS: PCI: Fix pcibios_scan_bus() NULL check code path
      d4fdf844
    • Bjorn Helgaas's avatar
      Merge branch 'pci/hotplug' into next · cf5f9cc8
      Bjorn Helgaas authored
      * pci/hotplug:
        PCI: pciehp: Report power fault only once until we clear it
        PCI: shpchp: Enable bridge bus mastering if MSI is enabled
      cf5f9cc8
    • Bjorn Helgaas's avatar
      Merge branch 'pci/enumeration' into next · c5efc220
      Bjorn Helgaas authored
      * pci/enumeration:
        PCI: Warn periodically while waiting for non-CRS ("device ready") status
        PCI: Wait up to 60 seconds for device to become ready after FLR
        PCI: Factor out pci_bus_wait_crs()
        PCI: Add pci_bus_crs_vendor_id() to detect CRS response data
        PCI: Always check for non-CRS response before timeout
        PCI: Avoid race while enabling upstream bridges
        PCI: Mark Broadcom HT2100 Root Port Extended Tags as broken
      c5efc220
    • Bjorn Helgaas's avatar
      Merge branch 'pci/dpc' into next · 18f20670
      Bjorn Helgaas authored
      * pci/dpc:
        PCI/DPC: Add local struct device pointers
        PCI/DPC: Add eDPC support
      18f20670
    • Bjorn Helgaas's avatar
      Merge branch 'pci/aer' into next · f1901324
      Bjorn Helgaas authored
      * pci/aer:
        PCI/AER: Reformat AER register definitions
        PCI/portdrv: Move error handler methods to struct pcie_port_service_driver
      f1901324
    • Bjorn Helgaas's avatar
      Merge branch 'pci/endpoint' into next · 3a749ea1
      Bjorn Helgaas authored
      * pci/endpoint:
        tools: PCI: Add a missing option help line
        misc: pci_endpoint_test: Enable/Disable MSI using module param
        misc: pci_endpoint_test: Avoid using hard-coded BAR sizes
        misc: pci_endpoint_test: Add support to not enable MSI interrupts
        misc: pci_endpoint_test: Add support to provide aligned buffer addresses
        misc: pci_endpoint_test: Add support for PCI_ENDPOINT_TEST regs to be mapped to any BAR
        PCI: designware-ep: Do not disable BARs during initialization
        PCI: dra7xx: Reset all BARs during initialization
        PCI: dwc: designware: Provide page_size to pci_epc_mem
        PCI: endpoint: Remove the ->remove() callback
        PCI: endpoint: Add support to poll early for host commands
        PCI: endpoint: Add support to use _any_ BAR to map PCI_ENDPOINT_TEST regs
        PCI: endpoint: Do not reset *command* inadvertently
        PCI: endpoint: Add "volatile" to pci_epf_test_reg
        PCI: endpoint: Add support for configurable page size
        PCI: endpoint: Make ->remove() callback optional
        PCI: endpoint: Add an API to get matching "pci_epf_device_id"
        PCI: endpoint: Use of_dma_configure() to set initial DMA mask
      3a749ea1
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-xilinx' into next · 99fd1b95
      Bjorn Helgaas authored
      * pci/host-xilinx:
        PCI: xilinx-nwl: Fix platform_get_irq() error handling
        PCI: xilinx: Allow build on MIPS platforms
        PCI: xilinx: Don't enable config completion interrupts
        PCI: xilinx: Unify INTx & MSI interrupt decode
        PCI: xilinx-nwl: Translate INTx range to hwirqs 0-3
        PCI: xilinx: Translate INTx range to hwirqs 0-3
      99fd1b95
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-xgene' into next · dd422a6f
      Bjorn Helgaas authored
      * pci/host-xgene:
        PCI: xgene: Clean up whitespace
        PCI: xgene: Define XGENE_PCI_EXP_CAP and use generic PCI_EXP_RTCTL offset
        PCI: xgene: Fix platform_get_irq() error handling
      dd422a6f
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-vmd' into next · e9e256df
      Bjorn Helgaas authored
      * pci/host-vmd:
        iommu/vt-d: Prevent VMD child devices from being remapping targets
        x86/PCI: Use is_vmd() rather than relying on the domain number
        x86/PCI: Move VMD quirk to x86 fixups
        MAINTAINERS: Add Jonathan Derrick as VMD maintainer
        PCI: vmd: Remove IRQ affinity so we can allocate more IRQs
        PCI: vmd: Free up IRQs on suspend path
        PCI: vmd: Assign vector zero to all bridges
        PCI: vmd: Reserve IRQ pre-vector for better affinity
      e9e256df
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-tegra' into next · 08d20f9f
      Bjorn Helgaas authored
      * pci/host-tegra:
        PCI: tegra: Explicitly request exclusive reset control
      08d20f9f
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-spear13xx' into next · f90742cb
      Bjorn Helgaas authored
      * pci/host-spear13xx:
        PCI: spear13xx: Fix platform_get_irq() error handling
      f90742cb
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-rockchip' into next · 68e8fa46
      Bjorn Helgaas authored
      * pci/host-rockchip:
        PCI: rockchip: Fix platform_get_irq() error handling
        PCI: rockchip: Umap IO space if probe fails
        PCI: rockchip: Remove IRQ domain if probe fails
        PCI: rockchip: Disable vpcie0v9 if resume_noirq fails
        PCI: rockchip: Clean up PHY if driver probe or resume fails
        PCI: rockchip: Factor out rockchip_pcie_deinit_phys()
        PCI: rockchip: Factor out rockchip_pcie_disable_clocks()
        PCI: rockchip: Factor out rockchip_pcie_enable_clocks()
        PCI: rockchip: Factor out rockchip_pcie_setup_irq()
        PCI: rockchip: Use gpiod_set_value_cansleep() to allow reset via expanders
        PCI: rockchip: Use PCI_NUM_INTX
        PCI: rockchip: Explicitly request exclusive reset control
        dt-bindings: phy-rockchip-pcie: Convert to per-lane PHY model
        dt-bindings: PCI: rockchip: Convert to per-lane PHY model
        arm64: dts: rockchip: convert PCIe to use per-lane PHYs for rk3339
        PCI: rockchip: Idle inactive PHY(s)
        phy: rockchip-pcie: Reconstruct driver to support per-lane PHYs
        PCI: rockchip: Add per-lane PHY support
        PCI: rockchip: Factor out rockchip_pcie_get_phys()
        PCI: rockchip: Control optional 12v power supply
        dt-bindings: PCI: rockchip: Add vpcie12v-supply for Rockchip PCIe controller
      68e8fa46
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-rcar' into next · 3d499a95
      Bjorn Helgaas authored
      * pci/host-rcar:
        PCI: rcar: Add device tree support for r8a7743/5
        PCI: rcar: Fix memory leak when no PCIe card is inserted
        PCI: rcar: Fix error exit path
      3d499a95
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-qcom' into next · cb9d4f00
      Bjorn Helgaas authored
      * pci/host-qcom:
        PCI: qcom: Add support for IPQ8074 PCIe controller
        dt-bindings: PCI: qcom: Add support for IPQ8074
        PCI: qcom: Use block IP version for operations
        PCI: qcom: Explicitly request exclusive reset control
        PCI: qcom: Use gpiod_set_value_cansleep() to allow reset via expanders
      cb9d4f00
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-mvebu' into next · 73646b7f
      Bjorn Helgaas authored
      * pci/host-mvebu:
        PCI: mvebu: Remove unneeded gpiod NULL check
      73646b7f
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-mediatek' into next · a2efd681
      Bjorn Helgaas authored
      * pci/host-mediatek:
        PCI: mediatek: Use PCI_NUM_INTX
        PCI: mediatek: Add MSI support for MT2712 and MT7622
        PCI: mediatek: Use bus->sysdata to get host private data
        dt-bindings: PCI: Add support for MT2712 and MT7622
        PCI: mediatek: Add controller support for MT2712 and MT7622
        dt-bindings: PCI: Cleanup MediaTek binding text
        dt-bindings: PCI: Rename MediaTek binding
        PCI: mediatek: Switch to use platform_get_resource_byname()
        PCI: mediatek: Add a structure to abstract the controller generations
        PCI: mediatek: Rename port->index and mtk_pcie_parse_ports()
        PCI: mediatek: Use readl_poll_timeout() to wait for Gen2 training
        PCI: mediatek: Explicitly request exclusive reset control
      a2efd681
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-layerscape' into next · 9857f125
      Bjorn Helgaas authored
      * pci/host-layerscape:
        PCI: layerscape: Add support for ls1088a
        PCI: layerscape: Add support for ls2088a
        PCI: artpec6: Stop enabling writes to DBI read-only registers
        PCI: layerscape: Remove unnecessary class code fixup
        PCI: dwc: Enable write permission for Class Code, Interrupt Pin updates
        PCI: dwc: Add accessors for write permission of DBI read-only registers
        PCI: layerscape: Disable outbound windows configured by bootloader
        PCI: layerscape: Refactor ls1021_pcie_host_init()
        PCI: layerscape: Move generic init functions earlier in file
        PCI: layerscape: Add class code and multifunction fixups for ls1021a
        PCI: layerscape: Move STRFMR1 access out from the DBI write-enable bracket
        PCI: layerscape: Call dw_pcie_setup_rc() from ls_pcie_host_init()
      9857f125
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-kirin' into next · 0964c40f
      Bjorn Helgaas authored
      * pci/host-kirin:
        PCI: kirin: Constify dw_pcie_host_ops structure
      0964c40f
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-keystone' into next · 8f5b3f5b
      Bjorn Helgaas authored
      * pci/host-keystone:
        PCI: keystone: Use PCI_NUM_INTX
        PCI: keystone: Remove duplicate MAX_*_IRQS defs
        PCI: keystone-dw: Remove unused ks_pcie, pci variables
      8f5b3f5b
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-iproc' into next · 352948c4
      Bjorn Helgaas authored
      * pci/host-iproc:
        PCI: iproc: Clean up whitespace
        PCI: iproc: Rename PCI_EXP_CAP to IPROC_PCI_EXP_CAP
        PCI: iproc: Add 500ms delay during device shutdown
        PCI: iproc: Work around Stingray CRS defects
        PCI: iproc: Factor out memory-mapped config access address calculation
        PCI: iproc: Remove unused struct iproc_pcie *pcie
      352948c4
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-imx6' into next · 8a21881a
      Bjorn Helgaas authored
      * pci/host-imx6:
        PCI: imx6: Explicitly request exclusive reset control
      8a21881a
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-hv' into next · b7c19476
      Bjorn Helgaas authored
      * pci/host-hv:
        PCI: hv: Do not sleep in compose_msi_msg()
      b7c19476
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-hisi' into next · 6238e057
      Bjorn Helgaas authored
      * pci/host-hisi:
        PCI: hisi: Constify dw_pcie_host_ops structure
        PCI: hisi: Remove unused variable driver
      6238e057
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-faraday' into next · 73626629
      Bjorn Helgaas authored
      * pci/host-faraday:
        PCI: faraday: Use PCI_NUM_INTX
        PCI: faraday: Fix of_irq_get() error check
      73626629
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-exynos' into next · 0dd9636f
      Bjorn Helgaas authored
      * pci/host-exynos:
        PCI: exynos: Fix platform_get_irq() error handling
      0dd9636f
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-dra7xx' into next · 51386202
      Bjorn Helgaas authored
      * pci/host-dra7xx:
        PCI: dra7xx: Fix platform_get_irq() error handling
        PCI: dra7xx: Propagate platform_get_irq() errors in dra7xx_pcie_probe()
        PCI: dra7xx: Use PCI_NUM_INTX
      51386202
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-designware' into next · ee75520e
      Bjorn Helgaas authored
      * pci/host-designware:
        PCI: dwc: Clear MSI interrupt status after it is handled, not before
        PCI: qcom: Allow ->post_init() to fail
        PCI: qcom: Don't unroll init if ->init() fails
        PCI: dwc: designware: Handle ->host_init() failures
        PCI: dwc: designware: Test PCIE_ATU_ENABLE bit specifically
        PCI: dwc: designware: Make dw_pcie_prog_*_atu_unroll() static
      ee75520e
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-artpec6' into next · 199a0253
      Bjorn Helgaas authored
      * pci/host-artpec6:
        PCI: artpec6: Fix platform_get_irq() error handling
      199a0253
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-armada' into next · 9627804b
      Bjorn Helgaas authored
      * pci/host-armada:
        PCI: armada8k: Fix platform_get_irq() error handling
        PCI: armada8k: Check the return value from clk_prepare_enable()
      9627804b
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-altera' into next · a89d7e43
      Bjorn Helgaas authored
      * pci/host-altera:
        PCI: altera: Fix platform_get_irq() error handling
        PCI: altera: Use size=4 IRQ domain for legacy INTx
        PCI: altera: Remove unused num_of_vectors variable
      a89d7e43
    • Bjorn Helgaas's avatar
      Merge branch 'pci/host-aardvark' into next · 741e2237
      Bjorn Helgaas authored
      * pci/host-aardvark:
        PCI: aardvark: Use PCI_NUM_INTX
      741e2237
    • Bjorn Helgaas's avatar
      Merge branch 'pci/irq-intx' into next · 37deba45
      Bjorn Helgaas authored
      * pci/irq-intx:
        PCI: Add pci_irqd_intx_xlate()
        PCI: Move enum pci_interrupt_pin to linux/pci.h
      37deba45
    • Bjorn Helgaas's avatar
      PCI: xgene: Clean up whitespace · fca4848b
      Bjorn Helgaas authored
      Use tabs (not spaces) for indentation.  No functional change intended.
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      fca4848b
    • Bjorn Helgaas's avatar
      PCI: xgene: Define XGENE_PCI_EXP_CAP and use generic PCI_EXP_RTCTL offset · 582ffae8
      Bjorn Helgaas authored
      Apparently the PCIe capability is at address 0x40 in config space of X-Gene
      v1 Root Ports.  Add a definition of that and use the generic PCI_EXP_RTCTL
      offset into the capability.  No functional change intended.
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      582ffae8
    • Fabio Estevam's avatar
      PCI: xgene: Fix platform_get_irq() error handling · c7aca96a
      Fabio Estevam authored
      When platform_get_irq() fails we should propagate the real error value
      instead of always returning -EINVAL.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Cc: Duc Dang <dhdang@apm.com>
      c7aca96a
  2. 05 Sep, 2017 2 commits