Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2880247imu; Wed, 7 Nov 2018 00:49:42 -0800 (PST) X-Google-Smtp-Source: AJdET5eY3BLO5Htl68zH0EBo/TGKiy3WOWeaAbNLs+7mNj53w9dwiCtZEoSJ97hjywhEoavoYwwR X-Received: by 2002:a17:902:ab81:: with SMTP id f1-v6mr1043614plr.103.1541580582220; Wed, 07 Nov 2018 00:49:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541580582; cv=none; d=google.com; s=arc-20160816; b=BhKpTOz7+nH7ew7mqqPDce60fgZDtq2/fWnmpbSsErQSZzd9I6Jg2puXIwR001hlqr 1yXM+c33rBT/SmYXtTOwryBv9UrG1ZnXEuQDW2JWcjX9fpAGmefM531OtwnxHpIhRLUS R+K/SkPnVFFyJ0+EKcHQP7f/C+PXzLmyjzj3ndVan2GfxXT7esFDqdBG+8SUo/WvoXFJ uyuvvmVohZ9lcL0gGZyc5QsbaOOhY4EXSLyXDA2OcNl4Wzucu6n4rz5X5kL4QxD+FEg+ c5E8up1rViVo9WFtx1T91Vtsu2GhYclZejJDZ0MALXn6hNCCtqx5acp43iRkFbOywiG2 t3og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=snU0SS45+m2E/32DkyjJI1nFI4PGOuqhNIhrmDS4aH8=; b=anw8MSO4J5kiBrFyLDZ7YS55djMoNp1KeUC1wp4tSvAzGLLP+0N+TbYTPJQ6kSFdbh eSa7+lyg3WLaufitZ3zWm6f9EDBp9xrVHf8ReB1Y4ZkyzMiOjdDtshRWjyYTqok+fZKh Q5Bh1OeIX/AcAA+0Py6Ht0/2l8JWblwz2wxrH5nBU1PHTrpLpx596IesxNI0MUNkni3u QElc4WcUzpffip9cbbZZvHKNmaNAjgyjWabw0dUfITjrSh15EMQJmjTWeyHNRZF9KwPr QoQDGNekJfZXg9yMRz9M2s1njUICiMZ3WcO/6mWLlYcTfwsxxA0ofeochI1VwHqVbNPX 4Eqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h70si30193515pge.221.2018.11.07.00.49.27; Wed, 07 Nov 2018 00:49:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730521AbeKGSRH (ORCPT + 99 others); Wed, 7 Nov 2018 13:17:07 -0500 Received: from sauhun.de ([88.99.104.3]:55258 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbeKGSRH (ORCPT ); Wed, 7 Nov 2018 13:17:07 -0500 Received: from localhost (p54B339B3.dip0.t-ipconnect.de [84.179.57.179]) by pokefinder.org (Postfix) with ESMTPSA id 526132C0571; Wed, 7 Nov 2018 09:47:43 +0100 (CET) Date: Wed, 7 Nov 2018 09:47:41 +0100 From: Wolfram Sang To: Sjoerd Simons Cc: Faiz Abbas , linux-mmc@vger.kernel.org, kernel@collabora.com, linux-kernel@vger.kernel.org, Hongjie Fang , Bastian Stender , Kyle Roeschley , Wolfram Sang , Shawn Lin , Ulf Hansson , Harish Jenny K N , Simon Horman Subject: Re: [PATCH] mmc: core: Remove timeout when enabling cache Message-ID: <20181107084741.GA31092@kunai> References: <20181106133007.12318-1-sjoerd.simons@collabora.co.uk> <9051c212-6e2a-bc39-3686-693e6cd87f1d@ti.com> <303b49cbb5b687d6b6a7ad4048eda459586c0806.camel@collabora.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <303b49cbb5b687d6b6a7ad4048eda459586c0806.camel@collabora.co.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > That also happens to be one of the cards we deploy; However i did > wonder about adding a quirk but decided against it as it was not clear > to me from the specification that CACHE ON really is meant to complete > within GENERIC_CMD6_TIMEOUT. That and i fret about ending up in hit-a- > mole games as the failure is really quite tedious (boot failure).=20 I agree that we should use the more defensive variant as a default. I mean there should be no performance regression since most cards will respond just faster, or? The only downside I could see is that we might miss a real timeout with no bounds set and might get stuck? Maybe it is worth contacting eMMC spec people to at least know what is the expected behaviour? --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlvipqgACgkQFA3kzBSg KbYHLw/7Bv4FJNQWjg+ox2ikLhOwBTCA17ia1KziTy3hpkArpy0hZR4yn+0qBDrl kXcsMqMzEQHp4IFZrvFQuNOGR/ItKOW7whg4d3B0VJB2wDtu02Dna05PEe4txu4G qjId6n9UHvuR2xBW5wo23MWqXiTMdTcQb5hn0Df1vh8AsajoRTXfLvz0i9RYAJiG omER+4GgvToO/PZWdoqskorPIJPRVsz90QIVaeFPoXkDHr2XM+XYsK3Iaos3RJRO 7W95u8+R4CWAvYbxVvNFgj8oD/y91ntVbkcJz+km6BgR/Y0ck3YeqE0SKbRtFrkk YgaqISJDE2MpLR9WKOCGOqTN7bDdiaDgIGUZAErngyBI4WmjUPscZf71UY++SxnV 5r2u0wyZ5MnXaiQez8+u6G6Z4VrnyhTwHtZDOBeFeQHlcEGKSVEjZ4I4JloNWM0d eylx8dAUqvNQQVadwXvlqGxzXN2/2V+dGKc5l1t+h/8vUYMqSHP46qPsCKVgQmcn 2DRahrpE80xT+//2+XNq3ffGBdzCg/q3WwSqa3bkp861O1Jemp42GQwLHjF9Q/E4 mk40YBIe4+w6CfVgJ6vXpq/3vcpZ/AivlHuCleXvz02pHC0/irVbeXlmJ5IkPevC 4cUTJlAc+N3wDvWnEgxmH6e/yyTN1MiZqx+s6NcSxPXkIRdifaI= =2ZIL -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--