[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 05f7ae: hw/nvme: move dif/pi prototypes into
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 05f7ae: hw/nvme: move dif/pi prototypes into dif.h |
Date: |
Fri, 04 Mar 2022 07:31:52 -0800 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 05f7ae45c84f0df6934afea5013c333d269e2225
https://github.com/qemu/qemu/commit/05f7ae45c84f0df6934afea5013c333d269e2225
Author: Klaus Jensen <k.jensen@samsung.com>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M hw/nvme/ctrl.c
M hw/nvme/dif.c
A hw/nvme/dif.h
M hw/nvme/nvme.h
Log Message:
-----------
hw/nvme: move dif/pi prototypes into dif.h
Move dif/pi data structures and inlines to dif.h.
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Commit: d0c0697b9ef2045375e08aadb81f94b8d63ecf25
https://github.com/qemu/qemu/commit/d0c0697b9ef2045375e08aadb81f94b8d63ecf25
Author: Naveen Nagar <naveen.n1@samsung.com>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M hw/nvme/ctrl.c
M hw/nvme/nvme.h
M include/block/nvme.h
Log Message:
-----------
hw/nvme: add host behavior support feature
Add support for getting and setting the Host Behavior Support feature.
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Naveen Nagar <naveen.n1@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Commit: a6de6ed5092c1d6d33450e53bb8f4b711c0320ea
https://github.com/qemu/qemu/commit/a6de6ed5092c1d6d33450e53bb8f4b711c0320ea
Author: Klaus Jensen <k.jensen@samsung.com>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M hw/nvme/ctrl.c
Log Message:
-----------
hw/nvme: move format parameter parsing
There is no need to extract the format command parameters for each
namespace. Move it to the entry point.
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Commit: 763c05dfb08c5fff86275788de7f11e899167167
https://github.com/qemu/qemu/commit/763c05dfb08c5fff86275788de7f11e899167167
Author: Naveen Nagar <naveen.n1@samsung.com>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M hw/nvme/ctrl.c
M hw/nvme/ns.c
M hw/nvme/nvme.h
M include/block/nvme.h
Log Message:
-----------
hw/nvme: add support for the lbafee hbs feature
Add support for up to 64 LBA formats through the LBAFEE field of the
Host Behavior Support feature.
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Naveen Nagar <naveen.n1@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Commit: ac0b34c58d0de09ce692af0a6c9a00a4eed0f3cd
https://github.com/qemu/qemu/commit/ac0b34c58d0de09ce692af0a6c9a00a4eed0f3cd
Author: Klaus Jensen <k.jensen@samsung.com>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M hw/nvme/ctrl.c
M hw/nvme/dif.c
M hw/nvme/dif.h
Log Message:
-----------
hw/nvme: add pi tuple size helper
A subsequent patch will introduce a new tuple size; so add a helper and
use that instead of sizeof() and magic numbers.
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Commit: 44219b6029fc52d5e967a963be91a9cf33f9f185
https://github.com/qemu/qemu/commit/44219b6029fc52d5e967a963be91a9cf33f9f185
Author: Naveen Nagar <naveen.n1@samsung.com>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M hw/nvme/ctrl.c
M hw/nvme/dif.c
M hw/nvme/dif.h
M hw/nvme/ns.c
M hw/nvme/nvme.h
M hw/nvme/trace-events
M include/block/nvme.h
Log Message:
-----------
hw/nvme: 64-bit pi support
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 may go nicely hand-in-hand with the support that Keith submitted
for the Linux kernel[1].
[1]:
https://lore.kernel.org/linux-nvme/20220126165214.GA1782352@dhcp-10-100-145-180.wdc.com/T/
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Naveen Nagar <naveen.n1@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Commit: 3d1fbc59665ff8a5d74b0fd30583044fe99e1117
https://github.com/qemu/qemu/commit/3d1fbc59665ff8a5d74b0fd30583044fe99e1117
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2022-03-04 (Fri, 04 Mar 2022)
Changed paths:
M hw/nvme/ctrl.c
M hw/nvme/dif.c
A hw/nvme/dif.h
M hw/nvme/ns.c
M hw/nvme/nvme.h
M hw/nvme/trace-events
M include/block/nvme.h
Log Message:
-----------
Merge remote-tracking branch 'remotes/nvme/tags/nvme-next-pull-request' into
staging
hw/nvme updates
- add enhanced protection information (64-bit guard)
# gpg: Signature made Fri 04 Mar 2022 06:23:36 GMT
# gpg: using RSA key 522833AA75E2DCE6A24766C04DE1AF316D4F0DE9
# gpg: Good signature from "Klaus Jensen <its@irrelevant.dk>" [unknown]
# gpg: aka "Klaus Jensen <k.jensen@samsung.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: DDCA 4D9C 9EF9 31CC 3468 4272 63D5 6FC5 E55D A838
# Subkey fingerprint: 5228 33AA 75E2 DCE6 A247 66C0 4DE1 AF31 6D4F 0DE9
* remotes/nvme/tags/nvme-next-pull-request:
hw/nvme: 64-bit pi support
hw/nvme: add pi tuple size helper
hw/nvme: add support for the lbafee hbs feature
hw/nvme: move format parameter parsing
hw/nvme: add host behavior support feature
hw/nvme: move dif/pi prototypes into dif.h
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/110929300ee3...3d1fbc59665f
- [Qemu-commits] [qemu/qemu] 05f7ae: hw/nvme: move dif/pi prototypes into dif.h,
Peter Maydell <=