Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: "guanghuifeng@linux.alibaba.com" <guanghuifeng@linux.alibaba.com>
Cc: "Bjorn Helgaas" <helgaas@kernel.org>,
	linux-pci <linux-pci@vger.kernel.org>,
	kanie <kanie@linux.alibaba.com>,
	alikernel-developer <alikernel-developer@linux.alibaba.com>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Subject: Re: [PATCH] PCI: Fix PCIe SBR dev/link wait error
Date: Mon, 1 Dec 2025 17:18:09 +0100	[thread overview]
Message-ID: <aS2_wccsS1rjiqQS@wunner.de> (raw)
In-Reply-To: <238d7010-b54a-49cc-b5d0-e8422f59310f@linux.alibaba.com>

On Mon, Dec 01, 2025 at 10:46:00PM +0800, guanghuifeng@linux.alibaba.com wrote:
> 在 2025/12/1 21:26, Lukas Wunner 写道:
> > On Mon, Dec 01, 2025 at 08:56:10PM +0800, guanghuifeng@linux.alibaba.com wrote:
> > > 2025/12/1 18:03, Lukas Wunner :
> > > > It seems highly unusual that the different functions of the same
> > > > physical device require different delays until they're accessible.
> > > >  I don't think we can accept such a sweeping change wholesale without
> > > > more details, so please share what the topology looks like (lspci -tv),
> > > > what devices are involved (lspci -vvv) and which device requires
> > > > extra wait time for some of its functions.
> 
> 1. Currently, there are significant differences in reset recovery times
> among some PCIe multifunction devices, especially when the functions and
> complexities vary greatly, including some devices used for testing purposes.

Which devices are we talking about exactly?  For internal test devices,
upstream changes to accomodate to quirks are usually frowned upon.
Because the expectation is that those changes can be kept in local
downstream kernel trees and products that actually ship to customers
do not exhibit those quirks.

> 2. Furthermore, similar implementations exist in various commercial devices
> (with vastly different functions), such as the multifunction devices
> (including VGA, audio functions, etc.) mentioned in the following link:
> 
> https://forums.developer.nvidia.com/t/nvidia-rtx-5090-not-detected-by-nvidia-smi-on-ubuntu-server-24-04/327409?page=2

I've looked at that forum discussion and it seems there's an issue with
Resizeable BAR support on certain Nvidia cards, but I'm not seeing
anything on that page relating to functions taking longer than
others to come out of reset.  So this doesn't seem to be related to
the present patch.

Thanks,

Lukas

  reply	other threads:[~2025-12-01 16:18 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-24 10:45 [PATCH] PCI: Fix PCIe SBR dev/link wait error Guanghui Feng
2025-11-24 23:58 ` Bjorn Helgaas
2025-11-25  6:20   ` guanghui.fgh
2025-12-01 10:03     ` Lukas Wunner
2025-12-01 12:56       ` guanghuifeng
2025-12-01 13:26         ` Lukas Wunner
2025-12-01 14:46           ` guanghuifeng
2025-12-01 16:18             ` Lukas Wunner [this message]
2025-11-26  8:20 ` Ilpo Järvinen
2025-11-26 12:08   ` guanghui.fgh
2025-11-26 12:37     ` Ilpo Järvinen
2025-11-26 14:22       ` guanghui.fgh
2025-11-26 14:47         ` Ilpo Järvinen
2025-11-29 16:36           ` [PATCH v2] " Guanghui Feng
2025-12-01  9:21             ` Ilpo Järvinen
2025-12-01 12:21               ` guanghuifeng
2025-12-01 13:08                 ` Ilpo Järvinen
2025-12-02  4:32                   ` [PATCH v4 0/1] " Guanghui Feng
2025-12-02  4:32                     ` [PATCH v4 v4 1/1] " Guanghui Feng
2025-12-02 16:49                       ` Bjorn Helgaas
2025-12-02 16:51                         ` Bjorn Helgaas
2025-12-03 14:41                       ` Ilpo Järvinen
2025-11-30  5:17           ` [PATCH v3] " Guanghui Feng
2025-12-01  9:24             ` Ilpo Järvinen
2025-12-01 12:31               ` guanghuifeng

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=aS2_wccsS1rjiqQS@wunner.de \
    --to=lukas@wunner.de \
    --cc=alikernel-developer@linux.alibaba.com \
    --cc=guanghuifeng@linux.alibaba.com \
    --cc=helgaas@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=kanie@linux.alibaba.com \
    --cc=linux-pci@vger.kernel.org \
    /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