Home
last modified time | relevance | path

Searched hist:"632 cb6cf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/nvme/
H A Dctrl.c632cb6cf Wed Nov 02 03:06:00 CDT 2022 Francis Pravin Antony Michael Raj <francis.michael@solidigm.com> hw/nvme: Abort copy command when format is one while pif

As per the NVMe Command Set specification Section 3.2.2, if

i) The namespace is formatted to use 16b Guard Protection
Information (i.e., pif = 0) and
ii) The Descriptor Format is not cleared to 0h

Then the copy command should be aborted with the status code of Invalid
Namespace or Format

Fixes: 44219b6029fc ("hw/nvme: 64-bit pi support")
Signed-off-by: Francis Pravin Antony Michael Raj <francis.michael@solidigm.com>
Signed-off-by: Jonathan Derrick <jonathan.derrick@solidigm.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>