Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: ee58614bbbb49e1dd4ad9cb43b7e4eef56736c13
      
https://github.com/tianocore/edk2/commit/ee58614bbbb49e1dd4ad9cb43b7e4eef56736c13
  Author: Annie Li <[email protected]>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
    M MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h

  Log Message:
  -----------
  MdeModulePkg/ScsiDiskDxe: Check Write Caching and FUA support

Check Write Caching and FUA support of the storage, then save
the result if both are disabled.

Signed-off-by: Annie Li <[email protected]>


  Commit: 5caf4c6aeb4a0b5a8552f400c6f4b7bc45dae75f
      
https://github.com/tianocore/edk2/commit/5caf4c6aeb4a0b5a8552f400c6f4b7bc45dae75f
  Author: Annie Li <[email protected]>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
    M MdePkg/Include/Library/UefiScsiLib.h
    M MdePkg/Library/UefiScsiLib/UefiScsiLib.c

  Log Message:
  -----------
  MdeModulePkg,MdePkg: Send I/O without FUA if necessary

Commit 8c654bb3ec sets FUA bit forcefully in SCSI sync I/O to
avoid possible data loss. However, it may cause issues for the
storage without the support FUA and WCE.

For example, Windows Server 2025 guest fails to boot from
vhost-scsi block device in such scenario. The booting Error
code is 0xc0000185, the SCSI command fails with the following,

Mode Sense Key: EFI_SCSI_SK_ILLEGAL_REQUEST
Additional Sense Code: EFI_SCSI_ASC_INVALID_FIELD

This patch gets the FUA and WCE support of the storage and sets
FUA conditionally.

Continuous-integration-options: PatchCheck.ignore-multi-package

Signed-off-by: Annie Li <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/b8df7d9c8e1e...5caf4c6aeb4a

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

Reply via email to