qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/18] hw/block/nvme: bump to v1.3
@ 2020-07-03  6:34 Klaus Jensen
  2020-07-03  6:34 ` [PATCH v2 01/18] hw/block/nvme: bump spec data structures " Klaus Jensen
                   ` (17 more replies)
  0 siblings, 18 replies; 42+ messages in thread
From: Klaus Jensen @ 2020-07-03  6:34 UTC (permalink / raw)
  To: qemu-block
  Cc: Kevin Wolf, Dmitry Fomichev, Klaus Jensen, qemu-devel, Max Reitz,
	Klaus Jensen, Keith Busch, Javier Gonzalez, Maxim Levitsky,
	Philippe Mathieu-Daudé

From: Klaus Jensen <k.jensen@samsung.com>

This adds mandatory features of NVM Express v1.3 to the emulated NVMe
device.

v2:
  * hw/block/nvme: bump spec data structures to v1.3
    - Shorten some constants. (Dmitry)
  * hw/block/nvme: add temperature threshold feature
    - Remove unused temp_thresh member. (Dmitry)
  * hw/block/nvme: add support for the get log page command
    - Change the temperature field in the NvmeSmartLog struct to be an
      uint16_t and handle wierd alignment by adding QEMU_PACKED to the
      struct. (Dmitry)
  * hw/block/nvme: add remaining mandatory controller parameters
    - Fix spelling. (Dmitry)
  * hw/block/nvme: support the get/set features select and save fields
    - Fix bad logic causing temperature thresholds to always report
      defaults. (Dmitry)
  * hw/block/nvme: reject invalid nsid values in active namespace id list
    - Added patch; reject the 0xfffffffe and 0xffffffff nsid values.


Klaus Jensen (18):
  hw/block/nvme: bump spec data structures to v1.3
  hw/block/nvme: additional tracing
  hw/block/nvme: add support for the abort command
  hw/block/nvme: add temperature threshold feature
  hw/block/nvme: mark fw slot 1 as read-only
  hw/block/nvme: add support for the get log page command
  hw/block/nvme: add support for the asynchronous event request command
  hw/block/nvme: move NvmeFeatureVal into hw/block/nvme.h
  hw/block/nvme: flush write cache when disabled
  hw/block/nvme: fix missing endian conversion
  hw/block/nvme: add remaining mandatory controller parameters
  hw/block/nvme: support the get/set features select and save fields
  hw/block/nvme: make sure ncqr and nsqr is valid
  hw/block/nvme: support identify namespace descriptor list
  hw/block/nvme: reject invalid nsid values in active namespace id list
  hw/block/nvme: enforce valid queue creation sequence
  hw/block/nvme: provide the mandatory subnqn field
  hw/block/nvme: bump supported version to v1.3

 block/nvme.c          |  18 +-
 hw/block/nvme.c       | 611 ++++++++++++++++++++++++++++++++++++++++--
 hw/block/nvme.h       |  62 ++++-
 hw/block/trace-events |  27 +-
 include/block/nvme.h  | 222 ++++++++++++---
 5 files changed, 874 insertions(+), 66 deletions(-)

-- 
2.27.0



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

end of thread, other threads:[~2020-07-04 21:42 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03  6:34 [PATCH v2 00/18] hw/block/nvme: bump to v1.3 Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 01/18] hw/block/nvme: bump spec data structures " Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 02/18] hw/block/nvme: additional tracing Klaus Jensen
2020-07-03  8:03   ` Philippe Mathieu-Daudé
2020-07-03  8:14     ` Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 03/18] hw/block/nvme: add support for the abort command Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 04/18] hw/block/nvme: add temperature threshold feature Klaus Jensen
2020-07-03  8:08   ` Philippe Mathieu-Daudé
2020-07-03  8:18     ` Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 05/18] hw/block/nvme: mark fw slot 1 as read-only Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 06/18] hw/block/nvme: add support for the get log page command Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 07/18] hw/block/nvme: add support for the asynchronous event request command Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 08/18] hw/block/nvme: move NvmeFeatureVal into hw/block/nvme.h Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 09/18] hw/block/nvme: flush write cache when disabled Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 10/18] hw/block/nvme: fix missing endian conversion Klaus Jensen
2020-07-03  8:34   ` Philippe Mathieu-Daudé
2020-07-03 10:11     ` Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 11/18] hw/block/nvme: add remaining mandatory controller parameters Klaus Jensen
2020-07-03  8:31   ` Philippe Mathieu-Daudé
2020-07-03  8:46     ` Klaus Jensen
2020-07-03  9:21       ` Philippe Mathieu-Daudé
2020-07-03 10:10         ` Klaus Jensen
2020-07-03 11:02           ` Philippe Mathieu-Daudé
2020-07-03 14:37             ` Klaus Jensen
2020-07-04 21:33               ` Philippe Mathieu-Daudé
2020-07-03  6:34 ` [PATCH v2 12/18] hw/block/nvme: support the get/set features select and save fields Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 13/18] hw/block/nvme: make sure ncqr and nsqr is valid Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 14/18] hw/block/nvme: support identify namespace descriptor list Klaus Jensen
2020-07-03  8:27   ` Philippe Mathieu-Daudé
2020-07-03 10:00     ` Klaus Jensen
2020-07-03 11:00       ` Philippe Mathieu-Daudé
2020-07-03  6:34 ` [PATCH v2 15/18] hw/block/nvme: reject invalid nsid values in active namespace id list Klaus Jensen
2020-07-03  8:20   ` Philippe Mathieu-Daudé
2020-07-03  8:37     ` Klaus Jensen
2020-07-03  9:14       ` Philippe Mathieu-Daudé
2020-07-03  9:22         ` Klaus Jensen
2020-07-03 10:59           ` Philippe Mathieu-Daudé
2020-07-03  6:34 ` [PATCH v2 16/18] hw/block/nvme: enforce valid queue creation sequence Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 17/18] hw/block/nvme: provide the mandatory subnqn field Klaus Jensen
2020-07-03  8:18   ` Philippe Mathieu-Daudé
2020-07-03  8:25     ` Klaus Jensen
2020-07-03  6:34 ` [PATCH v2 18/18] hw/block/nvme: bump supported version to v1.3 Klaus Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).