Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp591856pxu; Fri, 4 Dec 2020 10:25:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXCaaNw9frI8tYvX/OXs3qiND6QyAd+wjv6rCM/8Pzvj1DGLXGEMAlgFeZ7fIp7uEKC3K9 X-Received: by 2002:a17:906:60c4:: with SMTP id f4mr8428136ejk.336.1607106342162; Fri, 04 Dec 2020 10:25:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607106342; cv=none; d=google.com; s=arc-20160816; b=IlLGrPtYNKmb0f7GZ+C1tU/yT0fAsjfJChdxzHnH+fOOJFsv7E0QqAiT53aK6vQv/r mX1k7Y0NfBj4JerrjpauY+nFuZRBjj7Lf/0INln9TrMCQtVWEPZvBU4cBVxdZP4OMpIO E/vvRJdh7o+fzD1Yd3UWDrM2omSEvHMwTlce/vNC8kZN2n18lucVR/0Kuo43GnLmeVMx kKlXDVUKtheh6iP7vaVQc7erBpv3iaJHzqMnTetO8sR5XD4puHdy72a4B/DSHbDZxT4Y /gfFsM9DKFHEN252/uq71dT6Aiy73uz3kMPzr854u2mpDQxmu82CIxaaAmQ7YvWJVTha T0Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=003NfvjYeu2xkj/6ekYLLomNnI81cDCQ9rUfHMrpfcg=; b=MpvQc1QlIoVb6DK8kN5RusMk1AAjb3mFU+1KFCx5nDOVcPcf1tP3CdSbZoepVKcITK 9z9dkhLECPAZ88kn06vgnyyGiyLXPba4tZ9GdEpu0q78EHNvFM/4uwvrvs6kHug5nmRf gkWZzSJ/Fak+Dxhtby5K4Iu8Th6jYzD+iQS0neAqxRnoANHOT/AQABf4Ja1r10/cvY8n ksFcFpAufPchTti2gjxsuMLNq6bG6pQqB4PSXNa1CMBt9dcd3Qv/r1A9lOmoXbzlDgqi T3kiPFLcPPd79K+b6vr+Qn4CsfrdtmrIHzDL4pK5MzlGrzswIUrurygqXJE+cbTJ5sG9 PPsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BpPlJnro; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox26si2018726ejb.605.2020.12.04.10.25.19; Fri, 04 Dec 2020 10:25:42 -0800 (PST) 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=@google.com header.s=20161025 header.b=BpPlJnro; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728780AbgLDSVt (ORCPT + 99 others); Fri, 4 Dec 2020 13:21:49 -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-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