mbox series

[v3,00/16] nvme: refactoring and cleanups

Message ID 20200422070927.373048-1-its@irrelevant.dk (mailing list archive)
Headers show
Series nvme: refactoring and cleanups | expand

Message

Klaus Jensen April 22, 2020, 7:09 a.m. UTC
From: Klaus Jensen <k.jensen@samsung.com>

Changes since v2
~~~~~~~~~~~~~~~~
* Rebased on block-next (Kevin)
  This caused "nvme: move device parameters to separate struct" and
  "nvme: factor out cmb/pmr setup" to change a bit too much for me to
  feel its fair to keep the Reviewed-by's, so please re-review.

* Changed *err to *local_err (Philippe/Maxim)

* Added comment for nvme_ns_nlbas (Maxim)


Klaus Jensen (16):
  nvme: fix pci doorbell size calculation
  nvme: rename trace events to pci_nvme
  nvme: remove superfluous breaks
  nvme: move device parameters to separate struct
  nvme: use constants in identify
  nvme: refactor nvme_addr_read
  nvme: add max_ioqpairs device parameter
  nvme: remove redundant cmbloc/cmbsz members
  nvme: factor out property/constraint checks
  nvme: factor out device state setup
  nvme: factor out block backend setup
  nvme: add namespace helpers
  nvme: factor out namespace setup
  nvme: factor out pci setup
  nvme: factor out cmb/pmr setup
  nvme: factor out controller identify setup

 hw/block/nvme.c       | 543 +++++++++++++++++++++++-------------------
 hw/block/nvme.h       |  39 ++-
 hw/block/trace-events | 180 +++++++-------
 include/block/nvme.h  |   8 +
 4 files changed, 435 insertions(+), 335 deletions(-)