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 B9554C64EC4 for ; Thu, 9 Mar 2023 17:40:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229552AbjCIRkj (ORCPT ); Thu, 9 Mar 2023 12:40:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229892AbjCIRkg (ORCPT ); Thu, 9 Mar 2023 12:40:36 -0500 Received: from mail-pl1-x649.google.com (mail-pl1-x649.google.com [IPv6:2607:f8b0:4864:20::649]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B96D6FAADD for ; Thu, 9 Mar 2023 09:40:35 -0800 (PST) Received: by mail-pl1-x649.google.com with SMTP id m9-20020a170902db0900b0019ea0e227e4so1408635plx.6 for ; Thu, 09 Mar 2023 09:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1678383635; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=FMpG6QqC6hhrGl7QyTuyVx8ARghXDw/6XzjfUQpd64U=; b=D/D3EgchKsiUdj5mlSTQ+Ok6aeaCq1dG8+qQMkOxZ7eugU5DM9o/1dj56peM5nV7xZ ux7nQLkAXPYszpdD9hAlgY2/sIyE1k73uNyuLDieL3TReaT8qAD6ImwUAjsHc3myenJR FWrMpRB7Nki33S0YJQJQS9DRErPKvxeBK7Em21L+6ixo1rHYbSSdeC0YWoG0beAdfvjU 00YxqveXzQYkD/Y7wCOyG1SE0sknD4nAiDi3LmwHfGaLj567di27VM7k1l/bVpPCWLGU lUeCqLW4qtdoTrruby9k7EFnrOSBUTJrs78mpAwhWcXOoS7eQV82wPungBlgsGdHqSgP 42Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678383635; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FMpG6QqC6hhrGl7QyTuyVx8ARghXDw/6XzjfUQpd64U=; b=muFsqHZMoV2gQu/Lv8e7klEOYjaT0Ij0gHz9AX0kVyGek4dKHyXrGgtuzp/hjVqUMX YMoJsC6m4b4xI3MXtqPWtxCEhqGdE+jr8IHamG9P5xDoYQF6Dd9oIqVkW59kMZaBUcW/ 1OECD0pT/A+bWN33n4vJNrKFFWiDsYbVIGCO5Mmrxm2/fnD7pMT2UKg94GMABotokW89 Bz07bGg4G4ar4YyVg0t9chGLUAy4sCCWRxfKMzKsWWjMFz8JSdiOBAN+Rjm3DC+yOLXu P9f5jX+KLAOyq562PZhj8dcXxrHqMVbEWzc98+04tLl2+lvs1+Cxabw+3lFLHyRKW2ZE iSgg== X-Gm-Message-State: AO0yUKX8rWsthGlY6tVhmxfork+P/xV8CGBJjpmMCywg+cuvkq9iTIcP MKZ0gbGquGFtYYtpwbW0riMmjYlYm+k= X-Google-Smtp-Source: AK7set/K8mLaAxGwzT1+biG01J4A21PfKNmxCXL7Ak5krO/ojpRMzIhImPmz2N4awPbZsK6+EPZg9zLX070= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:903:2585:b0:19e:b69e:531b with SMTP id jb5-20020a170903258500b0019eb69e531bmr6666236plb.12.1678383635166; Thu, 09 Mar 2023 09:40:35 -0800 (PST) Date: Thu, 9 Mar 2023 09:40:33 -0800 In-Reply-To: Mime-Version: 1.0 References: <20230309010336.519123-1-seanjc@google.com> <20230309010336.519123-3-seanjc@google.com> Message-ID: Subject: Re: [PATCH v2 2/2] Documentation/process: Add a maintainer handbook for KVM x86 From: Sean Christopherson To: Bagas Sanjaya Cc: Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Sagi Shahar , Erdem Aktas , Peter Shier , Anish Ghulati , Oliver Upton , 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 Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 09, 2023, Bagas Sanjaya wrote: > On Wed, Mar 08, 2023 at 05:03:36PM -0800, Sean Christopherson wrote: > > +If a patch touches multiple topics, traverse up the conceptual tree to find the > > +first common parent (which is often simply ``x86``). When in doubt, > > +``git log path/to/file`` should provide a reasonable hint. > > What do you mean by conceptual tree? Is it Patch subject prefix? Not really? I'm struggling to describe it in words. What I mean is something like this x86 / | \ VMX pmu SVM / \ nVMX nSVM e.g. if a patch touches VMX and SVM, use "x86". But it's a bit more complex than that, e.g. a VMX-focused patch that just happens to touch Intel-specific PMU code should probably be tagged "VMX", not "x86" or "pmu". Massaging subjects when applying is easy enough, and there will always be some amount of subjectivity, so unless this is outright confusing (or someone has a better, succinct, and easy-to-understand description), I'll probably just leave this section as-is. > > +KVM selftests that are associated with KVM changes, e.g. regression tests for > > +bug fixes, should be posted along with the KVM changes as a single series. The > > +standard kernel rules for bisection apply, i.e. KVM changes that result in test > > +failures should be ordered after the selftests updates, and vice versa, new > > +tests that fail due to KVM bugs should be ordered after the KVM fixes. > > Did you mean that in a patch series, selftest patches are placed after > their corresponding KVM changes? No, I meant what I wrote. If a KVM change will break a test (uncommon, but it does happen), then the selftest should be patched first so that there are no unnecessary test failures in the git history. But when adding a regression test, the KVM bug fix should come first so that again, there are no unnecessary failures if someone tests an arbitrary commit, e.g. during bisection.