Home
last modified time | relevance | path

Searched hist:"381 ab99d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/nvme/
H A Dctrl.c381ab99d Mon Apr 17 19:26:22 CDT 2023 Minwoo Im <minwoo.im@samsung.com> hw/nvme: check maximum copy length (MCL) for COPY

MCL(Maximum Copy Length) in the Identify Namespace data structure limits
the number of LBAs to be copied inside of the controller. We've not
checked it at all, so added the check with returning the proper error
status.

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>