Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: c8833afa7a4633a9f075f80f8e1098f31af86406
https://github.com/tianocore/edk2/commit/c8833afa7a4633a9f075f80f8e1098f31af86406
Author: “Shabab <[email protected]>
Date: 2026-04-29 (Wed, 29 Apr 2026)
Changed paths:
M MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressMediaSanitize.c
Log Message:
-----------
MdeModulePkg/NvmExpressDxe: Mark CDW10/CDW11 valid for Format and Sanitize
NVMe Format and Sanitize admin commands correctly populate CDW10
(and CDW11 for Sanitize), but these codewords are not marked as valid
in the passthru command packet. As a result, the passthru layer does
not include the populated codewords in the command payload, causing
the commands to fail.
Set the appropriate CDW validity flags in the passthru command packet:
- Format NVM: CDW10_VALID
- Sanitize: CDW10_VALID | CDW11_VALID
This ensures the populated codewords are included in the passthru
command payload and the commands are issued correctly.
Signed-off-by: Shabab Alam <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits