Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1216498lqp; Sun, 14 Apr 2024 21:44:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAuimrk7GD8bhnJEOGekXsDJTFTzIa6QiagrINOKSJZs5ZwLEaSxrI5eHmRXCSIAemvnNPTY/93NCUm8jA7QCJSKY0xzoTAfHrEfBRBg== X-Google-Smtp-Source: AGHT+IFFbQlv9p/KOG7t5lXQeUoA4gWqB1o6aLFNGEDz0m0hZ4ro0D5z0lLIfWLUvMoaob+CYnUT X-Received: by 2002:a17:902:ed4c:b0:1dd:e114:121c with SMTP id y12-20020a170902ed4c00b001dde114121cmr10115810plb.56.1713156264039; Sun, 14 Apr 2024 21:44:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713156264; cv=pass; d=google.com; s=arc-20160816; b=RZtsvdGPkXzfuuNNDB6OUsG7SocALw+YQ40ftvQl36RcZrKJDWK/Biene5JUZDh9qp kABPOddKj/V54ISD8Nm42EB3hDYcREJM/dtv8edSd8Bq6fMEWsunJDq3iIz45snhwMY9 tJEs0T5yqzWA1jjW5x0p+31MJ8pghgSLnTWVfpQb6NYFa2c6oik1JyIxh4o2BNLIniSO NUqiGVjNLmC2WFix1Dx71EK+XG0Ue4s6qQr+o/+34deF0ZZmK/pFc1xt3cCzw7+lxQIl O5Gvq3z/6QwjayLv4UnkQO8d3MnmAjVQpH1ozYumfAWSHjJ4LoGk73PUnMr89PLro+VO o15w== 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=0wFY/H7aSWnQ8mUODrvd154tAYu/JKodPmDGTKboQM0=; fh=LBeB2JPU1Q84ElS2FElJRx1sp6qRxl1suDKllXA1pVE=; b=y9i9SQC5NSHlsmXNfIUXlG7ACLrmrmJwZBkT71YOqbxKVKI9CQM/NU2fA0kolhEZBW xpKjc7esH15vfWk7B0q+ImucUngeKm93c6OIRJZwPmmSOGC6jpUl/apu3+GKWYnirLoy HqEqH6qEN7uvWaMJlQzlC7mVuY89UL6UylTniUSkScCIrYhT967ADZWfznZcDXFGwBOw duNULYaPR/od7FxI0dVgXa1vaEzhZXfCV0oqJ0WzfZ0KsGgkazUWQ2RXgpX9FTtukZ4e eZGhZHYbAx214wOpWbS46s2hB0vksZmpTOq8hDpmKSdMicV7j6kZTA35AUxwzGJJVNT9 heog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hql6mJai; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144529-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144529-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g19-20020a170902d1d300b001e5281d9004si6851556plb.545.2024.04.14.21.44.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 21:44:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144529-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=@kernel.org header.s=k20201202 header.b=Hql6mJai; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144529-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144529-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 BE49728280F for ; Mon, 15 Apr 2024 04:44:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09ED279E5; Mon, 15 Apr 2024 04:44:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Hql6mJai" 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 287BB63C1; Mon, 15 Apr 2024 04:44:12 +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=1713156253; cv=none; b=n6rpZ1iVDirvq3Q5Io0m910I4i99+2ulnLJAqeZhp0TpH7aHhZGiZsoq6U5fF1+JoB9XDD7W8XiJd1kKkh2DnAFyK+nIXYCiFwnBI2IhrqTj/L/PYvQvGRCoFGptk0H1suw47LhFxWK1A67gQs7Ykz4Jq/+Zy17IAoZGS6tdrk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713156253; c=relaxed/simple; bh=vZ4Y9rzHzuTAME5FLTs29rLfQFyi3HdmzoeeAzJchPc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=el/mETaY1tHhNADjM7J3lbIDnVQ4HIUJwWOwkwl1zL8WAV8Ag6KTxkiCyl8mNUKr2O4yAoK07cPUYaGOO7ofd/1oaj2ZaD524q7VygEIwQvdADEE6fiARPj/CL1LWGFZp4/QtnnyYvaSVvpXbtp/j8kA5IAQhWep/xX5YPRqxEc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Hql6mJai; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90D14C113CC; Mon, 15 Apr 2024 04:44:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713156252; bh=vZ4Y9rzHzuTAME5FLTs29rLfQFyi3HdmzoeeAzJchPc=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Hql6mJaiLst9dQjXchdQd4TdX2v+TlT1PzJlnfWJcmjrAZcfBvLLE61TKyQhyvwkJ aoxaSIsghwzucmGqS+Dn2oYFLdUEZXdhG43Caijf/TyQeHeHfEBu/OmddORO8aDGcx pbfndGFXcVvNDtScOH8S5SqEGTLlO62JCShZcgP6iSeDv/qhu6od2zrQRqdBM+SxsR wTO44oO6oq1nI7urdXSpqaUIJWMiyMqGKf+I2kkdp+/hkooMOTmOs+olGERFUDpeg2 Z4tWLQiGlFUs36b9bAB5YMU2z6Kc+tFwlhJT65JtstDsrBtES5rAyjavf5j0EQi/9J d4yl3str4w+Mg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 839E4CE105C; Sun, 14 Apr 2024 21:44:10 -0700 (PDT) Date: Sun, 14 Apr 2024 21:44:10 -0700 From: "Paul E. McKenney" To: Stephen Rothwell Cc: Palmer Dabbelt , Paul Walmsley , Leonardo Bras , Linux Kernel Mailing List , Linux Next Mailing List , Palmer Dabbelt , Yujie Liu Subject: Re: linux-next: manual merge of the rcu tree with the risc-v tree Message-ID: Reply-To: paulmck@kernel.org References: <20240415123247.0d27eb39@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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240415123247.0d27eb39@canb.auug.org.au> 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. Thanx, Paul