Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1611327lqp; Mon, 15 Apr 2024 11:20:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVqfsxchrDapzSYf5/oUePlKyHO3B5PbBl0A1bLWIW+deq3/tGfF7WWp4VGETtw4arCoEsW5p5EFSOXNvSqAZhp2DfNg9ODM0Y3YCUnA== X-Google-Smtp-Source: AGHT+IFikrnmm/vSALbPcnMzsDFEqMzpUIjimCAFRF4NSFqxVluN26/XKQc8UYoMMUhBsMv2FGJ2 X-Received: by 2002:a05:6358:968f:b0:17e:f46b:2c49 with SMTP id o15-20020a056358968f00b0017ef46b2c49mr14523031rwa.20.1713205216745; Mon, 15 Apr 2024 11:20:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713205216; cv=pass; d=google.com; s=arc-20160816; b=Xnr4iS4s8lQgjZx13DhkIvMbkOMtcY7NpwASKYGOE4GLOxfyfqxuje3jTbEIYc3yAm 2WxKK20ZSoWDscqj+Jyz4jRDLRIiBLgj16cpIQ214FJnLrgL3rN2rezy8GujuT21jlNO pXPCYS+gj7AbnGSZtGOptjIADIc8xcERf2wJIfFlo1nyO3ji5HBMVW3Xt9zMhmQt3jIg p0q5QdhQpzyISY4duYXFfFZMeGebtYCwTeE5CLa47sCvUiYmCohDhgyfMK56N5BM2XgF zbwkYBgl8jKAVLVLqXrxVQ3gwnmOnpy3o+8A9DpQdtLUFRsNK6fFmhCJCeJ7PgB3n4/j 3ikw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:to:from:cc:in-reply-to :subject:date:dkim-signature; bh=XMYfsNuUq9BKvqfKjhxnbpLMRwsgeNj3FevT6pUpzBc=; fh=fIOxbDHPvHoRDA6wPh+49RuPJOiaHBPe14+OB/TYEvc=; b=w10M7m8xh377E2eRO7oqbuiJcvF/R1IWIwYZx0xNK0lZjqCYIYmOhX4f16E5hnSmJf rgOjp8SyZfZLl/auUNk0rOxlcrz7Cyl0uMdfrhUjQvRhKvPLqVY+/ECeAdC7z64yhGC/ toryAB05rTVWOCf5jQgRDGaEiDE9UoV090nqQkO3TIogg0aAA1k4EOle8GwWEXAG3Qkz pW0z82nY2tXxz3KPD/hpKu1DP6N8CJ2cniRO8c/t9ECfpAxVVufD1mxalqDgl3tAmoXT vu01Hzk00Dqcsgup2AQUSsW5XFR2hFdSk1XG+/kLn6XjuVTzZZuwWU/yoYnXL2dCSdE9 hghA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=e+DlGRPF; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-145696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145696-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f24-20020a637558000000b005dc3c49442esi8309911pgn.732.2024.04.15.11.20.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 11:20:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=e+DlGRPF; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-145696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145696-linux.lists.archive=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8A3D6B21DFB for ; Mon, 15 Apr 2024 18:20:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91CB313A89F; Mon, 15 Apr 2024 18:20:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="e+DlGRPF" Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B2A6139CEE for ; Mon, 15 Apr 2024 18:20:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713205203; cv=none; b=QVU4sgNelyHAT/Rf3IWeaC9hDrDpZFTeVD0kQgPEUvORcW8oJLQjLxtyVEZ+SdJzb/g+Ib1Gp+uikfkb7XZ6agRKHofPZjKZt4U2hHTu0TaBGc9wvFn4Ci0xW6g+11rCmnzDL44dKo410qWTXtxCpRQgE/eFxNSVM+YxnkYXGo8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713205203; c=relaxed/simple; bh=6bK9/EmLtsGWBkVVtivqidNz/Hm2f1PhZTOetEUlll4=; h=Date:Subject:In-Reply-To:CC:From:To:Message-ID:Mime-Version: Content-Type; b=fElOGqDrQccDuJbEpkdGaBg8R6vNGSnwyEq11gv2NSGyAkvv98cuR3Brvs31qlcaH4xSL5JIHt47Ff7V+ghV+sRI9FreIKzjExkGQi2688Oxu4Ewy7+cl7R7S2q9Vf6ej6Ao1zKXXrjQxeFz202cyKmwhlLul7O00ewDIHXbZco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=e+DlGRPF; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1e5c7d087e1so20318125ad.0 for ; Mon, 15 Apr 2024 11:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1713205201; x=1713810001; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=XMYfsNuUq9BKvqfKjhxnbpLMRwsgeNj3FevT6pUpzBc=; b=e+DlGRPFoGfqrQNnLCrhoOEIsMRLgVpmuZQuejIQuELfnDQh5ERKyLn2bJp70pJGPU fZJ6voM2Vq55AhXYqmdDwxsN9m1u8OlPuEBUkPFtQPngYnLMp7+7Wff85dQWrf3vYBAP PEwWttYXotfByQPfQaXO+YGUmSu1M8thlHiXwKSmQafrzjQfDpFlnqcFOeze7ARnE/kF 94Hu6tM7fWbGgxSaUlyIom7ZLF3w8M9zLapkTInu2bmvYnNL1AvncLHsnBCBXZckXcV3 mxneJrmUOYv9PBW5Ip3LAu/e1C9fxb3zD2HqLH3qSxtlUuPHPIn0dlnwZezx4ZBkX+f1 9yQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713205201; x=1713810001; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XMYfsNuUq9BKvqfKjhxnbpLMRwsgeNj3FevT6pUpzBc=; b=wZKg3qHadKRHgFD1/IS9LEG9lpbLf1PdOXd6gKT3Ix5x/G3aA9FXCj6leCPoXbA03z l7a2YAQEyC2LuFeMRK6VIms61hBsl5lpGL7K9jOrNK6xbMY63iwkB7iBgv2EoZymB025 rjtA7P/OvO6/GoUOXHk2QG6pJ+Tck8UNyQaJ7rrDZypY5LS8OZGQSBeQgO0loHXvh+Ix UbSpo7chuZ52SJRUYoiEnOUqGtGWINVou6XziMBil9aVjGYzF4wXs8oWsiibJ2JAVvEt Lwt5T3O4B+34zt/aFaoL/t78XjBOtbSau451BlxGsG8F6QEEmV1dzV4xUQN9a0NkyXF+ 5sJA== X-Forwarded-Encrypted: i=1; AJvYcCXqhhKAfMlU2LXRMjfAqHRID3B75xVJXlhwUZLzVaQHbCrn+gwP6pzLVyJb8HFEF3UrzWoUVP55+0aeezrGF0oqVndenfjBRYR3BA+R X-Gm-Message-State: AOJu0Yzl4KrnUdOKBJXgwvn2LjABbfvoi8A2NczNSdtSgigkuAf7MfQQ 2cYYr/JVHWDoiNjzY92C3lKYPGX9LcPm44matF+RGotNl3yr8jo7XQXiAjUJvmM= X-Received: by 2002:a17:903:11cc:b0:1e6:34f9:f730 with SMTP id q12-20020a17090311cc00b001e634f9f730mr4247720plh.52.1713205201209; Mon, 15 Apr 2024 11:20:01 -0700 (PDT) Received: from localhost ([50.145.13.30]) by smtp.gmail.com with ESMTPSA id kz5-20020a170902f9c500b001e7b80b7c82sm412788plb.283.2024.04.15.11.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 11:20:00 -0700 (PDT) Date: Mon, 15 Apr 2024 11:20:00 -0700 (PDT) X-Google-Original-Date: Mon, 15 Apr 2024 11:19:57 PDT (-0700) Subject: Re: linux-next: manual merge of the rcu tree with the risc-v tree In-Reply-To: CC: Stephen Rothwell , Paul Walmsley , leobras@redhat.com, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, yujie.liu@intel.com From: Palmer Dabbelt To: paulmck@kernel.org Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. > > Thanx, Paul