Skip to contentSkip to conversation

nvme: factor out cmb/pmr setup

PATCH Klaus Jensen 2 participants 3 messages Apr 29, 2020 – May 5, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 36 lines · Klaus Jensen

From: Klaus Jensen <[email protected]>

Changes since v3
~~~~~~~~~~~~~~~~
* Remove the addition of a new PROPERTIES macro in "nvme: move device parameters to separate struct" (Philippe)

* Add NVME_PMR_BIR constant and use it in PMR setup.

* Split "nvme: factor out cmb/pmr setup" into
- "nvme: factor out cmb setup",
- "nvme: factor out pmr setup" and
- "nvme: do cmb/pmr init as part of pci init"
(Philippe)

Klaus Jensen (18):
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 setup
nvme: factor out pmr setup
nvme: do cmb/pmr init as part of pci init
nvme: factor out controller identify setup

Quoted 10 lines
 hw/block/nvme.c       | 543 ++++++++++++++++++++++++------------------
 hw/block/nvme.h       |  31 ++-
 hw/block/trace-events | 180 +++++++-------
 include/block/nvme.h  |   8 +
 4 files changed, 429 insertions(+), 333 deletions(-)
Signature · 1 line
2.26.2

Gentle bump on this.

I apparently managed to screw up the git send-email this time, loosing a bunch of CCs in the process. Sorry about that.

#2 lore raw
Quoted 48 lines · Klaus Jensen
Quoted 36 lines · Klaus Jensen

From: Klaus Jensen <[email protected]>

Changes since v3
~~~~~~~~~~~~~~~~
* Remove the addition of a new PROPERTIES macro in "nvme: move device parameters to separate struct" (Philippe)

* Add NVME_PMR_BIR constant and use it in PMR setup.

* Split "nvme: factor out cmb/pmr setup" into
- "nvme: factor out cmb setup",
- "nvme: factor out pmr setup" and
- "nvme: do cmb/pmr init as part of pci init"
(Philippe)

Klaus Jensen (18):
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 setup
nvme: factor out pmr setup
nvme: do cmb/pmr init as part of pci init
nvme: factor out controller identify setup

Quoted 10 lines
 hw/block/nvme.c       | 543 ++++++++++++++++++++++++------------------
 hw/block/nvme.h       |  31 ++-
 hw/block/trace-events | 180 +++++++-------
 include/block/nvme.h  |   8 +
 4 files changed, 429 insertions(+), 333 deletions(-)
Signature · 1 line
2.26.2
Quoted 5 lines

Gentle bump on this.

I apparently managed to screw up the git send-email this time, loosing a bunch of CCs in the process. Sorry about that.

Bumping again. I have not received any new comments on this.

I'm missing a couple of Reviewed-by's (they all carry Maxim's) on

nvme: move device parameters to separate struct
I think this can also carry Philippe's Reviewed-by, since the only change is the removal of the PROPERTIES macro.

nvme: factor out cmb setup
nvme: factor out pmr setup
nvme: do cmb/pmr init as part of pci init
I think these could also carry Reviewed-by from Keith as well, since the only change is also factoring out the PMR setup (which was not there when Keith reviewed it) and the splitting into two trivial patches per request from Philippe.

Thanks,
Klaus

#3 lore raw

Hi Klaus,

Quoted 49 lines · Klaus Jensen
Quoted 48 lines · Klaus Jensen
Quoted 46 lines · Klaus Jensen

From: Klaus Jensen <[email protected]>

Changes since v3
~~~~~~~~~~~~~~~~
* Remove the addition of a new PROPERTIES macro in "nvme: move device parameters to separate struct" (Philippe)

* Add NVME_PMR_BIR constant and use it in PMR setup.

* Split "nvme: factor out cmb/pmr setup" into
- "nvme: factor out cmb setup",
- "nvme: factor out pmr setup" and
- "nvme: do cmb/pmr init as part of pci init"
(Philippe)

Klaus Jensen (18):
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 setup
nvme: factor out pmr setup
nvme: do cmb/pmr init as part of pci init
nvme: factor out controller identify setup

  hw/block/nvme.c       | 543 ++++++++++++++++++++++++------------------
  hw/block/nvme.h       |  31 ++-
  hw/block/trace-events | 180 +++++++-------
  include/block/nvme.h  |   8 +
  4 files changed, 429 insertions(+), 333 deletions(-)
Signature · 1 line
2.26.2
Quoted 7 lines
Quoted 5 lines

Gentle bump on this.

I apparently managed to screw up the git send-email this time, loosing a bunch of CCs in the process. Sorry about that.

Bumping again. I have not received any new comments on this.

My understanding is:
- this series goes via Kevin tree
- Kevin was waiting for Keith review (which occurred)
- Kevin tried to apply and asked for rebase
- Minor cosmetics changes on top (not logical)

Quoted 6 lines

I'm missing a couple of Reviewed-by's (they all carry Maxim's) on

nvme: move device parameters to separate struct
I think this can also carry Philippe's Reviewed-by, since the only change is the removal of the PROPERTIES macro.

I don't have this anymore in my mailbox, meaning I processed your series, likely giving a R-b.

Quoted 8 lines

nvme: factor out cmb setup
nvme: factor out pmr setup
nvme: do cmb/pmr init as part of pci init
I think these could also carry Reviewed-by from Keith as well, since the only change is also factoring out the PMR setup (which was not there when Keith reviewed it) and the splitting into two trivial patches per request from Philippe.

If respining a rebased v5 with all the previous tags added takes you <5min, I recommend you to do it, this will help Kevin. If you are comfortable with git-rebase and use git-publish, it can take you only 2min :)

Looking forward for the next parts until the multiple namespace support!

Regards,

Phil.

Quoted 5 lines

Thanks,
Klaus