Skip to content

Commit e64844b

Browse files
Xiaowei BaoLorenzo Pieralisi
authored andcommitted
PCI: layerscape: Modify the MSIX to the doorbell mode
dw_pcie_ep_raise_msix_irq was never called in the exisitng driver before, because the ls1046a platform don't support the MSIX feature and msix_capable was always set to false. Now that add the ls1088a platform with MSIX support, use the doorbell method to support the MSIX feature. Link: https://lore.kernel.org/r/20200918080024.13639-9-Zhiqiang.Hou@nxp.com Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Andrew Murray <andrew.murray@arm.com>
1 parent cc255eb commit e64844b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/pci/controller/dwc/pci-layerscape-ep.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ static int ls_pcie_ep_raise_irq(struct dw_pcie_ep *ep, u8 func_no,
7979
case PCI_EPC_IRQ_MSI:
8080
return dw_pcie_ep_raise_msi_irq(ep, func_no, interrupt_num);
8181
case PCI_EPC_IRQ_MSIX:
82-
return dw_pcie_ep_raise_msix_irq(ep, func_no, interrupt_num);
82+
return dw_pcie_ep_raise_msix_irq_doorbell(ep, func_no,
83+
interrupt_num);
8384
default:
8485
dev_err(pci->dev, "UNKNOWN IRQ type\n");
8586
return -EINVAL;

0 commit comments

Comments
 (0)