Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4031166imm; Mon, 30 Jul 2018 07:33:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfxznry8KfPbeharTHB8hxZiFmJpRRFadx8IM90TTJURCIDRVtCP84pi4+PED+G8taixP2+ X-Received: by 2002:a17:902:654b:: with SMTP id d11-v6mr16558464pln.8.1532961223357; Mon, 30 Jul 2018 07:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532961223; cv=none; d=google.com; s=arc-20160816; b=ZIF/KSDlbHBCbEEfRfp0o5CDZdU313pvHp4AO0IqpdxYXRC7+NNN8+tD4d0fNNdna0 jW9qyzHUZI4YUWecFwr9dmJ5HNFbtNj0wIV4/q868gxE5i+Sk84Ezme1Gtjkxzy9Sm3Q vy8b2oY1kj25jv0Hu/iTv63brdbfO+lIjdcnR7YFXdV4aX9vSsoZgzA6I6NikcZK2ptL 7jXgwFnkd/X4Ej4Oyvrm5I8lku/hmJuISI1r4AIAAPqKMkeJl8cqt0JPLWZ5qMYlL0iC WwoS66JnDqFQiM4uvBoQO+9bucBONFeIyX/5APc6EagxJuFKbz+/vzGhHyX5Zzhdpqx9 cJUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=rpJDnodNUs3AHEmIevOrZg+j1TJ1Vqf7wTY3cBfNidw=; b=EsqGKcVbYL5IndvpEaO0hH+jpq+4h1lwm1wxFQ0xuqQcsOB0ZKXyCwRyQ+h0Dl1u3b NfTUljGR8bkL1a/Usk8/7oNJE/P/gg5/uItSQ1mxeUaBKi9slHAPXFyGqiq2nQPHbbbT 7NnKmEB6iuEnmXa2e4cZT70fshDW/gfOd7dAGsMbe/O5yZtQrEivsAf1M9n6oM+dAx+j FFt/FsqOHnq3Ng6Ixxn6T954Tq4WOtCrkjyBRNSVMW/ed4EiQHra3x6VVelkPGmafFWV gy9O+WNtWkp3R1KY6+vmfh3eui8nJEkyS6bWso2ZEW54ulznuGDNGyaPYE0bIaCZhvoF Vo1g== 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 p185-v6si10935505pga.476.2018.07.30.07.33.29; Mon, 30 Jul 2018 07:33:43 -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 S1731994AbeG3QGy (ORCPT + 99 others); Mon, 30 Jul 2018 12:06:54 -0400 Received: from bmailout3.hostsharing.net ([176.9.242.62]:55921 "EHLO bmailout3.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730217AbeG3QGy (ORCPT ); Mon, 30 Jul 2018 12:06:54 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout3.hostsharing.net (Postfix) with ESMTPS id 7DD95100CF12A; Mon, 30 Jul 2018 16:31:36 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 212A42A7EF; Mon, 30 Jul 2018 16:31:36 +0200 (CEST) Date: Mon, 30 Jul 2018 16:31:36 +0200 From: Lukas Wunner To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/2] PCI: Document patch submission hints Message-ID: <20180730143136.GA4093@wunner.de> References: <153030390808.57832.2200774416664543563.stgit@bhelgaas-glaptop.roam.corp.google.com> <153030405971.57832.12860154795039493576.stgit@bhelgaas-glaptop.roam.corp.google.com> <20180701174508.GB28249@wunner.de> <20180712155946.GB28466@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180712155946.GB28466@bhelgaas-glaptop.roam.corp.google.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 12, 2018 at 10:59:46AM -0500, Bjorn Helgaas wrote: > But on reflection, I think the overall value of this writeup is > minimal. It's a lot of repetition of things already documented > elsewhere and most of it boils down to "pay attention to existing > practice and don't do things differently unless you're innovating and > adding value." That *should* be obvious, and if it's not, I doubt > that adding one more thing to read is going to make it more obvious. So my opinion is that your writeup does contain valid points that are worth documenting: For an open source project, a top priority is to attract and retain contributors who improve the bus factor, who keep the code base alive and maintained, thereby avoiding bit rot. Knowledge diffusion, including documentation of best practices and conventions, goes a long way towards that goal. Your writeup was mainly from a maintainer perspective: "consistency makes maintenance easier". But consistency is also valuable from a contributor perspective: It makes it easier to dive into a code base and find your way around, and that includes changelogs in the git history. There are important bits of knowledge in the writeup, if those can be distilled, the result would very much be valuable to have in the tree. Example: > I generally use > "PCI/XXX" for things in the core (mostly capabilities like MSI, AER, > DPC, etc) and "PCI: xxx:" for drivers (shpchp, pciehp, etc). That was in fact unknown to me. If you find it difficult to put yourself in the shoes of a contributor, I could try to rework the document and distill the points I find important. Thanks, Lukas