[PATCH v2 0/2] NVMe PCI endpoint target fixes

Damien Le Moal dlemoal at kernel.org
Thu Mar 6 00:55:47 PST 2025


All,

A couple of fixes for the NVMe PCI endpoint target driver. The first
patch fixes an issue that sometimes causes crashes (hard to reproduce).

Changes from v1:
 - Fix a screwup in patch 2: the error path in nvmet_pci_epf_create_cq()
   was calling nvmet_pci_epf_remove_irq_vector() depending on
   NVMET_PCI_EPF_Q_LIVE being set instead of NVMET_PCI_EPF_Q_IRQ_ENABLED
   being set.

Damien Le Moal (2):
  nvmet: pci-epf: Set NVMET_PCI_EPF_Q_LIVE when a queue is fully created
  nvmet: pci-epf: Do not add an IRQ vector if not needed

 drivers/nvme/target/pci-epf.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

-- 
2.48.1




More information about the Linux-nvme mailing list