Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp767868ybb; Thu, 28 Mar 2019 11:46:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZyTzd/2pQdJxvID7FoIdlcTIcKERaV5i0NxV0Z07ffacTinSviV9hAZShirsxFHuadoK5 X-Received: by 2002:a63:1247:: with SMTP id 7mr37064905pgs.352.1553798806018; Thu, 28 Mar 2019 11:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553798806; cv=none; d=google.com; s=arc-20160816; b=E+dxR3T2iZxQUrNY2a7TFNSdSlE2kA/rJjOOTdZ9DRa6lfpdELfSKhILASeb5lBQTP pAaIRPXYzvPr1bVx1oOhRxzzQGtigcSX/u2ug8D93fhSjwPP3o7fWzc2OwQLt0XFB/C7 xm9XAIWKfy4XqHyOSVWQZGn19gKfuz1BQ2j0yzPfyKkb8wlTM5wElJcAc8+byUyIQAHx wIyXNeOMajAzaZaCLHvkNm3bWtyifWhUUNzx0fDjQ8mlZYv+1u4VWfGqrKz9uLYfAVuy NwyHBan8VtkMNjrvw0wspMcvBkGKso2xAEaD+CmW3IMYIwj616Ezz3Ais3H01Z7r9uFR Qp5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P1BR7f32pAIO4a3b5hu9F5tjFRoe2y7QuI7s1IEtH+o=; b=0KQZgqlf6SrdkLemU97J9juYQ34RI5njWCu/ibHypO/VKuzDo2mnjJEUtIo0XkX9HO WdGQX6BDATVGvMZdGkfe5+sMUw6twff3PzxuS6yb+BzKI80/fIRxmG0qErRkppO+c8Pj FZE1UEZ/jDnu9zEygqSE2jTXbLI2rYjAfU3rMG+WbSIvJVD19RKX3JwsRX/Gy144yX7U aWvOTI05TSyvK6kqMrptFG4fCefLIARYOF3R9RIJeVx6nQAoI2PDG9oErOU+cL+gXA0Z 8WbWGeo6ebzTeVEGnsEmDypXaUP3VhwfcLo5VSrACVwQuM611TtibNjePwkG/Yru0Mv1 vEfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vzp78eU2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w25si815188pgc.23.2019.03.28.11.46.29; Thu, 28 Mar 2019 11:46:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vzp78eU2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726234AbfC1Spu (ORCPT + 99 others); Thu, 28 Mar 2019 14:45:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:40856 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbfC1Spu (ORCPT ); Thu, 28 Mar 2019 14:45:50 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BCC5B2064A; Thu, 28 Mar 2019 18:45:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553798749; bh=1DOi8E4Cemowy8bsUMqhZziiN9iNc53NlzLS1uuKogU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vzp78eU2P2gd8+qA8qREVywfS2ESNlXqEt8aCeb5li6CArj9Rp+zBv6ay0I57nWfX gtJ/mPvJMfF9k45WCwTILY46eVFm0tF2uAF7vJFlhmyWCMd4LUUrP91jpSS885lU9t z2qQM5eud86yGQKBC5CEwk19aZiCHRO+HSeW74+g= Date: Thu, 28 Mar 2019 19:45:46 +0100 From: Greg KH To: Lucas De Marchi Cc: Jessica Yu , Alexey Gladkov , Masahiro Yamada , Michal Marek , Linux Kernel Mailing List , Linux Kbuild mailing list , linux-api@vger.kernel.org, "Kirill A . Shutemov" , Gleb Fotengauer-Malinovskiy , "Dmitry V. Levin" , Dmitry Torokhov , Rusty Russell , linux-modules Subject: Re: [RESEND PATCH v1] moduleparam: Save information about built-in modules in separate file Message-ID: <20190328184546.GB23800@kroah.com> References: <20190315101013.GN8455@Legion-PC.fortress> <20190326172411.GA15936@Legion-PC.fortress> <20190327154025.GB23293@linux-8ccs> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 28, 2019 at 10:41:59AM -0700, Lucas De Marchi wrote: > On Wed, Mar 27, 2019 at 8:40 AM Jessica Yu wrote: > > >No. There are definitely not all modules. I have a builtin sha256_generic, > > >but I can't find him in the /sys/module. > > > > Yeah, you'll only find builtin modules under /sys/module/ if it has any module > > parameters, otherwise you won't find it there. As Masahiro already mentioned, > > if a builtin module has any parameters, they would be accessible under /sys/module/. > > Could we please change that and add the sysfs entry regardless of > what's being discussed here? Not having the entry there simply because > we don't have parameters for that module always annoyed me. What is the sysfs directory going to show? Will it just be empty? Feel free to send a patch for this, but from what I remember, it wasn't the easiest thing to do for some reason. But given that the code was implemented before git was, I can't quite remember. thanks, greg k-h