[PATCH] nvme: fix command ID wraparound handling

Neil Armstrong neil.armstrong at linaro.org
Wed May 20 15:08:44 CEST 2026


Hi,

On Mon, 18 May 2026 11:38:44 +0530, Prashant Kamble wrote:
> nvme_get_cmd_id() returns 0 after cmdid reaches USHRT_MAX,
> but fails to reset cmdid itself. As a result, all subsequent
> calls keep returning 0 indefinitely.
> 
> Reset cmdid when wraparound occurs so command IDs continue
> incrementing correctly.
> 
> [...]

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-ufs (u-boot-nvme-fixes)

[1/1] nvme: fix command ID wraparound handling
      https://source.denx.de/u-boot/custodians/u-boot-ufs/-/commit/d6eb327828a384c3bf325de05633a77f66688f53

-- 
Neil



More information about the U-Boot mailing list