Re: [PATCH v3 4/4] pcie: don't set link state active if the slot is empty

2021-02-19 Thread Laurent Vivier
Hi, Any comment? This fix is really needed to fix a bug that prevents to use virtio-net failover on recent kernel. Thanks, Laurent On 12/02/2021 14:52, Laurent Vivier wrote: > When the pcie slot is initialized, by default PCI_EXP_LNKSTA_DLLLA > (Data Link Layer Link Active) is set in PCI_EXP_L

[PATCH v3 4/4] pcie: don't set link state active if the slot is empty

2021-02-12 Thread Laurent Vivier
When the pcie slot is initialized, by default PCI_EXP_LNKSTA_DLLLA (Data Link Layer Link Active) is set in PCI_EXP_LNKSTA (Link Status) without checking if the slot is empty or not. This is confusing for the kernel because as it sees the link is up it tries to read the vendor ID and fails: (From