Skip to content

NVMe: Enable SQes on the CMB

Jon Derrick linux-nvme 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesNew
  2. v42 patches 0 repliesSuperseded
  3. v32 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v22 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NVMe: Unify SQ entry writing and doorbell ringingdrivers/block/nvme-core.c+35 -451 reply
2/2NVMe: Use CMB for the IO SQes if availabledrivers/block/nvme-core.c include/linux/nvme.h+134 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCHv5 0/2] NVMe: Enable SQes on the CMB

This set unifies the command submission path, enables the cmb, and maps submission queues onto the controller memory buffer.

Applies against axboe's linux-block/master

v5: Changed module_param to bool. Changed nvme_alloc_sq_cmds to return error code per Christoph's suggestion.

v4: Fixed shift-overflow with cmbszu having 4GB+ units (Reported by Stephen Bates). Added module parameter to disable cmb sqes mapping, which will also disable cmb mapping as there are no other users of the cmb.

v3: Added separate __iomem sq_cmds_io pointer

v2: Removed nvme_{get,put}_cmd and added __iomem sq_cmds pointer

v1: Initial

Jon Derrick (2):
NVMe: Unify SQ entry writing and doorbell ringing
NVMe: Use CMB for the IO SQes if available

 drivers/block/nvme-core.c | 202 ++++++++++++++++++++++++++++++++++------------
 include/linux/nvme.h      |  17 ++++
 2 files changed, 169 insertions(+), 50 deletions(-)
Signature · 1 line
2.1.4