From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH 3/4] i2c: octeon: thunderx: Limit register access retries Date: Sat, 17 Dec 2016 19:29:05 +0100 Message-ID: <20161217182904.GB27020@katana> References: <20161209093158.3161-1-jglauber@cavium.com> <20161209093158.3161-4-jglauber@cavium.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZfOjI3PrQbgiZnxM" Return-path: Received: from www.zeus03.de ([194.117.254.33]:50260 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758139AbcLQS3J (ORCPT ); Sat, 17 Dec 2016 13:29:09 -0500 Content-Disposition: inline In-Reply-To: <20161209093158.3161-4-jglauber@cavium.com> Sender: linux-i2c-owner@vger.kernel.org List-Id: linux-i2c@vger.kernel.org To: Jan Glauber Cc: Wolfram Sang , Paul Burton , "Steven J . Hill" , linux-i2c@vger.kernel.org, linux-mips@linux-mips.org, David Daney --ZfOjI3PrQbgiZnxM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 09, 2016 at 10:31:57AM +0100, Jan Glauber wrote: > Do not infinitely retry register readq and writeq operations > in order to not lock up the CPU in case the TWSI gets stuck. >=20 > Return -EIO in case of a failed data read. For all other > cases just return so subsequent operations will fail > and trigger the recovery. >=20 > Signed-off-by: Jan Glauber Applied to for-current, thanks! --ZfOjI3PrQbgiZnxM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYVYPwAAoJEBQN5MwUoCm2cGwP/2qwvzqjasvY+TXxD7Jl9JbO Qi0Kx0gm9TUJsISJZ68EeHIAjZwhHI+CjkUdvFKFwqcvMs7PviHAa/7PAEGGZBsg SSOI+o4N+gRYt/h6tJpiKC93rE3DOBrxKyXk9OYqevxA6+b30CNmSstbWFJt613W tDf9Pzl5U2Ay2gYZRozws1Q2e3Dmt86M3y79KNaGxiD/sh0kH1VbKG+iZ5pt9T+D DnUCtcRmv5vJH3kWDSLF2vLp4vJoQ65XIoUyubFwkwOB0vCouNLfjkd9SwABcfSG Jj6wRq99na5WLnc0teRMMWinqqV/HOmXGa2shM1Llvy9dM4vMPxUXrXXIUUMaLuP A2P2WifF/xcI6lQpEaR9wFoRckgawm4cwwHY/LLz6yp4aYR1Z1CNJ5d72ettnPIh bQmOeGanF3Q6Aow4Fw1aAyBrm7CrjhKcMaMOKdc86CWe4WnJSwqbWYPayC2QUJyX eREdrO5YHUk9Bh/hhFnBWKCW2Xds41mzhF4tSpi+xWTwsvfcRnnhrb43m7XcPp/P fzrTCSWOaD4QdmiLhF4laRz8UAl65z2MCbqo4ybar+kSHmxtTrCw/kZPiP1PbVN2 C61eij7fG5IGIdEn9zKFSd8sT+HpulTHyI6pFZRWKqbHY194JjjvcA11Yok++98W uzRgxwY7Xih3vJFk1KnZ =fEnR -----END PGP SIGNATURE----- --ZfOjI3PrQbgiZnxM--