All of lore.kernel.org
 help / color / mirror / Atom feed
From: keith.busch@intel.com (Keith Busch)
Subject: [PATCHv5 0/6] NVMe: suspend resume
Date: Mon, 15 Jul 2013 15:02:18 -0600	[thread overview]
Message-ID: <1373922144-24341-1-git-send-email-keith.busch@intel.com> (raw)

... yet another version.

v4->v5:

Renamed 'nvme_free_queue_mem' to 'nvme_free_queue' since it does more
than simply freeing the queue's memory; the bio_list is cleared here
instead of when disabling the queue since it doesn't appear anything
stops IO from being submitted while the device is being suspended.
The driver should be able to complete these bio requests after resume,
so we clear the bio_list only when we don't expect the device to start
handling IO again.

Moved the check for freeing previously allocated IO queues that are
no longer usable to the 'suspend/resume' patch since it would not be
possible to hit that code in the patch where it was initially added.

Added the patch to handle ioremap failure at the end of this change set
since we can use the newly added q_suspended flag to know whether or
not to call free_irq on the admin queue on initialization failure.

Fixed previous merge error setting dma coherent mask twice.

A few checkpatch issues.

Keith Busch (6):
  NVMe: Group pci related actions in functions
  NVMe: Separate queue alloc/free from create/delete
  NVMe: Separate controller init from disk discovery
  NVMe: Use normal shutdown
  NVMe: Add pci suspend/resume driver callbacks
  NVMe: Handle ioremap failure

 drivers/block/nvme-core.c |  437 +++++++++++++++++++++++++++++++--------------
 include/linux/nvme.h      |    2 +
 2 files changed, 308 insertions(+), 131 deletions(-)

             reply	other threads:[~2013-07-15 21:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 21:02 Keith Busch [this message]
2013-07-15 21:02 ` [PATCHv5 1/6] NVMe: Group pci related actions in functions Keith Busch
2013-07-15 21:02 ` [PATCHv5 2/6] NVMe: Separate queue alloc/free from create/delete Keith Busch
2013-07-15 21:02 ` [PATCHv5 3/6] NVMe: Separate controller init from disk discovery Keith Busch
2013-07-15 21:02 ` [PATCHv5 4/6] NVMe: Use normal shutdown Keith Busch
2013-07-15 21:02 ` [PATCHv5 5/6] NVMe: Add pci suspend/resume driver callbacks Keith Busch
2013-07-15 21:02 ` [PATCHv5 6/6] NVMe: Handle ioremap failure Keith Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373922144-24341-1-git-send-email-keith.busch@intel.com \
    --to=keith.busch@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.