Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1046693rwd; Thu, 1 Jun 2023 09:44:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5MGjB6Kxh6TnD5IVEf8pu8t9UJV8VaA73pMRUg8uKM4O7eJDKmDwlI2isoAzqjW3vwAksR X-Received: by 2002:a17:902:a508:b0:1b0:31a8:2f74 with SMTP id s8-20020a170902a50800b001b031a82f74mr7463420plq.68.1685637886239; Thu, 01 Jun 2023 09:44:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685637886; cv=none; d=google.com; s=arc-20160816; b=Na/EaCh8xy09DKH0hPIxDLP8AvHf1NpSxzRqi9J6kTSTUzrYpBj72MQo9iiiYmrnkG BoEWsqjLVkAWbpAFPO9GUP18tiJnVi8kvC/ZakhxNODeK5WyfdXb6oJwBM0px33bZd0r 7dF/sikL89QUE81rnbhnOxpThYCgvxqNbyo/PlDQ5u5tSX9GrXnyeMcBkYmc9QXz6V81 nJA6izsNX8xF+lDaTeK9kkJRrtjUr7juFadC7nLselZ02vNTnQorRkWzj/UdVGR6hJY8 3fRXAlpqs+p/ezOMtU+PsgKB28u8Y6mQW6d44pUlIGj31hEARakMMYOkWQDonOm8kMbH a3Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=wS5z5XZ3GwNBhgY0jkt2hM/yAdpoSIWainSnIml/Rz4=; b=IBQe3gJzAhQThfbGDG3lU6n4nG67xkNs9KjPTKM/hRdKx5aESqTnylTZeP7J1dzMrS RO0bqtppSQpp1I3V4DaIwkUwWvy8UXqBOwlCuuBZVqCH3ETT61H3WLAWrVj2K9uRm25S 060DQ0ayq5ZhWGqu9nh9cstQsmOCmUqa6cGRPsuLpur6JlfP77a1LzNH/YiGDioa1nBw lo6B2AcVMU2O6jkaip4CGrPueI3vjjQQbsKVf1G9+iW3+cljlSAKg+i72mAE2FKu4Abr njcvCsfcJhoGZfhN1JHgFY5SG0Gda7o7h+MWG4WxoLPgNGszlllP0+ynW3fF8JrzOAtE pOZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=dYw32r9m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 17-20020a170902ee5100b001ac34fed041si2834845plo.475.2023.06.01.09.44.29; Thu, 01 Jun 2023 09:44:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=dYw32r9m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231613AbjFAQ2p (ORCPT + 99 others); Thu, 1 Jun 2023 12:28:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbjFAQ2n (ORCPT ); Thu, 1 Jun 2023 12:28:43 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 737B313D; Thu, 1 Jun 2023 09:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=wS5z5XZ3GwNBhgY0jkt2hM/yAdpoSIWainSnIml/Rz4=; b=dYw32r9m48hdVLk/6D2V2fbqUP p2KufS/wPNdPzllKZPB1OM37qvcHOj+7y+mluZrTD9YmqsljOYZC0dPJBcH1Pl8QZn5JTH9gAW/N1 +OscDg1XJ2Bze+lT7Y1a9eVUuXepOqkGXvO+2PJmlPEPiCyadjyad5w1cIoYBNG3j/dc87nbjeXBg sJsVfI63fE2fMqg+27klri3ElflTyYm3Pm6iOrYp0aHG3GyijuFiQ0Ua35xkybNXGWuw1dZvfOdXC oAk5xYQCnyQ1B/ft0/UfN/66jLEs3qekhReMHXPZ9blydffBwSU5L6lrMUtgInNRJLvvSB2CIi4RS GXx0hFQQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q4lAH-004FYf-0I; Thu, 01 Jun 2023 16:28:41 +0000 Message-ID: <3c6d7ab9-dac5-6950-db8d-3119e4529eb7@infradead.org> Date: Thu, 1 Jun 2023 09:28:39 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3] Documentation: subsystem-apis: Categorize remaining subsystems Content-Language: en-US To: Costa Shulyupin , Jonathan Corbet , linux-doc@vger.kernel.org, Bagas Sanjaya Cc: open list , "open list:BPF [MISC]" References: <20230601145556.3927838-1-costa.shul@redhat.com> From: Randy Dunlap In-Reply-To: <20230601145556.3927838-1-costa.shul@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi-- On 6/1/23 07:55, Costa Shulyupin wrote: > From: Bagas Sanjaya > > Add classes: > * Core subsystems > * Storage > * Networking > * Peripherals and devices > * Embedded systems > * Integrity > * Virtualization > * Miscellaneous > > There is a FIXME that says to organize subsystems listed in > subsystem-apis.rst. Fulfill it by categorize remaining subsytems > by purpose/themes, while sorting entries in each category. > > HID devices are already categorized in 3c591cc954d56e ("docs: > consolidate human interface subsystems"). > > Signed-off-by: Costa Shulyupin This is a worthy goal, I am sure, but I am also sure that there is a lot of bikeshedding that can go on here. (examples below) > > --- > > Changes: > v3: add Integrity, Virtualization and Miscellaneous per Bagas Sanjaya > v2: add Core subsystems, Networking, Peripherals and Embedded > v1: add Storgre category Storage > --- > Documentation/subsystem-apis.rst | 119 ++++++++++++++++++++++--------- > 1 file changed, 86 insertions(+), 33 deletions(-) > > diff --git a/Documentation/subsystem-apis.rst b/Documentation/subsystem-apis.rst > index 55c90d5383ef..2c0b18a66e4e 100644 > --- a/Documentation/subsystem-apis.rst > +++ b/Documentation/subsystem-apis.rst > @@ -10,58 +10,111 @@ is taken directly from the kernel source, with supplemental material added > as needed (or at least as we managed to add it — probably *not* all that is > needed). > > +Core subsystems > +--------------- > + > +.. toctree:: > + :maxdepth: 1 > + > + core-api/index > + cpu-freq/index > + driver-api/index > + locking/index > + mm/index > + power/index > + scheduler/index > + timers/index > + wmi/index > + > Human interfaces > ---------------- > > .. toctree:: > :maxdepth: 1 > > - input/index > + fb/index > + gpu/index > hid/index > + input/index > sound/index > - gpu/index > - fb/index > > -**Fixme**: much more organizational work is needed here. > +Storage > +------- > > .. toctree:: > :maxdepth: 1 > > - driver-api/index > - core-api/index > - locking/index > - accounting/index > block/index > cdrom/index > - cpu-freq/index > - fpga/index > - i2c/index > - iio/index > - isdn/index > + filesystems/index > + pcmcia/index Why is pcmcia in the storage category? It's just an interface (or a bus). > + scsi/index SCSI is also just a bus, but most (all?) of our drivers are for storage controllers AFAIK, although I have seen SCSI printer drivers, maybe even a SCSI toaster driver. :) > + target/index > + > + > +Networking > +---------- > + > +.. toctree:: > + :maxdepth: 1 > + > + bpf/index > infiniband/index > - leds/index > + isdn/index > + mhi/index > netlabel/index > networking/index > - pcmcia/index > - power/index > - target/index > - timers/index > + > + > +Peripherals and devices > +----------------------- > + > +.. toctree:: > + :maxdepth: 1 > + > + PCI/index > + hwmon/index > + leds/index > + misc-devices/index > + usb/index > + > + > +Embedded systems > +---------------- > + > +.. toctree:: > + :maxdepth: 1 > + > + fpga/index > + i2c/index I2C is just a bus IMO. Same with SPI and W1. Should we have a "Bus Interfaces" category? > + iio/index > + peci/index > spi/index > w1/index > - watchdog/index > + > +Integrity > +--------- > + > +.. toctree:: > + :maxdepth: 1 > + > + crypto/index > + security/index > + > +Virtualization > +-------------- > + > +.. toctree:: > + :maxdepth: 1 > + > virt/index > - hwmon/index > + > +Miscellaneous > +------------- > + > +.. toctree:: > + :maxdepth: 1 > + > accel/index > - security/index > - crypto/index > - filesystems/index > - mm/index > - bpf/index > - usb/index > - PCI/index > - scsi/index > - misc-devices/index > - scheduler/index > - mhi/index > - peci/index > - wmi/index > + accounting/index > + watchdog/index Thanks. -- ~Randy