On 3/7/2020 12:20 PM, Stanislav Spassov wrote: > + rc = pci_dev_poll_until_not_equal(dev, PCI_VENDOR_ID, 0xffff, > + 0x0001, reset_type, timeout, > + &waited, &id); > + if (rc) > + return rc; > + If I remember right, this doesn't work for VF sending CRS because VF always returns 0xffff for VENDOR_ID register.