From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Sun, 11 Dec 2016 23:01:59 +0100 (CET) Received: from www.zeus03.de ([194.117.254.33]:46278 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23992508AbcLKWBdl1h0R (ORCPT ); Sun, 11 Dec 2016 23:01:33 +0100 Received: (qmail 29412 invoked from network); 11 Dec 2016 23:01:32 +0100 Received: from p54b3376b.dip0.t-ipconnect.de (HELO localhost) (l3s3148p1@84.179.55.107) by mail.zeus03.de with ESMTPSA (ECDHE-RSA-AES256-GCM-SHA384 encrypted, authenticated); 11 Dec 2016 23:01:32 +0100 Date: Sun, 11 Dec 2016 23:01:32 +0100 From: Wolfram Sang To: Jan Glauber Cc: Wolfram Sang , Paul Burton , "Steven J . Hill" , linux-i2c@vger.kernel.org, linux-mips@linux-mips.org, David Daney Subject: Re: [PATCH 2/4] i2c: octeon: thunderx: Remove double-check after interrupt Message-ID: <20161211220132.GF2552@katana> References: <20161209093158.3161-1-jglauber@cavium.com> <20161209093158.3161-3-jglauber@cavium.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CXFpZVxO6m2Ol4tQ" Content-Disposition: inline In-Reply-To: <20161209093158.3161-3-jglauber@cavium.com> User-Agent: Mutt/1.5.24 (2015-08-30) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 56006 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: wsa@the-dreams.de Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips --CXFpZVxO6m2Ol4tQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 09, 2016 at 10:31:56AM +0100, Jan Glauber wrote: > Commit 1bb1ff3e7c74 ("i2c: octeon: Improve performance if interrupt is > early") added a double-check around the wait_event_timeout() condition. > The performance problem that this commit tried to work-around > could not be reproduced. It also makes the wait condition more > complicated then it should be. Therefore remove the double-check. >=20 > Signed-off-by: Jan Glauber Applied to for-next, thanks! --CXFpZVxO6m2Ol4tQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYTcy8AAoJEBQN5MwUoCm2/dAQAIO4CplDJgFNF9AFcaUl62Dh fAm/qdFpOv95EWdBhbmRioZu4lq8PetkBhe5H6NIlZy4/4VuKy/jvw74KqlPVYQv hmK5mSaXfny8PNqMPTQ9wNDdB0NCDIYJw/Ib9+7iXVamwSarNIJ4vZARP3aR1NjF wxOrsaQ1hSApn018EbfkqoDlIlsfeLCK8CwnV9/fG6BadAW17cJdcKbL9kvSg5E0 A1Ea5Qw7MR4bHux7CKRc+85evmMR7mLvGggD938tA8fQmpDQlPwQyMccjtaC0zKe GlMn4KdBqFi/TtAgOMnPGY84jIoFiBBM2KC9Pxh/gqm8hSHbtxm2qA4lk8mx9v7s WsD1Wh9QpSzznb/b2nitF9vlgUFsytio1uPFHlPp9PWX9gWm31rEUdTXhqnFMj5e p15O64Neb7EELjd8S+r+oEKB2SITIz9uu4F3Jt8S57AMVjHZUVzNbEB6unGuPvWr dsWtwV1O2usG5Rpz538NAyOpOHRJ0tNCceIhLKzetxMe4Tu35tOCan5EL6zb0G3b FmrH6TnmJAI9zGqtAthB2oXERNua8FNEul2mdOWhijIojCxDderEqlcGd6aurr4j TykT9C7T3Bl4fTt0npyhYJG0lzg9AWqSGJvzkx9FWXPDTWJLh4IRL3V5A42GyFoq raBnVFDBYKrvpUlRW5Wi =3fcZ -----END PGP SIGNATURE----- --CXFpZVxO6m2Ol4tQ--