Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp894386ybc; Sat, 23 Nov 2019 10:32:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyW7QYhHxrOOm60fn39Ca577XHdNnP9sPhOtrg6xLyCO1l6bcQQvhq0gY3h07DTAw9lCt6R X-Received: by 2002:a17:906:1d41:: with SMTP id o1mr29029732ejh.333.1574533949857; Sat, 23 Nov 2019 10:32:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574533949; cv=none; d=google.com; s=arc-20160816; b=iTKKND0WX67GBeSGa9EqfkcKCX8o3jUFUhS17GamOXl6KsDoX2da3shcIsHFjbMqtK 1tApqP+8St3lAqUb0dNulCUPtvnYg6V991yvz2cgzQ3TJaZtkhq7NfGPeMIBVu5zv6eN GBARhM/UneiPmhWVCxgTAJQiosARD2K0YCQcASbfqPT+kpadMBExn/HUXlBuHVPwUwgj o6/Xd+wHi+R2p79d79R7ekXcu7A/xKZCzEmV7Z1fW/fOBC+q/zFJJGt+pPWORO1Q2DdF f0CxJ6k+MRT8xugSQcTun19RLX9rPV7znfNv61WBOgtJCix+9Wq/2o8BTwWFZjFJ0a7Y /RTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=TES+D47gjUEYLRi0DVPp3J/8b4TWlZhdLdQzXfHGuX4=; b=ObobcyTT/sfsJU5uehT7r6iSZzrA5xXDFPd7qa1Es+PONTCO2MXZtyBmtgN04dki2X TTsgEzlH3jIPnfbR2wCO/zSsyvsO0pcr7cgzLT7GRiG31pHCCsbovTl9gHZtyxHaDF+G 5+xDt+aZCvAm1Wgddq7Cn5g0KwY8iyDoV2N5PwwTu3A/avfBX0FrDXUIl4JeAGkQh1g4 8vAVmjCWUYLGPWAzzZmeBh2+9efffKP1r66dGMy0jLHuR4OpU+VydkbZ/lUj3/Yno4VF 4/Ia9nycebMNJmIkyJa45aoQ3afJQPhxyS2g+4a0QKZ/yrOy7w5RIvcrwi3cDx4Q5bAw JxYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tPlWJIgY; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s20si1218736ejx.162.2019.11.23.10.31.52; Sat, 23 Nov 2019 10:32:29 -0800 (PST) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=tPlWJIgY; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726719AbfKWS3u (ORCPT + 99 others); Sat, 23 Nov 2019 13:29:50 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:40245 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbfKWS3t (ORCPT ); Sat, 23 Nov 2019 13:29:49 -0500 Received: by mail-pj1-f65.google.com with SMTP id ep1so4592393pjb.7 for ; Sat, 23 Nov 2019 10:29:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=TES+D47gjUEYLRi0DVPp3J/8b4TWlZhdLdQzXfHGuX4=; b=tPlWJIgYpLWxBMHIO+01rkY8YKxvLtDYYVMoe/agzNO7wcd6XN4T3Oxg18xvGSlu2t OABJrLs27BBj6Xf9sdIezGJ5bya1ZQyYD1Cd0qaaSgdCoxhC+bN0VH2IXZhoPbyKSZFN tLdnqE8ZNvfhOIHZ1HTl0InMhWgPadCNG9opM3qdZBlVJurXrYT0bMtmN8pPZVRKS9Xe 6eXHrMcrkpPO3jSrOKQWSnedNH+QAh3QD40h/MZ+l6dC96Fh7K31D4R0I8d4jrgQHsQG bS9Gb07OQxOie7CTOH8Y4VX/AH8cTjdnCVBPvA2LQd8Rfrt1hThwORt95GNgvwBc0ZN1 6lIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=TES+D47gjUEYLRi0DVPp3J/8b4TWlZhdLdQzXfHGuX4=; b=iKYL9zqEwsO8bpDaSSBRKAPISu9HoCuFqsWPhnbpvgqNbbLInL49zN7u2FAyBhn4xi GfxSNSD5fqT+XIbvT77AAITYaY4xeeJQDarJp1eiIXX5UfhLDru2Ya09Dsyq/x3fvLYC +l9c5KK3x0g9mkahqcGgcXNDKQ2oKoXimZGDrV5CrZY46QNK4zHqHo+jH6GY/6Xm8JGk 0HUWO1KRzhTQYEnb6O50C1bv/gOuczNCcXRxWUAtuOwxTgt4MsM5806aE1soGhBOwroD tcGS3qQBfUASMnZfPcA0FhhvKqkxSqEXH+6dxH/wJfxPo3BlIyPY2tWaPCctdZJVCRRg ZGJA== X-Gm-Message-State: APjAAAVpLLYG8y9F5mxHwzeMOIRsv2C5JotbX4xIK97mraes8O6NgfM2 bfa00cMdOzNYRiUDvg0pj8nL+Q== X-Received: by 2002:a17:90a:1:: with SMTP id 1mr27811515pja.42.1574533788576; Sat, 23 Nov 2019 10:29:48 -0800 (PST) Received: from localhost ([2620:0:1000:3510:a526:6d27:395d:e917]) by smtp.gmail.com with ESMTPSA id 81sm2331345pfx.142.2019.11.23.10.29.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2019 10:29:47 -0800 (PST) Date: Sat, 23 Nov 2019 10:29:47 -0800 (PST) X-Google-Original-Date: Sat, 23 Nov 2019 10:24:07 PST (-0800) Subject: Re: [PATCH] Documentation: riscv: add patch acceptance guidelines In-Reply-To: CC: linux-riscv@lists.infradead.org, aou@eecs.berkeley.edu, krste@berkeley.edu, waterman@eecs.berkeley.edu, linux-kernel@vger.kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org From: Palmer Dabbelt To: Paul Walmsley Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Nov 2019 18:44:39 PST (-0800), Paul Walmsley wrote: > > Formalize, in kernel documentation, the patch acceptance policy for > arch/riscv. In summary, it states that as maintainers, we plan to only > accept patches for new modules or extensions that have been frozen or > ratified by the RISC-V Foundation. > > We've been following these guidelines for the past few months. In the > meantime, we've received quite a bit of feedback that it would be > helpful to have these guidelines formally documented. > > Signed-off-by: Paul Walmsley > Cc: Palmer Dabbelt > Cc: Albert Ou > Cc: Krste Asanovic > Cc: Andrew Waterman > --- > Documentation/riscv/patch-acceptance.rst | 32 ++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > create mode 100644 Documentation/riscv/patch-acceptance.rst > > diff --git a/Documentation/riscv/patch-acceptance.rst b/Documentation/riscv/patch-acceptance.rst > new file mode 100644 > index 000000000000..2e658353b53c > --- /dev/null > +++ b/Documentation/riscv/patch-acceptance.rst > @@ -0,0 +1,32 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +==================================================== > +arch/riscv maintenance and the RISC-V specifications > +==================================================== > + > +The RISC-V instruction set architecture is developed in the open: > +in-progress drafts are available for all to review and to experiment > +with implementations. New module or extension drafts can change > +during the development process - sometimes in ways that are > +incompatible with previous drafts. This flexibility can present a > +challenge for RISC-V Linux maintenance. Linux maintainers disapprove > +of churn, and the Linux development process prefers well-reviewed and > +tested code over experimental code. We wish to extend these same > +principles to the RISC-V-related code that will be accepted for > +inclusion in the kernel. > + > +Therefore, as maintainers, 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.) > + > +Additionally, the RISC-V specification allows implementors to create > +their own custom extensions. These custom extensions aren't required > +to go through any review or ratification process by the RISC-V > +Foundation. To avoid the maintenance complexity and potential > +performance impact of adding kernel code for implementor-specific > +RISC-V extensions, we'll only to accept patches for extensions that > +have been officially frozen or ratified by the RISC-V Foundation. > +(Implementors, may, of course, maintain their own Linux kernel trees > +containing code for any custom extensions that they wish.) Reviewed-by: Palmer Dabbelt