linux_old1/drivers/pci/endpoint
Kishon Vijay Abraham I 6f5e193bfb PCI: dwc: Fix dw_pcie_ep_raise_msix_irq() to get correct MSI-X table address
commit beb4641a78 ("PCI: dwc: Add MSI-X callbacks handler"),
in order to raise MSI-X interrupt, obtained MSIX table address from
Base Address Register (BAR). However BAR only holds PCI address
programmed by the host whereas the MSI-X table should be in the local
memory.

Store the MSI-X table address (virtual address) as part of ->set_bar()
callback and use that to get the message address and message data
here.

Fixes: beb4641a78 ("PCI: dwc: Add MSI-X callbacks handler")
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: dwc: Fix dw_pcie_ep_raise_msix_irq() to get correct MSI-X table address 2020-04-02 17:57:10 +01:00