Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4773186rwb; Mon, 21 Nov 2022 11:42:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf4be8vsNMAD4gY6BjoeGty+RR2xAPyKbiyGHI7k31m+rBy2k+dPLudBAWwBGFsChHs/5KEz X-Received: by 2002:a17:906:ce35:b0:7ae:215:2dd5 with SMTP id sd21-20020a170906ce3500b007ae02152dd5mr1047000ejb.208.1669059729601; Mon, 21 Nov 2022 11:42:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669059729; cv=none; d=google.com; s=arc-20160816; b=aNM3N0OVpb/vWLhFIafyf2MDOL7L/MCNtV5d4jYbHqbEdCiM3OW1pD4iRgzTExd2J7 ZHjyuzLglDZd8R/SDL5IwKDGl+sTxUP570i5xFBpI3JIPZBrZclHt3zHHMNEC6Glkr7e t0bsZCnjqwyXc4QsXCuvwv43se2c/XX+FbICyQlrOoQYqI9f5HwlqQ0xEWRpemT72mzR 748hJnrjzaty2k/x2XGxmYSo4JJQC1q0aZic+Bx2Bkqs4hynFxxuwTdevuqTQpj4y4nB MiRCeJtJblFsqPTNJc2olxlDqzeIm74GkJ6xrame0njmpNO2GiRmdGpxuVfGLagwNo8e i4LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=I1dMuXGh4BFD544YIqWPLeTZToGUlatxS6Fvgv6hOhU=; b=fwcDJcTO5P4TrSELO6XkdhnFhiLhAKYb0zzTjLXUFZwG6wT5UBhcldWTJ92dWByR/w E2IT3fa4RZ9gxs4x2qEWiI/ZhvbK2bFhkrUlBp01NZdoH2dUVrJecNxYHWOIw8VnaG9Y zkh3PaYJu2vo+k+govfT/hWA3BCXy1XAcEnVMeI4eucO3BKGWmQyPpSbShpEoANo4+Kl /rh7jwvo0H0y3sIl39eyyGqxwF1cT6/CVlHRHFFqxLu7ZiW0GXsVhwJZo71jDOnIXPiD N3OZwskHUY+FrlQt3XbeGAmY5dxxdGoahybNuUmxZyP0S8E3HfD9dEH8hO1T7j7daQiD cqxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=t3hiiBlc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z10-20020a05640240ca00b004672d4e4ff2si10310971edb.171.2022.11.21.11.41.46; Mon, 21 Nov 2022 11:42:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=t3hiiBlc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231343AbiKUTNS (ORCPT + 91 others); Mon, 21 Nov 2022 14:13:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231376AbiKUTMz (ORCPT ); Mon, 21 Nov 2022 14:12:55 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48BAD13DDB; Mon, 21 Nov 2022 11:12:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=I1dMuXGh4BFD544YIqWPLeTZToGUlatxS6Fvgv6hOhU=; b=t3hiiBlcGvC17357KM2w12Bbf/ 9iECHeonh7YR0gRFCiLyoZXiDD25ybfBhVytfVFPI3/B/GrQxjTbD3asPVG7jYSEy9PnTs13IY1Xi pYx+qhsZ3p+41mtRz7pBVkS3OyJ7NzHW/BZLsS2aEL4a/Cp+UrqoKLroKTBV3d0TtxW4S8GpGXTRA gb2Bkfuc3RwICsGcbNvufg+8WbZGUEM+Q7GawVYNFzLVjHlrZ4fMypdmhcjg4kNRbEZCcpfrjI75i 0wHv8hY1IVS4yhjhW/dTy5WeYWiXLO9JtoNq0BQ6yuHgZfpNMZLHvvXP356O2Z9+W/2ZTQQXvNVuf NVIP+7sg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxCDs-00HCoQ-0H; Mon, 21 Nov 2022 19:12:52 +0000 Date: Mon, 21 Nov 2022 11:12:51 -0800 From: Luis Chamberlain To: Nick Alcock , Masahiro Yamada Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, akpm@linux-foundation.org, eugene.loh@oracle.com, kris.van.hees@oracle.com, Steven Rostedt Subject: Re: [PATCH v9 2/8] kbuild: add modules_thick.builtin Message-ID: References: <20221109134132.9052-1-nick.alcock@oracle.com> <20221109134132.9052-3-nick.alcock@oracle.com> <87h6z5wqlk.fsf@esperi.org.uk> <87iljhv321.fsf@esperi.org.uk> <87sfics595.fsf@esperi.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sfics595.fsf@esperi.org.uk> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 21, 2022 at 03:21:10PM +0000, Nick Alcock wrote: > One question: do you think it's worthwhile me submitting patches to > de-MODULE_* things that need it? 100% yes. Yes please remove all that module declration helpers for things that are not modules, and after you add your helper which will nag at build time when it finds new ones. For justification just mention in the commit log that after commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf") we rely on the module license tag to generate the modules.builtin file and so built-in code which uses module helpers just need to be removed. Luis