Skip to content

Commit d5af729

Browse files
Wu Zongyongbjorn-helgaas
authored andcommitted
PCI: Mark NVIDIA T4 GPUs to avoid bus reset
NVIDIA T4 GPUs do not work with SBR. This problem is found when the T4 card is direct attached to a Root Port only. Avoid bus reset by marking T4 GPUs PCI_DEV_FLAGS_NO_BUS_RESET. Fixes: 4c207e7 ("PCI: Mark some NVIDIA GPUs to avoid bus reset") Link: https://lore.kernel.org/r/2dcebea53a6eb9bd212ec6d8974af2e5e0333ef6.1681129861.git.wuzongyong@linux.alibaba.com Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent 06c2afb commit d5af729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/quirks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3724,7 +3724,7 @@ static void quirk_no_bus_reset(struct pci_dev *dev)
37243724
*/
37253725
static void quirk_nvidia_no_bus_reset(struct pci_dev *dev)
37263726
{
3727-
if ((dev->device & 0xffc0) == 0x2340)
3727+
if ((dev->device & 0xffc0) == 0x2340 || dev->device == 0x1eb8)
37283728
quirk_no_bus_reset(dev);
37293729
}
37303730
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID,

0 commit comments

Comments
 (0)