Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp71832rwb; Wed, 9 Nov 2022 20:11:17 -0800 (PST) X-Google-Smtp-Source: AMsMyM7uCjAvxRSsCdbIrh3jvpM8T7MdcZFqXxuE1aEB/SqUFAI0YySS+WerMibqYKTXlKtKNx7c X-Received: by 2002:a05:6a00:18a8:b0:56c:702a:5f49 with SMTP id x40-20020a056a0018a800b0056c702a5f49mr63942989pfh.1.1668053477137; Wed, 09 Nov 2022 20:11:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668053477; cv=none; d=google.com; s=arc-20160816; b=glte8TirWoiNhlyZe9FGHv60XrNr+ejHNf9Ck9tQKqijPQnqvpH6WPdxKLZgMWpRCK 2kIqJnROMb2KpPcclSKRt8VCHk0Xj3ezn3Ax4t12oqtAofKbYB7W/C5S+b6/PqzaUP6x 4ESc54ojx5AhrydENvvbvZYNryJt3LE0Q+4uMWYn496Dk4H2l6bLyiu1zu5uvyrKq/r7 M4yO9x77ub/BMcsN216pOePq62XL9NWxweISRUPZYPR2hb4hKBnOzgRImSXAsFAIvK7I brn6UNQDu3EucbV06hANNPg+9std4wf7B7d2Dq7GLMiIdMMPFzMDk1DScM8sSdp6MweW DVhg== 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=R9bwS/U7S7bV0/7KYScNF9R6LQoDUoxJzxINgcOLK3k=; b=VxJjUrfkAbHRSortsbr1tHBPNIGYzaRm2MVGbiACBjyyWn2gXiSEd5TS/neCvqqT7G 3mHoQdqmg7gypb+R0WdcSX+1RCNqg20H7UzIqHvX7gpIefUNzbkFqZqNPLQ/popjyVQF XILvsvZvrWwOglDYvmz0rU68ID1dIp2sVGo9umJ5TmpwGIJUzZuXQXB4lv6SN/d3OyWm TGa1oLdT4B1zyYp5QYlzDVvMwKJRKUo4Tn8Z+MRmKKTzBF7aWVVObsq1Jy5jNKYgNYYo ty6QR2bRjTsqgIl7a31pdoxtACnNKLkALAv4eRO0Lkra9N87XPi93dKE/YPas9RTouWD 4oFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=rnziAupd; 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 e17-20020a656791000000b0044034f2c3b8si19670843pgr.310.2022.11.09.20.11.04; Wed, 09 Nov 2022 20:11:17 -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=rnziAupd; 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 S232375AbiKJD4M (ORCPT + 92 others); Wed, 9 Nov 2022 22:56:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbiKJD4L (ORCPT ); Wed, 9 Nov 2022 22:56:11 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16A3E13CC3; Wed, 9 Nov 2022 19:56:10 -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=R9bwS/U7S7bV0/7KYScNF9R6LQoDUoxJzxINgcOLK3k=; b=rnziAupdKaVrSkWJdztAWl3t29 Yn19OB1/8PTpNZ/bs8YIMaxByQ+8jW2da9eMRRirQjgNjNIgBGJcfnRSQFvsXJN11QtKZntOn9dlH voRh7kroEOSX/g3g8bLI4ua2IPnZP8Y9mPfXJdb32RFsKBHA6P6WArARMYYOSCvnixMG2IMyVmZcQ BPY9bWS942C1Z1bk1h/3pr/m/oEsJZTKFh5diJbCCGhTnef3vLnITDxnkJ3qpS0OSZXAIbsbM43Za hmTi6/MohzoksbTMyq2t4at/xo8d+ycHXTAPBmVRfcK2vmVPdpmJ404ve/+bPo5eyZexRlUmsAANr 234IM3Pg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1osyff-002RfX-Ga; Thu, 10 Nov 2022 03:56:07 +0000 Date: Wed, 9 Nov 2022 19:56:07 -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, mcgrof@kernel.org Subject: Re: [PATCH v9 1/8] kbuild: bring back tristate.conf Message-ID: References: <20221109134132.9052-1-nick.alcock@oracle.com> <20221109134132.9052-2-nick.alcock@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221109134132.9052-2-nick.alcock@oracle.com> 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 Wed, Nov 09, 2022 at 01:41:25PM +0000, Nick Alcock wrote: > tristate.conf was dropped because it is not needed to build a > modules.builtin (although dropping it introduces a few false positives > into modules.builtin support), and doing so avoids one round of > recursion through the build tree to build it. But kallmodsyms support > requires building a mapping from object file name to built-in module > name for all builtin modules: this seems to me impossible to accomplish > without parsing all makefiles under the influence of tristate.conf, > since the makefiles are the only place this mapping is recorded. > > So bring it back for this purpose. (Thanks to the refactoring in > the 5.16 timeframe, this is basically a reimplementation of commit > 8b41fc4454e36fbfdbb23f940d023d4dece2de29 rather than a simple > reversion.) > > Signed-off-by: Nick Alcock > Reviewed-by: Victor Erminpour > Reviewed-by: Kris Van Hees I don't see the need, see the review of next patch. Luis