mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yu Zhang <yu.c.zhang@linux.intel.com>
To: Sean Christopherson <seanjc@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Sagi Shahar <sagis@google.com>,
	Erdem Aktas <erdemaktas@google.com>,
	Peter Shier <pshier@google.com>,
	Anish Ghulati <aghulati@google.com>,
	Oliver Upton <oliver.upton@linux.dev>,
	James Houghton <jthoughton@google.com>,
	Anish Moorthy <amoorthy@google.com>,
	Ben Gardon <bgardon@google.com>,
	David Matlack <dmatlack@google.com>,
	Ricardo Koller <ricarkol@google.com>,
	Axel Rasmussen <axelrasmussen@google.com>,
	Aaron Lewis <aaronlewis@google.com>,
	Ashish Kalra <ashish.kalra@amd.com>,
	Babu Moger <babu.moger@amd.com>, Chao Gao <chao.gao@intel.com>,
	Chao Peng <chao.p.peng@linux.intel.com>,
	Chenyi Qiang <chenyi.qiang@intel.com>,
	David Woodhouse <dwmw@amazon.co.uk>,
	Emanuele Giuseppe Esposito <eesposit@redhat.com>,
	Gavin Shan <gshan@redhat.com>, Guang Zeng <guang.zeng@intel.com>,
	Hou Wenlong <houwenlong.hwl@antgroup.com>,
	Jiaxi Chen <jiaxi.chen@linux.intel.com>,
	Jim Mattson <jmattson@google.com>, Jing Liu <jing2.liu@intel.com>,
	Junaid Shahid <junaids@google.com>,
	Kai Huang <kai.huang@intel.com>,
	Leonardo Bras <leobras@redhat.com>,
	Like Xu <like.xu.linux@gmail.com>,
	Li RongQing <lirongqing@baidu.com>,
	"Maciej S . Szmigiero" <maciej.szmigiero@oracle.com>,
	Maxim Levitsky <mlevitsk@redhat.com>,
	Michael Roth <michael.roth@amd.com>, Michal Luczaj <mhal@rbox.co>,
	Mingwei Zhang <mizhang@google.com>,
	Nikunj A Dadhania <nikunj@amd.com>,
	Paul Durrant <pdurrant@amazon.com>,
	Peng Hao <flyingpenghao@gmail.com>,
	Peter Gonda <pgonda@google.com>, Peter Xu <peterx@redhat.com>,
	Robert Hoo <robert.hu@linux.intel.com>,
	Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
	Tom Lendacky <thomas.lendacky@amd.com>,
	Vipin Sharma <vipinsh@google.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	Wanpeng Li <wanpengli@tencent.com>,
	Wei Wang <wei.w.wang@intel.com>,
	Xiaoyao Li <xiaoyao.li@intel.com>,
	Zhenzhong Duan <zhenzhong.duan@intel.com>,
	kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] Documentation/process: Add a maintainer handbook for KVM x86
Date: Tue, 21 Feb 2023 19:06:07 +0800	[thread overview]
Message-ID: <20230221110607.6wvrgpqip3njrkwu@linux.intel.com> (raw)
In-Reply-To: <20230217225449.811957-3-seanjc@google.com>

Thank you so much, Sean, for such a detailed guidance!

Some questions below:

On Fri, Feb 17, 2023 at 02:54:49PM -0800, Sean Christopherson wrote:
> Add a KVM x86 doc to the subsystem/maintainer handbook section to explain
> how KVM x86 (currently) operates as a sub-subsystem, and to soapbox on
> the rules and expectations for contributing to KVM x86.

It's a fantastic doc! Also, many good requirements can be common in KVM, not
just KVM x86(e.g. the comment, changelog format, the testing requirement
etc.). Could we be greedier to ask our KVM maintainers for a generic handbook
of KVM, and maybe different sections for specific arches, which describe their
specific requirements(the base trees and branches, the maintaining processes
etc.)? :)
> 
> Signed-off-by: Sean Christopherson <seanjc@google.com>
> ---
>  .../process/maintainer-handbooks.rst          |   1 +
>  Documentation/process/maintainer-kvm-x86.rst  | 347 ++++++++++++++++++
>  MAINTAINERS                                   |   1 +
>  3 files changed, 349 insertions(+)
>  create mode 100644 Documentation/process/maintainer-kvm-x86.rst
> 
> diff --git a/Documentation/process/maintainer-handbooks.rst b/Documentation/process/maintainer-handbooks.rst
> index d783060b4cc6..d12cbbe2b7df 100644
> --- a/Documentation/process/maintainer-handbooks.rst
> +++ b/Documentation/process/maintainer-handbooks.rst
> @@ -17,3 +17,4 @@ Contents:
>  
>     maintainer-tip
>     maintainer-netdev
> +   maintainer-kvm-x86
> diff --git a/Documentation/process/maintainer-kvm-x86.rst b/Documentation/process/maintainer-kvm-x86.rst
> new file mode 100644
> index 000000000000..ac81a42a32a3
> --- /dev/null
> +++ b/Documentation/process/maintainer-kvm-x86.rst
> @@ -0,0 +1,347 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +
> +KVM x86
> +=======
> +
> +TL;DR
> +-----
> +Testing is mandatory.  Be consistent with established styles and patterns.
> +
> +Trees
> +-----
> +KVM x86 is currently in a transition period from being part of the main KVM
> +tree, to being "just another KVM arch".  As such, KVM x86 is split across the
> +main KVM tree, ``git.kernel.org/pub/scm/virt/kvm/kvm.git``, and a KVM x86
> +specific tree, ``github.com/kvm-x86/linux.git``.

Does other arch also have a specific tree? If a patch series touches multiple
archs(though the chance could be very low), I guess that patch set should still
be based on the main KVM tree? The master branch or the next branch?

...
> +Co-Posting Tests
> +~~~~~~~~~~~~~~~~
> +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.
> +
> +KVM-unit-tests should *always* be posted separately.  Tools, e.g. b4 am, don't
> +know that KVM-unit-tests is a separate repository and get confused when patches
> +in a series apply on different trees.  To tie KVM-unit-tests patches back to
> +KVM patches, first post the KVM changes and then provide a lore Link: to the
> +KVM patch/series in the KVM-unit-tests patch(es).

I wonder, for KVM bugzilla to report a bug, or for our QAs to perform regular
tests using KVM selftests/KVM-unit-tests, which tree/branch is more reasonable
to be based on?

E.g., I saw some bugzilla issues earlier, reporting failures of some unit tests,
did some investigation, yet to find those failures were just because the corresponding
KVM patches had not been merged yet. 

Maybe we also should take care of the timings of the merging of KVM patches and
the test patches? Two examples(I'm sure there're more :)): 
1> https://bugzilla.kernel.org/show_bug.cgi?id=216812
2> https://bugzilla.kernel.org/show_bug.cgi?id=216725


B.R.
Yu

  parent reply	other threads:[~2023-02-21 11:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17 22:54 [PATCH 0/2] " Sean Christopherson
2023-02-17 22:54 ` [PATCH 1/2] Documentation/process: Add a label for the tip tree handbook's coding style Sean Christopherson
2023-02-17 22:54 ` [PATCH 2/2] Documentation/process: Add a maintainer handbook for KVM x86 Sean Christopherson
2023-02-18  1:52   ` Mingwei Zhang
2023-02-22  0:29     ` Sean Christopherson
2023-03-02 18:46       ` Mingwei Zhang
2023-02-20  8:10   ` Yuan Yao
2023-02-20 10:07   ` Like Xu
2023-02-22  1:55     ` Sean Christopherson
2023-02-20 23:17   ` David Woodhouse
2023-02-21 19:54     ` Sean Christopherson
2023-02-21 11:06   ` Yu Zhang [this message]
2023-02-22  0:25     ` Sean Christopherson
2023-02-24  9:44       ` Yu Zhang
2023-02-22 19:26   ` Maciej S. Szmigiero
2023-02-22 21:25     ` Sean Christopherson
2023-02-22 22:09       ` Maciej S. Szmigiero
2023-02-28 14:45   ` Robert Hoo
2023-03-07 17:53     ` Sean Christopherson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230221110607.6wvrgpqip3njrkwu@linux.intel.com \
    --to=yu.c.zhang@linux.intel.com \
    --cc=aaronlewis@google.com \
    --cc=aghulati@google.com \
    --cc=amoorthy@google.com \
    --cc=ashish.kalra@amd.com \
    --cc=axelrasmussen@google.com \
    --cc=babu.moger@amd.com \
    --cc=bgardon@google.com \
    --cc=bp@alien8.de \
    --cc=chao.gao@intel.com \
    --cc=chao.p.peng@linux.intel.com \
    --cc=chenyi.qiang@intel.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=dmatlack@google.com \
    --cc=dwmw@amazon.co.uk \
    --cc=eesposit@redhat.com \
    --cc=erdemaktas@google.com \
    --cc=flyingpenghao@gmail.com \
    --cc=gshan@redhat.com \
    --cc=guang.zeng@intel.com \
    --cc=houwenlong.hwl@antgroup.com \
    --cc=jiaxi.chen@linux.intel.com \
    --cc=jing2.liu@intel.com \
    --cc=jmattson@google.com \
    --cc=jthoughton@google.com \
    --cc=junaids@google.com \
    --cc=kai.huang@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=leobras@redhat.com \
    --cc=like.xu.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lirongqing@baidu.com \
    --cc=maciej.szmigiero@oracle.com \
    --cc=mhal@rbox.co \
    --cc=michael.roth@amd.com \
    --cc=mingo@redhat.com \
    --cc=mizhang@google.com \
    --cc=mlevitsk@redhat.com \
    --cc=nikunj@amd.com \
    --cc=oliver.upton@linux.dev \
    --cc=pbonzini@redhat.com \
    --cc=pdurrant@amazon.com \
    --cc=peterx@redhat.com \
    --cc=pgonda@google.com \
    --cc=pshier@google.com \
    --cc=ricarkol@google.com \
    --cc=robert.hu@linux.intel.com \
    --cc=sagis@google.com \
    --cc=seanjc@google.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=tglx@linutronix.de \
    --cc=thomas.lendacky@amd.com \
    --cc=vipinsh@google.com \
    --cc=vkuznets@redhat.com \
    --cc=wanpengli@tencent.com \
    --cc=wei.w.wang@intel.com \
    --cc=xiaoyao.li@intel.com \
    --cc=zhenzhong.duan@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome