linux/drivers/pci/controller/cadence
Hans Zhang d6fc45100a PCI: cadence: Search for MSI Capability with correct ID
907912c1da ("PCI: cadence: Use cdns_pcie_find_*capability() to avoid
hardcoding offsets") incorrectly searched for the MSI-X Capability ID
instead of the MSI Capability ID in cdns_pcie_ep_get_msi().

Search for PCI_CAP_ID_MSI, not PCI_CAP_ID_MSIX, to fix this problem.

Fixes: 907912c1da ("PCI: cadence: Use cdns_pcie_find_*capability() to avoid hardcoding offsets")
Reported-by: Sasha Levin <sashal@kernel.org>
Closes: https://lore.kernel.org/r/aOfMk9BW8BH2P30V@laps/
Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20251010144307.12979-1-18255117159@163.com
2025-10-13 16:42:29 -05:00
..
Kconfig PCI: sg2042: Add Sophgo SG2042 PCIe driver 2025-09-19 23:52:27 +05:30
Makefile PCI: sg2042: Add Sophgo SG2042 PCIe driver 2025-09-19 23:52:27 +05:30
pci-j721e.c PCI: j721e: Fix incorrect error message in probe() 2025-09-29 23:34:39 +05:30
pcie-cadence-ep.c PCI: cadence: Search for MSI Capability with correct ID 2025-10-13 16:42:29 -05:00
pcie-cadence-host.c PCI: cadence: Check for the existence of cdns_pcie::ops before using it 2025-09-19 23:39:38 +05:30
pcie-cadence-plat.c PCI: cadence: Drop unused member from struct cdns_plat_pcie 2023-10-05 10:49:19 -05:00
pcie-cadence.c Merge branch 'pci/controller/sophgo' 2025-10-03 12:13:22 -05:00
pcie-cadence.h Merge branch 'pci/controller/sophgo' 2025-10-03 12:13:22 -05:00
pcie-sg2042.c PCI: sg2042: Add Sophgo SG2042 PCIe driver 2025-09-19 23:52:27 +05:30