Received: by 2002:a05:6520:4211:b029:f4:110d:56bc with SMTP id o17csp1622167lkv; Wed, 19 May 2021 14:16:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz427j0h+bbPUfrDIN0d5eL6G1SeYrIt9JMCVn5ZW07IALKq5sEd3k6x6BFrxqx4UbIQA9l X-Received: by 2002:a05:6e02:52e:: with SMTP id h14mr1182161ils.118.1621459000794; Wed, 19 May 2021 14:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621459000; cv=none; d=google.com; s=arc-20160816; b=QySBPRm3sl4FQPZupS/3Q2dmSQO4ev+OyzMDDverE3Q8sSjtP7xKwfo216NEnOrc/G +fQalPceIkaBNXP8T87gjPCRvTX7A92ushIEbGbJETSP78CvppnV4xOoEnG33lEIG2Ey wfATZ/Egjj3fznzQuYqCQdEDo6Uvh1w3wT5fSnZu7WybIAcBdYKJtxdN9Z/vNwFU9A2D U90pHGp2MUb+eXfN5M3jCQBxMtLZPihr2GeJqhPHWnAYRTx6bmoBmbx9Ko/1bXEnvrrI iLNlj7Kp++tv0Y0cSfaQatTHdPFfdDX27GivHZVtOUK9qFfxhkxQoKi5LDvmjwaN8IvK iywQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WSPEM2CUZzlI2+eWWDFsMiI9pAMz7JWex+E8GZ7XwdQ=; b=PhbaMwYIxRAZVhxewy9rjAZZBZClcARK3IzjcmwxjZv6zIlOn7YlGxFb9HvPpoG/RW wsPLt0YF+g+4747QNQ+DcLZDbYgyA9pVpa6CYh18sX792V7jGiXbvdFncCXTsw6H5lyi iNA/k8VvfiK18ZLYvjdRilYHGoCs73d1eIJ420/dMvEgFcZd55SnisOfwChA+rK6r4VY j4Zu+XClU9cECaKJmtvcfA5lQzSYZOJJuqf5FYhkcRF7lHACX0k3lwiLffKnPRTWVaeE 32FfO1My8xGL0+MGScw+bJ+Hw4HXgtUm5sgcBOafKpdooHkTHbJecHsmGoKOro7nh8X8 umNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SMDZeq2X; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s6si453107jao.56.2021.05.19.14.16.28; Wed, 19 May 2021 14:16:40 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=SMDZeq2X; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346651AbhESN72 (ORCPT + 99 others); Wed, 19 May 2021 09:59:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:56354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231627AbhESN72 (ORCPT ); Wed, 19 May 2021 09:59:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D15586100C; Wed, 19 May 2021 13:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621432687; bh=1VkCYNL0c12Ug0LXnzJjOzCC3hjW/+2zr3MkeEO+0n4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SMDZeq2XvmrcXuBcr7sl4S4JEZSUBlQkZcFB2xQViTrjZjhCIDg0/Ffa2IMKrgmaW m/b3eNYlCd3m8nvzOaEY5fyWv1IXGkJSq9tyd0ckJ/pn2qTlscaa8jermQrDLwn5Me 3fsUl7684B5GSf9aWhkkog0Ibsh8fcFX3y4B1BgE= Date: Wed, 19 May 2021 15:58:05 +0200 From: Greg Kroah-Hartman To: Paolo Bonzini Cc: Anup Patel , Anup Patel , Palmer Dabbelt , Palmer Dabbelt , Paul Walmsley , Albert Ou , Jonathan Corbet , Alexander Graf , Atish Patra , Alistair Francis , Damien Le Moal , KVM General , kvm-riscv@lists.infradead.org, linux-riscv , linux-doc@vger.kernel.org, "linux-kernel@vger.kernel.org List" , linux-staging@lists.linux.dev Subject: Re: [PATCH v18 00/18] KVM RISC-V Support Message-ID: References: <20210519033553.1110536-1-anup.patel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 19, 2021 at 03:29:24PM +0200, Paolo Bonzini wrote: > On 19/05/21 14:23, Greg Kroah-Hartman wrote: > > > - the code could be removed if there's no progress on either changing the > > > RISC-V acceptance policy or ratifying the spec > > > > I really do not understand the issue here, why can this just not be > > merged normally? > > Because the RISC-V people only want to merge code for "frozen" or "ratified" > processor extensions, and the RISC-V foundation is dragging their feet in > ratifying the hypervisor extension. > > It's totally a self-inflicted pain on part of the RISC-V maintainers; see > Documentation/riscv/patch-acceptance.rst: > > We'll only accept patches for new modules or extensions if the > specifications for those modules or extensions are listed as being > "Frozen" or "Ratified" by the RISC-V Foundation. (Developers may, of > course, maintain their own Linux kernel trees that contain code for > any draft extensions that they wish.) > > (Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/riscv/patch-acceptance.rst) Lovely, and how is that going to work for code that lives outside of the riscv "arch" layer? Like all drivers? And what exactly is "not ratified" that these patches take advantage of? If there is hardware out there with these features, well, Linux needs to run on it, so we need to support that. No external committee rules should be relevant here. Now if this is for hardware that is not "real", then that's a different story. In that case, who cares, no one can use it, so why not take it? So what exactly is this trying to "protect" Linux from? > > All staging drivers need a TODO list that shows what needs to be done in > > order to get it out of staging. All I can tell so far is that the riscv > > maintainers do not want to take this for "unknown reasons" so let's dump > > it over here for now where we don't have to see it. > > > > And that's not good for developers or users, so perhaps the riscv rules > > are not very good? > > I agree wholeheartedly. > > I have heard contrasting opinions on conflict of interest where the > employers of the maintainers benefit from slowing down the integration of > code in Linus's tree. I find these allegations believable, but even if that > weren't the case, the policy is (to put it kindly) showing its limits. Slowing down code merges is horrible, again, if there's hardware out there, and someone sends code to support it, and wants to maintain it, then we should not be rejecting it. Otherwise we are not doing our job as an operating system kernel, our role is to make hardware work. We don't get to just ignore code because we don't like the hardware (oh if only we could!), if a user wants to use it, our role is to handle that. > > > Of course there should have been a TODO file explaining the situation. But > > > if you think this is not the right place, I totally understand; if my > > > opinion had any weight in this, I would just place it in arch/riscv/kvm. > > > > > > The RISC-V acceptance policy as is just doesn't work, and the fact that > > > people are trying to work around it is proving it. There are many ways to > > > improve it: > > > > What is this magical acceptance policy that is preventing working code > > from being merged? And why is it suddenly the rest of the kernel > > developer's problems because of this? > > It is my problem because I am trying to help Anup merging some perfectly > good KVM code; when a new KVM port comes up, I coordinate merging the first > arch/*/kvm bits with the arch/ maintainers and from that point on that > directory becomes "mine" (or my submaintainers'). Agreed, but the riscv maintainers should not be forcing this "problem" onto all of us, like it seems is starting to happen :( Ok, so, Paul, Palmer, and Albert, what do we do here? Why can't we take working code like this into the kernel if someone is willing to support and maintain it over time? thanks, greg k-h