Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp904882iob; Wed, 18 May 2022 16:08:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb3BUm+u5ShbTpFDLx+i6kS7JPMUrUo1SXh7Dptkaneu4Irw1LzYRginqM4eIXJ5ofzVw3 X-Received: by 2002:a17:907:3e25:b0:6fe:526a:a663 with SMTP id hp37-20020a1709073e2500b006fe526aa663mr1705358ejc.626.1652915306536; Wed, 18 May 2022 16:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652915306; cv=none; d=google.com; s=arc-20160816; b=K0/RU0M6+IXDUbuaOUGs2aKEG2q3Ihq5N7KOnQf6mw92kHfXqEFzYnYynnMZcYpg/n 9O15JrnDJtpv07RtDsxLi0yYdrcGC+Z15jgBEm5TJYJjbyZAFiJsuYHnarvkUe8Fw3GS d01GNM003Instb5JMAIYFNLHt10m6l5toS7LX2qZirXserAFKBX85JbxI9Rlo1T1Gjve 0lkCbLQ73SraE/aBaC3ohybiV41LkBn3mmebKCTLZa6lSY35nNyqroa9sKfyyd84CIEn ttCJ0CNPFU8hMrNZiKnxJxwiwQLRImNJJyv/m2rUMX7MoDag4gaGurGR+Jwat3Hfpq+9 RTsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=LJePSoYrTvtRFTlCXo4G53ZYEThsrJzQZs/OVlgyXCw=; b=HUznLdweLf0wQoL//DWd5ewBrhk7k+7wOY5gYgSAXRK96OX5VqDeMNIM46K+aJf0VE tDRtBlZmGvJ0EYs4yD+A1JySwDOCd8OqlV54J9kW32/A2rteFcpzYWOPzkvZHRjdxmVH C0XKJ5JcU53XeGP5mM3W4dKR3mDbMICskX3hmGrEazyVd9mPUUnbhKZnmA9uM0ER4Jci A/3/ahUp/p6f20Fag1IHmD1066Xprk0iPLHG4AocCXHN9YZ4bwcoRNbKPjqhBPeqM2vx /L8Ra739CvAdqfY8vyZ2P/zLu3i3hZN0l6yDmDtSmmufQ3b1bT6mzGqsIC1rGQXPiuDV 932g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=G8VKIn9u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji8-20020a170907980800b006e7efc7a42fsi3533108ejc.565.2022.05.18.16.08.00; Wed, 18 May 2022 16:08:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=G8VKIn9u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230151AbiERWlC (ORCPT + 99 others); Wed, 18 May 2022 18:41:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230144AbiERWkz (ORCPT ); Wed, 18 May 2022 18:40:55 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B76E2FFE9; Wed, 18 May 2022 15:40:52 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4L3Scy5fRDz4xYC; Thu, 19 May 2022 08:40:50 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1652913650; bh=LJePSoYrTvtRFTlCXo4G53ZYEThsrJzQZs/OVlgyXCw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G8VKIn9uhmLRguFFhcl9A0NIbCpHQKUPOfvxNcF2YBSz0b/Q9kV1Vxnqrbblz1Z/R TNTyGaHtCD7MZTrkrNju8T3Hqw2XefuFkLDO4NMihc477dTWq879VrU+TQE4fsXdze YXWQ660qsRyP2/QHMeRvFOwnqykBGm5P/YKlc1t6y9I3ecTJSwPrdAJEymLxaLladi Y9qRN/mxX6i0JozcI0fJVFhrbGXwta8foatai/v5chn8V0iOVl+/YBkLRqhTIUQX3C ztD4k86RHV/9tiJwNaXMO+egsTklHRmdqyIX4ZGy8k96u8txqCZkUB+a8wfJdrXYiU 5IwrbOj4qjQ/g== Date: Thu, 19 May 2022 08:40:49 +1000 From: Stephen Rothwell To: Dave Jiang Cc: Vinod Koul , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: manual merge of the dmaengine tree with Linus' tree Message-ID: <20220519084049.3e5b58a8@canb.auug.org.au> In-Reply-To: References: <20220517153435.645a9313@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/iwEHLbp=h.a11iALdq4q1rV"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/iwEHLbp=h.a11iALdq4q1rV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Dave, On Wed, 18 May 2022 10:20:59 -0700 Dave Jiang wrote: > > The lock needs to go around both functions, we can move it outside the if= (). >=20 > + mutex_lock(&wq->wq_lock); > if (wq->state =3D=3D IDXD_WQ_ENABLED) { > idxd_wq_disable_cleanup(wq); > - idxd_wq_device_reset_cleanup(wq); > wq->state =3D IDXD_WQ_DISABLED; > } > + idxd_wq_device_reset_cleanup(wq); > + mutex_unlock(&wq->wq_lock); Thanks for checking. I have made that change to my merge resolution. --=20 Cheers, Stephen Rothwell --Sig_/iwEHLbp=h.a11iALdq4q1rV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmKFdfEACgkQAVBC80lX 0Gx5gggAmodAG7+qU+4ANAuiYo+8qcafr1zBZR0A+tMy1GXplXTnVePEYqGCg14R LXQu4myQv0IiRPbS1NoxKSYxnpg/JHVPKD2izitbEZecCUn6bjaAVKqw7ylL25+W 0FSHB0lkXPrmEmY86+4DmnesScTL2hlWugr+STC/pbFvCxyQ/4D6pisRrVClHyxy lJPNritZVFJL93WzurfhBw8lxMCxlovYpmZoAhCgreM95anKj487FBqK7lepemI2 epPH61EbvTQJ38TQoqzPOofDng8jZzHsKGceYhv1L8UiGh+KvFlagiTDc4mPJoWN CbMg+N9s/6OP5S8UXcTSrhN8FU5G/g== =B3b7 -----END PGP SIGNATURE----- --Sig_/iwEHLbp=h.a11iALdq4q1rV--