From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3C57BC433F5 for ; Mon, 7 Feb 2022 15:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VME+j4oK9QI2uLN/9ZAmT/iJIP3nljxFx3hz7T1JkYY=; b=C2RzXO/MxJYcPqkZeVC1Gvna4n u4qb+80YA3wuIW1hY81Hm4bEdoueHqM5BBcJfYEH58EvVrDkQSzOBFjGymKIJVWkk1TYor9PQ8hiu 8NCiUUKK+DkvLXWnUdPGxQWLAvXhy73bEBPFjzU1ShZPYYAG9Kej7z5DjSdz6ycQX+ngag/bvvW1h D+SnMH+6k1fOJej7lE/V2pAkv36o8MfbFg8pGKzFrI4Dw9yWttXqqF9F++45vzP15deCw7zvr8fhl Pra9fQvNwyFNE5ismQqF6CZhuZRe87RZHC/6DXLUKVDlHVHq3SnQTU1fKIzQDc5LHrjKqlpWpy5/I UdbVlnrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nH5dV-00AdFl-72; Mon, 07 Feb 2022 15:09:01 +0000 Received: from sauhun.de ([88.99.104.3] helo=pokefinder.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nH5dR-00AdET-8N; Mon, 07 Feb 2022 15:08:59 +0000 Received: from localhost (i5E861ACA.versanet.de [94.134.26.202]) by pokefinder.org (Postfix) with ESMTPSA id 75C9C2C00BF; Mon, 7 Feb 2022 16:08:53 +0100 (CET) Date: Mon, 7 Feb 2022 16:08:53 +0100 From: Wolfram Sang To: Stefan Wahren Cc: Eric Anholt , Noralf =?utf-8?Q?Tr=C3=B8nnes?= , linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] i2c: bcm2835: Avoid clock stretching timeouts Message-ID: Mail-Followup-To: Wolfram Sang , Stefan Wahren , Eric Anholt , Noralf =?utf-8?Q?Tr=C3=B8nnes?= , linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <1519422151-6218-1-git-send-email-stefan.wahren@i2se.com> MIME-Version: 1.0 In-Reply-To: <1519422151-6218-1-git-send-email-stefan.wahren@i2se.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220207_070857_491294_912CC85C X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2029225006766420921==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2029225006766420921== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="E0hofHivG5Efz7YJ" Content-Disposition: inline --E0hofHivG5Efz7YJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 23, 2018 at 10:42:31PM +0100, Stefan Wahren wrote: > From: Eric Anholt >=20 > The CLKT register contains at poweron 0x40, which at our typical 100kHz > bus rate means .64ms. But there is no specified limit to how long devices > should be able to stretch the clocks, so just disable the timeout. We > still have a timeout wrapping the entire transfer. >=20 > Signed-off-by: Eric Anholt > Signed-off-by: Stefan Wahren Okay, it has been years but the issue came up again [1] so finally applied to for-current with stable added, thanks! [1] http://patchwork.ozlabs.org/project/linux-i2c/patch/20220117102504.9058= 5-1-iivanov@suse.de/ --E0hofHivG5Efz7YJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmIBNgQACgkQFA3kzBSg KbY0PhAAoWXhn76ZXvHh2hCBWXJJ7P+ZU3YOiy0yWlq6vYOF78lxa1vfNp9Tebs/ DU2G00RSNELeYGMHvY7IDh3VeCCiBlBDO48XodGQAl4TQILevqVbZO4+mAGyIdiQ bYcKH/RZcChe6LT5ggS1hrf0YqDfdyNPfSif3ml8zYoXV7RWU5EJ/GlFSTlng/JE onnRZi+7nwXVIroU70S0Ao/lQB3idRouFoiogWYdR47se+Ihq5jXJhMMmqc4sS57 hpIeZ/sWFSlCM2aeqRoxh7K48qkMKT6CKEQCbFXtgSmj8s2HIisvyRTrm9Yv1sK7 VmmMIKltbXYj3mf8cGOzC6L4PBhShqhCxos5gXYqs/kkC3MsoHYBGSIC88YPxWZF GjJauGYcUlY4NAjJ073KxpFcAq8zHg860vupGaKuevAvuOrygl0CZmIhVHW4fkdw xvEK3DftnvqOoqgKWDWGqL+3jWUVlz2pKczcI/h+8tnThdHSwQZJ5LcXgJwPOmgP k8G3IttQOKYgy1Mmp1DcFiaPIxpuH/r4UUEYB+c6NsO59bUjMRd5NI6WRdzI6tnX Hj5ZESK4LdxDYk/1Yn3EqC7wZ74m7HBqF2twr77drDPha95LKn72fXKzL0aMWeCe fD8u/gI3XCl67D8FLrLsZeopnIct2KD4pnQDj0lx9EMARShoCxg= =57h/ -----END PGP SIGNATURE----- --E0hofHivG5Efz7YJ-- --===============2029225006766420921== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2029225006766420921==--