Skip to content

NVMe: Introduce CMB allocation scheme

Jon Derrick linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3NVMe: Introduce sysfs entries for submission queues in CMBdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/pci.c+259 -700 replies
2/3NVMe: Generate resource tree for CMBdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/pci.c+48 -330 replies
2/3NVMe: Generate resource tree for CMB+0 -00 replies
3/3NVMe: Create CMB resource sysfs filedrivers/nvme/host/core.c+28 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] NVMe: Introduce CMB allocation scheme

Applies to Jens' for-4.5/nvme

This patchset changes the CMB allocation scheme. Instead of reserving the entire range for SQes and automatically placing the SQes in the CMB, this set creates sysfs knobs to manage it. This allows partial usage of the CMB for SQes, so that the remainder can be mmapped or used for other NVMe-defined CMB usages.

Jon Derrick (3):
NVMe: Introduce sysfs entries for submission queues in CMB
NVMe: Generate resource tree for CMB
NVMe: Create CMB resource sysfs file

 drivers/nvme/host/core.c | 161 ++++++++++++++++++++++++++++++++++-
 drivers/nvme/host/nvme.h |  21 +++++
 drivers/nvme/host/pci.c  | 212 ++++++++++++++++++++++++++++++-----------------
 3 files changed, 313 insertions(+), 81 deletions(-)
Signature · 1 line
2.1.4