public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Liming Gao" <liming.gao@intel.com>
To: "Wu, Hao A" <hao.a.wu@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>,
	"Zurcher, Christopher J" <christopher.j.zurcher@intel.com>
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>,
	"Yao, Jiewen" <jiewen.yao@intel.com>,
	"Wang, Jian J" <jian.j.wang@intel.com>
Subject: Re: [edk2-devel] [PATCH v8 0/4] Add SCSI Support for Storage Security Command Protocol
Date: Sun, 29 Sep 2019 07:45:46 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E50E0BA@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <B80AF82E9BFB8E4FBD8C89DA810C6A093C93E2A3@SHSMSX104.ccr.corp.intel.com>

I have no other comments. Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: Wu, Hao A
>Sent: Sunday, September 29, 2019 3:31 PM
>To: devel@edk2.groups.io; Zurcher, Christopher J
><christopher.j.zurcher@intel.com>; Gao, Liming <liming.gao@intel.com>
>Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Yao, Jiewen
><jiewen.yao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>
>Subject: RE: [edk2-devel] [PATCH v8 0/4] Add SCSI Support for Storage
>Security Command Protocol
>
>> -----Original Message-----
>> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
>> Zurcher, Christopher J
>> Sent: Friday, September 27, 2019 10:20 AM
>> To: devel@edk2.groups.io
>> Cc: Kinney, Michael D; Yao, Jiewen; Wang, Jian J; Gao, Liming; Wu, Hao A
>> Subject: [edk2-devel] [PATCH v8 0/4] Add SCSI Support for Storage Security
>> Command Protocol
>>
>> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1546
>>
>> V8 changes:
>> Align Inc512 definition in UefiScsiLib.h with that in UefiScsiLib.c.
>>
>> V7 changes:
>> Changed Inc512 behavior to always take DataLength as bytes, and divide
>> by 512 only in the CDB.
>>
>> V6 changes:
>> Restore EFI_SCSI_TYPE defines for ASC IT8 devices. Revert
>EFI_SCSI_IO_TYPE
>> changes in Protocol\ScsiIo.h. Add INC_512 parameter for SecurityProtocol
>> In/Out commands in UefiScsiLib. Change UINT32 args to UINTN to match the
>> definitions for Storage Security Command Protocol.
>>
>> V5 changes:
>> Split MdeModulePkg changes into separate patches. Add ReinstallProtocol
>> calls for StorageSecurityCommand Protocol. Restore original MediaPresent
>> and ReadCapacity behavior, with new implementation for WLUN type media.
>> Clear temporary aligned buffers before freeing them.
>>
>> V4 changes:
>> Add SSC Protocol in addition to BlockIo instead of in place of BlockIo.
>> Add error handling for (BlockSize == 0) in Read and WriteBlocks commands
>> to handle partitions that do not support ReadCapacity().
>>
>> V3 changes:
>> Initialize AlignedBuffer variable in ScsiDiskReceiveData and
>> ScsiDiskSendData functions. Remove redundant input validation and debug
>> message in ScsiDiskSendData.
>>
>> V2 changes:
>> Split the patch into separate commits for separate packages.
>>
>> To support RPMB access on UFS devices, support must be added to
>> the ScsiDiskDxe driver for the Storage Security Command Protocol.
>>
>> Cc: Michael D Kinney <michael.d.kinney@intel.com>
>> Cc: Jiewen Yao <jiewen.yao@intel.com>
>> Cc: Jian J Wang <jian.j.wang@intel.com>
>> Cc: Liming Gao <liming.gao@intel.com>
>> Cc: Hao A Wu <hao.a.wu@intel.com>
>>
>> Christopher J Zurcher (4):
>>   MdePkg: Implement SCSI commands for Security Protocol In/Out
>
>
>For patch 1,
>Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
>
>Hello Liming,
>Do you have additional comment on the patch?
>
>
>>   MdeModulePkg/UfsPassThruDxe: Check for RPMB W-LUN (SecurityLun)
>>   MdeModulePkg/ScsiBusDxe: Clean up Peripheral Type check
>>   MdeModulePkg/ScsiDiskDxe: Support Storage Security Command Protocol
>
>
>Since the MdeModulePkg part is the same with V6 series, thus:
>Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
>
>Best Regards,
>Hao Wu
>
>
>>
>>  MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf |   3 +-
>>  MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h      | 171 +++++-
>>  MdePkg/Include/IndustryStandard/Scsi.h            |  48 +-
>>  MdePkg/Include/Library/UefiScsiLib.h              | 130 ++++-
>>  MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c        |   5 +-
>>  MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c      | 616
>> +++++++++++++++++++-
>>  MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c |  17 +-
>>  MdePkg/Library/UefiScsiLib/UefiScsiLib.c          | 229 +++++++-
>>  8 files changed, 1181 insertions(+), 38 deletions(-)
>>
>> --
>> 2.16.2.windows.1
>>
>>
>> 


  reply	other threads:[~2019-09-29  7:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-27  2:19 [PATCH v8 0/4] Add SCSI Support for Storage Security Command Protocol Zurcher, Christopher J
2019-09-27  2:19 ` [PATCH v8 1/4] MdePkg: Implement SCSI commands for Security Protocol In/Out Zurcher, Christopher J
2019-09-27  2:19 ` [PATCH v8 2/4] MdeModulePkg/UfsPassThruDxe: Check for RPMB W-LUN (SecurityLun) Zurcher, Christopher J
2019-09-27  2:19 ` [PATCH v8 3/4] MdeModulePkg/ScsiBusDxe: Clean up Peripheral Type check Zurcher, Christopher J
2019-09-27  2:20 ` [PATCH v8 4/4] MdeModulePkg/ScsiDiskDxe: Support Storage Security Command Protocol Zurcher, Christopher J
2019-09-29  7:30 ` [edk2-devel] [PATCH v8 0/4] Add SCSI Support for " Wu, Hao A
2019-09-29  7:45   ` Liming Gao [this message]
2019-09-29  8:46     ` Wu, Hao A

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A89E2EF3DFEDB4C8BFDE51014F606A14E50E0BA@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox