Re: [PATCH v3 0/2] PCI/IOV: Fix deadlock when removing PF with enabled SR-IOV

From: Niklas Schnelle

Date: Mon Feb 02 2026 - 10:56:13 EST


On Sun, 2026-02-01 at 16:56 +0100, Thorsten Leemhuis wrote:
> Lo! Top-posting to facilitate processing.
>
> The issue fixed by these patches is on my list on tracked regressions.
> Makes me wonder: Did it fall through the cracks due to the festive
> season, was this fixes in a different way, or is this obsolete for some
> reason?
>
> Ciao, Thorsten
>
> On 12/16/25 23:14, Niklas Schnelle wrote:
> >
--- snip ---
> > The issue can be reproduced on both s390 and x86_64 with:
> >
> > $ echo <NUM> > /sys/bus/pci/devices/<pf>/sriov_numvfs
> > $ echo 1 > /sys/bus/pci/devices/<pf>/remove
> >
> > As this seems worse than the original, hard to hit, race fixed by the
> > cited commit I think we first want to revert the broken fix.

Hi Thorsten,

The issue is definitely still current, I just reproduced with the above
instructions on v6.19-rc8.

I fear in general there may still be some further issues with SR-IOV PF
disable path but this is still the best fix I know for my broken commit
(see Fixes tag) and the issue it tried to fix.

Thanks,
Niklas