qemu/hw/nvme
Alan Adamson ebd1568fc7 hw/nvme: add atomic write support
Adds support for the controller atomic parameters: AWUN and AWUPF. Atomic
Compare and Write Unit (ACWU) is not currently supported.

Writes that adhere to the ACWU and AWUPF parameters are guaranteed to be atomic.

New NVMe QEMU Parameters (See NVMe Specification for details):
       atomic.dn (default off) - Set the value of Disable Normal.
       atomic.awun=UINT16 (default: 0)
       atomic.awupf=UINT16 (default: 0)

By default (Disable Normal set to zero), the maximum atomic write size is
set to the AWUN value.  If Disable Normal is set, the maximum atomic write
size is set to AWUPF.

Signed-off-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
2024-10-01 09:02:05 +02:00
..
ctrl.c hw/nvme: add atomic write support 2024-10-01 09:02:05 +02:00
dif.c hw/nvme: fix CRC64 for guard tag 2023-08-08 08:09:38 +02:00
dif.h hw/nvme: 64-bit pi support 2022-03-03 09:30:21 +01:00
Kconfig kconfig: Add NVME to s390x machines 2023-09-12 12:07:16 +02:00
meson.build hw/nvme: Add NVMe NGUID property 2024-03-12 15:48:56 +01:00
nguid.c hw/nvme: Add NVMe NGUID property 2024-03-12 15:48:56 +01:00
ns.c hw/nvme: Add NVMe NGUID property 2024-03-12 15:48:56 +01:00
nvme.h hw/nvme: add atomic write support 2024-10-01 09:02:05 +02:00
subsys.c hw/nvme: Allocate sec-ctrl-list as a dynamic array 2024-07-11 17:05:37 +02:00
trace-events hw/nvme: fix compliance issue wrt. iosqes/iocqes 2023-08-07 12:27:24 +02:00
trace.h