[PW_SID:1075354] PCI: Allow disabling port services on broken root ports#1699
[PW_SID:1075354] PCI: Allow disabling port services on broken root ports#1699linux-riscv-bot wants to merge 2 commits into
Conversation
Add PCI_DEV_FLAGS_NO_PORT_SERVICES to allow quirks to prevent the PCIe port service driver from probing specific devices. This provides a per-device equivalent of the global pcie_ports=compat kernel parameter. Some platforms have PCIe root ports that break MSI delivery to downstream devices when native port services (AER, PME, bwctrl, etc.) are active. The existing pci_host_bridge native_* flags do not cover all services (notably bwctrl), so a mechanism to skip port driver probing entirely on a per-device basis is needed. Cc: stable@vger.kernel.org Signed-off-by: Han Gao <gaohan@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
SG2042's PCIe root ports [1f1c:2042] fail to deliver MSI interrupts to downstream devices when native port services are enabled. Devices under an affected root port receive zero interrupts despite successful vector allocation, causing driver timeouts (e.g. amdgpu fence fallback timer expired on all rings). Set PCI_DEV_FLAGS_NO_PORT_SERVICES on SG2042 root ports to prevent the port service driver from probing, restoring correct MSI delivery. Fixes: 1c72774 ("PCI: sg2042: Add Sophgo SG2042 PCIe driver") Cc: stable@vger.kernel.org Signed-off-by: Han Gao <gaohan@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 1: "[1/2] PCI: Add per-device flag to disable native PCIe port services" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
|
Patch 2: "[2/2] PCI: Add quirk to disable PCIe port services on Sophgo SG2042" |
PR for series 1075354 applied to workflow__riscv__fixes
Name: PCI: Allow disabling port services on broken root ports
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1075354
Version: 1