Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8359769ybn; Tue, 1 Oct 2019 07:06:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWB6d64ElfHp1FqfLmyoYTLSeDCjZ/HL3n8+QiiDeBIMSf8Ic2jE+BEhKpukYiFbDaCkRx X-Received: by 2002:adf:dd41:: with SMTP id u1mr18767430wrm.49.1569938795886; Tue, 01 Oct 2019 07:06:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569938795; cv=none; d=google.com; s=arc-20160816; b=PA4hbaKuNeM0TrcaQZInm3REWQoNMcoJh3wuymYRzmtl7kE0uWwHhmGQwQZH57nwSl z72uCUMhwAeURWxkA5GiXROP2nMLx1hEhQCTdbJ5cdoAbparUJXk57dPmPjG1NvS/pEg O6izYbi0SyuulL1UmoKt/1H4LW9Mv9/hncEvR7HRTQWEUKblw45xXcWOXXWze8xfuCpH c5KOEJWhGbKQSegwEWER/d1msojPP0kcZtyyTSPDIB8CNDoTxyEIR8KClezL+ETns/hg YP5Cy+wGx6wwDjRmDc6k3DrSsDtIiq8/xMMbSPf7EkgPfPKz9Q7KAWZzUUpN3+rZ/qJh BJPw== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=mXaXoLKyGhTc+e3Ch1svNkas8qY3ZhkD5nZgHsfhYts=; b=x3WdLMlggzqXRKpm+gLOyCbllEgJPTHlW3Nsr5estCzo0EflaRQq4WBRWwle/FgBLt aoYVqBmT2pzKGtV3o72qu1W4zSJIrHg3w42mzLr3EVAKNzvWms7XVFAY9APG1nbD9S2J TDtCsokuJOjl77SAvHYsrgF5lknMJLrAiRz81qbmHK/YBUWfz8Y/Cm9ZhOAr0ZdXGFrq Tf+ejHO5FHDIuiBwumELrwLRJ0TnFopiyyYBgKHhp/jz66svh0ZWtOmz1j7i7YSyi0lR sY2Al2KQomtlUOZe6Pby8teCXcCZ4tLLEp8oy8gBWRoXxXV13VGPqocAmG92cG19l2kZ 6GKA== 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 34si10132769edk.26.2019.10.01.07.06.09; Tue, 01 Oct 2019 07:06:35 -0700 (PDT) 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 S2387622AbfJAOEn (ORCPT + 99 others); Tue, 1 Oct 2019 10:04:43 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:40394 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726554AbfJAOEn (ORCPT ); Tue, 1 Oct 2019 10:04:43 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D19F5D31F20412817C8C; Tue, 1 Oct 2019 22:04:41 +0800 (CST) Received: from [127.0.0.1] (10.202.227.179) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Tue, 1 Oct 2019 22:04:36 +0800 Subject: Re: [PATCH 3/3] arm64: configs: unset CPU_BIG_ENDIAN To: Anders Roxell , , References: <20190926193030.5843-1-anders.roxell@linaro.org> <20190926193030.5843-5-anders.roxell@linaro.org> CC: , From: John Garry Message-ID: Date: Tue, 1 Oct 2019 15:04:32 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20190926193030.5843-5-anders.roxell@linaro.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.179] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/09/2019 20:30, Anders Roxell wrote: > When building allmodconfig KCONFIG_ALLCONFIG=$(pwd)/arch/arm64/configs/defconfig > CONFIG_CPU_BIG_ENDIAN gets enabled. Which tends not to be what most > people wants. Today allmodconfig does not enable CONFIG_ACPI due to BE config, which is quite unfortunate, I'd say. > > Rework so that we disable CONFIG_CPU_BIG_ENDIAN in the defcinfig file so defconfig > it doesn't get enabled when building allmodconfig kernels. When doing a > 'make savedefconfig' CONFIG_CPU_BIG_ENDIAN will be dropped. So without having to pass KCONFIG_ALLCONFIG or do anything else, what about a config for CONFIG_CPU_LITTLE_ENDIAN instead? I'm not sure if that was omitted for a specific reason. Thanks, John > > Signed-off-by: Anders Roxell > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index 878f379d8d84..c9aa6b9ee996 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -855,3 +855,4 @@ CONFIG_DEBUG_KERNEL=y > # CONFIG_SCHED_DEBUG is not set > CONFIG_MEMTEST=y > # CONFIG_CMDLINE_FORCE is not set > +# CONFIG_CPU_BIG_ENDIAN is not set >