From patchwork Mon Nov 11 08:59:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 179060 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp6367645ilf; Mon, 11 Nov 2019 01:00:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyb+TCoq0mXw/N8LliGcjkoPyA1qACTnAXjiwlcXjX3iuqWMpc3ejZzGuo2ndtMxXPzoNEM X-Received: by 2002:a17:906:1be9:: with SMTP id t9mr21670837ejg.10.1573462810475; Mon, 11 Nov 2019 01:00:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573462810; cv=none; d=google.com; s=arc-20160816; b=r126GMe8ianV6xV++Mthm2DNmxuiq9qf/OQhfsyIVn7y9U0IBd6qgUjnme3BO8DsBo sYevCFQYUNY8ZQqy2Y4TDhmwD4oe0pGyTrUDAWS5XFAka3qPz+mBxM/gOhsQIg1Eah9f fDdGzeyEfbZOpqAIDe2SjEwieiSIBFH3wN0W/4a8sn77VTfGJjc3remGWuN4IKmexii/ If4AJXa9CR9KD2ZU6XEdJ94KWr/JqjV3uVHXzZOiN6ZlwPltN5FdOuRHgNsEBf3pLfLu ClvvaVjvdUN+BYk9sbS1Nxfv7zPPsb44UrLJxcFg6loW0FzKF2eHyJHDx91FK8DeLkIG rUkQ== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6og0lVoCjT8EFtl94DdvmCL57HASZwqoUGY0yeY454E=; b=UuIjH0Eo9cLY5DeMdtZFc/DMH/ZNdXO27gZI9kmDXTrJ4Okdwe+Z4XipsRzLEpWbX/ e2PIbr/W9J7CgxWQB02psZBl+jcR/Vy19vgbqfM/AqOhiJ2m85sq2EY6aCgKKJ+7Qa8r CIYXjHgEMPHc1OBhfQiagfDZAE5k5ubDJBgDkNK9/qOwmc+15f4xu+bnwN3Mq9oNc+ce 6O6y6/e1O/XgmTUY/B3mFkTZzoPzmbjqqepABeCkWWG19k5FObjDZPEZFtGrI4JtXb4u pS/+jBECObA5xcu4UNJ61hTgmA/PweCUd0xvc3KVbjl4w2Eo5GlcMJmsBw34A6olJ/l6 HhVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EfHpAExQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gs14si8846447ejb.347.2019.11.11.01.00.10; Mon, 11 Nov 2019 01:00:10 -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; dkim=pass header.i=@linaro.org header.s=google header.b=EfHpAExQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726950AbfKKJAG (ORCPT + 26 others); Mon, 11 Nov 2019 04:00:06 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:35916 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726768AbfKKJAF (ORCPT ); Mon, 11 Nov 2019 04:00:05 -0500 Received: by mail-lj1-f193.google.com with SMTP id k15so12904132lja.3 for ; Mon, 11 Nov 2019 01:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6og0lVoCjT8EFtl94DdvmCL57HASZwqoUGY0yeY454E=; b=EfHpAExQ0Ws7cVdvaCFhiiBQ/hlsNJTdv/f6PI8HZnlNxH5SHPggqy+vJOUZB4Q2b1 xp0KzS1WaFvwKMsTwPin0HYR81wM8NhcWZXjT7DvsEt8QlGJcDPtgxaYNBE3wefD7TxH 1EO3yO9GI1ClTfsRhDgPKoJ4D0rKofvMk6Ut5sZu0qgmIGgkeAYTOiqffX3hlJ0JCLN1 RSaWKKf1IrqbV0Cz5D/TzCIJhjqBWQAz1n8buIGSGzlwg1z0zZcMM0K8OHk+GijZcvf4 Ww43+WkbhR1Mk5+/7KIM4EwSu++4hX+2suxdRD/YCB5OyThQYQTT7nJHJZ1Q/rEYj4/E Oj4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6og0lVoCjT8EFtl94DdvmCL57HASZwqoUGY0yeY454E=; b=SwzVt4PN6GFf9qVfzjXE2p7CDWKmdCqFzDWaFsRFtlEE+DSjPdOYxDV+k7xWcUa7WH 678EcyP3J4flpo/P57RQHu3PdkAsqVrqbMt2+MsYM2R/VdTtu6JPVzV+bT0jbioKs6/e WHq8O97riQiiDRQjVC6p+XuL2emM36Xa74R2P0tJeMEvcw/VCE53xj+H6ange/0dXHO+ 3uxPcKH8eZcsoS4AP5opt8QPA0uLsJFDtx5S0+DDAeCLuWAOpbh6HrmHLq/h+PuYTkHV BP37/WEvLE89gZ2xEjsXxGegeMZk4qYlzq7XqbEplmgmui7P3l/wSd61B8lqkrrrTfUC z6MA== X-Gm-Message-State: APjAAAVF4I6DtuO5dzh+365Si4n105XyKdqJ9qz5e3OSkEyRCCw3LZmy GEpRAgV8ZSUUoUWBba3H252ElFPLHlFbfQ== X-Received: by 2002:a2e:547:: with SMTP id 68mr15405763ljf.150.1573462803454; Mon, 11 Nov 2019 01:00:03 -0800 (PST) Received: from localhost (c-413e70d5.07-21-73746f28.bbcust.telenor.se. [213.112.62.65]) by smtp.gmail.com with ESMTPSA id d26sm6272174ljo.54.2019.11.11.01.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 01:00:02 -0800 (PST) From: Anders Roxell To: catalin.marinas@arm.com Cc: will@kernel.org, john.garry@huawei.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] arm64: Kconfig: make CMDLINE_FORCE depend on CMDLINE Date: Mon, 11 Nov 2019 09:59:56 +0100 Message-Id: <20191111085956.6158-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 Acked-by: Will Deacon 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.