Message ID | 20230601145556.3927838-1-costa.shul@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp395507vqr; Thu, 1 Jun 2023 08:02:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70PI+efUvZyAwehc/aLMEf+oNBvKaWM0pigUHITLvtDPnSV4VpFnoKdu1IP+OsHzh/WGVa X-Received: by 2002:a05:6a00:1786:b0:627:6328:79f1 with SMTP id s6-20020a056a00178600b00627632879f1mr8554541pfg.34.1685631777691; Thu, 01 Jun 2023 08:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685631777; cv=none; d=google.com; s=arc-20160816; b=Wy6vFAM03SWPF7SEP3notMmZwvxgVoDRLthJqI8Yo74Yox1hqubglF009UG5CiVolU q6WIGd/ouxIkSICaQDcUG44Yy9ASyRT/IbW+3f6AgipubcCEvrYxu2mE2DzHMtw+Xkw/ ev6mnioRRLRuspdNI7gCSLI0Sy1wp1+IiZodD1xNTnhRizs8JCn1wen54E8ZL41a9+yO Eh1vN2CBSlV2ka8vksBdMxgm/IuuKJGwVysErixp8Ihz0Cy0grKj1NwmLHrCDLjgRxUO 6C3vkjlv2ylL3txMTXsEewe7B99hNhRrm3fgJvqJx4pYQBmlqkX8aN5oA26a58D/fX1N Zk4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6pQX1x+nXF4H20kd14hFqiq2M6ndmVSb039N9uVMABU=; b=eCKn7UdCxOrYsxFfLO+d4uum2uvvmG2cvgP24Xpu6bosGl0lyn3uWesFcxvAVZo2Zs xCZF7Q2QKYlBZpi72+d1eHej7GzPkYB/BqMFu7JTzW0+MBBfTt9XqocR4BC0djLJGj/d GjKFI7CT6OmJDtZSp1SzsWXRTw0acVlWFyX4hUp3dqRxaH+DtlT80yFXgxZv39WNYd9g MzZZBjSM9TQVSHiRkpzxgi1TGNN9+zkHoKHQxevg7zir6JJSdVtY8TAqsJ64Rpo8iSy9 35Tsx5sVCeaqOtqaUfEKxCDnr+wjWwQdvene9jWQrsmLhVbYZkp1U9WWTjvrR4M4Su7n ICcA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020aa7960c000000b00648019bae38si5610405pfg.277.2023.06.01.08.02.18; Thu, 01 Jun 2023 08:02:57 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234513AbjFAO4y (ORCPT <rfc822;limurcpp@gmail.com> + 99 others); Thu, 1 Jun 2023 10:56:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233870AbjFAO4w (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 1 Jun 2023 10:56:52 -0400 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6502107; Thu, 1 Jun 2023 07:56:50 -0700 (PDT) Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2af290cf9b7so12928431fa.3; Thu, 01 Jun 2023 07:56:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685631409; x=1688223409; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6pQX1x+nXF4H20kd14hFqiq2M6ndmVSb039N9uVMABU=; b=M54yAih28+g4x2/uh0AkDPpDr6CcGoY7DPAzik2ricRhJPDgWWKV646dprSX/WbM7d 2xRTQOt1UdWPPHco9dMIegPU2zu8o0VeqlnhO2eNZz+vLqZLmTcbTNunEToGaZK8BS4b 7JSq4hZu+N1zahd6+FCaPZT3GFowq3jFJ0sWk2lHl41+xkN4UawzDG5wzNsASeANbPs+ 9VXavpFKvSo18R3SdGXYPKJULwNjYiLLtiIklPdv6+LJnRm8aptfLSlQIyy/c0T8GeUd S0lZEFYajUwhgryTvwCXodfq3s1lAI7ULw10OU1nwRTqhns7HutnkX5GCI+NSFmG39un Sd7A== X-Gm-Message-State: AC+VfDwH1GNgbJ2Js0jPPimdqIos28rjAJMA0SxXMUn/Dinx5Ufkt+X0 sUbXiHto5DYNYHHrjlh4YZw= X-Received: by 2002:a2e:3203:0:b0:2ad:dd7e:6651 with SMTP id y3-20020a2e3203000000b002addd7e6651mr5556136ljy.43.1685631408555; Thu, 01 Jun 2023 07:56:48 -0700 (PDT) Received: from costa-tp.bos2.lab ([2a00:a040:1a3:c11b:3ae6:1732:e587:a81f]) by smtp.gmail.com with ESMTPSA id y24-20020a2e9d58000000b002b135080b1esm366217ljj.12.2023.06.01.07.56.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 07:56:47 -0700 (PDT) From: Costa Shulyupin <costa.shul@redhat.com> To: Jonathan Corbet <corbet@lwn.net>, linux-doc@vger.kernel.org, Bagas Sanjaya <bagasdotme@gmail.com> Cc: Costa Shulyupin <costa.shul@redhat.com>, linux-kernel@vger.kernel.org (open list), bpf@vger.kernel.org (open list:BPF [MISC]) Subject: [PATCH v3] Documentation: subsystem-apis: Categorize remaining subsystems Date: Thu, 1 Jun 2023 17:55:55 +0300 Message-Id: <20230601145556.3927838-1-costa.shul@redhat.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <ZHgM0qKWP3OusjUW@debian.me> References: <ZHgM0qKWP3OusjUW@debian.me> MIME-Version: 1.0 Content-Type: text/plain; charset=true Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767513026673666001?= X-GMAIL-MSGID: =?utf-8?q?1767513026673666001?= |
Series |
[v3] Documentation: subsystem-apis: Categorize remaining subsystems
|
|
Commit Message
Costa Shulyupin
June 1, 2023, 2:55 p.m. UTC
From: Bagas Sanjaya <bagasdotme@gmail.com> 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 <costa.shul@redhat.com> --- Changes: v3: add Integrity, Virtualization and Miscellaneous per Bagas Sanjaya v2: add Core subsystems, Networking, Peripherals and Embedded v1: add Storgre category --- Documentation/subsystem-apis.rst | 119 ++++++++++++++++++++++--------- 1 file changed, 86 insertions(+), 33 deletions(-)
Comments
Hi-- On 6/1/23 07:55, Costa Shulyupin wrote: > From: Bagas Sanjaya <bagasdotme@gmail.com> > > 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 <costa.shul@redhat.com> 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.
On Thu, Jun 01, 2023 at 05:55:55PM +0300, Costa Shulyupin wrote: > From: Bagas Sanjaya <bagasdotme@gmail.com> > > Add classes: > * Core subsystems > * Storage > * Networking > * Peripherals and devices > * Embedded systems > * Integrity > * Virtualization > * Miscellaneous Above list is unnecessary, because the diff should clearly show those categories. > > 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 <costa.shul@redhat.com> Thanks for picking my version from v2 [1]. However, From: address in the patch message doesn't match one from message header nor your Signed-off-by address. Conversely, if you handle someone else's patch (in this case mine), you need to also add SoB from him/her. As you're still newbie here, I'd recommend you to try contributing to drivers/staging/ first in order to gain experience on kernel developement workflow. Also, you use your RedHat address, so I expect you have been given kernel development training from your company (and doesn't make trivial errors like these ones). Anyway, I'd like to send my own version instead (incorporating feedback from this version) if you still reroll with trivial sending mistakes. Thanks. [1]: https://lore.kernel.org/linux-doc/ZHgM0qKWP3OusjUW@debian.me/
Bagas Sanjaya <bagasdotme@gmail.com> writes: > As you're still newbie here, I'd recommend you to try contributing to > drivers/staging/ first in order to gain experience on kernel developement > workflow. Also, you use your RedHat address, so I expect you have been > given kernel development training from your company (and doesn't make > trivial errors like these ones). Bagas, please. I'll ask you directly: please don't go telling documentation contributors how to comport themselves; you have plenty enough to learn yourself on that front. It's hard enough to get contributors to the documentation as it is without random people showing up and giving orders. I have distractions that are increasing my (already less than stellar) latency, but I'll get to this stuff. Thanks, jon
On 6/2/23 17:19, Jonathan Corbet wrote: > Bagas Sanjaya <bagasdotme@gmail.com> writes: > >> As you're still newbie here, I'd recommend you to try contributing to >> drivers/staging/ first in order to gain experience on kernel developement >> workflow. Also, you use your RedHat address, so I expect you have been >> given kernel development training from your company (and doesn't make >> trivial errors like these ones). > > Bagas, please. I'll ask you directly: please don't go telling > documentation contributors how to comport themselves; you have plenty > enough to learn yourself on that front. It's hard enough to get > contributors to the documentation as it is without random people showing > up and giving orders. > Hi jon, thanks for another tip. I also learn contributing patches the hard way by being rejected (honestly sometimes I learn, sometimes I don't). Let me clarify the situation. Previously in v2, I reviewed Costa's patch by replying with proposing my own version, keeping patch author intact. There, I categorized a few more items while sorting all of them. I treated it as minor fixup that was attributed by brackets in the SoB area (I could also use Co-developed-by: for this purpose too). Then, Costa rerolled v3 using my version, but the From: address in the patch message is mine without corresponding SoB, hence when you apply his v3, there would be author mismatch (commit author is me yet different SoB from him). I expected that my proposal in v2 is carried by him (and also have SoB from both me and him as the sender who carried my patch). > I have distractions that are increasing my (already less than stellar) > latency, but I'll get to this stuff. > I'm too, because I'm AuDHD and I can (and do) easily distracted; living in a paradox between routine fixation and desire for quick action :). Thanks.
Costa Shulyupin <costa.shul@redhat.com> writes: > From: Bagas Sanjaya <bagasdotme@gmail.com> > > 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 <costa.shul@redhat.com> So now that I've found a moment to look at stuff, I'm a bit confused here. Up top, you have a From: line identifying Bagas as the author of this patch - but it lacks his signoff so I can't apply it. If this is *really* such a complex change that it needs a co-developed-by tag, please arrange that and the correct signoffs. Otherwise, please send a patch that's your work (which can certainly reflect suggestions from others) that is properly tagged. Thanks, jon
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 + scsi/index + 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 + 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