[PATCH] Fix race bug in nvme_poll_irqdisable()
Keith Busch
kbusch at kernel.org
Tue Mar 10 07:25:34 PDT 2026
On Sat, Mar 07, 2026 at 02:46:36PM -0500, Sungwoo Kim wrote:
> In the following scenario, pdev can be disabled between (1) and (3) by
> (2). This sets pdev->msix_enabled = 0. Then, pci_irq_vector() will
> return MSI-X IRQ(>15) for (1) whereas return INTx IRQ(<=15) for (2).
> This causes IRQ warning because it tries to enable INTx IRQ that has
> never been disabled before.
Thanks, applied to nvme-7.0 with updated commit subject.
More information about the Linux-nvme
mailing list