From: Bjorn Helgaas <helgaas@kernel.org>
To: Wu Zongyong <wuzongyong@linux.alibaba.com>
Cc: sdonthineni@nvidia.com, bhelgaas@google.com,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
wllenyj@linux.alibaba.com, wutu.xq2@linux.alibaba.com,
gerry@linux.alibaba.com
Subject: Re: [RFC PATCH] PCI: avoid SBR for NVIDIA T4
Date: Wed, 29 Mar 2023 12:05:15 -0500 [thread overview]
Message-ID: <20230329170515.GA3067097@bhelgaas> (raw)
In-Reply-To: <388bc353a5f88edb502ec04c0dc53ab62a526020.1680090885.git.wuzongyong@linux.alibaba.com>
On Wed, Mar 29, 2023 at 07:58:45PM +0800, Wu Zongyong wrote:
> Secondary bus reset will fail if NVIDIA T4 card is direct attached to a
> root port.
Blank line between paragraphs. Rewrap to fill 75 columns if it's a
single paragraph.
Is this only a problem when direct attached to a Root Port? Why would
that be? If it's *not* related to being directly under a Root Port,
don't mention that at all.
> So avoid to do bus reset, pci_parent_bus_reset() works nomarlly.
>
> Maybe NVIDIA guys can do some detailed explanation abount the SBR
> behaviour of GPUs.
This is a follow-on to 4c207e7121fa ("PCI: Mark some NVIDIA GPUs to
avoid bus reset"), so probably should have a Fixes: tag so it goes
whereever that commit goes.
Also copy the subject line from 4c207e7121fa, e.g.,
PCI: Mark NVIDIA T4 GPUs to avoid bus reset
Are there any problem reports or bugzilla issues you can include a URL
to?
> Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
> ---
> 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
>
next prev parent reply other threads:[~2023-03-29 17:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-29 11:58 [RFC PATCH] PCI: avoid SBR for NVIDIA T4 Wu Zongyong
2023-03-29 17:05 ` Bjorn Helgaas [this message]
2023-03-30 2:10 ` Wu Zongyong
2023-03-30 15:49 ` Bjorn Helgaas
2023-03-31 2:11 ` Wu Zongyong
2023-04-03 4:02 ` Wu Zongyong
2023-03-30 2:41 ` Lukas Wunner
2023-04-10 12:34 ` [PATCH] PCI: Mark NVIDIA T4 GPUs to avoid bus reset Wu Zongyong
2023-04-26 8:13 ` Wu Zongyong
2023-08-09 23:05 ` Bjorn Helgaas
2023-09-08 2:50 ` Wu Zongyong
2023-09-08 3:40 ` Alex Williamson
2023-09-08 20:11 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230329170515.GA3067097@bhelgaas \
--to=helgaas@kernel.org \
--cc=bhelgaas@google.com \
--cc=gerry@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=sdonthineni@nvidia.com \
--cc=wllenyj@linux.alibaba.com \
--cc=wutu.xq2@linux.alibaba.com \
--cc=wuzongyong@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox