Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp749719pxb; Tue, 14 Sep 2021 07:59:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykMpw06hvDQKMFtSjbSToF9Za2ItcNgByaFfblQeH7oyW2nO6oMA0otXvjybq09KtHnXbp X-Received: by 2002:a05:6402:1e90:: with SMTP id f16mr19687124edf.136.1631631567472; Tue, 14 Sep 2021 07:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631631567; cv=none; d=google.com; s=arc-20160816; b=NEknoTr9TWaXsL8/1mc8MKHjUQAbJmO3cf80g8AyDgIhqjIgg5/7Ct3h2GoOf0i+A4 2Be1MklyLYbNXkgqg0iG4gBaanlSctD+OVEw6Xk5e0g8dn0xg/kto2s26JIUQLlanHRW OldA5KMQbdNcBQCpw8Dg+pwp/FDpb5YpFEvLnSGR2zdHd+A2tvqHxKJt02Gs6nmOPuVW wDpcoBjQEZG4wyKSMgcrI8YBYW7uiNwX9CqfodRPLdti0NvGTdV8cjIGfK5jqy3wFO6x V2c+xZsqX6xLCC9UfGY9liKMGjaUFauYa28BavjVstxM4frDglnl9sjQ7hlDJzyLRLWJ v6Ww== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VMcmNoC7gH2SGhRNkvK4CrCsw1GERpA5Xap4dmbs2MY=; b=rrhpoGnK6M0LYfcd6/Y5tsfHdj4Ddc2FNidLHJGrxgauYSiXKRcZ1NgP9T7XdNq9wS YS7SJkpeW7k5bZtIsPZC8pFjo24Mry36QIqTJ+Rs+2qbL9WyqtDR3F3ncwft5c267exX VNRjQmflY+Mabza7C/s0bgy0S0QWBv27gbFrRrV4ChzlzNqVId2q/pBDLnoPVAVeJzYr iB+9tmewRkyvB2ot88Ne2pPLdQloAr+cdX8AFn9YijduvrpHIwN87iIxYQRW2wcSsf5M CftpqbGevK4KjIbcCB7qsgqcar3Jau9rGQ9RUbtnw0bYO5dF5zVaDW1nBd9Zwa+c3Qma 60tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eLtmU7RK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 21si11815230eji.148.2021.09.14.07.59.01; Tue, 14 Sep 2021 07:59:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eLtmU7RK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233831AbhINO4q (ORCPT + 99 others); Tue, 14 Sep 2021 10:56:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:45106 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231816AbhINO4p (ORCPT ); Tue, 14 Sep 2021 10:56:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7B8A960FD7; Tue, 14 Sep 2021 14:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631631328; bh=xP0GIfd+EZ5UAddK+nHIS6wuNIEIjdABJRHeANPwTrw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eLtmU7RKiOMnKM7OQP9iGQJXQnd5aacbttEPuOuWHbgMm2Iw7Ar9GtS/tB+Ora1hD K2yki83IGy/TO4eboTmiFBax4uQk4+sbxgDuxR4krpr9oHfnuA0jUGhD4vSWPJezOJ QAXQ3mAnvCEErxsPmIhEH/N9kZ4sFdB7K6MQiUBnXnnALBVRU53+BaOmejWe+5hEY7 AVnrr2uuCugyidORn81BJhOzEsY03bQ/E/gINNjqdrjHPxwM1YOejmu0sLWfon+Gxx 86vhP6JYm67x44Qd271ak5CTayW/N+o7yoipsNq4pYw6AueGCeMUBAfCIEQIFm9onc mLyesLzjxpX1g== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mQ9qI-000L6k-Hr; Tue, 14 Sep 2021 16:55:26 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH v2 1/8] ABI: stable/sysfs-module: better document modules Date: Tue, 14 Sep 2021 16:55:14 +0200 Message-Id: <9875b31c9c45c0b66600cf929325697222993076.1631630792.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Instead of placing almost everything there as a text, use the proper What: for each component of the ABI. This allows it to be better documented and parsed by get_abi.pl. While here, use wildcards for MODULENAME. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/stable/sysfs-module | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/ABI/stable/sysfs-module b/Documentation/ABI/stable/sysfs-module index 6272ae5fb366..5c028af9921a 100644 --- a/Documentation/ABI/stable/sysfs-module +++ b/Documentation/ABI/stable/sysfs-module @@ -1,8 +1,7 @@ -What: /sys/module -Description: - The /sys/module tree consists of the following structure: +The /sys/module tree consists of the following structure: - /sys/module/MODULENAME +What: /sys/module/ +Description: The name of the module that is in the kernel. This module name will always show up if the module is loaded as a dynamic module. If it is built directly into the kernel, it @@ -12,7 +11,8 @@ Description: Note: The conditions of creation in the built-in case are not by design and may be removed in the future. - /sys/module/MODULENAME/parameters +What: /sys/module//parameters +Description: This directory contains individual files that are each individual parameters of the module that are able to be changed at runtime. See the individual module @@ -25,7 +25,8 @@ Description: individual driver documentation for details as to the stability of the different parameters. - /sys/module/MODULENAME/refcnt +What: /sys/module//refcnt +Description: If the module is able to be unloaded from the kernel, this file will contain the current reference count of the module. -- 2.31.1