public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* nvme-pci: split the probe and reset handlers v2
@ 2022-11-13 16:11 Christoph Hellwig
  2022-11-13 16:11 ` [PATCH 01/13] nvme: don't call nvme_init_ctrl_finish from nvme_passthru_end Christoph Hellwig
                   ` (14 more replies)
  0 siblings, 15 replies; 22+ messages in thread
From: Christoph Hellwig @ 2022-11-13 16:11 UTC (permalink / raw)
  To: Keith Busch
  Cc: Sagi Grimberg, Chaitanya Kulkarni, Gerd Bayer, asahi, linux-nvme

Hi all,

this series split the nvme-pci probe handler to be separate from the reset
handler.  I've been wanting to do that for a while, but the bug report from
Gerd that was caused by confusing about the controller state in the reset
state required it to be expedited.

Changes since v1:
 - switch back from IS_ENABLED for the SED_OPAL code to prevent a warning
   when it is disabled.
 - rename nvme_pci_alloc_ctrl to nvme_pci_alloc_dev
 - allow initializating shadow doorbell buffers during reset
 - simplify HMB setup a bit
 - shutdown the controller on reset failure

Diffstat:
 host/apple.c  |    2 
 host/core.c   |   39 ++++-
 host/fc.c     |    2 
 host/nvme.h   |    7 
 host/pci.c    |  413 ++++++++++++++++++++++++++++------------------------------
 host/rdma.c   |    2 
 host/tcp.c    |    2 
 target/loop.c |    2 
 8 files changed, 240 insertions(+), 229 deletions(-)


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2022-11-21 10:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-13 16:11 nvme-pci: split the probe and reset handlers v2 Christoph Hellwig
2022-11-13 16:11 ` [PATCH 01/13] nvme: don't call nvme_init_ctrl_finish from nvme_passthru_end Christoph Hellwig
2022-11-14  6:25   ` Sagi Grimberg
2022-11-13 16:11 ` [PATCH 02/13] nvme: move OPAL setup from PCIe to core Christoph Hellwig
2022-11-14 16:37   ` James Smart
2022-11-21 10:28   ` Sagi Grimberg
2022-11-13 16:11 ` [PATCH 03/13] nvme: simplify transport specific device attribute handling Christoph Hellwig
2022-11-13 16:11 ` [PATCH 04/13] nvme-pci: put the admin queue in nvme_dev_remove_admin Christoph Hellwig
2022-11-13 16:11 ` [PATCH 05/13] nvme-pci: move more teardown work to nvme_remove Christoph Hellwig
2022-11-13 16:11 ` [PATCH 06/13] nvme-pci: factor the iod mempool creation into a helper Christoph Hellwig
2022-11-13 16:11 ` [PATCH 07/13] nvme-pci: factor out a nvme_pci_alloc_dev helper Christoph Hellwig
2022-11-13 16:11 ` [PATCH 08/13] nvme-pci: set constant paramters in nvme_pci_alloc_ctrl Christoph Hellwig
2022-11-13 16:11 ` [PATCH 09/13] nvme-pci: call nvme_pci_configure_admin_queue from nvme_pci_enable Christoph Hellwig
2022-11-13 16:11 ` [PATCH 10/13] nvme-pci: simplify nvme_dbbuf_dma_alloc Christoph Hellwig
2022-11-14  6:28   ` Sagi Grimberg
2022-11-13 16:11 ` [PATCH 11/13] nvme-pci: move the HMPRE check into nvme_setup_host_mem Christoph Hellwig
2022-11-14  6:29   ` Sagi Grimberg
2022-11-13 16:11 ` [PATCH 12/13] nvme-pci: split the initial probe from the rest path Christoph Hellwig
2022-11-13 16:11 ` [PATCH 13/13] nvme-pci: don't unbind the driver on reset failure Christoph Hellwig
2022-11-14  6:32   ` Sagi Grimberg
2022-11-14  4:00 ` nvme-pci: split the probe and reset handlers v2 Chaitanya Kulkarni
2022-11-15  9:57 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox