hw/nvme: enhanced protection information (64-bit guard)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 2 repliesIn review
- v16 patches 2 repliesSuperseded
Changes in v2 from the cover letter
~~~~~~~~~~~~~~~~
- Check metadata size depending on pi guard type selected. (Keith)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | hw/nvme: move dif/pi prototypes into dif.hhw/ hw/ hw/ +1 more | +55 | 0 replies | |
| 2/6 | hw/nvme: add host behavior support featurehw/ hw/ include/ | +20 | 0 replies | |
| 3/6 | hw/nvme: move format parameter parsinghw/ | +18 | 0 replies | |
| 4/6 | hw/nvme: add support for the lbafee hbs featurehw/ hw/ hw/ +1 more | +46 | 0 replies | |
| 5/6 | hw/nvme: add pi tuple size helperhw/ hw/ hw/ | +21 | 0 replies | |
| 6/6 | hw/nvme: 64-bit pi supporthw/ hw/ hw/ +4 more | +648 | 0 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Keith Busch |
|---|---|
| Series | R-b |
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] hw/nvme: enhanced protection information (64-bit guard)
From: Klaus Jensen <[email protected]>
This adds support for one possible new protection information format introduced in TP4068 (and integrated in NVMe 2.0): the 64-bit CRC guard and 48-bit reference tag. This version does not support storage tags.
Like the CRC16 support already present, this uses a software implementation of CRC64 (so it is naturally pretty slow). But its good enough for verification purposes.
This goes hand-in-hand with the support that Keith submitted for the Linux kernel[1].
[1]: https://lore.kernel.org/linux-nvme/[email protected]/
Changes since v1
~~~~~~~~~~~~~~~~
- Check metadata size depending on pi guard type selected. (Keith)
Klaus Jensen (3):
hw/nvme: move dif/pi prototypes into dif.h
hw/nvme: move format parameter parsing
hw/nvme: add pi tuple size helper
Naveen Nagar (3):
hw/nvme: add host behavior support feature
hw/nvme: add support for the lbafee hbs feature
hw/nvme: 64-bit pi support
hw/nvme/ctrl.c | 235 +++++++++++++++++++++------ hw/nvme/dif.c | 378 +++++++++++++++++++++++++++++++++---------- hw/nvme/dif.h | 191 ++++++++++++++++++++++ hw/nvme/ns.c | 50 ++++-- hw/nvme/nvme.h | 58 +------ hw/nvme/trace-events | 12 +- include/block/nvme.h | 81 ++++++++-- 7 files changed, 793 insertions(+), 212 deletions(-) create mode 100644 hw/nvme/dif.h
Signature · 1 line
2.35.1