linux_dsm_epyc7002/drivers/pci/controller/dwc
Kishon Vijay Abraham I 83153d9f36 PCI: endpoint: Fix ->set_msix() to take BIR and offset as arguments
commit 8963106eab ("PCI: endpoint: Add MSI-X interfaces") while
adding support to raise MSI-X interrupts from endpoint didn't include
BAR Indicator register (BIR) configuration and MSI-X table offset as
arguments in pci_epc_set_msix(). This would result in endpoint
controller register using random BAR indicator register, the memory
for which might not be allocated by the endpoint function driver.
Add BAR indicator register and MSI-X table offset as arguments in
pci_epc_set_msix() and allocate space for MSI-X table and pending
bit array (PBA) in pci-epf-test endpoint function driver.

Fixes: 8963106eab ("PCI: endpoint: Add MSI-X interfaces")
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
2020-04-02 17:57:10 +01:00
..
Kconfig PCI: tegra: Add support for PCIe endpoint mode in Tegra194 2020-03-31 09:13:17 +01:00
Makefile PCI: dwc: intel: PCIe RC controller driver 2020-01-09 11:57:18 +00:00
pci-dra7xx.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
pci-exynos.c PCI: exynos: Rename Exynos to lowercase 2020-01-13 13:46:15 +00:00
pci-imx6.c Merge branch 'remotes/lorenzo/pci/misc' 2019-09-23 16:10:26 -05:00
pci-keystone.c PCI: keystone: Fix error handling when "num-viewport" DT property is not populated 2020-01-21 16:39:44 +00:00
pci-layerscape-ep.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pci-layerscape.c PCI: layerscape: Add LS1028a support 2019-11-08 10:45:00 +00:00
pci-meson.c PCI: amlogic: meson: Add support for G12A 2019-10-15 14:57:32 +01:00
pcie-al.c PCI: dwc: al: Add Amazon Annapurna Labs PCIe controller driver 2019-09-16 14:16:44 +01:00
pcie-armada8k.c PCI: armada8x: Propagate errors for optional PHYs 2019-09-04 15:42:38 +01:00
pcie-artpec6.c PCI: artpec6: Configure FTS with dwc helper function 2020-01-09 11:57:29 +00:00
pcie-designware-ep.c PCI: endpoint: Fix ->set_msix() to take BIR and offset as arguments 2020-04-02 17:57:10 +01:00
pcie-designware-host.c Merge branch 'remotes/lorenzo/pci/mmio-dma-ranges' 2019-11-28 08:54:53 -06:00
pcie-designware-plat.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pcie-designware.c PCI: dwc: intel: PCIe RC controller driver 2020-01-09 11:57:18 +00:00
pcie-designware.h PCI: dwc: Add API to notify core initialization completion 2020-02-25 12:02:37 +00:00
pcie-hisi.c PCI: Collect all native drivers under drivers/pci/controller/ 2018-06-08 07:50:11 -05:00
pcie-histb.c PCI: histb: Propagate errors for optional regulators 2019-09-04 15:43:09 +01:00
pcie-intel-gw.c PCI: dwc: intel: PCIe RC controller driver 2020-01-09 11:57:18 +00:00
pcie-kirin.c PCI: kirin: Make structure kirin_dw_pcie_ops constant 2019-08-21 11:45:14 +01:00
pcie-qcom.c PCI: qcom: Add support for SDM845 PCIe controller 2020-01-10 16:34:14 +00:00
pcie-spear13xx.c PCI: spear13xx: Drop unnecessary root_bus_nr setting 2018-07-13 14:10:55 +01:00
pcie-tegra194.c PCI: tegra: Add support for PCIe endpoint mode in Tegra194 2020-03-31 09:13:17 +01:00
pcie-uniphier.c PCI: uniphier: remove module code from built-in driver 2020-01-13 16:38:50 +00:00