Re: [PATCH v2 2/2] PCI: Don't treat ~0 as ready in pci_dev_wait() with RRS SV
From: Alexander Gruhlke
Date: Sun Oct 11 2026 - 12:50:27 EST
On Sun, Oct 11, 2026 at 04:41:42PM +0000, sashiko-bot@xxxxxxxxxx wrote:
> Does this cause pci_dev_wait() to exit prematurely for Virtual Functions
> (VFs) that return ~0 under Configuration RRS Software Visibility?
Yes, but that's the current behavior for all devices; the patch only
changes it for non-VFs.
VFs could be covered by reading the Command register when the Vendor ID
reads ~0 and waiting while that is ~0, too. Devices that are ready would
still need only one read.
Lukas, Bjorn: should I do that in v3, or keep the current form?
Thanks,
Alexander