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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E30B2C00140 for ; Wed, 10 Aug 2022 21:50:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CA381848B2; Wed, 10 Aug 2022 23:50:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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="oJ78PEto"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CDB4784874; Wed, 10 Aug 2022 23:50:28 +0200 (CEST) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (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 DFE2E83E4C for ; Wed, 10 Aug 2022 23:50:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf36.google.com with SMTP id d1so12045775qvs.0 for ; Wed, 10 Aug 2022 14:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=unQNKnfil83neTLihvA7CcH4k+dfOJD8dTk4NFqCQig=; b=oJ78PEtoVCaLJYLTqw3eTHO3k0kmujVeb+gph7h9aFH84Ie4bvq536yp4JoraL2Jdp hCbVJ/Lex/sN7aVcK72N3ubTSKv8H2wzrJ4K1frmcXtgOOInqqdB1NwZrG+IwFGkFkJ0 5xjs3o3UjTC/75xMZWiL3R1zTy99wqzX+KL1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=unQNKnfil83neTLihvA7CcH4k+dfOJD8dTk4NFqCQig=; b=4ZwfDLLdtq6kQWY7e0my9rpPjAHDMTGTTsApXmgGF0m8BTxk45kKevvzZfbbatjHYK Fg2wJbnzZP5ndpsg8Y3d9qe3IwrluLDFQsWvrdczn0bdPLTghNlfvx/qcafWNlGNjyc9 P7+a/owvFDgv6vZdBLGtwX/b0QpGaCwii+LIpgft3N6pidzZKUtEc9QAdI8Ad/eN1Z7I hEfI5Mskc7oV4SlGUOCImsIWWyEB390xAEIDKWIUHDFXkDrkkA+tbd3+hGrAsnjwA3uW FC0Qv2YAva7alU+Iy0rfzlYBFc02Cm+WiyiCcUJUaKDAjFWdVWAM2ZnORCCx2MD7thEh zZ+w== X-Gm-Message-State: ACgBeo027bMkzgNyw9Cn9mQXbzrkZsBtPa31LORs0VWIvOTV8h9XQqP4 zTAXwzpfu39CPS5IqZmWw7ur4g== X-Google-Smtp-Source: AA6agR4BWpe3/apLonS3ZwuHKaEYOKK0CQ2flHuS8q16XpgeHy0t2ivK+tgEoVAbj5j2wTYI+pXRog== X-Received: by 2002:a05:6214:e89:b0:47b:2839:5877 with SMTP id hf9-20020a0562140e8900b0047b28395877mr17339011qvb.112.1660168223422; Wed, 10 Aug 2022 14:50:23 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id bn36-20020a05620a2ae400b006b633dc839esm633599qkb.66.2022.08.10.14.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 14:50:22 -0700 (PDT) Date: Wed, 10 Aug 2022 17:50:20 -0400 From: Tom Rini To: Marek Vasut Cc: u-boot@lists.denx.de, Jaehoon Chung , Kirill Kapranov , Marek =?iso-8859-1?Q?Beh=FAn?= , Pantelis Antoniou , Ye Li Subject: Re: [PATCH] mmc: Do not send status of send_status is false Message-ID: <20220810215020.GK1146598@bill-the-cat> References: <20220714235824.421904-1-marex@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ram8Kkh3DeefR5b6" Content-Disposition: inline In-Reply-To: <20220714235824.421904-1-marex@denx.de> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean --Ram8Kkh3DeefR5b6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2022 at 01:58:24AM +0200, Marek Vasut wrote: > Commit 44645f87de5 ("mmc: Fix mmc_switch excessive timeout") introduced > a side effect where CMD13 SEND_STATUS is issued in case mmc_wait_dat0() > does not return -ENOSYS and $send_status is not set. This happens on all > hardware which does implement .mmc_wait_dat0 callback, e.g. i.MX8M . >=20 > This leads to lengthy timeout before booting OS in case of eMMC in one > of the HS200/HS400 modes, since the card cannot respond to CMD13 while > downgrading from HS200/HS400 to regular HS mode. >=20 > Fix this by adding the missing conditional. >=20 > Fixes: 44645f87de5 ("mmc: Fix mmc_switch excessive timeout") > Signed-off-by: Marek Vasut > Cc: Jaehoon Chung > Cc: Kirill Kapranov > Cc: Marek Beh=FAn > Cc: Pantelis Antoniou > Cc: Ye Li > Reviewed-by: Jaehoon Chung Applied to u-boot/master, thanks! --=20 Tom --Ram8Kkh3DeefR5b6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmL0KBkACgkQFHw5/5Y0 tywsQQv9ECz9Fh5ym3Pkrq0gil/p+5UKYfCV0ilaDZr8hwpTmq1oiOgg3WAlbp0m 8AK7Cm/MZD8F1+IK5FTvgE/19jeqfyaxouyeGPl7giG5nZA7XEqFOKJ7+PdSRqps DWTdlEA4S1ChBJioVCQs2VJKnG50K+Xnm+Lfj05Tw/tEqQV6fgwgmoe2nAT4SBXU E3hkwoVQPkD6mtuinC0li0j28ASKx8L2OkGNvMkIX5NApAPNLEYNDMpJtYymWhwa H+giLITusASxHsMofyCY1LKrfPosuxFI7h0XbvGHk/OjpiVjg3rCkQ3rlINX67cZ WUnWFz0fxdeXzRfA3JN3Y5LRyxe+eS1A7QvgK8Fe5ruzOlzczpJluAbnvuIGvMRg SAGt/TZR9hlZBMdEz/N1Bf0VfUyiNf4Yu5EZZMzdrB2Esglht2PTF+aro4rYYRAx k088rRjd6B1z8+lC6FNipwzAWX7tC3imRjtCp0Co36As5ontBqVfKWy2ApKqve3m 3m2Ke+g+ =hvuR -----END PGP SIGNATURE----- --Ram8Kkh3DeefR5b6--