]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: qcom: Remove MSI-X Capability for Root Ports
authorQiang Yu <qiang.yu@oss.qualcomm.com>
Mon, 10 Nov 2025 06:59:43 +0000 (22:59 -0800)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 18 Dec 2025 07:32:02 +0000 (13:02 +0530)
commit7c29cd0fdc07e5e21202fdeed0b63cba2b4f10c6
tree5765c6e71cd8574fec222436af134962b123fc96
parentf5cd8a929c825ad4df3972df041ad62ad84ca6c9
PCI: qcom: Remove MSI-X Capability for Root Ports

On some platforms like Glymur, the hardware does not support MSI-X in RC
mode, yet still exposes the MSI-X capability. However, it omits the
required MSI-X Table and PBA structures.

This mismatch can lead to issues where the PCIe port driver requests MSI-X
instead of MSI, causing the Root Port to trigger interrupts by writing to
an uninitialized address, resulting in SMMU faults.

To address this, remove MSI-X capability unconditionally for Root Ports of
all SoCs as none of the Qcom PCIe Root Ports support MSI-X.

Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com>
[mani: updated description]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20251109-remove_cap-v1-4-2208f46f4dc2@oss.qualcomm.com
drivers/pci/controller/dwc/pcie-qcom.c