linux-hardened/drivers/pci/host
Jon Derrick 2a5a9c9a20 PCI: vmd: Add offset to bus numbers if necessary
Depending on platform configuration, certain VMD devices may have an
additional configuration option which specifies the range of bus numbers
allowed in a VMD PCIe domain. We determine this requirement by checking
the value of two vendor specific config registers in the VMD endpoint:

 VMCAP[0] | VMCONFIG[9:8] | Bus Numbers
----------------------------------------
    0     |       *       |     0-255
    1     |      00       |     0-127
    1     |      01       |   128-255
    1     |      10       |     0-255

This feature is also added as a bit in driver_data, to allow future
conforming device ids which support these features to be enabled through
sysfs new_id.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
[lorenzo.pieralisi@arm.com: updated commit subject]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
2018-05-24 17:43:19 +01:00
..
Kconfig PCI: tegra: Add PCI_MSI_IRQ_DOMAIN kconfig dependency 2018-03-14 18:30:09 +00:00
Makefile PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller 2018-01-31 11:13:27 +00:00
pci-aardvark.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-ftpci100.c PCI: faraday: Make struct faraday_pci_variant static 2018-03-22 12:22:30 +00:00
pci-host-common.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pci-host-generic.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-hyperv.c PCI: hv: Only queue new work items in hv_pci_devices_present() if necessary 2018-03-16 18:19:03 +00:00
pci-mvebu.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-rcar-gen2.c PCI: rcar-gen2: Remove duplicated bit-wise or of RCAR_PCI_INT_SIGRETABORT 2018-02-23 13:58:42 +00:00
pci-tegra.c PCI: tegra: Add power management support 2018-03-19 09:37:46 +00:00
pci-thunder-ecam.c PCI: Add SPDX GPL-2.0 to replace COPYING boilerplate 2018-01-28 15:48:54 -06:00
pci-thunder-pem.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-v3-semi.c PCI: v3-semi: Remove unnecessary semicolon 2018-03-22 12:24:31 +00:00
pci-versatile.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pci-xgene-msi.c PCI: xgene: Fix the xgene_msi_probe() return code 2018-02-14 15:24:38 +00:00
pci-xgene.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-altera-msi.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-altera.c PCI: altera: Fix bool initialization in tlp_read_packet() 2018-02-28 16:44:11 +00:00
pcie-iproc-bcma.c PCI: iproc: Remove dependency on ARM specific struct pci_sys_data 2018-03-21 14:22:36 +00:00
pcie-iproc-msi.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-iproc-platform.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-iproc.c PCI: iproc: Remove dependency on ARM specific struct pci_sys_data 2018-03-21 14:22:36 +00:00
pcie-iproc.h PCI: iproc: Remove dependency on ARM specific struct pci_sys_data 2018-03-21 14:22:36 +00:00
pcie-mediatek.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-rcar.c PCI: rcar: Remove unnecessary semicolon 2018-03-22 12:24:30 +00:00
pcie-rockchip.c PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate 2018-01-28 15:49:06 -06:00
pcie-tango.c pci-v4.15-changes 2017-11-15 15:01:28 -08:00
pcie-xilinx-nwl.c PCI: pcie-xilinx-nwl: Fix mask value to disable MSIs 2018-03-23 11:16:21 +00:00
pcie-xilinx.c PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate 2018-01-28 15:49:06 -06:00
vmd.c PCI: vmd: Add offset to bus numbers if necessary 2018-05-24 17:43:19 +01:00