Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758883Ab2EON2T (ORCPT ); Tue, 15 May 2012 09:28:19 -0400 Received: from mga11.intel.com ([192.55.52.93]:8028 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752409Ab2EON2R (ORCPT ); Tue, 15 May 2012 09:28:17 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="asc'?scan'208";a="166562183" Message-ID: <1337088703.2528.208.camel@sauron.fi.intel.com> Subject: Re: [PATCH] MTD: LPC32xx SLC NAND driver From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Roland Stigge Cc: Huang Shijie , Bastian Hecht , Lars-Peter Clausen , Lei Wen , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, dwmw2@infradead.org, kevin.wells@nxp.com, srinivas.bakki@nxp.com, linux-arm-kernel@lists.infradead.org Date: Tue, 15 May 2012 16:31:43 +0300 In-Reply-To: <4FB25837.2050603@antcom.de> References: <1336829386-23301-1-git-send-email-stigge@antcom.de> <1337068543.2528.143.camel@sauron.fi.intel.com> <4FB2109A.2080505@freescale.com> <4FB25837.2050603@antcom.de> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-1nvlbCi5fHtBZBbOcXOt" X-Mailer: Evolution 3.2.3 (3.2.3-3.fc16) Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1808 Lines: 49 --=-1nvlbCi5fHtBZBbOcXOt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2012-05-15 at 15:20 +0200, Roland Stigge wrote: > >> while ((readl(...))&& timeout--> 0) > >> cpu_relax(); >=20 > As I understand loops_per_jiffy, this loop will take much longer than > the 100 ms you defined above? Not sure about much, but longer. The idea is that this is about the error path so if we report -EIO with a slight delay - no problem. --=20 Best Regards, Artem Bityutskiy --=-1nvlbCi5fHtBZBbOcXOt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJPslq/AAoJECmIfjd9wqK0jhMP/RCFaFYJfic5PE4Ovi1LyDfH 6FVingHAa0fiByhax5GSYvzH367D6cyFmPe0aBTNRsmxeCgJwH/q4pZ/4KWYQufv v6mPhHEA9RjSMfZBzujYHEFpxGbLXmlyE5RW+eHmmO1jKOi+kkbI0D49I4qtTnaK HccwgskpWqUz5sHW3Fm7rOIRggZ/7yxStlM7HRbsN6z9xYmlCZW3yX9ZDGgH0w0k /zBLywZZCrlhJEH7QM0TkYM/frMx/TAOu2wSwgb1FtF64tNpTMLLcZmexQ+UkkQO C7hna2j65kr5LVQjSnFAEFvWp09bkfkSV4alMiyIn7E0Ck8dOaTROn49lmBy+U47 dqfQJtZE6e3hm+ciM5dBSW3OAd1tPANjg5hVyTPN+HYqY1+veOnGL0uC5+UuM8Tr Lw93OPi8Ie6/KrWZ0eBnYU7pIVd8PZ/KcfZ6RUlO8qnd3EhpWTZ7Ow5ww+Y/EFWw dM81Fo8C18mHfZBVIepilnu3jcwCEZjztNcGE6TBXlWlSmPH2vPY+X+fLinkBcDq WlJon//YYEhiYDDWYvME2t3ilUaPLxU1wgKeBnQv7uMG7Df7GEr/VS3yx762RP41 haU7xuHYx7+3EqXX0pPEygS6uW6paZcrmB0RBlPcQFndMpW+FV+fJyefiCDCYnyw 05q5VQFAMGuxFh0mdrAC =sZe1 -----END PGP SIGNATURE----- --=-1nvlbCi5fHtBZBbOcXOt-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/