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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FSL_HELO_FAKE, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no 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 D5EE0C433FE for ; Fri, 4 Dec 2020 18:21:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9234D22B4E for ; Fri, 4 Dec 2020 18:21:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729994AbgLDSVu (ORCPT ); Fri, 4 Dec 2020 13:21:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbgLDSVt (ORCPT ); Fri, 4 Dec 2020 13:21:49 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21D25C061A4F for ; Fri, 4 Dec 2020 10:21:03 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id p6so3571454plo.6 for ; Fri, 04 Dec 2020 10:21:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=003NfvjYeu2xkj/6ekYLLomNnI81cDCQ9rUfHMrpfcg=; b=BpPlJnrofuC2A1d9V05ZQQ7urHDvX4BF9ncEhYd0o68Zxw55s2IJK+BMb/EGZewdlZ QlH4N81QVrjN85L2pSblO8EL+P2DBSdaDIISKJ52FT29Q4G7bL1Pr+06IPQXpSxmMAPD 7FIUZ9xXSQBJsNV6RLUXRWATqYGch+0ayHzDFyPsPEJwfCX/temxseXmiaw7FQp6f5sz g7M0xim5IggGgBhqfJskDGdDg5nQHYsNHLt5xTFA+0d0N4r99KCUOHJh8q9TPHT53W0f gDB+g/dw9ZaCjorhOfzoQraioPTTaFLz7erRYrqSfuJmS8547+FkbGhUl5qgATAnkIdu OHIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=003NfvjYeu2xkj/6ekYLLomNnI81cDCQ9rUfHMrpfcg=; b=HPAuCJ2itLyqUMeFdKt0GdHR0oh8eJAZ9fw2S4czQpSBUuU5OSP/tgYhewrVZS1t80 6HmQRg0R3Z9almbxalXssbEuGw0w5alMsP8CliFX81mJ37PPc5Q/DutOONVqriqS+YlC GElOixZ/6phnKn2lfT55yn14vEmHd/59aSxc3YnWKNhhWIiQqBJ2JD0f1aJ+nzes/9UG 1atl0g0v/s9ALY0itOF6lLj9sKTHFfKutCGBrl8eI79eEYLwmrfYLeLaXHIm/6PKoqHM qfpJEBVcpAaHnssY/0vTLmjOieKhWPOEwai7LYeMjqYGCpcevHjbA1Z/UtKg4WTcoxil X2mA== X-Gm-Message-State: AOAM531qed88DOzIuNCiL4D4apsE4C0fvTYtIjtkHi5aJVV4gzwOEP79 r3N9e2b9l7aBIFW73UBm28Gb4g== X-Google-Smtp-Source: ABdhPJw4DiHHbPsEtnV8iHjzJl9EPxfMit99Up0ns0AVOaJf0DX+CGbgMjGDqlWwIq7q3SbrsgOZDg== X-Received: by 2002:a17:90a:a393:: with SMTP id x19mr5431501pjp.68.1607106062476; Fri, 04 Dec 2020 10:21:02 -0800 (PST) Received: from google.com (h208-100-161-3.bendor.broadband.dynamic.tds.net. [208.100.161.3]) by smtp.gmail.com with ESMTPSA id v63sm5382794pfb.217.2020.12.04.10.21.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 10:21:01 -0800 (PST) Date: Fri, 4 Dec 2020 10:20:59 -0800 From: Will McVicker To: Christoph Hellwig Cc: Jessica Yu , Masahiro Yamada , Michal Marek , Greg Kroah-Hartman , Saravana Kannan , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v2 0/2] Adds support to capture module's SCM version Message-ID: References: <20201125010541.309848-1-willmcvicker@google.com> <20201204075159.GA29752@infradead.org> <20201204181808.GA26478@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201204181808.GA26478@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 04, 2020 at 06:18:08PM +0000, Christoph Hellwig wrote: > On Fri, Dec 04, 2020 at 10:13:56AM -0800, Will McVicker wrote: > > On Fri, Dec 04, 2020 at 07:51:59AM +0000, Christoph Hellwig wrote: > > > I think your decription still shows absolutely no benefit for the > > > kernel, so I'not sure why anyone would want to waste time on this. > > Hi Christoph, > > > > Did you get a chance to read my earlier responses regarding the uses for > > in-tree modules? > > > > The biggest benefit for the upstream community is being about to get the SCM > > version for *any* module (including in-tree modules) in the initramfs via the > > sysfs node. Currently there is no way to do that and there is no guarantee that > > That assumes the SCM version of a module has any kind of meaning for > an in-tree module. Which it doesn't. If you care about the SCM version > of an in-tree module the only thing we need is one single global sysfs > file. Why doesn't it have meaning? With MODVERSIONS, you are able to update in-tree kernel modules independently of the kernel. That means you can update as many in-tree modules as you want which would create many different SCM versions (1 per every module update). Also you can update the kernel independently of the in-tree modules introducing another SCM version. --Will