From: Wolfram Sang Subject: Re: [PATCH 1/1]mmc: set timeout for SDHCI host before sending busy cmd Date: Thu, 24 Feb 2011 21:43:52 +0100 Message-ID: <20110224204352.GB9841@pengutronix.de> References: <20110224111935.GB7169@intel.com> <5D8008F58939784290FAB48F5497519835CE59FE81@shsmsx502.ccr.corp.intel.com> <79DD18D4-C79A-4B08-B9E6-050D7EF2FC3D@marvell.com> <20110224201504.GA12913@void.printf.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hHWLQfXTYDoKhP50" Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:50975 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753687Ab1BXUoB (ORCPT ); Thu, 24 Feb 2011 15:44:01 -0500 Content-Disposition: inline In-Reply-To: <20110224201504.GA12913@void.printf.net> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Chris Ball Cc: Philip Rakity , "Dong, Chuanxiao" , Jae hoon Chung , "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "arnd@arndb.de" , Kyungmin Park --hHWLQfXTYDoKhP50 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 24, 2011 at 08:15:04PM +0000, Chris Ball wrote: > On Thu, Feb 24, 2011 at 10:32:30AM -0800, Philip Rakity wrote: > > proposed this a while ago and strongly support just removing the quirk = for broken timeout and setting the timeout value to maximum of 0xE. > >=20 > > This also handles the case of the sd device having a timeout value too = low. In my testing I have come across SD cards that do not provide the cor= rect value. > > We force our pxa168, pxa910, and mmp2 controllers to have 0xE. =20 >=20 > Yeah, OLPC's CaFe controller -- which might be the same hardware as yours, > actually -- has the same problem. >=20 > Does anyone know of a reason (beyond strict spec-compliance, I suppose) > for honoring the timeout value rather than using 0xE everywhere? If not, > I'm willing to try out Philip's suggestion. +1. A full cycle in linux-next might an idea to be on the safe side? That w= ould be 2.6.40-material then. Or too slow? Wolfram --=20 Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk1mwwgACgkQD27XaX1/VRuEKgCgrfoFiyOxpTEwbTEo2pJusgdU XxsAoLE1ytg7M0xyoyn2vwrin3y48eAd =ZExM -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50--