forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'pci-v4.16-changes' of git://git.kernel.org/pub/scm/linux/k…
…ernel/git/helgaas/pci Pull PCI updates from Bjorn Helgaas: - skip AER driver error recovery callbacks for correctable errors reported via ACPI APEI, as we already do for errors reported via the native path (Tyler Baicar) - fix DPC shared interrupt handling (Alex Williamson) - print full DPC interrupt number (Keith Busch) - enable DPC only if AER is available (Keith Busch) - simplify DPC code (Bjorn Helgaas) - calculate ASPM L1 substate parameter instead of hardcoding it (Bjorn Helgaas) - enable Latency Tolerance Reporting for ASPM L1 substates (Bjorn Helgaas) - move ASPM internal interfaces out of public header (Bjorn Helgaas) - allow hot-removal of VGA devices (Mika Westerberg) - speed up unplug and shutdown by assuming Thunderbolt controllers don't support Command Completed events (Lukas Wunner) - add AtomicOps support for GPU and Infiniband drivers (Felix Kuehling, Jay Cornwall) - expose "ari_enabled" in sysfs to help NIC naming (Stuart Hayes) - clean up PCI DMA interface usage (Christoph Hellwig) - remove PCI pool API (replaced with DMA pool) (Romain Perier) - deprecate pci_get_bus_and_slot(), which assumed PCI domain 0 (Sinan Kaya) - move DT PCI code from drivers/of/ to drivers/pci/ (Rob Herring) - add PCI-specific wrappers for dev_info(), etc (Frederick Lawler) - remove warnings on sysfs mmap failure (Bjorn Helgaas) - quiet ROM validation messages (Alex Deucher) - remove redundant memory alloc failure messages (Markus Elfring) - fill in types for compile-time VGA and other I/O port resources (Bjorn Helgaas) - make "pci=pcie_scan_all" work for Root Ports as well as Downstream Ports to help AmigaOne X1000 (Bjorn Helgaas) - add SPDX tags to all PCI files (Bjorn Helgaas) - quirk Marvell 9128 DMA aliases (Alex Williamson) - quirk broken INTx disable on Ceton InfiniTV4 (Bjorn Helgaas) - fix CONFIG_PCI=n build by adding dummy pci_irqd_intx_xlate() (Niklas Cassel) - use DMA API to get MSI address for DesignWare IP (Niklas Cassel) - fix endpoint-mode DMA mask configuration (Kishon Vijay Abraham I) - fix ARTPEC-6 incorrect IS_ERR() usage (Wei Yongjun) - add support for ARTPEC-7 SoC (Niklas Cassel) - add endpoint-mode support for ARTPEC (Niklas Cassel) - add Cadence PCIe host and endpoint controller driver (Cyrille Pitchen) - handle multiple INTx status bits being set in dra7xx (Vignesh R) - translate dra7xx hwirq range to fix INTD handling (Vignesh R) - remove deprecated Exynos PHY initialization code (Jaehoon Chung) - fix MSI erratum workaround for HiSilicon Hip06/Hip07 (Dongdong Liu) - fix NULL pointer dereference in iProc BCMA driver (Ray Jui) - fix Keystone interrupt-controller-node lookup (Johan Hovold) - constify qcom driver structures (Julia Lawall) - rework Tegra config space mapping to increase space available for endpoints (Vidya Sagar) - simplify Tegra driver by using bus->sysdata (Manikanta Maddireddy) - remove PCI_REASSIGN_ALL_BUS usage on Tegra (Manikanta Maddireddy) - add support for Global Fabric Manager Server (GFMS) event to Microsemi Switchtec switch driver (Logan Gunthorpe) - add IDs for Switchtec PSX 24xG3 and PSX 48xG3 (Kelvin Cao) * tag 'pci-v4.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (140 commits) PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint controller PCI: endpoint: Fix EPF device name to support multi-function devices PCI: endpoint: Add the function number as argument to EPC ops PCI: cadence: Add host driver for Cadence PCIe controller dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller PCI: Add vendor ID for Cadence PCI: Add generic function to probe PCI host controllers PCI: generic: fix missing call of pci_free_resource_list() PCI: OF: Add generic function to parse and allocate PCI resources PCI: Regroup all PCI related entries into drivers/pci/Makefile PCI/DPC: Reformat DPC register definitions PCI/DPC: Add and use DPC Status register field definitions PCI/DPC: Squash dpc_rp_pio_get_info() into dpc_process_rp_pio_error() PCI/DPC: Remove unnecessary RP PIO register structs PCI/DPC: Push dpc->rp_pio_status assignment into dpc_rp_pio_get_info() PCI/DPC: Squash dpc_rp_pio_print_error() into dpc_rp_pio_get_info() PCI/DPC: Make RP PIO log size check more generic PCI/DPC: Rename local "status" to "dpc_status" PCI/DPC: Squash dpc_rp_pio_print_tlp_header() into dpc_rp_pio_print_error() ...
- Loading branch information
Showing
248 changed files
with
4,503 additions
and
3,756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
* Cadence PCIe endpoint controller | ||
|
||
Required properties: | ||
- compatible: Should contain "cdns,cdns-pcie-ep" to identify the IP used. | ||
- reg: Should contain the controller register base address and AXI interface | ||
region base address respectively. | ||
- reg-names: Must be "reg" and "mem" respectively. | ||
- cdns,max-outbound-regions: Set to maximum number of outbound regions | ||
|
||
Optional properties: | ||
- max-functions: Maximum number of functions that can be configured (default 1). | ||
|
||
Example: | ||
|
||
pcie@fc000000 { | ||
compatible = "cdns,cdns-pcie-ep"; | ||
reg = <0x0 0xfc000000 0x0 0x01000000>, | ||
<0x0 0x80000000 0x0 0x40000000>; | ||
reg-names = "reg", "mem"; | ||
cdns,max-outbound-regions = <16>; | ||
max-functions = /bits/ 8 <8>; | ||
}; |
60 changes: 60 additions & 0 deletions
60
Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
* Cadence PCIe host controller | ||
|
||
This PCIe controller inherits the base properties defined in | ||
host-generic-pci.txt. | ||
|
||
Required properties: | ||
- compatible: Should contain "cdns,cdns-pcie-host" to identify the IP used. | ||
- reg: Should contain the controller register base address, PCIe configuration | ||
window base address, and AXI interface region base address respectively. | ||
- reg-names: Must be "reg", "cfg" and "mem" respectively. | ||
- #address-cells: Set to <3> | ||
- #size-cells: Set to <2> | ||
- device_type: Set to "pci" | ||
- ranges: Ranges for the PCI memory and I/O regions | ||
- #interrupt-cells: Set to <1> | ||
- interrupt-map-mask and interrupt-map: Standard PCI properties to define the | ||
mapping of the PCIe interface to interrupt numbers. | ||
|
||
Optional properties: | ||
- cdns,max-outbound-regions: Set to maximum number of outbound regions | ||
(default 32) | ||
- cdns,no-bar-match-nbits: Set into the no BAR match register to configure the | ||
number of least significant bits kept during inbound (PCIe -> AXI) address | ||
translations (default 32) | ||
- vendor-id: The PCI vendor ID (16 bits, default is design dependent) | ||
- device-id: The PCI device ID (16 bits, default is design dependent) | ||
|
||
Example: | ||
|
||
pcie@fb000000 { | ||
compatible = "cdns,cdns-pcie-host"; | ||
device_type = "pci"; | ||
#address-cells = <3>; | ||
#size-cells = <2>; | ||
bus-range = <0x0 0xff>; | ||
linux,pci-domain = <0>; | ||
cdns,max-outbound-regions = <16>; | ||
cdns,no-bar-match-nbits = <32>; | ||
vendor-id = /bits/ 16 <0x17cd>; | ||
device-id = /bits/ 16 <0x0200>; | ||
|
||
reg = <0x0 0xfb000000 0x0 0x01000000>, | ||
<0x0 0x41000000 0x0 0x00001000>, | ||
<0x0 0x40000000 0x0 0x04000000>; | ||
reg-names = "reg", "cfg", "mem"; | ||
|
||
ranges = <0x02000000 0x0 0x42000000 0x0 0x42000000 0x0 0x1000000>, | ||
<0x01000000 0x0 0x43000000 0x0 0x43000000 0x0 0x0010000>; | ||
|
||
#interrupt-cells = <0x1>; | ||
|
||
interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 14 0x1 | ||
0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 15 0x1 | ||
0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 16 0x1 | ||
0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 17 0x1>; | ||
|
||
interrupt-map-mask = <0x0 0x0 0x0 0x7>; | ||
|
||
msi-parent = <&its_pci>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10513,6 +10513,13 @@ S: Maintained | |
F: Documentation/devicetree/bindings/pci/pci-armada8k.txt | ||
F: drivers/pci/dwc/pcie-armada8k.c | ||
|
||
PCI DRIVER FOR CADENCE PCIE IP | ||
M: Alan Douglas <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/pci/cdns,*.txt | ||
F: drivers/pci/cadence/pcie-cadence* | ||
|
||
PCI DRIVER FOR FREESCALE LAYERSCAPE | ||
M: Minghuan Lian <[email protected]> | ||
M: Mingkai Hu <[email protected]> | ||
|
@@ -10663,8 +10670,12 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git | |
S: Supported | ||
F: Documentation/devicetree/bindings/pci/ | ||
F: Documentation/PCI/ | ||
F: drivers/acpi/pci* | ||
F: drivers/pci/ | ||
F: include/asm-generic/pci* | ||
F: include/linux/pci* | ||
F: include/uapi/linux/pci* | ||
F: lib/pci* | ||
F: arch/x86/pci/ | ||
F: arch/x86/kernel/quirks.c | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.