diff options
author | Alan Adamson <alan.adamson@oracle.com> | 2024-09-26 14:24:58 -0700 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2024-10-01 09:02:05 +0200 |
commit | ebd1568fc73209bbc1339a449f3df0b6c9a12358 (patch) | |
tree | 3ead7c860f7947063b3bb809af94da03f487e93c /hw/mips/mips_int.c | |
parent | e4bcb5865c46289e9320936e910056dc37e9d678 (diff) | |
download | qemu-ebd1568fc73209bbc1339a449f3df0b6c9a12358.zip qemu-ebd1568fc73209bbc1339a449f3df0b6c9a12358.tar.gz qemu-ebd1568fc73209bbc1339a449f3df0b6c9a12358.tar.bz2 |
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>
Diffstat (limited to 'hw/mips/mips_int.c')
0 files changed, 0 insertions, 0 deletions