linux_dsm_epyc7002/drivers/pci/endpoint
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
..
functions PCI: endpoint: Fix ->set_msix() to take BIR and offset as arguments 2020-04-02 17:57:10 +01:00
Kconfig PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Makefile PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
pci-ep-cfs.c PCI: endpoint: Fix clearing start entry in configfs 2020-03-31 09:13:27 +01:00
pci-epc-core.c PCI: endpoint: Fix ->set_msix() to take BIR and offset as arguments 2020-04-02 17:57:10 +01:00
pci-epc-mem.c PCI: endpoint: Fix for concurrent memory allocation in OB address region 2020-02-24 10:13:48 +00:00
pci-epf-core.c PCI: endpoint: Protect concurrent access to pci_epf_ops with mutex 2020-02-24 10:15:33 +00:00