From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=tien.hock.loh@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 19FFF211DB437 for ; Sun, 17 Mar 2019 18:52:39 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Mar 2019 18:52:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,491,1544515200"; d="scan'208";a="142850227" Received: from kmsmsx156.gar.corp.intel.com ([172.21.138.133]) by orsmga002.jf.intel.com with ESMTP; 17 Mar 2019 18:52:37 -0700 Received: from pgsmsx110.gar.corp.intel.com ([169.254.13.245]) by KMSMSX156.gar.corp.intel.com ([169.254.1.198]) with mapi id 14.03.0415.000; Mon, 18 Mar 2019 09:52:36 +0800 From: "Loh, Tien Hock" To: "edk2-devel@lists.01.org" , "leif.lindholm@linaro.org" , "ard.biesheuvel@linaro.org" , "thloh85@gmail.com" Thread-Topic: [PATCH 0/4] EmbeddedPkg/DwEmmc: Fix bugs causing DwEmmc to fail to initialize Thread-Index: AQHUyoOzwY8+X1ead02cC+8QblgN3aYQxU2A Date: Mon, 18 Mar 2019 01:52:35 +0000 Message-ID: References: <1550821967-1630-1-git-send-email-tien.hock.loh@intel.com> In-Reply-To: <1550821967-1630-1-git-send-email-tien.hock.loh@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTZkZmY3YjEtZmE2NC00ZjgxLTgyZjktMGI5MTI1M2E3MDQxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMldWbWtzd2xGNEVJR01Gd01QT3JaTU9TY3BoSmdWaWRybWdRUTZmV2pNR2o4TnFMR1kxV3RLQ2R5S3BZQ0FFQyJ9 x-originating-ip: [172.30.20.205] MIME-Version: 1.0 Subject: Re: [PATCH 0/4] EmbeddedPkg/DwEmmc: Fix bugs causing DwEmmc to fail to initialize 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: Mon, 18 Mar 2019 01:52:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Ard, Leif, Any comments on this? Thanks Tien Hock -----Original Message----- From: Loh, Tien Hock=20 Sent: Friday, February 22, 2019 3:53 PM To: edk2-devel@lists.01.org; leif.lindholm@linaro.org; ard.biesheuvel@linar= o.org; thloh85@gmail.com Cc: Loh, Tien Hock Subject: [PATCH 0/4] EmbeddedPkg/DwEmmc: Fix bugs causing DwEmmc to fail to= initialize From: Loh Tien Hock This patch series fixes bugs with DwEmmc driver, namely: * Added CMD6 handling * Fixed workaround querying SendCommand using delays * Fix DMA transfer length causing buffer underrun in FIFO * Check DMA completion before returning from SendCommand Loh, Tien Hock (4): EmbeddedPkg/DwEmmc: Remove unnecessary MicroSecondDelay EmbeddedPkg/DwEmmc: Fix SendCommand parameters EmbeddedPkg/DwEmmc: Fix DMA transfer length EmbeddedPkg/DwEmmc: Check DMA completion in SendCommand EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 122 +++++++++++++++++++++++---= ---- 1 file changed, 95 insertions(+), 27 deletions(-) --=20 2.2.2