Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp827273ybd; Wed, 26 Jun 2019 06:40:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPN0VbB8BFDWBCItoaUzIO/HOOfiI4tL81QNiPHTNN6r0qLdyUFhZZuEnfNAN7WFO3SNoo X-Received: by 2002:a63:1657:: with SMTP id 23mr2898445pgw.98.1561556401845; Wed, 26 Jun 2019 06:40:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561556401; cv=none; d=google.com; s=arc-20160816; b=Hreao+ekbr4Xh+4MoIP8ygPdkNvvd55dhmqe/w1E6/f608Tm5OkBAkJ/r9Z9GOwXA2 /fdcJ6vwIeo3WMYk2elZsH6mmW7YzvZx2WJLGiksXpDLQ1fKlYAIg4ssqcVNeUFsdSCp zsUkRaTKJzvdqedoQI4LkUsPrBCgx0u2Km5tuqoNvObuVbKeI2MprggRCxTOKyscqvME bApE1rWVqU+79acVgRon0T6ELPqdrfOJH2H+P6jZ6EgOjmm3TX2AgOiPVeRj0C5iI+fn 3nnTY6epwYZClaV0o/rTw8irROGlYRgnXXwOWjU2oqKbssMa9LNt93eLJu4jrYsP4XAx 4cZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Y3JeSQKvZPJgJ4KJPa6CBnuUqZXKmFwSGNVgtekkDfI=; b=RduW+5kd9hkK/+uYNeb2mZ+c7hzFIZiR+hiFRVcep1HspyuQpQBJOHNlfY6Qmx0tTA LMaq+GpQlzv3qxtDuLMYUwtL1AjKwwPbQ1DvuCwd8QXeXsY0OIagPtnk2zneBC3W3zk+ eP6UGzFMMepekVYZ/QRIvF3WE0u2pGICbleT79kX3mTsSlpqxEcqtZahKaqKnZ9EANAJ J9H9AQqXkDUB+wTPzd8t55/v4S8lGaaB76jIV7rPkBR7Ep+CHoPGyBlQSlBKe16s4cL1 m5yrA+o+Nuc7YXzRbzNWejtniKX1JbVQehgkjKp5Jqbt3aRyEuDf7zTYnWnd+RYMz6LH 0N2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si17933219pgl.444.2019.06.26.06.39.45; Wed, 26 Jun 2019 06:40:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727709AbfFZNjh (ORCPT + 99 others); Wed, 26 Jun 2019 09:39:37 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:48084 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbfFZNjh (ORCPT ); Wed, 26 Jun 2019 09:39:37 -0400 Received: from p5b06daab.dip0.t-ipconnect.de ([91.6.218.171] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hg898-000208-EQ; Wed, 26 Jun 2019 15:39:34 +0200 Date: Wed, 26 Jun 2019 15:39:33 +0200 (CEST) From: Thomas Gleixner To: Zhenzhong Duan cc: linux-kernel@vger.kernel.org, mingo@kernel.org, bp@alien8.de, hpa@zytor.com, boris.ostrovsky@oracle.com, jgross@suse.com, sstabellini@kernel.org, peterz@infradead.org, srinivas.eeda@oracle.com Subject: Re: [PATCH v2 0/7] misc fixes to PV extentions code In-Reply-To: <1561377779-28036-1-git-send-email-zhenzhong.duan@oracle.com> Message-ID: References: <1561377779-28036-1-git-send-email-zhenzhong.duan@oracle.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Jun 2019, Zhenzhong Duan wrote: > [PATCH v2 1/7] x86/xen: Mark xen_hvm_need_lapic() and xen_hvm_need_lapic() as __init > [PATCH v2 2/7] x86/jailhouse: Mark jailhouse_x2apic_available as __init > > Above two patches only add __init annotation to some functions, not > related to other patches. I didn't split the two out as following patches > need them to avoid conflicts. Not really. Just the XEN one conflicts. The jailhoise one is independent. > [PATCH v2 3/7] x86: Add nopv parameter to disable PV extensions > [PATCH v2 4/7] Revert "xen: Introduce 'xen_nopv' to disable PV extensions for HVM guests." > [PATCH v2 5/7] x86/xen: nopv parameter support for HVM guest > > Above three patches add an unified nopv prameter used for most of hypervisor > platform except XEN PV/PVH, jailhouse. Those need PV extensions to work. > > I revert 'xen_nopv' as it's same effect as nopv on XEN platform, there is also > an issue using 'xen_nopv' with PVH, we should ignore 'xen_nopv' for PVH. Well, command line options are ABI. You cannot nilly willy remove them as it might break existing setups. The fact that nopv can replace xen_nopv is not a justification. Also if there is an issue with xen_nopv and PVH then this issue needs to be fixed first especially if that issue exists on older kernels. > [PATCH v2 6/7] locking/spinlocks, paravirt, hyperv: Correct the hv_nopvspin case > > This is a similar change as Commit e6fd28eb3522 > ("locking/spinlocks, paravirt, xen: Correct the xen_nopvspin case"), but for > hyperv. This looks like an independent bug fix. Bug fixes should either be posted seperately or at least at the beginning of the series. And this one clearly is self contained so why hiding it in the middle of a pile of other patches? > [PATCH v2 7/7] Revert "x86/paravirt: Set up the virt_spin_lock_key after static keys get initialized" > > This revert an old change which is unnecessory now, I think the original change is smarter. Again, this has nothing to do with the meat of this series which deals with the command line parameters and is completely independent. So you give a list of patches with some explanation for them, but the cover letter should provide the big picture. The details of the patches need to be in the changelog. 1) Describe the context The paravirtualization whatever lack whatever they lack and have the shortcoming A, B, C. For a consistent admin experience a common command line parameter set across all PV guest implementations is a better choice, yada, yada yada. 2) Describe the changes as overview To achieve this introduce a new nopv parameter which is usable by all PV guest implementation. While analyzing the PV guest code several bugs were found and fixed. (Patches 1 - 3). They can be applied independent of the functional changes, but they are kept in the series as the functional changes depend on them. Documentation/process/submitting-patches.rst clearly explains why it is a bad idea to send random collections of patches especially if some patches are independent and contain bug fixes. These rules exist for a reason and are not subject to personal interpretation. You want your patches to be reviewed and merged, so pretty please make the life of those who need to do that as easy as possible. It's not the job of reviewers and maintainers to distangle your randomly ordered patch series. Thanks, tglx