Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3108901rdb; Wed, 13 Sep 2023 02:10:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE270gNlbfJgB+Xmy9eltnVFkOIGCtvVr/6+c57aYY1UGPEQgV9uZ3Rxz9tXn7iNK502x+o X-Received: by 2002:a05:6a20:4410:b0:134:37bb:89be with SMTP id ce16-20020a056a20441000b0013437bb89bemr2272198pzb.57.1694596248959; Wed, 13 Sep 2023 02:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694596248; cv=none; d=google.com; s=arc-20160816; b=VM7m9lVqj7djEQJdLpGHLZo/BnzlWmQVTYZ3CsKYQP8EmQjX6fKfS2OnE+OhUVzhEy fRiN32ZyIjKajtvlo41qvag90hu1cvdI4bg1BxGgeoizD8QpLu1XwBf/dt038Z6mXThm hsDW2hbTFBVnwPGImO2pvpTS6jn07L2vdfxZSItM2I0az835KcNwVp+d0bBA5sIbVfHJ R6gkXTw8JQ5bCeMaojA2gAmGoVLXpLDaM2Ma9yJVLHxtch708akjdz9hfrzPebBs8QGh PER+QwuRztFg9pLTSPbBjaH78VsKbwUQAHpsF9w6IlYpvjebN+zzGVoFgvOkkw/x5Dyq 7hpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=6FecySnQuRhCzbTetrFBUb76t576bbB7ARX9N22lPOk=; fh=fVdY18Of2NSTX/VdPb5yVHwNswcu0eXvIz/O77mz0Ro=; b=wfc6zXG7DhJN4XJ78QzYVnBsLkuLt+/H396xnNgh1LtKwpHLc4zBzwyfKuqMx7NLLz GDwUqh3WMIkdyQTIY/oYZiRnQ7tppDOgFVDMswzzJO89tcfuTLod0MAbXkfbYDk/t7qC kPYTDg/9hvsbfxjWYHjXMFq0XOx9+aNsAvBiHm4dCgLE715LTS+0sBihngbTtXtrdM2+ fEsadxoQpVCm9Cv3ZE/GJ5xyREcb51t2r/0jUZrPlooFtncDGrcQVwBVGBL3z/3Vm8JO NgiJv/5yh9L8SgPhpz19Z8Y9zmzgNAevxLnqn50twW1YBBt4kqoE29h4qQfcBYe7bdRF LV1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RgKAHHOW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id z9-20020a170903018900b001bde698074csi9936977plg.584.2023.09.13.02.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 02:10:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RgKAHHOW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 111C7820D5C1; Wed, 13 Sep 2023 02:05:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239188AbjIMJFe (ORCPT + 99 others); Wed, 13 Sep 2023 05:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239134AbjIMJFd (ORCPT ); Wed, 13 Sep 2023 05:05:33 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B915F199B; Wed, 13 Sep 2023 02:05:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B174DC433C7; Wed, 13 Sep 2023 09:05:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694595929; bh=6FecySnQuRhCzbTetrFBUb76t576bbB7ARX9N22lPOk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RgKAHHOWf4RKi3bmN34LKt0UiUCGxSPXtPevmz8Ivwp28OMwfDvS9BYrO+Jt9U0/U OXiTOFzzTnm3wngTZVcsN+LwXUeBEL8kYg5cAsDK1RO23Ph/sdujxOfQyGpT3eHMuU 4EEumlI2a4RykpayWdFKUXeGEE0z6EUKD3XqVx3juQDF/zhTaqNareNmcQAn4l5O11 c2FIw3A/uT1OQDQ5secn0ICnX7AiVxim9olwjYDHq0jbThvr8XI5EHexMnAzyjz7x+ xqWVGCq7BwqVde5A/IHj0wi7M36Qs05ZddHubkLuBMORJl3oiBF2X0yOUlDGrn2dmd Qqw9sWC+3pfEg== Date: Wed, 13 Sep 2023 11:05:25 +0200 From: Wolfram Sang To: Tommy Huang Cc: brendan.higgins@linux.dev, andi.shyti@kernel.org, p.zabel@pengutronix.de, linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, benh@kernel.crashing.org, joel@jms.id.au, andrew@aj.id.au, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, BMC-SW@aspeedtech.com, jae.hyun.yoo@linux.intel.com, stable@vger.kernel.org Subject: Re: [PATCH v3] i2c: aspeed: Reset the i2c controller when timeout occurs Message-ID: Mail-Followup-To: Wolfram Sang , Tommy Huang , brendan.higgins@linux.dev, andi.shyti@kernel.org, p.zabel@pengutronix.de, linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, benh@kernel.crashing.org, joel@jms.id.au, andrew@aj.id.au, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, BMC-SW@aspeedtech.com, jae.hyun.yoo@linux.intel.com, stable@vger.kernel.org References: <20230906004910.4157305-1-tommy_huang@aspeedtech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dUIDfYP66VOSGajJ" Content-Disposition: inline In-Reply-To: <20230906004910.4157305-1-tommy_huang@aspeedtech.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 02:05:35 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email --dUIDfYP66VOSGajJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 06, 2023 at 08:49:10AM +0800, Tommy Huang wrote: > Reset the i2c controller when an i2c transfer timeout occurs. > The remaining interrupts and device should be reset to avoid > unpredictable controller behavior. >=20 > Fixes: 2e57b7cebb98 ("i2c: aspeed: Add multi-master use case support") > Cc: Jae Hyun Yoo > Cc: # v5.1+ > Signed-off-by: Tommy Huang > Reviewed-by: Andi Shyti Applied to for-current, thanks! --dUIDfYP66VOSGajJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmUBe1UACgkQFA3kzBSg KbagKhAAlPB23FAYIEs98C82AzXuSnnGgVlMDEeeo2Usaq4u44eE1q9+cIfz4tGz a2ER6xUsGLuwY7D9Rpopcrw0d+awaUvoN2uJuquBhoVww3K7FkYtPnJ3XuubA8jp ljcdyrMEvQxwTWz4FFTYxFQNQUIyk1j5idSdrwpqc5Qhg2Ftz3Ta+y66uEAIJA+u nBfvsy93Cq1/TKDHeG3CS6LGFWE2YVD9XQ7NwXKSnCRjLxssWUYUuxTrJSAI5NwY Z5IpvbmxyOu30hOJdibuTSP8w0LhbQCZbB7Sx2pYTKhKln5NfUDtZRBxOO7obTMO 7NxS2AzU3otP20ydbtxdJ81S1N7VJ84CAIVHAzUs+65Puq1+vDS/IgTdtmNaG7Ak vE+rIt0PpRjExnlh5Bssd4JVg1WcRdGlpknHLqoaZ1pGMcbSuvyU8VcZSCi9LfKb d64zGCbmssdTbgEPRPBKqlf1KL4ob0rjnReMIjbIZ+D1iTll9MnOsPSaQlV3B1rC 4aoWqtnXr23WX73FK/Pv40CT2/QVFX4Bityn+Be8BqD97R+M2yoFBS/d95hVf2is RYf+fLTqCyh4TqsouJJnL5PRDMuxdoHA5DK9RCIQ09fvPuWcGkRxBbhucmXM4JCl OiS1uN/a+fDDFj84vMxXLgC5QxKRyGpXuBZFrcCUdNE+kV0iarw= =OD/J -----END PGP SIGNATURE----- --dUIDfYP66VOSGajJ--