From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=christopher.j.zurcher@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7DE6521B02822 for ; Thu, 21 Feb 2019 17:19:55 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2019 17:19:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,397,1544515200"; d="scan'208";a="128358501" Received: from cjzurch-desk.amr.corp.intel.com ([10.9.70.176]) by orsmga003.jf.intel.com with ESMTP; 21 Feb 2019 17:19:55 -0800 From: Christopher J Zurcher To: edk2-devel@lists.01.org Cc: Christopher J Zurcher , Jiewen Yao , Jian J Wang , Liming Gao Date: Thu, 21 Feb 2019 17:19:11 -0800 Message-Id: <20190222011913.17540-1-christopher.j.zurcher@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 Subject: [PATCH v3 0/2] Add SCSI Support for Storage Security Command Protocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 01:19:56 -0000 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1546 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: Jiewen Yao Cc: Jian J Wang Cc: Liming Gao Christopher J Zurcher (2): MdePkg: Implement SCSI commands for Security Protocol In/Out MdeModulePkg/ScsiDiskDxe: Support Storage Security Command Protocol 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 | 126 +++++- MdePkg/Include/Protocol/ScsiIo.h | 9 +- MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 5 +- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ComponentName.c | 14 +- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 507 +++++++++++++++++++++- MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c | 19 +- MdePkg/Library/UefiScsiLib/UefiScsiLib.c | 205 ++++++++- 10 files changed, 1061 insertions(+), 46 deletions(-) -- 2.16.2.windows.1