From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: mateusz.albecki@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Fri, 09 Aug 2019 07:31:59 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2019 07:31:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,364,1559545200"; d="scan'208";a="175172981" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga008.fm.intel.com with ESMTP; 09 Aug 2019 07:31:56 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.59]) by IRSMSX104.ger.corp.intel.com ([169.254.5.40]) with mapi id 14.03.0439.000; Fri, 9 Aug 2019 15:31:55 +0100 From: "Albecki, Mateusz" To: "devel@edk2.groups.io" CC: "Wu, Hao A" Subject: Re: [PATCHv2 0/4] Add EDKII_UFS_HC_PLATFORM_PROTOCOL to support platform specific programming of UFS host controllers Thread-Topic: [PATCHv2 0/4] Add EDKII_UFS_HC_PLATFORM_PROTOCOL to support platform specific programming of UFS host controllers Thread-Index: AQHVTqzu9uJSEUyouE63cSH7OH/WA6by4LJw Date: Fri, 9 Aug 2019 14:31:54 +0000 Message-ID: <92CF190FF2351747A47C1708F0E09C0875EB5B16@IRSMSX102.ger.corp.intel.com> References: <20190809122053.1784-1-mateusz.albecki@intel.com> In-Reply-To: <20190809122053.1784-1-mateusz.albecki@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmE3ZmQ1MjgtZGYyMC00MTVkLWJmODItOTQ1NTJkNGE2OWZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTVdSVjh4M1RibVhYRHpkU0d6RTVxQTYybXgrdVVuZUNuOWR3d3BHY2NwWHRJazNBWWRMb0E5QktSRlwvQU8wMGUifQ== dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.180] MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Please ignore this series. I have used wrong branch when generating patches= . V3 will contain the fixes. Thanks, Mateusz > -----Original Message----- > From: Albecki, Mateusz > Sent: Friday, August 9, 2019 2:21 PM > To: devel@edk2.groups.io > Cc: Albecki, Mateusz ; Wu, Hao A > > Subject: [PATCHv2 0/4] Add EDKII_UFS_HC_PLATFORM_PROTOCOL to > support platform specific programming of UFS host controllers > = > To cover additional host controller programming mentioned in the UFS > specification we have added an additional protocol that allows the UEFI > driver to give control to platform driver. This allows the platform to pe= rform > any additional steps needed for the stable operation. > = > Changes in v2: > - UFS driver will abort initializaton when it fails to get host controler > information > - Fixed bug with calling post link startup callback on failed device dete= ction > = > Test coverage: > Tested on platform with UFS 2.1 host controller with Samsung UFS2.0 part > with 3 LUs enabled All LUs have been enumerated in boot manager. > Tested that enumeration works without platform protocol installed(on host > controller that can support it) Tested that enumeration works with platfo= rm > protocol installed and with additional programming steps after link > startup(power mode change to GEAR2). > = > Cc: Hao A Wu = > = > Mateusz Albecki (4): > MdeModulePkg: Add definition of the > EDKII_UFS_HC_PLATFORM_PROTOCOL > MdeModulePkg/UfsPassThruDxe: Refactor UfsExecUicCommand function > MdeModulePkg/UfsPassThruDxe: Refactor private data to use > EDKII_UFS_HC_INFO > MdeModulePkg/UfsPassThruDxe: Implement > EDKII_UFS_HC_PLATFORM_PROTOCOL > = > MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c | 23 ++- > MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h | 42 ++++- > .../Bus/Ufs/UfsPassThruDxe/UfsPassThruDxe.inf | 1 + > .../Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c | 170 > ++++++++++++++++----- > .../Include/Protocol/UfsHostControllerPlatform.h | 130 > ++++++++++++++++ > MdeModulePkg/MdeModulePkg.dec | 3 + > 6 files changed, 326 insertions(+), 43 deletions(-) create mode 100644 > MdeModulePkg/Include/Protocol/UfsHostControllerPlatform.h > = > -- > 2.14.1.windows.1 -------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydz= ial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-31= 6 | Kapital zakladowy 200.000 PLN. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata= i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wi= adomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiek= olwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the s= ole use of the intended recipient(s). If you are not the intended recipient= , please contact the sender and delete all copies; any review or distributi= on by others is strictly prohibited.