aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-keystone.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <[email protected]>2020-02-25 08:17:02 +0000
committerLorenzo Pieralisi <[email protected]>2020-04-02 16:57:10 +0000
commit6f5e193bfb55963ce5f4f68cc927f371ddb0913b (patch)
treedb006ec7bb16dc81c37517c8f011a0fb025bf9f5 /drivers/pci/controller/dwc/pci-keystone.c
parentPCI: endpoint: Fix ->set_msix() to take BIR and offset as arguments (diff)
downloadkernel-6f5e193bfb55963ce5f4f68cc927f371ddb0913b.tar.gz
kernel-6f5e193bfb55963ce5f4f68cc927f371ddb0913b.zip
PCI: dwc: Fix dw_pcie_ep_raise_msix_irq() to get correct MSI-X table address
commit beb4641a787d ("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: beb4641a787d ("PCI: dwc: Add MSI-X callbacks handler") Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions