Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6629302imb; Sat, 9 Mar 2019 01:45:31 -0800 (PST) X-Google-Smtp-Source: APXvYqw9kRhPVOYaIt54NVoCuCB3EKsGie5f7QkXBq2O11T7k3I4iKavcjfcMp+fhmG+9HRS470E X-Received: by 2002:a17:902:f302:: with SMTP id gb2mr23809674plb.51.1552124731048; Sat, 09 Mar 2019 01:45:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552124731; cv=none; d=google.com; s=arc-20160816; b=rwn6KjmTWsk7Ph81oeyCN67thCIfItULiSzFMuZv4zdc23FQBIGLcP9LGTlCggetHe UYDeQI3Dn+oZLfDS1gwavHmg3hU9JP4e8zWO2WvgjwYTa4aS6zRzkNjM5Ddi4mph0bc5 TEb0pjSzxKzEKnYAl6QJOm9aQ6H6BckoTdWzXGNx5uTAsqDptCH7p3pwImedHPXzJbmK Ej68MXICbrNkXPZuIGeIrv+VA6IeKr2x+xueE2usbRhjD0ETeRTvcTcVpIk3zcEnNZMd +u8MsH3dfvwuTnieQWP9hKHe12H9D2QDbMdHRBh4GAmBhsOmkgfHz7lVtBBH2ksKhuxB p0Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2NljlCq9DzmgccDC/aUCBMxbox2WWoqKPY+cfzdNNYY=; b=iW2UWZA+gzOsEEOI6+IqzPtdOdIYAhB9fyC1Yln+8RKGFijNIZrvAVCYfUTdxQbQyr +RYwDTJ4g1S9TrhFH47bXBxZbacQAmPbWxJUvAMnUj/wvTDnUxggER/oFNCWDBmZsRqD eyfVDOzl8rJBqTJciFeYKI4Rot1HSEK5KBGlNIdYS8yaYATMjnCLQTlgQeqDl0VA8+J1 b9x56ggyoX4r/PvnDZsa9pj6CdtJR0n1S5gSWAMPHTDO1jzBVvpqe1u2UR4iwUqxtzyd T0u+njkT97fySmhFyANoo6Wsl6hDO6dliC3WvV7JnZh/RIG0zThkxJdGu6uiaHViW/zN bDzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u18si9024791pfm.84.2019.03.09.01.45.15; Sat, 09 Mar 2019 01:45:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726334AbfCIJoz (ORCPT + 99 others); Sat, 9 Mar 2019 04:44:55 -0500 Received: from sauhun.de ([88.99.104.3]:39986 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725764AbfCIJoz (ORCPT ); Sat, 9 Mar 2019 04:44:55 -0500 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 Cc: Michal Simek , Shubhrajyoti Datta , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R3G7APHDIzY6R/pk" Content-Disposition: inline In-Reply-To: <20190223094842.GF1018@kunai> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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--