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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 F0363C282DD for ; Thu, 9 Jan 2020 16:23:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D0F192072A for ; Thu, 9 Jan 2020 16:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387611AbgAIQX6 (ORCPT ); Thu, 9 Jan 2020 11:23:58 -0500 Received: from lhrrgout.huawei.com ([185.176.76.210]:2242 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727861AbgAIQX6 (ORCPT ); Thu, 9 Jan 2020 11:23:58 -0500 Received: from lhreml706-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id CF44652A3FC2523E1C58; Thu, 9 Jan 2020 16:23:56 +0000 (GMT) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by lhreml706-cah.china.huawei.com (10.201.108.47) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 9 Jan 2020 16:23:56 +0000 Received: from [127.0.0.1] (10.202.226.43) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 9 Jan 2020 16:23:56 +0000 Subject: Re: [PATCH] merge_config.sh: Add option for allmodconfig To: Masahiro Yamada CC: Linux Kbuild mailing list , "Linux Kernel Mailing List" , Anders Roxell References: <1575979754-184896-1-git-send-email-john.garry@huawei.com> <7e769634-eb22-5827-e2d8-df68134056c0@huawei.com> <538733b2-19af-9a66-f8d2-03e0f6ca7b25@huawei.com> From: John Garry Message-ID: <7a8a378f-c16b-c32e-b288-c279def947fb@huawei.com> Date: Thu, 9 Jan 2020 16:23:55 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.43] X-ClientProxiedBy: lhreml729-chm.china.huawei.com (10.201.108.80) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/01/2020 16:21, Masahiro Yamada wrote: > On Tue, Jan 7, 2020 at 6:19 PM John Garry wrote: >> >> On 06/01/2020 18:04, Masahiro Yamada wrote: >>> On Mon, Jan 6, 2020 at 6:18 PM John Garry wrote: >>>> >>>> On 10/12/2019 12:09, John Garry wrote: >>>> >>>> Hi Masahiro, >>>> >>>> Could you please consider this patch? >>>> >>>> Thanks, >>>> John >>>> >>>>> Recently there has been some work in reporting and fixing bugs in booting >>>>> an allmodconfig kernel - here are a few examples: >>>>> >>>>> https://lore.kernel.org/linux-edac/304df85b-8b56-b77e-1a11-aa23769f2e7c@huawei.com/T/#t >>>>> https://lore.kernel.org/linux-ide/bdf02e03-86a1-3d35-2908-28187f504495@huawei.com/T/#t >>>>> https://lore.kernel.org/netdev/CADYN=9LCPfbpwdTWKw03B22-y3Text=RWXW7XP7wJBHYsMOgrA@mail.gmail.com/ >>>>> https://sourceforge.net/p/openipmi/mailman/message/36871567/ >>>>> >>>>> If we want to boot an allmodconfig kernel we may still want to force some >>>>> loadable modules built-in, like UART drivers. Or just still turn off some >>>>> configs. >>> >>> >>> I do not understand why you need to use merge_config.sh >>> for this purpose. >>> >>> KCONFIG_ALLCONFIG= make allmodconfig >>> >>> should work. >>> >>> >> >> Right, I could use that. But generally some people like to use >> merge_config.sh directly: >> >> ./scripts/kconfig/merge_config.sh [-a] fragment >> >> so nice to have -a option for completeness. >> > > > Honestly, I am getting scared > about people extending this script more and more > to do what they want. > > Since allmodconfig works enough for this usecase, > I do not see a good reason to add the new option. > ok, fine. cheers