Message ID | 20200917122029.11121-1-ceggers@arri.de (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=6281=C2=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5229E112E for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 17 Sep 2020 12:21:31 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F2E3B2087D for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 17 Sep 2020 12:21:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ict5SGmp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F2E3B2087D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arri.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=tAO1U47PzxB0q0JZNjt2O+2tOcapW5g0/OtiJq1EvD8=; b=ict5SGmpyXgkGpH5eqCYMYLjSH m34ul5BQf5hcrZzoeNS8j+VHKwZ+IoluPK2ZxEjx9w+p60amFzcGlPUSH72w5d7/6aHtOrDWikKao utSE2mGStxnCKN9KjrkEE7NHAcR9hxuScyQcS6bdIn3yyVik4Xv4z3xxaHhm4WzPguhHnkuVHLyrT 8PBgywaoalQegilBKX+JQl+MUS+6tkloON9cC936iXHABdh77W2J6uBqLDGUj2+sHF/M217ro+owS Ru2t1qy+VCn9NWKf01VBzZPq7THke4yxM9tB5pfT8f8A0sM/gJls5+xCYDW189hk/X7hALT3Wty7W mJG4sXbQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIsuc-0002cZ-2I; Thu, 17 Sep 2020 12:21:18 +0000 Received: from mailout11.rmx.de ([94.199.88.76]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIsua-0002cE-Cw for linux-arm-kernel@lists.infradead.org; Thu, 17 Sep 2020 12:21:17 +0000 Received: from kdin02.retarus.com (kdin02.dmz1.retloc [172.19.17.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout11.rmx.de (Postfix) with ESMTPS id 4Bsbfd4kKVz41xp; Thu, 17 Sep 2020 14:21:13 +0200 (CEST) Received: from mta.arri.de (unknown [217.111.95.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by kdin02.retarus.com (Postfix) with ESMTPS id 4BsbfP0DJ3z2TTMr; Thu, 17 Sep 2020 14:21:01 +0200 (CEST) Received: from N95HX1G2.wgnetz.xx (192.168.54.80) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 17 Sep 2020 14:20:39 +0200 From: Christian Eggers <ceggers@arri.de> To: Oleksij Rempel <linux@rempel-privat.de>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com> Subject: [PATCH 0/3] i2c: imx: Fix handling of arbitration loss Date: Thu, 17 Sep 2020 14:20:26 +0200 Message-ID: <20200917122029.11121-1-ceggers@arri.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Originating-IP: [192.168.54.80] X-RMX-ID: 20200917-142101-4BsbfP0DJ3z2TTMr-0@kdin02 X-RMX-SOURCE: 217.111.95.66 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200917_082116_555530_42D518B2 X-CRM114-Status: UNSURE ( 8.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [94.199.88.76 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [94.199.88.76 listed in wl.mailspike.net] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team <linux-imx@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, linux-i2c@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
i2c: imx: Fix handling of arbitration loss
|
expand
|
On Thu, Sep 17, 2020 at 02:20:26PM +0200, Christian Eggers wrote: > On my (noisy) system, I2C arbitration losses happen quite often. In it's > current implementation, the IAL flag is partly handled, but has a > number of shortcomings: > > 1. The driver runs unnecessarily in a timeout when waiting for an > interrupt. > > 2. The driver performs 500 ms busy-waiting without any value. > > 3. Arbitration loss errors may be reported one transfer later than they > occured. > > Best regards > Christian > Acked-by: Oleksij Rempel <o.rempel@pengutronix.de> Thank you!