From patchwork Fri Dec 2 22:47:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen Webb X-Patchwork-Id: 630843 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9559C47090 for ; Fri, 2 Dec 2022 22:48:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234930AbiLBWsM (ORCPT ); Fri, 2 Dec 2022 17:48:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234470AbiLBWsI (ORCPT ); Fri, 2 Dec 2022 17:48:08 -0500 Received: from mail-il1-x149.google.com (mail-il1-x149.google.com [IPv6:2607:f8b0:4864:20::149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EB29A6041 for ; Fri, 2 Dec 2022 14:48:06 -0800 (PST) Received: by mail-il1-x149.google.com with SMTP id o10-20020a056e02102a00b003006328df7bso6817356ilj.17 for ; Fri, 02 Dec 2022 14:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=k0imnhvm+kf10bcAGQciUCVzWuZXXiWmFQ1RsUVVuTw=; b=kbarmBE+ReiJB9n4xwMFX3H4tvxZI00hfxXiwLhf0hrlmG2lwDbA8WlcUfypHXN8JJ pKIGzmgCvpn4GJpYHfZkUybDRk6PjziKEaJEeWOGiTD5hukxzuNrHEnOhz4BYL1cSmfc s7oVuDB3eE/SrF3COCc9IcLXY6Lqd2LcObrC7ANVe1U9JOHadhhqEnNzoNh8DBrR3rpt 5uOipw2Dbp2B4WqkFoMTrLWl0zvhsSmxwnZK2+s6tKSI4LPU5goCwqmmEYzAc6ala8EK e3CPcjBJ7iOAW0Vt7UD+6EiEzQ7vI3kaU/U37HAFbDSy8563dPwaadO26auVwGzPVEMT md7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k0imnhvm+kf10bcAGQciUCVzWuZXXiWmFQ1RsUVVuTw=; b=ZPhJVa1VH2bapB2IAmn6JMvh8ZMAK/jM0xi0Sc4S9mkkQ1F4lXmM23uN+RNs+ZfJBI wdoMm/tJiDpfjTcdbn1gpakOCMsDYuBFmH9QrUBVU8wt5ijAQTnoj8ojtiiyRDU7VxMm 44tYFuAM3YEKzKjh/zYd5P10lJdgWBdkJ1uZlThpAaZ6Y/4e+C6tvikQc/ExnjgaKFUt CMGRlcxYSq5EMSGaco0r8W5PcUz/DNQsnjBxNI8Iaq4AGfP6xEBzAyWMS4T9zSHe3PpH D7KuB1/mzx8tECmskqFYEXPAV6r2mFIgLyc1FiF/R3ACKI7SeibwELaQvpV/s9ujBRvJ D9TA== X-Gm-Message-State: ANoB5pmDlzLNuH2j0MdpoeKTToYiaeYsHyaiKc3UPxZzk6spd8Z2hU8O jfO8bY7MF1PmQ3XmRddsS8ALtAhdIq2GEFs= X-Google-Smtp-Source: AA0mqf6TF+b4GR3uPUIetXie9acj2yjiT18qv25+y5jB+jOCKS4ZBR4GRR5YFcJnHLJASTSAmyHAF+UgGFyjegc= X-Received: from allenwebb.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:12e8]) (user=allenwebb job=sendgmr) by 2002:a05:6638:480a:b0:38a:3357:8a4 with SMTP id cp10-20020a056638480a00b0038a335708a4mr18794jab.53.1670021286086; Fri, 02 Dec 2022 14:48:06 -0800 (PST) Date: Fri, 2 Dec 2022 16:47:43 -0600 In-Reply-To: <20221202224744.1447448-1-allenwebb@google.com> Mime-Version: 1.0 References: <20221202224540.1446952-1-allenwebb@google.com> <20221202224744.1447448-1-allenwebb@google.com> X-Mailer: git-send-email 2.39.0.rc0.267.gcb52ba06e7-goog Message-ID: <20221202224744.1447448-4-allenwebb@google.com> Subject: [PATCH v6 4/5] docs: Add entry for /sys/module/*/modalias From: Allen Webb To: "linux-modules@vger.kernel.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: Luis Chamberlain , Greg Kroah-Hartman , "Rafael J. Wysocki" , Allen Webb Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Update the documentation to include the modalias sysfs attribute for modules. Signed-off-by: Allen Webb --- Documentation/ABI/testing/sysfs-module | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-module b/Documentation/ABI/testing/sysfs-module index 08886367d0470..1244a0e8d133e 100644 --- a/Documentation/ABI/testing/sysfs-module +++ b/Documentation/ABI/testing/sysfs-module @@ -48,6 +48,18 @@ Contact: Kay Sievers Description: Show the initialization state(live, coming, going) of the module. +What: /sys/module/*/modalias +Date: Nov 2022 +KernelVersion: 6.2 +Contact: Allen Webb +Description: Module match-id-based modaliases + + These match against MODALIAS values included in the uevent of + devices when they are created. The attribute is implemented for + subsystems with the authorized attribute such as USB so + userspace can make authorization decisions based on which + modules match the device. + What: /sys/module/*/taint Date: Jan 2012 KernelVersion: 3.3