Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1696313lqp; Mon, 15 Apr 2024 14:20:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXRNcs3aXE8Aksfj6DY04wt0SxMhQiNbWvkdVsKOqpR5ZxMvxo9y4Gyq0rVaRkOfav9xrVc9ur9v3VVSoauwr8JjsEzxDYNibeFJfqCRA== X-Google-Smtp-Source: AGHT+IGiepFMNmOcFgr1CZZ+D51utzFNb1Kptyiq7hbP4inbZha04ElcJ88ud/E1HDig68aBqGEp X-Received: by 2002:a05:6358:8315:b0:17e:2943:c75e with SMTP id i21-20020a056358831500b0017e2943c75emr12867266rwk.12.1713216046563; Mon, 15 Apr 2024 14:20:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713216046; cv=pass; d=google.com; s=arc-20160816; b=iuGjgMiQdDucdgSS94Xy2UnETtJ7Y3kYnMnzpBfEbE3R7Lu8WgES2jl3BDneFwlZ6Y ea5dSicXhnMUXpGafa7iVHOjjg4nyFlT6hfa0KfTIxLPYsIJ+Mq1NEKBYnWJLV1ksznV 6ieE73LcYkD/6Hy8WEr//uUZU4558uTgO6XDW4CGLHhooLn8zUXgfzaEaALkHUjEEzfN 4Q2g0N/OCPSpvJJ2go26D+eDRVQGLKnT/dYzqIVXgTr8/wttEGAy1wlpb3AyMq+MNjA1 O/9ImAYa1YTxbwaH4letnwMsx5/EBnn37xnLxe9depU4h+EU+a7/uAPGoE7KWElaMZUf 2Rww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=i1XiKxlqb9a1NGBEzVAPXtN5gq/3D7NhJE+2cX5YqHM=; fh=sFrV5xTVzjrv6lzb2FQyhet1+ygxT4aoJcGwxfIX084=; b=sIVjgvUaj5N8VkgC28+Fi/wkbjmo/OyXNP+TyHNZtQTDtXLApSM14B8uUA8Gj3NaBW 0CbfhhwHkfSOOQ+9y7h8MKP5ObI35S1ajgu3q9XPt8r3B/VOCThO2s3+PocZTyd4S9/1 nVrINO92eh7VrPAETrunZPvuco5C1yXy6/UjWLcV72UHpVxWYsh/Y1BahH+KRt+WHMgB NAv3R0E4FzcGfRWvIpq7rH4aMF8QWD75Ga2ekZX/85bKoi8GueHFT0qu3mgbaH3RZgMu iMJtsfQto5YyD2YlfvINQz3xx4uqNKQVLYVsQOKZchmgu18vMnK3GMH5BlNviKgmOqXt y3wA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qP7ITOKI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145926-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145926-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j6-20020a635506000000b005dbec0a0adfsi8366132pgb.320.2024.04.15.14.20.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 14:20:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145926-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qP7ITOKI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145926-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145926-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 70D5D283D1C for ; Mon, 15 Apr 2024 21:20:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1471157A4D; Mon, 15 Apr 2024 21:20:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qP7ITOKI" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 122AE157474; Mon, 15 Apr 2024 21:20:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713216027; cv=none; b=AG1P9jaBQYGYFhuJnFyeCouqRQfiQgMrGojqdQf0+fS/lwqO94JSgm93ipeMGmbEvAtMkis3xBes39K4QctMdfDJopMJrkObT4X0QeAwUx2PTdK6vhWKmLplWf/3jkM2Ex/FXyfMxSS0Kk55+g39LWvHx1dZhndsWSuIr8zPLz8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713216027; c=relaxed/simple; bh=+afJiuXG3cF9tk3eLeJnRhRaoDpNXZkN7pxBI2RmPBw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AcmEZm9z7fXJkX7hHEcwuD4oYITDAOJf0mOXCt9us4+zMfatDBJlw9bKmgWugaAylW66hLcJBlTs/RFcLXcS6r3YWusZSsLGLTfECgqUIQLjFP18txAOFmASux0mLC5RMzhiHS2dwjliO7Yhy7Q5J/R1q67q2Spv+d7MaCDITO0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qP7ITOKI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C59EC113CC; Mon, 15 Apr 2024 21:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713216026; bh=+afJiuXG3cF9tk3eLeJnRhRaoDpNXZkN7pxBI2RmPBw=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=qP7ITOKI6F96cNfzf6FwHg7no4R9lLwhCMnlTazhM2wAoGeCm+tt9X6fNvcLIJQB+ 0hLXEf8mUFqxHLR544EVU0etsy0kIbj2WtwQyoGe8BmS6h/SnDRE2z5LowAUeGYZ14 arizQaAV59LiNOVEFjzObNCh25ygrUGZSHJBOE/6w8PlQY7V3oEiVOcykF0cEIHehe MqQw0i2oq2jwfV8RwxyfxP3ujMvbspTFnyzLW70iVygvZt4N6/4fGAujJZHUvdQ1Kc 3m8+HWZ0K6fFurfgQsfskVClStrPSZI9pC7vHEZ0uAK4rkh/X9W3GlPiwRYFkCJQ6+ tjGiE0mLBh8nw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 2AD67CE0445; Mon, 15 Apr 2024 14:20:24 -0700 (PDT) Date: Mon, 15 Apr 2024 14:20:24 -0700 From: "Paul E. McKenney" To: Palmer Dabbelt Cc: Stephen Rothwell , Paul Walmsley , leobras@redhat.com, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, yujie.liu@intel.com Subject: Re: linux-next: manual merge of the rcu tree with the risc-v tree Message-ID: <605ad410-19cf-4e13-8594-fc7f5ecc2e39@paulmck-laptop> Reply-To: paulmck@kernel.org References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Apr 15, 2024 at 11:20:00AM -0700, Palmer Dabbelt wrote: > On Sun, 14 Apr 2024 21:44:10 PDT (-0700), paulmck@kernel.org wrote: > > On Mon, Apr 15, 2024 at 12:32:47PM +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > > Today's linux-next merge of the rcu tree got a conflict in: > > > > > > arch/riscv/include/asm/cmpxchg.h > > > > > > between commits: > > > > > > 07a0a41cb77d ("riscv/cmpxchg: Deduplicate cmpxchg() asm and macros") > > > 54280ca64626 ("riscv/cmpxchg: Implement cmpxchg for variables of size 1 and 2") > > > > > > from the risc-v tree and commit: > > > > > > b5e49f1af563 ("riscv: Emulate one-byte cmpxchg") > > > > > > from the rcu tree. > > > > > > I fixed it up (I just used the former as the latter seems to no longer be > > > needed - I also undid the change to arch/riscv/Kconfig from the latter) > > > 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. > > > > Agreed, it looks to me like I should drop my RISC-V change in favor of > > the native support. Please let me know if I am mistaken. > > > > If I do not hear otherwise, I will pull my commit out of -next in favor > > of those two on my next rebase. > > Sorry I forgot to send the shared tag. We can pre-merge if you want, I'm > fine either way just let me know. Not a problem! I will just keep it in -rcu for my testing, but such that it does not go to -next. Thanx, Paul