Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1806063yba; Thu, 4 Apr 2019 19:39:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAKkLCRVZy4erpTOgUXe9VsQETj83dEvkqD4iG1Qbe4GrKietsqp8Mq598bacbJHXJ+RlM X-Received: by 2002:a17:902:2963:: with SMTP id g90mr10126085plb.182.1554431958343; Thu, 04 Apr 2019 19:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554431958; cv=none; d=google.com; s=arc-20160816; b=vxbaOxgb7262XuNhd0nS31vUg9SdsGbdgCxStSnwHol6JayxU8XixuuNI6guIE6RqU kHR07QOTgBjp9O/bSlCgtesOIMbu8GGjXugJXsPF1LvuIkfKY11+frjiq83sWE/NzXEY GQaeV1fz9jLlHE8+Cv9M0KFBuCOFnohRoeeIppet7/8i6+PV6iYlaIi6H1lm2B0lkD3E KkVW9Gs7SYsMJ2f9SzS0c8rXrnHfhJgp2+Fp1buvtztw58OtA731BAaW1+ZJmrkFCl4M PGLhdjXONLpBKARLPugrpprG/YoITsMNYyRh/19XdjpeYSe1oahWX2VOlGyprK1p3RU6 yuHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:cc:to:from:date:dkim-signature; bh=cuclwkf5aOrIIDtH//bO/zKtteFhQyJSIl7YTXi5rPE=; b=pjGW48zOAnlrWI75gy2gxnkB4BOqAd7i1neyUvKwz3XNDAgi5WG+AezM5KU0abdviy H8vL7b1YMjNelm1EDkLN9I4EMoD0K0L7k4PW6rAkaYXq23RnIeu3Vt1mu4dunBmu2Tee uafH+8cCZD4zbJqgUqP43/hpLlP1SPxx6fpwl1ZdC2PbDCh0lVXIVm7KQOoaBmEEr2to ln0D+xHjBbsvzp5QBXd7+hdiQPALXWcji/300tMUqg9Yl58bAiyk2jVDshp+XQ2Vi/xv pog8P4GI0XrqToc2FvQjqEi8nA77q8y7qvXJDe7fPi1zvD2x2yLRj1ZOQpp7ih1pqG3r OOJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Z/gRsDGc"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x15si17854088pgq.194.2019.04.04.19.39.00; Thu, 04 Apr 2019 19:39:18 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Z/gRsDGc"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729184AbfDECiX (ORCPT + 99 others); Thu, 4 Apr 2019 22:38:23 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42009 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727051AbfDECiW (ORCPT ); Thu, 4 Apr 2019 22:38:22 -0400 Received: by mail-pf1-f195.google.com with SMTP id w25so948496pfi.9; Thu, 04 Apr 2019 19:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:message-id:mime-version:content-disposition :user-agent; bh=cuclwkf5aOrIIDtH//bO/zKtteFhQyJSIl7YTXi5rPE=; b=Z/gRsDGcfypMurZx2gqRCEDS/DlyV69TU+uO/IxMnlmA0++78Pfv0ekdHH+FlZDrOX ymVenS6mq1LCa1mje5fSOGfJGhUKKz+wgNzBXOlsWhXDXCRHXCtrMHEWKuHIbvc4yxvi AlR5uwhbSEJUyMYP3hIIBsPushK8yep9hWqRTFrVsVhxqmtjvzPxe8pXYjBo7KJP9HQp hj9J0fpdfZPVvOV38E3luiGBBGwaxrZ2bRjTsuKK8ZA0ataor8udJg8dXuMOo6TwIls8 IPuJ/GBXPtgBh5I/GMu2oMPXt1MpeJ9n7CXsYM81XSFWru9dLCdBpOf9MU7J9t07hKyX ttKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:mime-version :content-disposition:user-agent; bh=cuclwkf5aOrIIDtH//bO/zKtteFhQyJSIl7YTXi5rPE=; b=RBt5QdQ6WSGBmfASubhEPFVxN83De/zlmB5CQCsKjGTIlkTJKKgSc3qGW5CI2o1hU8 z08qTDxb8ysv9Dm54zgdmMPJN6jtTVc5YfU7xvO2iTJ2ZQapMw2MiKGZ+E8uLwiVfhVf pIp4emi8KRD4Ir8AUdgmUBFs05AsWMLxVbefgLiUYu5MSvjBf2WXqYD8lFds3HOIVJEC Tav/vRPwiXrk5mj8CIJmGxMsx0rl1OOQxv9i1TTBejtYGzemGmG/+dAJ685L5Hn1e1aP kTkPHHksIZq3v+utiTsi7M7P1SHRbDqc5MWmqhLhdywMi0+GpQz6j9pXzP1PPLi/p0fX vtiw== X-Gm-Message-State: APjAAAVYYW8O3Yt7fsnYTRfYKzHloSByi4TiH6FZYFLasDMaK0vv0w3G C3rN8I3MPs2vIuB9itSZ5WhZlXz66xU= X-Received: by 2002:a63:3d85:: with SMTP id k127mr9450728pga.152.1554431901818; Thu, 04 Apr 2019 19:38:21 -0700 (PDT) Received: from mail.google.com ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id o5sm68825295pfa.135.2019.04.04.19.38.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Apr 2019 19:38:21 -0700 (PDT) Date: Fri, 5 Apr 2019 10:38:13 +0800 From: Changbin Du To: Jonathan Corbet Cc: "Rafael J. Wysocki" , Changbin Du , "Rafael J. Wysocki" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List , "open list:DOCUMENTATION" , Bjorn Helgaas Message-ID: <20190405023811.d57iakm7dg2lvunc@mail.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bcc: Subject: Re: [PATCH v2 00/24] Include linux ACPI docs into Sphinx TOC tree Reply-To: In-Reply-To: <20190403133613.13f3fd75@lwn.net> + Bjorn On Wed, Apr 03, 2019 at 01:36:13PM -0600, Jonathan Corbet wrote: > On Tue, 2 Apr 2019 10:25:23 +0200 > "Rafael J. Wysocki" wrote: > > > There are ACPI-related documents currently in Documentation/acpi/ that > > don't clearly fall under either driver-api or admin-guide. For > > example, some of them describe various aspects of the ACPI support > > subsystem operation and some document expectations with respect to the > > ACPI tables provided by the firmware etc. > > > > Where would you recommend to put them after converting to .rst? > > OK, I've done some pondering on this. Maybe what we need is a new > top-level "hardware guide" book meant to hold information on how the > hardware works and what the kernel's expectations are. Architecture > information could maybe go there too. Would this make sense? > > If so, I could see a division like this: > > Hardware guide > acpi-lid > aml-debugger (or maybe driver api?) > debug (ditto) > DSD-properties-rules > gpio-properties > i2c-muxes > > Admin guide > cppc_sysfs > initrd_table_override > > Driver-API > enumeration > scan_handlers > > other: > dsdt-override: find another home for those five lines > Then, should we create dedicated sub-directories for these new charpters and move documents to coresspoding one? Now we have 'admin-guide' and all admin-guid docs are under it, otherwise we will have reference across different folders. For example, the 'admin-guide/index.rst' will have: ... ../acpi/osi ... Which seems not good. > ...and so on. I've probably gotten at least one of those wrong, but that's > the idea. > > Of course, then it would be nice to better integrate those documents so > that they fit into a single coherent whole...a guy can dream...:) > I am not an adminstrator, so I don't know how adminstrators use this kernel documentation. But as a kernel developer, I prefer all related documents integrated into one charpter. Because I probably miss some useful sections if the documents are distributed into several charpters. And this is usually how a book is written (One charpter focus on one topic and has sub-sections such as overview, backgroud knowledge, implemenation details..), but a book mostly target on hypothetical readers... > Thanks, > > jon -- Cheers, Changbin Du