Skip to content
/ linux Public

Commit 6e2a610

Browse files
JohnnyCC10920Sasha Levin
authored andcommitted
PCI: Mark Nvidia GB10 to avoid bus reset
[ Upstream commit c81a2ce ] After asserting Secondary Bus Reset to downstream devices via a GB10 Root Port, the link may not retrain correctly, e.g., the link may retrain with a lower lane count or config accesses to downstream devices may fail. Prevent use of Secondary Bus Reset for devices below GB10. Signed-off-by: Johnny-CC Chang <Johnny-CC.Chang@mediatek.com> [bhelgaas: drop pci_ids.h update (only used once), update commit log] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20251113084441.2124737-1-Johnny-CC.Chang@mediatek.com Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 846b226 commit 6e2a610

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/pci/quirks.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3741,6 +3741,14 @@ static void quirk_no_bus_reset(struct pci_dev *dev)
37413741
dev->dev_flags |= PCI_DEV_FLAGS_NO_BUS_RESET;
37423742
}
37433743

3744+
/*
3745+
* After asserting Secondary Bus Reset to downstream devices via a GB10
3746+
* Root Port, the link may not retrain correctly.
3747+
* https://lore.kernel.org/r/20251113084441.2124737-1-Johnny-CC.Chang@mediatek.com
3748+
*/
3749+
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NVIDIA, 0x22CE, quirk_no_bus_reset);
3750+
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NVIDIA, 0x22D0, quirk_no_bus_reset);
3751+
37443752
/*
37453753
* Some NVIDIA GPU devices do not work with bus reset, SBR needs to be
37463754
* prevented for those affected devices.

0 commit comments

Comments
 (0)