Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6245908ybx; Mon, 11 Nov 2019 06:17:03 -0800 (PST) X-Google-Smtp-Source: APXvYqwEREEPewmpNRpoeVyKjN4aVWWeU64IPqfraYFvjk8PaoHkNuM+VFKvu7weK2QfTIgMRJXD X-Received: by 2002:aa7:cb09:: with SMTP id s9mr27363867edt.148.1573481823844; Mon, 11 Nov 2019 06:17:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573481823; cv=none; d=google.com; s=arc-20160816; b=bdqXznVhwq9ZO/q9t7Qm6P+0zqd/0LruHn874ZFWrKmQXLmzAKWwxtVoY0lj19QpYD Hf8SQ7y1nfQpsYm9NgZg2ZzVLmNzGLdvAqLePJfxOcGqY3oxNU5tMJ+GA1u47CRckbsk 7PJNDi7dDKut8TjPJ28HElSAU9eK7JZZc+0sg/cV3zvO6kCMbSLAmInLV5v/sMspMRUR gdpTxY2tK9LKKwnfjuv8bbn01y26nm6M24Ai5TZ1cqoMinhU5YFtEHUv4dFnc77XW52L M14vOK0dWWYXJHwmyM8A667kipki2w0FToR/+wpWQtoMdCIGCWxk+Iv8OA2ALbj/YVcN qOCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Y9WjQ8/IXyvrSU7lkMKI3w9vrmtUT5ggmbOawxlezl0=; b=X9uk9emSDbviy16yV2NQ1Nis9NNTWQIP85hzXTUZWjL7SQKfdawJwCBxyt37RL/xE1 R9TR0S1Oot4Pm3+oQ/nUz0MY2G9s9XNIDdxFbcyMmomeN62En2AcHS2qW5ciVWprmV+e aE70uJ92n5xLqA0gt7ukp0ywpQA7u9Rh1MPGbnqt+/kch7NtDSKSFRkw6lYm2fMJzXW4 zGpM/0C37LW20DN7ej/jcCwTw3WrUZI794S6GtuYEUgfr/TGblO3rqHdapN+zY39AIAU A4RL550Jqsf2hhHIyfVgAF5LHNLjkA1xdtJUCVeg0BsBbBPHAmuDFomZfZYQFag/5LSs zweQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m20si9189532ejx.33.2019.11.11.06.16.39; Mon, 11 Nov 2019 06:17:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727015AbfKKOOp (ORCPT + 99 others); Mon, 11 Nov 2019 09:14:45 -0500 Received: from lhrrgout.huawei.com ([185.176.76.210]:2083 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726853AbfKKOOo (ORCPT ); Mon, 11 Nov 2019 09:14:44 -0500 Received: from lhreml708-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 36B1291DAC2EB7F3BE6C; Mon, 11 Nov 2019 14:14:43 +0000 (GMT) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by lhreml708-cah.china.huawei.com (10.201.108.49) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 11 Nov 2019 14:14:42 +0000 Received: from [127.0.0.1] (10.202.226.46) 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; Mon, 11 Nov 2019 14:14:42 +0000 Subject: Re: [PATCH] arm64: Kconfig: make CMDLINE_FORCE depend on CMDLINE To: Anders Roxell , CC: , , References: <20191111085956.6158-1-anders.roxell@linaro.org> From: John Garry Message-ID: Date: Mon, 11 Nov 2019 14:14:42 +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: <20191111085956.6158-1-anders.roxell@linaro.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.46] X-ClientProxiedBy: lhreml713-chm.china.huawei.com (10.201.108.64) 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 11/11/2019 08:59, Anders Roxell wrote: > When building allmodconfig KCONFIG_ALLCONFIG=$(pwd)/arch/arm64/configs/defconfig > CONFIG_CMDLINE_FORCE gets enabled. Which forces the user to pass the > full cmdline to CONFIG_CMDLINE="...". > > Rework so that CONFIG_CMDLINE_FORCE gets set only if CONFIG_CMDLINE is > set to something except an empty string. > > Suggested-by: John Garry > Signed-off-by: Anders Roxell > --- This looks ok. Were you also going to propose a patch to introduce a LITTLE ENDIAN config option? For me, this would mean that ACPI module is built for allmodconfig, which is a good thing. Thanks, john > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 50df79d4aa3b..64764ca92fca 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -1629,6 +1629,7 @@ config CMDLINE > > config CMDLINE_FORCE > bool "Always use the default kernel command string" > + depends on CMDLINE != "" > help > Always use the default kernel command string, even if the boot > loader passes other arguments to the kernel. >