Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions drivers/pci/controller/dwc/pcie-designware-host.c
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,16 @@ int dw_pcie_setup_rc(struct dw_pcie_rp *pp)

dw_pcie_dbi_ro_wr_dis(pci);

/*
* If iMSI-RX module is used as the MSI controller, remove MSI and
* MSI-X capabilities from PCIe Root Ports to ensure fallback to INTx
* interrupt handling.
*/
if (pp->has_msi_ctrl) {
dw_pcie_remove_capability(pci, PCI_CAP_ID_MSI);
dw_pcie_remove_capability(pci, PCI_CAP_ID_MSIX);
}

return 0;
}
EXPORT_SYMBOL_GPL(dw_pcie_setup_rc);
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/controller/dwc/pcie-qcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,6 +1483,7 @@ static const struct qcom_pcie_cfg cfg_1_9_0 = {
static const struct qcom_pcie_cfg cfg_1_34_0 = {
.ops = &ops_1_9_0,
.override_no_snoop = true,
.no_l0s = true,
};

static const struct qcom_pcie_cfg cfg_2_1_0 = {
Expand Down