[PATCH] bus/pci: fix interrupt setup for ioport in secondary process
David Marchand
david.marchand at redhat.com
Mon Oct 26 17:38:59 CET 2026
On Thu, 22 Oct 2026 at 13:40, David Marchand <david.marchand at redhat.com> wrote:
> On Thu, 22 Oct 2026 at 10:26, David Marchand <david.marchand at redhat.com> wrote:
> >
> > Now that the interrupt handle contains a -1 FD by default, the logic in
> > this code is wrong (yet, checking for a 0 FD was theoretically broken
> > even before).
> >
> > The first invocation for a given PCI device will always have a FD < 0,
> > since no code allocated a interrupt handle in the life of this PCI
> > device.
> >
> > Bugzilla ID: 2067
> > Fixes: 63a0dbf661e5 ("interrupts: mark FDs invalid on allocation")
> >
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
> Tested-by: Yu Jiang <yux.jiang at intel.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list