Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: "Gustavo A." <gustavogyn@gmail.com>
Cc: Alex Williamson <alex@shazbot.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	kvm@vger.kernel.org, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 0/1] vfio/pci: Wait for GB202 firmware after reset
Date: Sat, 14 Nov 2026 19:58:28 -0400	[thread overview]
Message-ID: <20261114235828.GF3706007@nvidia.com> (raw)
In-Reply-To: <CAPZV9qUk3-eKOGEjVc7f0QzZcjb3L5QwUceAEUV0nuCdo90eGw@mail.gmail.com>

On Sat, Nov 14, 2026 at 02:48:53AM +0000, Gustavo A. wrote:

> PCI reset returns successfully while the Firmware Security Processor (FSP)
> is still initializing. Restricting BAR1 to 4 KiB mappings masks the problem.
> Waiting for FSP completion after reset restores normal output with stock
> KVM and verified 1 GiB BAR1 mappings.

That doesn't really make any sense, you are probably hitting a race
condition somewhere since 1G/4k changes the timing. And possibly
because your new kernel versions boot VFIO faster than older ones.

IIRC there was some VBIOS bug in old versions that caused issues with
vfio.

VFIO should definately not be doing things like this.

Jason

      parent reply	other threads:[~2026-11-14 23:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-14  2:48 [RFC PATCH 0/1] vfio/pci: Wait for GB202 firmware after reset Gustavo A.
2026-11-14  2:49 ` [RFC PATCH] vfio/pci: Wait for GB202 firmware initialization " Gustavo A.
2026-11-14 23:58 ` Jason Gunthorpe [this message]

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=20261114235828.GF3706007@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=alex@shazbot.org \
    --cc=bhelgaas@google.com \
    --cc=gustavogyn@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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