Skip to content

Commit 0d519f2

Browse files
committed
Merge tag 'pci-v4.14-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI updates from Bjorn Helgaas: - add enhanced Downstream Port Containment support, which prints more details about Root Port Programmed I/O errors (Dongdong Liu) - add Layerscape ls1088a and ls2088a support (Hou Zhiqiang) - add MediaTek MT2712 and MT7622 support (Ryder Lee) - add MediaTek MT2712 and MT7622 MSI support (Honghui Zhang) - add Qualcom IPQ8074 support (Varadarajan Narayanan) - add R-Car r8a7743/5 device tree support (Biju Das) - add Rockchip per-lane PHY support for better power management (Shawn Lin) - fix IRQ mapping for hot-added devices by replacing the pci_fixup_irqs() boot-time design with a host bridge hook called at probe-time (Lorenzo Pieralisi, Matthew Minter) - fix race when enabling two devices that results in upstream bridge not being enabled correctly (Srinath Mannam) - fix pciehp power fault infinite loop (Keith Busch) - fix SHPC bridge MSI hotplug events by enabling bus mastering (Aleksandr Bezzubikov) - fix a VFIO issue by correcting PCIe capability sizes (Alex Williamson) - fix an INTD issue on Xilinx and possibly other drivers by unifying INTx IRQ domain support (Paul Burton) - avoid IOMMU stalls by marking AMD Stoney GPU ATS as broken (Joerg Roedel) - allow APM X-Gene device assignment to guests by adding an ACS quirk (Feng Kan) - fix driver crashes by disabling Extended Tags on Broadcom HT2100 (Extended Tags support is required for PCIe Receivers but not Requesters, and we now enable them by default when Requesters support them) (Sinan Kaya) - fix MSIs for devices that use phantom RIDs for DMA by assuming MSIs use the real Requester ID (not a phantom RID) (Robin Murphy) - prevent assignment of Intel VMD children to guests (which may be supported eventually, but isn't yet) by not associating an IOMMU with them (Jon Derrick) - fix Intel VMD suspend/resume by releasing IRQs on suspend (Scott Bauer) - fix a Function-Level Reset issue with Intel 750 NVMe by waiting longer (up to 60sec instead of 1sec) for device to become ready (Sinan Kaya) - fix a Function-Level Reset issue on iProc Stingray by working around hardware defects in the CRS implementation (Oza Pawandeep) - fix an issue with Intel NVMe P3700 after an iProc reset by adding a delay during shutdown (Oza Pawandeep) - fix a Microsoft Hyper-V lockdep issue by polling instead of blocking in compose_msi_msg() (Stephen Hemminger) - fix a wireless LAN driver timeout by clearing DesignWare MSI interrupt status after it is handled, not before (Faiz Abbas) - fix DesignWare ATU enable checking (Jisheng Zhang) - reduce Layerscape dependencies on the bootloader by doing more initialization in the driver (Hou Zhiqiang) - improve Intel VMD performance allowing allocation of more IRQ vectors than present CPUs (Keith Busch) - improve endpoint framework support for initial DMA mask, different BAR sizes, configurable page sizes, MSI, test driver, etc (Kishon Vijay Abraham I, Stan Drozd) - rework CRS support to add periodic messages while we poll during enumeration and after Function-Level Reset and prepare for possible other uses of CRS (Sinan Kaya) - clean up Root Port AER handling by removing unnecessary code and moving error handler methods to struct pcie_port_service_driver (Christoph Hellwig) - clean up error handling paths in various drivers (Bjorn Andersson, Fabio Estevam, Gustavo A. R. Silva, Harunobu Kurokawa, Jeffy Chen, Lorenzo Pieralisi, Sergei Shtylyov) - clean up SR-IOV resource handling by disabling VF decoding before updating the corresponding resource structs (Gavin Shan) - clean up DesignWare-based drivers by unifying quirks to update Class Code and Interrupt Pin and related handling of write-protected registers (Hou Zhiqiang) - clean up by adding empty generic pcibios_align_resource() and pcibios_fixup_bus() and removing empty arch-specific implementations (Palmer Dabbelt) - request exclusive reset control for several drivers to allow cleanup elsewhere (Philipp Zabel) - constify various structures (Arvind Yadav, Bhumika Goyal) - convert from full_name() to %pOF (Rob Herring) - remove unused variables from iProc, HiSi, Altera, Keystone (Shawn Lin) * tag 'pci-v4.14-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (170 commits) 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 PCI: xilinx-nwl: Fix platform_get_irq() error handling PCI: rockchip: Fix platform_get_irq() error handling PCI: altera: Fix platform_get_irq() error handling PCI: spear13xx: Fix platform_get_irq() error handling PCI: artpec6: Fix platform_get_irq() error handling PCI: armada8k: Fix platform_get_irq() error handling PCI: dra7xx: Fix platform_get_irq() error handling PCI: exynos: Fix platform_get_irq() error handling 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: Fix typos and whitespace errors PCI: Remove unused "res" variable from pci_resource_io() PCI: Correct kernel-doc of pci_vpd_srdt_size(), pci_vpd_srdt_tag() PCI/AER: Reformat AER register definitions iommu/vt-d: Prevent VMD child devices from being remapping targets x86/PCI: Use is_vmd() rather than relying on the domain number ...
2 parents 0756b7f + cf2d804 commit 0d519f2

File tree

139 files changed

+3434
-1637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+3434
-1637
lines changed

CREDITS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,7 @@ S: Kuala Lumpur, Malaysia
20902090

20912091
N: Mohit Kumar
20922092
D: ST Microelectronics SPEAr13xx PCI host bridge driver
2093-
D: Synopsys Designware PCI host bridge driver
2093+
D: Synopsys DesignWare PCI host bridge driver
20942094

20952095
N: Gabor Kuti
20962096
E: seasons@falcon.sch.bme.hu

Documentation/devicetree/bindings/pci/83xx-512x-pci.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
* Freescale 83xx and 512x PCI bridges
22

3-
Freescale 83xx and 512x SOCs include the same pci bridge core.
3+
Freescale 83xx and 512x SOCs include the same PCI bridge core.
44

55
83xx/512x specific notes:
66
- reg: should contain two address length tuples
7-
The first is for the internal pci bridge registers
8-
The second is for the pci config space access registers
7+
The first is for the internal PCI bridge registers
8+
The second is for the PCI config space access registers
99

1010
Example (MPC8313ERDB)
1111
pci0: pci@e0008500 {

Documentation/devicetree/bindings/pci/altera-pcie.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ Required properties:
77
"Txs": TX slave port region
88
"Cra": Control register access region
99
- interrupt-parent: interrupt source phandle.
10-
- interrupts: specifies the interrupt source of the parent interrupt controller.
11-
The format of the interrupt specifier depends on the parent interrupt
12-
controller.
10+
- interrupts: specifies the interrupt source of the parent interrupt
11+
controller. The format of the interrupt specifier depends
12+
on the parent interrupt controller.
1313
- device_type: must be "pci"
1414
- #address-cells: set to <3>
15-
- #size-cells: set to <2>
15+
- #size-cells: set to <2>
1616
- #interrupt-cells: set to <1>
17-
- ranges: describes the translation of addresses for root ports and standard
18-
PCI regions.
17+
- ranges: describes the translation of addresses for root ports and
18+
standard PCI regions.
1919
- interrupt-map-mask and interrupt-map: standard PCI properties to define the
2020
mapping of the PCIe interface to interrupt numbers.
2121

2222
Optional properties:
23-
- msi-parent: Link to the hardware entity that serves as the MSI controller for this PCIe
24-
controller.
23+
- msi-parent: Link to the hardware entity that serves as the MSI controller
24+
for this PCIe controller.
2525
- bus-range: PCI bus numbers covered
2626

2727
Example
@@ -45,5 +45,5 @@ Example
4545
<0 0 0 3 &pcie_0 3>,
4646
<0 0 0 4 &pcie_0 4>;
4747
ranges = <0x82000000 0x00000000 0x00000000 0xc0000000 0x00000000 0x10000000
48-
0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>;
48+
0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>;
4949
};

Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ and thus inherits all the common properties defined in designware-pcie.txt.
66
Required properties:
77
- compatible: "axis,artpec6-pcie", "snps,dw-pcie"
88
- reg: base addresses and lengths of the PCIe controller (DBI),
9-
the phy controller, and configuration address space.
9+
the PHY controller, and configuration address space.
1010
- reg-names: Must include the following entries:
1111
- "dbi"
1212
- "phy"

Documentation/devicetree/bindings/pci/designware-pcie.txt

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* Synopsys Designware PCIe interface
1+
* Synopsys DesignWare PCIe interface
22

33
Required properties:
44
- compatible: should contain "snps,dw-pcie" to identify the core.
@@ -17,29 +17,27 @@ RC mode:
1717
properties to define the mapping of the PCIe interface to interrupt
1818
numbers.
1919
EP mode:
20-
- num-ib-windows: number of inbound address translation
21-
windows
22-
- num-ob-windows: number of outbound address translation
23-
windows
20+
- num-ib-windows: number of inbound address translation windows
21+
- num-ob-windows: number of outbound address translation windows
2422

2523
Optional properties:
2624
- num-lanes: number of lanes to use (this property should be specified unless
2725
the link is brought already up in BIOS)
28-
- reset-gpio: gpio pin number of power good signal
26+
- reset-gpio: GPIO pin number of power good signal
2927
- clocks: Must contain an entry for each entry in clock-names.
3028
See ../clocks/clock-bindings.txt for details.
3129
- clock-names: Must include the following entries:
3230
- "pcie"
3331
- "pcie_bus"
3432
RC mode:
35-
- num-viewport: number of view ports configured in
36-
hardware. If a platform does not specify it, the driver assumes 2.
37-
- bus-range: PCI bus numbers covered (it is recommended
38-
for new devicetrees to specify this property, to keep backwards
39-
compatibility a range of 0x00-0xff is assumed if not present)
33+
- num-viewport: number of view ports configured in hardware. If a platform
34+
does not specify it, the driver assumes 2.
35+
- bus-range: PCI bus numbers covered (it is recommended for new devicetrees
36+
to specify this property, to keep backwards compatibility a range of
37+
0x00-0xff is assumed if not present)
38+
4039
EP mode:
41-
- max-functions: maximum number of functions that can be
42-
configured
40+
- max-functions: maximum number of functions that can be configured
4341

4442
Example configuration:
4543

Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
* Freescale i.MX6 PCIe interface
22

3-
This PCIe host controller is based on the Synopsis Designware PCIe IP
3+
This PCIe host controller is based on the Synopsys DesignWare PCIe IP
44
and thus inherits all the common properties defined in designware-pcie.txt.
55

66
Required properties:

Documentation/devicetree/bindings/pci/hisilicon-pcie.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
HiSilicon Hip05 and Hip06 PCIe host bridge DT description
22

3-
HiSilicon PCIe host controller is based on Designware PCI core.
4-
It shares common functions with PCIe Designware core driver and inherits
3+
HiSilicon PCIe host controller is based on the Synopsys DesignWare PCI core.
4+
It shares common functions with the PCIe DesignWare core driver and inherits
55
common properties defined in
66
Documentation/devicetree/bindings/pci/designware-pci.txt.
77

Documentation/devicetree/bindings/pci/kirin-pcie.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
HiSilicon Kirin SoCs PCIe host DT description
22

3-
Kirin PCIe host controller is based on Designware PCI core.
4-
It shares common functions with PCIe Designware core driver
5-
and inherits common properties defined in
3+
Kirin PCIe host controller is based on the Synopsys DesignWare PCI core.
4+
It shares common functions with the PCIe DesignWare core driver and
5+
inherits common properties defined in
66
Documentation/devicetree/bindings/pci/designware-pci.txt.
77

88
Additional properties are described here:
@@ -16,7 +16,7 @@ Required properties
1616
"apb": apb Ctrl register defined by Kirin;
1717
"phy": apb PHY register defined by Kirin;
1818
"config": PCIe configuration space registers.
19-
- reset-gpios: The gpio to generate PCIe perst assert and deassert signal.
19+
- reset-gpios: The GPIO to generate PCIe PERST# assert and deassert signal.
2020

2121
Optional properties:
2222

Documentation/devicetree/bindings/pci/layerscape-pci.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ Required properties:
1515
- compatible: should contain the platform identifier such as:
1616
"fsl,ls1021a-pcie", "snps,dw-pcie"
1717
"fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
18+
"fsl,ls2088a-pcie"
19+
"fsl,ls1088a-pcie"
1820
"fsl,ls1046a-pcie"
19-
- reg: base addresses and lengths of the PCIe controller
21+
- reg: base addresses and lengths of the PCIe controller register blocks.
2022
- interrupts: A list of interrupt outputs of the controller. Must contain an
2123
entry for each entry in the interrupt-names property.
2224
- interrupt-names: Must include the following entries:

Documentation/devicetree/bindings/pci/mediatek,mt7623-pcie.txt

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)