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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham 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 19714C3279B for ; Fri, 6 Jul 2018 08:50:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B02CE2400F for ; Fri, 6 Jul 2018 08:50:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B02CE2400F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=cn.fujitsu.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753522AbeGFIup (ORCPT ); Fri, 6 Jul 2018 04:50:45 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:24511 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752681AbeGFIun (ORCPT ); Fri, 6 Jul 2018 04:50:43 -0400 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="41918082" Received: from localhost (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 06 Jul 2018 16:50:41 +0800 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (unknown [10.167.33.80]) by cn.fujitsu.com (Postfix) with ESMTP id 110984B445AE; Fri, 6 Jul 2018 16:50:41 +0800 (CST) Received: from [10.167.226.60] (10.167.226.60) by G08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.399.0; Fri, 6 Jul 2018 16:50:42 +0800 From: Cao jin To: Masahiro Yamada CC: Michal Marek , "linux-kernel@vger.kernel.org" , Linux Kbuild mailing list Subject: kconfig usage in automatic kernel test Message-ID: Date: Fri, 6 Jul 2018 16:49:25 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.60] X-yoursite-MailScanner-ID: 110984B445AE.A95A4 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: caoj.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Masahiro-san, I am writing some utility for internal kdump test with latest kernel, my purpose is to test the new introduced kernel feature. For automatical test, I see several config target could help, like olddefconfig, all*config. But for my purpose, I don't find a good way. For example, olddefconfig will let the now config item has default value, while some feature may default to "N"; allyesconfig will slow the compilation notably. But "all*config" has KCONFIG_ALLCONFIG help to customizing some config item, that is a good utility, but seems it can't be used in olddefconfig. All these things let me have 2 questions: 1. What would you suggest for my purpose? 2. allyesconfig, allmodconfig, randconfig seems useful for test kbuild, but what's the purpose of allnoconfig, alldefconfig? In others words, when people would need allnoconfig, alldefconfig? -- Sincerely, Cao jin