From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D3DEC4346E for ; Sun, 27 Sep 2020 23:34:01 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A7F823A32 for ; Sun, 27 Sep 2020 23:33:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LBfnpwp3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A7F823A32 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4C026F11sMzDqL4 for ; Mon, 28 Sep 2020 09:33:57 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::d43; helo=mail-io1-xd43.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=LBfnpwp3; dkim-atps=neutral Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4C024X5lwCzDqGh for ; Mon, 28 Sep 2020 09:32:26 +1000 (AEST) Received: by mail-io1-xd43.google.com with SMTP id j2so9190484ioj.7 for ; Sun, 27 Sep 2020 16:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aZ6YU8QkqvXetA4BeWJq48mo0OJ9Oxz0crizVyRgPnQ=; b=LBfnpwp3MtO84n7rLN09lDdxgaQPgijIySJX9jjqBw9KF+omtpeDch6oBcawxzUGzs yX85kVxYB9ppBIhv3Pe7vxEvtWnD6wV5PvMNS8ofM0Y5ExRkegvqyKBqHk+KJLmRTaNZ gvyvTQILWZPfvMBiSZW6FCRgne+/XX1lJ3EL3Fi9U8G8TkLw2Sz/55XyABK9Z+rmz+ig LHnRDwU3nq0vU1/XHDiYuL/CvA98PKq6A7/h/Pp5qXeO3MRG1WLYmIHXIljDEacAA67a vLz6rw4USRScKtxncxlaNdz3GL5xZOMOHLCVceypITeAf2XTcXYvDWVkx/oIfj51Lwe8 v8dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aZ6YU8QkqvXetA4BeWJq48mo0OJ9Oxz0crizVyRgPnQ=; b=b2Y5ZC5UZK4QHusENhVcK7Xpx8vguwfTBuYTxa13m52KOU9AN88irHMPFmz6zqKfVh Czi/KK7/I+oEDGXQ45CpoZOwWgzdT/rJzVxS07wf3LGhGsHw8otBC2uE3hqyVFGaJatO spIC4MJyXkyyr2+GK3D/9LsiNg0rBXbJ9zZODsI+2GbYh9yEIsbdJmnUwdm6611nHrAM 8F+uDa7PRsZd6+hA0wQKSSfA6Y4dQ60Xi/OD5Utat90vf2+p1a+htqJONU5uxs6gqzVW KgbV5z9mk9pNixM+2rD89mMqp58n/HSO8xI9nOdrWPKqiEQvf/An3OQXWFOwxXjBlaD5 cixw== X-Gm-Message-State: AOAM5306rY5mcZVeR//T+klkiR6mOk3ZjslAE+Ywl0dU5wgiyNg0HnVZ sPdaUv4GuFJaTTWFbK9KfP7v1JuyhX+exkK1Hv8= X-Google-Smtp-Source: ABdhPJzc5IwJZV09KI9PTIqU3GAYgTusaIZZSB0Qp6/tVIkfZR6sanJs/6HxmjpQN3io4gLQcfBmDzgSFMghUZUlYxE= X-Received: by 2002:a02:6623:: with SMTP id k35mr6811796jac.105.1601249541984; Sun, 27 Sep 2020 16:32:21 -0700 (PDT) MIME-Version: 1.0 References: <20200925194335.GA2453596@bjorn-Precision-5520> In-Reply-To: <20200925194335.GA2453596@bjorn-Precision-5520> From: "Oliver O'Halloran" Date: Mon, 28 Sep 2020 09:32:10 +1000 Message-ID: Subject: Re: [PATCH] rpadlpar_io:Add MODULE_DESCRIPTION entries to kernel modules To: Bjorn Helgaas Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tyrel Datwyler , linux-pci , Linux Kernel Mailing List , Mamatha Inamdar , Bjorn Helgaas , linuxppc-dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Sat, Sep 26, 2020 at 5:43 AM Bjorn Helgaas wrote: > > On Thu, Sep 24, 2020 at 04:41:39PM +1000, Oliver O'Halloran wrote: > > On Thu, Sep 24, 2020 at 3:15 PM Mamatha Inamdar > > wrote: > > > > > > This patch adds a brief MODULE_DESCRIPTION to rpadlpar_io kernel modules > > > (descriptions taken from Kconfig file) > > > > > > Signed-off-by: Mamatha Inamdar > > > --- > > > drivers/pci/hotplug/rpadlpar_core.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/pci/hotplug/rpadlpar_core.c b/drivers/pci/hotplug/rpadlpar_core.c > > > index f979b70..bac65ed 100644 > > > --- a/drivers/pci/hotplug/rpadlpar_core.c > > > +++ b/drivers/pci/hotplug/rpadlpar_core.c > > > @@ -478,3 +478,4 @@ static void __exit rpadlpar_io_exit(void) > > > module_init(rpadlpar_io_init); > > > module_exit(rpadlpar_io_exit); > > > MODULE_LICENSE("GPL"); > > > +MODULE_DESCRIPTION("RPA Dynamic Logical Partitioning driver for I/O slots"); > > > > RPA as a spec was superseded by PAPR in the early 2000s. Can we rename > > this already? > > > > The only potential problem I can see is scripts doing: modprobe > > rpadlpar_io or similar > > > > However, we should be able to fix that with a module alias. > > Is MODULE_DESCRIPTION() connected with how modprobe works? I don't think so. The description is just there as an FYI. > If this patch just improves documentation, without breaking users of > modprobe, I'm fine with it, even if it would be nice to rename to PAPR > or something in the future. Right, the change in this patch is just a documentation fix and shouldn't cause any problems. I was suggesting renaming the module itself since the term "RPA" is only used in this hotplug driver and some of the corresponding PHB add / remove handling in arch/powerpc/platforms/pseries/. We can make that change in a follow up though. > But, please use "git log --oneline drivers/pci/hotplug/rpadlpar*" and > match the style, and also look through the rest of drivers/pci/ to see > if we should do the same thing to any other modules. > > Bjorn