Received: by 2002:a05:7412:b112:b0:f9:3106:f1c0 with SMTP id az18csp49806rdb; Sun, 17 Dec 2023 20:45:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGek5LtlOBuNWa95Ki3Tbte5G+hAf0HzXhCiAZlx2OLe20FrrqTOUI1a0TBb6geNdrgA2kj X-Received: by 2002:a05:6e02:2145:b0:35f:b148:c24c with SMTP id d5-20020a056e02214500b0035fb148c24cmr1546645ilv.1.1702874735598; Sun, 17 Dec 2023 20:45:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702874735; cv=none; d=google.com; s=arc-20160816; b=tv+AdPMa+E1U1A0Ehzj5cPHImyrIm7w+PmLL6tOkS7myLulKw7dPSq13gTybIQ/tQu pJurJazUTqRNdKsAjt3Ca0QY7CuS4prz3NDFp1Yi9tBH/8OyzyS/RVLsvDMZijlS8kmU K49Vbjl+vZ10HvH6dJS/F0oWkvxPNncQLEd0YsaE+H81uvvRBi1/1CMt8ody0XRjrZpN 0xEhwTDUeg4X7Pd5kDD5+H3xC0jQ+kQNl88sDq1/YCq/EDuCL9/HJlCn1U/fIA/ds2/u 7j58lbYbAS5JD6FTfKV5wfaDqZ4+LMjWExWEsRYBgHuQO2gXzCb6rvjttuaMTXt+cjtj mXzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=ZXB6ZFNDe3ozZs3/77x3SEORE0DodjB1qFk+2S8Q/yQ=; fh=8b35riDmCzdl5+MivkTUuQPKLuzCe2Vs5uF8NBkg0DY=; b=yZp1V7vT2dN79qDQP1GEXs4ouUqx8l4LsvYsoZE00JCva10bS1kKnTxtBrO9UEN96E aBU1PlLz7gp9FvmqYBnNScE2Y1zQQM2T+n5IsBiSpVTrOQQUx2nxu1mtc1jbthJfDiAF ZKa3Mj61U7uVvT0IQZwtyjTuY91R6EZNIPcuWd1C+b9V9vwfJyfAXlzaybUXDIqc8RMN PrKrE0o2l+DFuiB03SR1axxJJF9YFGpslPzVtJFm2YGUMGRDtSK/Ue+88QCL/yvlgv6g 104xc+3S8Yr98QJl0Ns+JUizB6+w1EiRpssfRpgn9we7+AJyoTU8sCcqIkD+aoGkBfmM HD4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=tBbXiqYO; spf=pass (google.com: domain of linux-kernel+bounces-2995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2995-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u9-20020a170903124900b001d348572011si9611988plh.231.2023.12.17.20.45.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 20:45:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=tBbXiqYO; spf=pass (google.com: domain of linux-kernel+bounces-2995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2995-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3DDEC282519 for ; Mon, 18 Dec 2023 04:45:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A59E179E2; Mon, 18 Dec 2023 04:45:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="tBbXiqYO" X-Original-To: linux-kernel@vger.kernel.org Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6714479C0; Mon, 18 Dec 2023 04:45:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1702874722; bh=ZXB6ZFNDe3ozZs3/77x3SEORE0DodjB1qFk+2S8Q/yQ=; h=Date:From:To:Cc:Subject:From; b=tBbXiqYOBeKWtzw+O+tG1vINmSfIyLCknz+OApbqSrsFqywrUjYeHMIjgCKlDUO6Q q+MNphtZy6ee+3ROqfPu1L2hCuWLzFFuwMzjX9zvCEN2tcNic8ptuxd9MSsc32p7cM xTCrZ1Eltfwg2y4x2R1Rfj0NSl7wbBB2JgrHFQZgwC1/PpMBDxFpxNzbQjmmkG6511 A33pw27eMKrwnDluq/niZkCRivsNyXIVzuvgqk/2Ujbcagj0ksw63XNWX6HY2hj/dx qgkyJ72XtDmoiBQd98xDzrFzgk24jIuzbmnSkiYFvYANDrqa1jth4c9ILZGKsc5ure ybQfhdwW9xIug== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4StnLp30zHz4xM2; Mon, 18 Dec 2023 15:45:22 +1100 (AEDT) Date: Mon, 18 Dec 2023 15:45:21 +1100 From: Stephen Rothwell To: Shuah Khan , Brendan Higgins Cc: Linux Kernel Mailing List , Linux Next Mailing List , Michal Wajdeczko , Rae Moar Subject: linux-next: manual merge of the kunit-next tree with Linus' tree Message-ID: <20231218154521.2394ed2c@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/8C8pzyDxSCAHjp_ftBpRCd9"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/8C8pzyDxSCAHjp_ftBpRCd9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the kunit-next tree got a conflict in: lib/kunit/test.c between commit: 2e3c94aed51e ("kunit: Reset suite counter right before running tests") from Linus' tree and commit: 6d696c4695c5 ("kunit: add ability to run tests after boot using debugfs") from the kunit-next tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc lib/kunit/test.c index 7aceb07a1af9,e803d998e855..000000000000 --- a/lib/kunit/test.c +++ b/lib/kunit/test.c @@@ -708,8 -675,11 +713,13 @@@ int __kunit_test_suites_init(struct kun return 0; } =20 + kunit_suite_counter =3D 1; + + /* Use mutex lock to guard against running tests concurrently. */ + if (mutex_lock_interruptible(&kunit_run_lock)) { + pr_err("kunit: test interrupted\n"); + return -EINTR; + } static_branch_inc(&kunit_running); =20 for (i =3D 0; i < num_suites; i++) { --Sig_/8C8pzyDxSCAHjp_ftBpRCd9 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmV/zmEACgkQAVBC80lX 0Gzr5Qf/TRS7iuYjnSrBZanWQ49Ai1Qpo6HKAxwGtQ3L2MAl08Y6+N7P1EUe7Wxp W8tbPwkQlSSvaRasPvFdSOgJmvrSqC8q8U7ghiFeQHn57raKHj5AQqtF7tsgwoxf 3EHQwE0rtkdf3b8nO6KuX+sYExd1W4vgtMg9TXdjG3Ub7jvNvYKcZ0FNtzlfQVNK yfDtx5aNF7kFtT2qeCS90iLVB+tNyXGkhp7lViRtcCnuRJmkCkfpP4Y9nD33q52A 67jDiMt2Itwb8ITLEg+5ZoWuCkJgEu0z0u47HxCxTmSV72rLG6h9phbU1iAS5Xnj mCdBhC9VrsGgToRWMnH+KYILh6WWMQ== =TBja -----END PGP SIGNATURE----- --Sig_/8C8pzyDxSCAHjp_ftBpRCd9--