We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c2ee216 + 46992e0 commit 8935e30Copy full SHA for 8935e30
1 file changed
drivers/pci/controller/dwc/pcie-designware-host.c
@@ -1106,6 +1106,16 @@ int dw_pcie_setup_rc(struct dw_pcie_rp *pp)
1106
1107
dw_pcie_dbi_ro_wr_dis(pci);
1108
1109
+ /*
1110
+ * If iMSI-RX module is used as the MSI controller, remove MSI and
1111
+ * MSI-X capabilities from PCIe Root Ports to ensure fallback to INTx
1112
+ * interrupt handling.
1113
+ */
1114
+ if (pp->has_msi_ctrl) {
1115
+ dw_pcie_remove_capability(pci, PCI_CAP_ID_MSI);
1116
+ dw_pcie_remove_capability(pci, PCI_CAP_ID_MSIX);
1117
+ }
1118
+
1119
return 0;
1120
}
1121
EXPORT_SYMBOL_GPL(dw_pcie_setup_rc);
0 commit comments