[PATCH v4 0/2] hw/block/nvme: add simple copy command

Klaus Jensen posted 2 patches 3 years, 4 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/block/nvme-ns.h    |   4 +
hw/block/nvme.h       |   1 +
include/block/nvme.h  |  45 ++++++++-
hw/block/nvme-ns.c    |   8 ++
hw/block/nvme.c       | 217 +++++++++++++++++++++++++++++++++++++++++-
hw/block/trace-events |   6 ++
6 files changed, 278 insertions(+), 3 deletions(-)
[PATCH v4 0/2] hw/block/nvme: add simple copy command
Posted by Klaus Jensen 3 years, 4 months ago
From: Klaus Jensen <k.jensen@samsung.com>

Add support for TP 4065 ("Simple Copy Command").

Changes for v4

  * merge for-loops (Keith)

Changes for v3

  * rebased on nvme-next
  * changed the default msrc value to a more reasonable 127 from 255 to
    better align with the default mcl value of 128.

Changes for v2

  * prefer style that aligns with existing NvmeIdCtrl field enums
    (Minwoo)
  * swapped elbat/elbatm fields in copy source range. I've kept the R-b
    and A-b from Minwoo and Stefan since this is a non-functional change
    (the device does not use these fields at all).

Klaus Jensen (2):
  nvme: updated shared header for copy command
  hw/block/nvme: add simple copy command

 hw/block/nvme-ns.h    |   4 +
 hw/block/nvme.h       |   1 +
 include/block/nvme.h  |  45 ++++++++-
 hw/block/nvme-ns.c    |   8 ++
 hw/block/nvme.c       | 217 +++++++++++++++++++++++++++++++++++++++++-
 hw/block/trace-events |   6 ++
 6 files changed, 278 insertions(+), 3 deletions(-)

-- 
2.29.2