Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Nazar Mokrynskyi <nazar@mokrynskyi.com>
Cc: kvm@vger.kernel.org, alex.williamson@redhat.com,
	linux-pci@vger.kernel.org
Subject: Re: vfio/pci: Qualcomm PCIe WiFi devices drop link during FLR causing host AER crash
Date: Mon, 20 Apr 2026 09:24:44 -0300	[thread overview]
Message-ID: <20260420122444.GN2577880@ziepe.ca> (raw)
In-Reply-To: <70de9b8f-b7c7-481b-8cb1-931e3b82eb0e@mokrynskyi.com>

On Sat, Apr 18, 2026 at 12:24:07AM +0300, Nazar Mokrynskyi wrote:
> Several Qualcomm PCIe WiFi devices drop their PCIe link as part of their
> internal reset sequence. Under bare metal this is transparent because the
> host root complex performs link retraining automatically. Under VFIO
> passthrough, the link-drop generates an uncorrectable AER error that
> escalates through the parent bridge to the host, crashing it.

If AER's crash the system then it is not compatible with VFIO, IMHO.

For VFIO to work as designed the platform must be able to safely
contain all the errors the PCI device can generate.

Jason

  reply	other threads:[~2026-04-20 12:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-17 21:24 vfio/pci: Qualcomm PCIe WiFi devices drop link during FLR causing host AER crash Nazar Mokrynskyi
2026-04-20 12:24 ` Jason Gunthorpe [this message]
2026-04-20 12:44   ` Alex Williamson
2026-04-20 12:49     ` Nazar Mokrynskyi
2026-05-05 10:05       ` Nazar Mokrynskyi

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=20260420122444.GN2577880@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=alex.williamson@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=nazar@mokrynskyi.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