Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp226639ybn; Thu, 3 Oct 2019 04:17:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqye/X1QOHzy5fLUJxy+J7SpGankVyxZl5qJxwH4LLQPeVW2hq3P1PmJt4plogA0m24Qub41 X-Received: by 2002:a17:906:d0d2:: with SMTP id bq18mr7198525ejb.233.1570101458804; Thu, 03 Oct 2019 04:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570101458; cv=none; d=google.com; s=arc-20160816; b=WBLMzSE4AHUprjpBw1XmG2q8bk23F+5bzzdTwFq86//RW6p7SiIrR5CW/B1DOhxK4Y +wE1MBfU+dqmfKbY/pGPwnYhczfFDYSR/EqJWGgXs+4kVjI3v7JSJpbSPusqa3xuLuoM V74qecriq8sELDR1UfeQgnVVOQbpQhrjGPGZPmdqXakxcwhF2iIMBA1CopW5pmjMqyH2 0dk1Y5C1Sol9PxDne4+inXpI+jUYutezoLLxD/JPM/ROntE00Wx3IKJbT6/WRyEuuf9A K8zWPjLTaf1o9q6UDzlh8jrChc4AYAsfZll58KdJMaNmXkiWP5HSTZwAC8Z9Joebrt1Q toJw== 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=IR26zei6Jz56SVHfoZ8CynAcLrS1xGaFXOcm8fITRfE=; b=ysO+tE3yFjFm9qgxaCAwVj6k4Nk6zlZktcq9itM5VUPd59OC+/0qypgNj4HTdLY2Fw F6K7H3PSsCTBqEtfJl2VJEYR0cw/9VOS2u3goENspuA63yH07voWFY1WU4yeMttYfpUj azmT0PfY2QBNq1Hn6AaiNh8nsa+FDAqsaDztVVBWXqKOY6X2iU1d14lcWtTYk/UuF4n3 idFksbfNj0C3PSkhHTHf8rtmvskS3fq7arMcPGQdYgFBiIRlmE4fN0Gt8C8dqrdMvj/7 CWEkJ+ZoOddPD1t0CvTYAbDCMD8sjUDqoLPEbERkThZtt9ix+FrSzrMsFySMiTpj3tMB fB0w== 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 n2si1192888edt.408.2019.10.03.04.17.14; Thu, 03 Oct 2019 04:17:38 -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 S1729694AbfJCLPr (ORCPT + 99 others); Thu, 3 Oct 2019 07:15:47 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3237 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729241AbfJCLPr (ORCPT ); Thu, 3 Oct 2019 07:15:47 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id B6B522487246D09D5E84; Thu, 3 Oct 2019 19:15:38 +0800 (CST) Received: from [127.0.0.1] (10.202.227.179) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Thu, 3 Oct 2019 19:15:37 +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: Catalin Marinas , Will Deacon , Linux Kernel Mailing List , Linux ARM , Arnd Bergmann , "Olof Johansson" From: John Garry Message-ID: Date: Thu, 3 Oct 2019 12:15: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: Content-Type: text/plain; charset="utf-8"; 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 03/10/2019 08:40, Anders Roxell wrote: > On Tue, 1 Oct 2019 at 16:04, John Garry wrote: >> >> 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. > > right. > >> >>> >>> Rework so that we disable CONFIG_CPU_BIG_ENDIAN in the defcinfig file so >> >> defconfig > > thanks. > >> >>> 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. > > Oh, I tried to elaborate on the idea in the cover letter, that using > the defconfig > as base and then configure the rest as modules is to get a bootable kernel > that have as many features turned on as possible. That will make it possible > to run as wide a range of testsuites as possible on a single kernel. > > Does that make it clearer ? Hi Anders, Yeah, I got the idea. So when you say "'make savedefconfig' CONFIG_CPU_BIG_ENDIAN will be dropped", I don't know what the rules are in terms of resyncing the common defconfig (I was under the impression that it's done per release cycle by the arm soc maintainers, but can't find evidence as such), but your change may be easily lost in this way. Thanks, John > > Cheers, > Anders > > >> >> 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 >>> >> >> > > . >