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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2CB0C43381 for ; Sat, 9 Mar 2019 09:45:02 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 94F472086A for ; Sat, 9 Mar 2019 09:45:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lXB0UX6A" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94F472086A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=the-dreams.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject: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=dDn6Rhs7aAAXffNmXG93QJLuqgBfPcN9QHAFrBjvFr0=; b=lXB0UX6ARrQ33zw5y4An5uxDN PufexLWBBbZf3Tg66kWzvU8eUNMc4Df2/tpZ5cTMiz1uI6B/wURol3WN+SGGjsvT76ZaG5BKdW+CM wFHaooc7ZQSCXyyZhjGbF+ah5MV6sShKnNCoD7kaZ5plQCNxlr7+YmMl9N3P/CY6kUY1ZvsK89GbC oKwBcCoZqcToUUT6DRWoywNeijA1G8gKHqv7h+s+49Vh6djQi8ew1/cI3It1eay4rGgfjaWWmk4Gq sf1DBDG8Kl/zQXA7f0xCpwJfCHgH48NlyORmTjVrW+SMyDWE95xiwdxVApetGQYljNcxGATZQPZKv eKlYXgiLg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h2YXJ-0008Gz-6a; Sat, 09 Mar 2019 09:44:57 +0000 Received: from sauhun.de ([88.99.104.3] helo=pokefinder.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h2YXG-0008Gb-0u for linux-arm-kernel@lists.infradead.org; Sat, 09 Mar 2019 09:44:55 +0000 Received: from localhost (p5486CD1C.dip0.t-ipconnect.de [84.134.205.28]) by pokefinder.org (Postfix) with ESMTPSA id 2325F2E3551; Sat, 9 Mar 2019 10:44:53 +0100 (CET) Date: Sat, 9 Mar 2019 10:44:52 +0100 From: Wolfram Sang To: Shikai Wang Subject: Re: [PATCH v2] i2c: cadence: try reset when master receive arbitration lost Message-ID: <20190309094452.GB1340@kunai> References: <20190219012447.5900-1-sxauwsk@163.com> <20190223094842.GF1018@kunai> MIME-Version: 1.0 In-Reply-To: <20190223094842.GF1018@kunai> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190309_014454_223846_04C60D64 X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, Shubhrajyoti Datta , Michal Simek , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Content-Type: multipart/mixed; boundary="===============1919300266985989102==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1919300266985989102== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R3G7APHDIzY6R/pk" Content-Disposition: inline --R3G7APHDIzY6R/pk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 23, 2019 at 10:48:43AM +0100, Wolfram Sang wrote: > On Tue, Feb 19, 2019 at 09:24:47AM +0800, Shikai Wang wrote: > > When the adapter receive arbitration lost error interrupts, > > cdns_i2c_master_xfer return to the caller directly instead of resetting > > the adapter which resulted in the adapter being out of control. > >=20 > > So when driver detect err_status such as arbitration lost, > > then try to repair and fix it. >=20 > Just checking because resetting looks like a big hammer to me: there is > no way to gracefully recover form 'arbitration lost' interrupt? I am still wondering about this but since it is acked by the maintainer: Applied to for-current, thanks! --R3G7APHDIzY6R/pk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlyDixQACgkQFA3kzBSg KbZoDw//dfwpM+U7L54v9ts0GdpP/4y51a7yCJmrs40qEaLaK/8v04JW8o0/4UaR K6YHGGT7EYLcs/eYleYQh9Pyjzj5RdxlnPcMHjUrWFCt0P+z1m0b4yJQpRoYbIH1 a+BHvWoddxJ/U+McGLHqoBHXh7NX2J5wMVdNjh+e46Lxvt3i3KMsJzNDY5XsRpA1 i0PiyhZ3P1THw+X7DRYxIOptqXpjXWEuRKoNDjG/SN5eTPFzsyCV6F/WBqhQZ2T8 SU8+XbxrDIuy/eh0WwPp2kl4UWLAtxb/ZEsD5alVzWBcLOVVnJ6cayIEeSmrCelh djmNwN9PEP128vtoWYaHY74MgStj4X4IDVpJOSUYTsJMwMzQwEjVeHwVwZr9nmsv S0c33NsSJwQJB7SpgET+j9JWaALGmSZLB0G7gyOPTNVXcPWmNn9X88ul61xIKIba Au7pTg9fokkNMi6yWPosaKRVXO4RDc28xbp3rz9B0NhKBi28l4Bkwx4bOo0ydX7e ho+QCENy7Dk4EkcXR6s4THiywDdNj2sKsQnMhRKNvqeMKf3sA/O0W+loUXE3oF4j hhvAG8eLsUtnQlDwNnI/WK0c8cnr/PZaiCeBu7nkxBWiECX8+YU8Bw4WKFKUFDPD rjGK0/8X96kgadurkDZJ5jg9QRcjX7GTf7UMgIC3M7gKsrQCZ4A= =eNxl -----END PGP SIGNATURE----- --R3G7APHDIzY6R/pk-- --===============1919300266985989102== 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 --===============1919300266985989102==--