[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230809230518.GA12130@bhelgaas>
Date: Wed, 9 Aug 2023 18:05:18 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Wu Zongyong <wuzongyong@...ux.alibaba.com>
Cc: lukas@...ner.de, sdonthineni@...dia.com, bhelgaas@...gle.com,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
wllenyj@...ux.alibaba.com, wutu.xq2@...ux.alibaba.com,
gerry@...ux.alibaba.com
Subject: Re: [PATCH] PCI: Mark NVIDIA T4 GPUs to avoid bus reset
On Mon, Apr 10, 2023 at 08:34:11PM +0800, Wu Zongyong wrote:
> NVIDIA T4 GPUs do not work with SBR. This problem is found when the T4
> card is direct attached to a Root Port only. So avoid bus reset by
> marking T4 GPUs PCI_DEV_FLAGS_NO_BUS_RESET.
>
> Fixes: 4c207e7121fa ("PCI: Mark some NVIDIA GPUs to avoid bus reset")
> Signed-off-by: Wu Zongyong <wuzongyong@...ux.alibaba.com>
Applied to pci/virtualization for v6.6, thanks!
> ---
> drivers/pci/quirks.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index 44cab813bf95..be86b93b9e38 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -3618,7 +3618,7 @@ static void quirk_no_bus_reset(struct pci_dev *dev)
> */
> static void quirk_nvidia_no_bus_reset(struct pci_dev *dev)
> {
> - if ((dev->device & 0xffc0) == 0x2340)
> + if ((dev->device & 0xffc0) == 0x2340 || dev->device == 0x1eb8)
> quirk_no_bus_reset(dev);
> }
> DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID,
> --
> 2.34.3
>
Powered by blists - more mailing lists