Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6A8AC433EF for ; Thu, 18 Nov 2021 19:18:00 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 50DDE61266 for ; Thu, 18 Nov 2021 19:18:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 50DDE61266 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6F54082FA8; Thu, 18 Nov 2021 20:17:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="X91XIPQP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E536B82FA8; Thu, 18 Nov 2021 20:17:00 +0100 (CET) Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4023D82FFA for ; Thu, 18 Nov 2021 20:16:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf29.google.com with SMTP id gu12so5350062qvb.6 for ; Thu, 18 Nov 2021 11:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=a7/89EsNw0+k2JoFU+HnscGp2Tw2nDssJ4JZnD0xrUQ=; b=X91XIPQPFNGUo0M+/IvUGjGWqI6+CAFEQk7i7H90/D7DDCS89Oxyzr77RIXXDKmIpx 4LPw/CNxo4DQvXRFxanOzNtrHnpN6c46QIhtOsLnB2KF1ePpa/QZz716LvvhukZGXAby AnRsmlHSbaYunxj4iFofGuv5vguDnhEA+EO9Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=a7/89EsNw0+k2JoFU+HnscGp2Tw2nDssJ4JZnD0xrUQ=; b=PPr66hMqL7jV1PNqh9zvtwbOXKyEBCrDxhy4X1db5BHYepnAtLc+LWBWd3Bl7ID2vI VTTeF0Eb0pMIVwetRYNKD3B4ptupIe7szJf6G1JwHVEu07GcUkoS9lemnfJfu/MnCBLy 49NVSgR1TvW7JIhzzJeiXzBquwZlJ23lNLJj4OKD+R6D4G6aEzqjgeDV1dbHPAG8WhMj FtzupOSh6VWYeDEZUfYkfWdVEeQSfsNQC7BGVSUTkTl0PiN+G+qrR56LPrUIaG8ZnQ6y B/o1SHlmmzpflZ7tHPtIQeUFxIWqXavj6/uBJVnpjFtknvkVQfNR4M9Uj9Vs5mKQ33lh bTWg== X-Gm-Message-State: AOAM532ipp8K5XeBkp+6i6xvidJs9mIesXUyzsTVB2Xv9MKWtfkrxXyP R3jtaTJfs+9dWYfidY6W+Ec6fA== X-Google-Smtp-Source: ABdhPJzK27JJH1YNggXkBhvGHf8Pi6kl3oDJ0OsTCreK/sk+umlC5HgNDjC61Zr91SuKimnHnMOs6A== X-Received: by 2002:a05:6214:21ae:: with SMTP id t14mr66903891qvc.66.1637263004908; Thu, 18 Nov 2021 11:16:44 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-6986-0eb7-a1cc-35fa.res6.spectrum.com. [2603:6081:7b01:cbda:6986:eb7:a1cc:35fa]) by smtp.gmail.com with ESMTPSA id bm35sm402046qkb.86.2021.11.18.11.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 11:16:44 -0800 (PST) Date: Thu, 18 Nov 2021 14:16:42 -0500 From: Tom Rini To: Julien Masson Cc: u-boot@lists.denx.de, Jaehoon Chung , Peng Fan , Chunfeng Yun , Weijie Gao , Ryder Lee , GSS_MTK_Uboot_upstream , Mattijs Korpershoek , Fabien Parent Subject: Re: [PATCH] mmc: mtk-sd: implement waiting for DAT0 line state Message-ID: <20211118191642.GW24579@bill-the-cat> References: <87wnlm90ut.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9ikL6nXU5/DUgIWP" Content-Disposition: inline In-Reply-To: <87wnlm90ut.fsf@baylibre.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --9ikL6nXU5/DUgIWP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 05, 2021 at 02:34:14PM +0100, Julien Masson wrote: > With the recent changes on mmc driver, we saw that the boot is ~5 secs > longer compared to v2021.07 on mediatek platforms. >=20 > This regression is seen during mmc_init and caused by the following > patch [1]. >=20 > Indeed since we did not support poll dat0, we fulfilled the condition > of [1] and a delay of 500 ms was added for every __mmc_switch call. >=20 > By adding the support of wait_dat0(), we now don't need to mdelay > during mmc_init anymore. >=20 > [1]: https://patchwork.ozlabs.org/project/uboot/patch/1629192034-64056-1-= git-send-email-ye.li@nxp.com/ >=20 > Signed-off-by: Julien Masson > Reviewed-by: Jaehoon Chung Applied to u-boot/next, thanks! --=20 Tom --9ikL6nXU5/DUgIWP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGWppkACgkQFHw5/5Y0 tywApgv/S9hPO+wLVQiycdt33tSM8vkAXahcPV56rLZJW9yDAvbCJXiL8+zvkJt+ zmeaj150+U6ljIMQt3zjgdYagxVCC3868JgyDWjo/OtiHXUBGIamcjkNobdxNuhq 5RP5vaUIxZ0HGzGHroDeblWpnYx555BDyk0F0RnW/ULdwRxUe3WrP89s4WBuNrEL kCg+LRfYLvqpHdHHhjGJdJs4frbTmiSMh3tg04WDpPqENGLO2TarM4gNb5aiHnB4 b0WbffM8GocmPbc5+aNNcyjnp1dkMB9nuzD4PbbWfYoe8hzoQlzkVNXHWPvgsV2K AuTPfOn8LNCqEMrsSomOLn7jcy1pKJx8WIDLH6GLyyeysgX751m0vH6xOGCNyGrR 4pnxhqawhaQPH9z/B1ZtefdbuYq72c9XsqfSXVH9Es1YFs2zrortVHWWyKVdoshk Xalu+zfud11EFfr4m25CEyp+SXNlCH7ILvZJ7kk9IXG6zAwqfJnZLQQgFwCj5E+J 6VudXuYJ =+Dz/ -----END PGP SIGNATURE----- --9ikL6nXU5/DUgIWP--