Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2785626rdh; Wed, 27 Sep 2023 12:35:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKPVyvHl7sY9NHG7P5vKdv5SIUqjAaMA9N1Es9CiubnTHXJmIi4PFeq5v3/IAZLw/SfO3Z X-Received: by 2002:a17:90a:410d:b0:274:8a03:b546 with SMTP id u13-20020a17090a410d00b002748a03b546mr2870651pjf.23.1695843352324; Wed, 27 Sep 2023 12:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695843352; cv=none; d=google.com; s=arc-20160816; b=h3t4wwAZvCMKt0THc7U9hajwfz0c3aTwOZl9eDTI+nRU0Epml5ozoBcOmUq0SvuNTV CJE+3PSjsfzVhqK+SM1NI7MHIeOsf133jXAkiaqtHlyNeMVSLQaEWV92DttMSg/o08cI UztkMFWp+ZLPYUzDE9tHzbnJlrap1TC/RxGLvtNzF938P7kJNM7PgB67xCKdxS3YXiqP I2ciqBp1nnr6apECvxYqasMTJg2epwelFzSfjg6sDxPOXZpTgzjCcvAtStjJnIE2ZTk0 CFGxjaLaTSQlhUYRMVudpP0/jJxZ3vnM7c+UWevGhHO0px5Yx9y76LTvNqR4H9ftqcx9 kWUg== 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=qi1xKDFFWwCnBLkMoVy0/9oY9qyTZUaD3X8g7C8BD6E=; fh=nFZ3cBxpH7mOV3KXiFwE5LYb3XzMp7wa/HUzRLurizA=; b=a7pzxFbmGWp4npAQI0fQDCO9KwBwCoo3DmJIK3aZCf3K1iXZwYdtMD5mbPYChH6URm qB6Opntw/BGdViKHAuUTDGYrW8ZQXLzxNINVXPfmZVezOIhAu3gYgXCrhIAOlcynD+pz AnJX5s4b5CxnOrLwtDKKph7kG5H7BavuWvkXeeX0GWo0wO7/tICYTQfj3y48eJ/Pvx+k LkafRWjn2bRzRoPptgkn8J1EYJQL4F3QFnqHSyInQMMt9MDye57hNU5PRl+740vxTuIl Q2jJnc7VSud8G8lZMaS3y5rC3b0VTrOJAVWz4tRSkpi45yh99LVpr8I3GI0Edu9EokTR BXPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qoXuqIeg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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. [23.128.96.33]) by mx.google.com with ESMTPS id c13-20020a17090a8d0d00b00274d5eb88c4si9390518pjo.90.2023.09.27.12.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 12:35:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qoXuqIeg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 7FD10807F4C7; Wed, 27 Sep 2023 12:32:04 -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 S229631AbjI0Tbz (ORCPT + 99 others); Wed, 27 Sep 2023 15:31:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjI0Tby (ORCPT ); Wed, 27 Sep 2023 15:31:54 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96220CC; Wed, 27 Sep 2023 12:31:53 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F22BC433C8; Wed, 27 Sep 2023 19:31:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695843113; bh=qi1xKDFFWwCnBLkMoVy0/9oY9qyTZUaD3X8g7C8BD6E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qoXuqIegm0rgyVqtewApMNzZr5aiY6pTVzsWxBdONdjYZ/VW6V2s2rg36k+QAkOu1 myA9mBKe5bYSR4yb/pIPjqZQnYhV61WyI+aro1Wx/hfSXLzM6rc97IQPCmiOHwiSh0 nk8h15392L22kogFn7OxSeKXubplk3QF9eTg3Xai/YeeeUuhorZP4Ma8CaIbNVCZJn LhSbig01JmELbDZpj/u9LbqPIJFq2W84RWfcXelB8SBoDNDjEX9yhvsz3FF9xbebqw bpEju7CvJiKCycQF9nJuDZYk7DIZ/OORqAJbphw3srJq2+WcbtiJ1c0LRPGrHR2ZAJ 9aFj6MkWQVyHQ== Date: Wed, 27 Sep 2023 21:31:49 +0200 From: Wolfram Sang To: "William A. Kennington III" Cc: tmaimon77@gmail.com, tali.perry1@gmail.com, avifishman70@gmail.com, joel@jms.id.au, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: npcm7xx: Fix callback completion ordering Message-ID: Mail-Followup-To: Wolfram Sang , "William A. Kennington III" , tmaimon77@gmail.com, tali.perry1@gmail.com, avifishman70@gmail.com, joel@jms.id.au, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230924010214.3700150-1-william@wkennington.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4bOEtt9VmoOmGDnm" Content-Disposition: inline In-Reply-To: <20230924010214.3700150-1-william@wkennington.com> 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 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, 27 Sep 2023 12:32:04 -0700 (PDT) --4bOEtt9VmoOmGDnm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 23, 2023 at 06:02:14PM -0700, William A. Kennington III wrote: > Sometimes, our completions race with new master transfers and override > the bus->operation and bus->master_or_slave variables. This causes > transactions to timeout and kernel crashes less frequently. >=20 > To remedy this, we re-order all completions to the very end of the > function. >=20 > Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller drive= r") > Signed-off-by: William A. Kennington III Applied to for-current, thanks! --4bOEtt9VmoOmGDnm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmUUgyUACgkQFA3kzBSg KbbQrxAAtBOAJjzGWzT1aMnS9rkkiu+aXkQadOouKjQd3etbUWfV4Yf6O0FL7HdP Fyo4b+hns7NAD2/zUZAVpc/6FlqB7P5/nmUv9ugVMuN1W3bwTeDQRytjfG2/ii4N k44S4v5I6+XbGdYLSpgoGrKFRBJMdRtZYL5qvhsdiXPUdUEsx42j04xNzmazhzEw dLDWdOmPckwnu/A9u8kOw/OU7MD8+/VOh8h259Fw0Evo3vSZxsdNJeKyEp5LTIS1 mM/BG6JY2SOu5LBm+8RIDRBnK5X/Bfg0AhGvczKSpdZeiZccapNLbgg5tKBKj4OA inP2cs2t4dzswZnwKiCr47W5E9mHgg5OUoc7lB5vmHZcJuZCTnoN8adsLh355J+k 3pzlq5LwYTFgbq+iTwV5Aw/Jh6kIQbb8evAp0grCMpX/6FgrrSwQwwQS2MlyuBgp lLGISV114hFqf5PvnTnmYUf+zUB3lLNeFA21v6l/AGzldkJS6Q4DtvrsvxKRAyim 9J8nYpqH44Jaq81AAkEdI6uCXeyw6NplhdxXkEfO/ZHfGKwrRI8ra3HXzeI6fPb/ bwVuFEIO1gGksO8p/p4ncpBvuQCj9PcVCjbSv/79ndrskvNzi4srBOZ8qydorRv0 Vuj8H4mEli36X01pKZBGFeBbBh2wY4vj/FeU5Q2YVQAxNkW2snc= =5RVG -----END PGP SIGNATURE----- --4bOEtt9VmoOmGDnm--