Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2726283pxb; Mon, 17 Jan 2022 04:39:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAxBrYMYQxX77m7wkI/hdFbKXDQXqztcyVoIkK532MvOXJEUPfTlsSclUWxvqoWj/V7NMY X-Received: by 2002:a17:90a:fe7:: with SMTP id 94mr34896431pjz.23.1642423179717; Mon, 17 Jan 2022 04:39:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642423179; cv=none; d=google.com; s=arc-20160816; b=hXPYB0p+QFmQIWJZOEXXESShzS16EB1YPMVAV6sjLL+0gcyAsM4fZ9ih0sOe2OUFdB c4JUqRP9EZNwlcvxryXJ9pS5ILXBteWj9ftZTNP3DxkxKe5ssbwBJFu+g6KjdWtQHHi9 RobiAfskc4utjs9GHwpys7vs0nHOQbfseMGIgPw8Xs3Z8d65GWqaJPNG1sdbaD2AE9IJ CxPhwED0t4s6xPHIIdyT28EL6CpUmW+n8AAshottZTy3tsujB74syifK+7Ih5nj7R2OI eayRUzTxE0jcsF8MLHC71XVykY9EkY/yK9yxT6C/tQ7dQpvNsdP6AxioSPD6BSUc4jAA WT+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uC9QK9tDrDJ8bYUEkaLZMfhd29it01RtK3UNjGu6F+0=; b=WUIQdQIjYWgefH4My/zXq3ESEkJJPyyxiGUhpwA1q7T7BK0rAw1/CEjoVPBojWfPQZ vKxwvGTQYDveY+7ZvsO3nuk8DiDeckju4xVEYoogfFCU5V+jWZ1LxqCQFisEd2uD286O 4CQv2M5X3AlO8u9dpj/to3CmiF8eVaX4cEFqqeb1bjXaccTA+iahNxPVGHHH1xUdz8OW LzPjpZoE3t8KTYvgKb8e+dDlHtuvXtldzhi0Kutb7SI9QV2J3kKtIdPkYpKnc7BaxPvx gIZtqtt37xQtOJSYNCvb8zPpQbcerqnd+YTsUKpJTH0pvuISd4RCyv2Y9L1jGD8yAOHE sTSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=ciayjtT6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si18893850pgu.727.2022.01.17.04.39.27; Mon, 17 Jan 2022 04:39:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=ciayjtT6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237001AbiAQEOP (ORCPT + 99 others); Sun, 16 Jan 2022 23:14:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237042AbiAQEON (ORCPT ); Sun, 16 Jan 2022 23:14:13 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CADA9C06173E for ; Sun, 16 Jan 2022 20:14:12 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id d187-20020a1c1dc4000000b003474b4b7ebcso19744651wmd.5 for ; Sun, 16 Jan 2022 20:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uC9QK9tDrDJ8bYUEkaLZMfhd29it01RtK3UNjGu6F+0=; b=ciayjtT67GxQzlTSXm/xVUEcDMmOUTYKy1dGlkK0RlBk8DAWiHlAzcIKbvbDYe/5NB eEMT+ivFn9XuyEiceNYjrBlFxJsKpmT1yBe+LEQM6wCmvJgGaDLNnz2IQvJldm9p9LN8 sjZMLhJvUa+jlS971DBqTx2JiV8MYE7VyRVbDQmkSCN2nZ/trP8TheKpE3SYVP8o7GRl mKBVTHRYjfCaidRz00H1J+UyTio36Vc/fOt5C3nAm3iwUg/j/x/e/GqRm8HQD+XzItiI gB934+DIUJ5Orh198FNLc5fF0SsjA5a2mJAfGzvcrEsMXUae/kwTZsnK3s4MYhi9duCa QxtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uC9QK9tDrDJ8bYUEkaLZMfhd29it01RtK3UNjGu6F+0=; b=Jdl64qmfm3F/jNJpTFU9d9o1pQ+x0dFPD17eazWynsS8QUBr5A642m9uKSb3rrF2sH 4SpOoP5Gop2dHvnpADjqAMIvsJNKCywo30LFq0GgqFP9sDIteP2SH8XZW4eQul/kkdiI nMfkvDWncyrVeYEMaroyQ+KCLY2aZHdaMfTj8e9MBWOaSvJ4QwC60RoATCYbe+3BOIYb W9guU64r55FewvPgap+qYwYB1ynhEycY4PxPK7bmE/7DpEQtv6oq/Lquxl+rGjCD8dWK eFqXxH1qKJoyEHwAyK1zPb1Z64ZEmhxB9phGDs0btub9Gr6sws/jELL44GLzVChx684i rUCQ== X-Gm-Message-State: AOAM531h4v+4BVbnNbXWKIi9VjmrZSPM7ZYjj07JXloZowCXWD5B4EdK qikPH0VOnrcPtUE/ZfaqrdJcxe1az5kNVpRgY+Ym5w== X-Received: by 2002:a7b:cb05:: with SMTP id u5mr19465099wmj.59.1642392851103; Sun, 16 Jan 2022 20:14:11 -0800 (PST) MIME-Version: 1.0 References: <20220112114024.7be8aac6@canb.auug.org.au> <20220117085431.7bef9ebc@canb.auug.org.au> In-Reply-To: <20220117085431.7bef9ebc@canb.auug.org.au> From: Anup Patel Date: Mon, 17 Jan 2022 09:43:58 +0530 Message-ID: Subject: Re: linux-next: manual merge of the kvm tree with the risc-v tree To: Palmer Dabbelt Cc: Stephen Rothwell , Paul Walmsley , Paolo Bonzini , KVM , Atish Patra , Atish Patra , Linux Kernel Mailing List , Linux Next Mailing List , Palmer Dabbelt , linux-riscv Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Palmer, On Mon, Jan 17, 2022 at 3:24 AM Stephen Rothwell wrote: > > Hi all, > > On Wed, 12 Jan 2022 11:40:24 +1100 Stephen Rothwell wrote: > > > > Today's linux-next merge of the kvm tree got a conflict in: > > > > arch/riscv/include/asm/sbi.h > > > > between commit: > > > > b579dfe71a6a ("RISC-V: Use SBI SRST extension when available") > > > > from the risc-v tree and commit: > > > > c62a76859723 ("RISC-V: KVM: Add SBI v0.2 base extension") > > > > from the kvm 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. > > > > > > diff --cc arch/riscv/include/asm/sbi.h > > index 289621da4a2a,9c46dd3ff4a2..000000000000 > > --- a/arch/riscv/include/asm/sbi.h > > +++ b/arch/riscv/include/asm/sbi.h > > @@@ -27,7 -27,14 +27,15 @@@ enum sbi_ext_id > > SBI_EXT_IPI = 0x735049, > > SBI_EXT_RFENCE = 0x52464E43, > > SBI_EXT_HSM = 0x48534D, > > + SBI_EXT_SRST = 0x53525354, > > + > > + /* Experimentals extensions must lie within this range */ > > + SBI_EXT_EXPERIMENTAL_START = 0x08000000, > > + SBI_EXT_EXPERIMENTAL_END = 0x08FFFFFF, > > + > > + /* Vendor extensions must lie within this range */ > > + SBI_EXT_VENDOR_START = 0x09000000, > > + SBI_EXT_VENDOR_END = 0x09FFFFFF, > > }; > > > > enum sbi_ext_base_fid { > > This is now a conflict between the risc-v tree and Linus' tree. The commit c62a76859723 ("RISC-V: KVM: Add SBI v0.2 base extension") is already merged in Linus' tree. Since you are yet to send PR for 5.17, we have two options: 1) Rebase your for-next branch upon latest Linus' tree master branch 2) Send "RISC-V: Use SBI SRST extension when available" in the next batch of changes for 5.17 after 5.17-rc1 Let me know if you want me to rebase and send v8 patch of "RISC-V: Use SBI SRST extension when available" In future, we should coordinate and use a shared tag for such conflicting changes. Regards, Anup > > -- > Cheers, > Stephen Rothwell