Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35110C61DA4 for ; Thu, 9 Mar 2023 08:22:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbjCIIWa (ORCPT ); Thu, 9 Mar 2023 03:22:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbjCIIWD (ORCPT ); Thu, 9 Mar 2023 03:22:03 -0500 Received: from out-63.mta1.migadu.com (out-63.mta1.migadu.com [95.215.58.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C826AB53DE for ; Thu, 9 Mar 2023 00:19:22 -0800 (PST) Date: Thu, 9 Mar 2023 08:19:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1678349958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=x50v67TYwBiKWgeN27hRP+v0wvobGEIlSfVqgnbcpZE=; b=VhYz7y8T/2f5wHgbuvYDigGr5lA7gNx2UEc+6kPfl51jVXEKmODWQrK+erpNl3I+fYAGk0 OLP4W54Mdr1zZDcTnZtBmtEdcQWprwRVwxmeRnoIvopUISYuw3tOVeHyt7tzXXc7thjBxD Sz2a8RbgDpGxbCDWDzaFfHz5kYp6oVc= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Bagas Sanjaya Cc: Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Sagi Shahar , Erdem Aktas , Peter Shier , Anish Ghulati , James Houghton , Anish Moorthy , Ben Gardon , David Matlack , Ricardo Koller , Axel Rasmussen , Aaron Lewis , Ashish Kalra , Babu Moger , Chao Gao , Chao Peng , Chenyi Qiang , David Woodhouse , Emanuele Giuseppe Esposito , Gavin Shan , Guang Zeng , Hou Wenlong , Jiaxi Chen , Jim Mattson , Jing Liu , Junaid Shahid , Kai Huang , Leonardo Bras , Like Xu , Li RongQing , "Maciej S . Szmigiero" , Maxim Levitsky , Michael Roth , Michal Luczaj , Mingwei Zhang , Nikunj A Dadhania , Paul Durrant , Peng Hao , Peter Gonda , Peter Xu , Robert Hoo , Suravee Suthikulpanit , Tom Lendacky , Vipin Sharma , Vitaly Kuznetsov , Wanpeng Li , Wei Wang , Xiaoyao Li , Yu Zhang , Zhenzhong Duan , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] Documentation/process: Add a maintainer handbook for KVM x86 Message-ID: References: <20230309010336.519123-1-seanjc@google.com> <20230309010336.519123-3-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 09, 2023 at 09:37:45AM +0700, Bagas Sanjaya wrote: > On Wed, Mar 08, 2023 at 05:03:36PM -0800, Sean Christopherson wrote: > > +As a general guideline, use ``kvm-x86/next`` even if a patch/series touches > > +multiple architectures, i.e. isn't strictly scoped to x86. Using any of the > > +branches from the main KVM tree is usually a less good option as they likely > > +won't have many, if any, changes for the next release, i.e. using the main KVM > > +tree as a base is more likely to yield conflicts. And if there are non-trivial > > +conflicts with multiple architectures, coordination between maintainers will be > > +required no matter what base is used. Note, this is far from a hard rule, i.e. > > +use a different base for multi-arch series if that makes the most sense. I don't think this is the best way to coordinate with other architectures. Regardless of whether you intended this to be prescriptive, I'm worried most folks will follow along and just base patches on kvm-x86/next anyway. It'd be easier to just have multi-arch series use a stable base (i.e. a release candidate) by default. That'd avoid the undesirable case where merging a shared branch brings with it some random point in another arch's /next history. If a different approach makes sense for a particular series then we can discuss it on the list and arrive at something agreeable for all parties involved. > That means patches that primarily kvm ARM changes should be based on > kvm-x86/next, right? No, don't do that. Patches aimed at KVM/arm64 should be based on a sensible release candidate. We tend to contstruct the kvmarm/next with an early-ish release candidate (rc2-rc4). For example the 6.3 pull request was based on 6.2-rc4. We use topic branches in a slightly different manner than x86, creating ad-hoc branches for individual patch series grabbed from the list. If one has a series that conflicts with/depends on another that is in-flight or already picked up then that should be mentioned in the cover letter. Ultimately its up to the maintainer(s) to address conflicts, and neither Marc nor I are afraid to ask for a rebase/respin if it makes our lives easier to glue it all together. -- Thanks, Oliver