Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp32948ybn; Thu, 3 Oct 2019 00:51:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqx43zU5M/aHSrL9yYpm6y4u9uSMUEz27Juj79gylLRu8Gp6u1An6qO0bj2vjadxj2Airb78 X-Received: by 2002:a50:a5f8:: with SMTP id b53mr8053942edc.39.1570089086103; Thu, 03 Oct 2019 00:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570089086; cv=none; d=google.com; s=arc-20160816; b=pF1NotcXuBSB3PvUbZVzMDADGNi/kssayXlphC3R3xeVxfBNOl/eAyW7ngVXi4GYfi 6tFjopqAPJQJooqDw3W3IDvZ84PyWPTsPkeZLrmdyzpzWvh0RZ7MDfdv0N+iTadpoRD7 XvoAt2lk7kF1ejWqOr1CqhT4sfMgPdFk5fV/xKPgF5oI2VEWsWpzeAPhjiT18waKIIfn ik7JEMpWu91knW3MEh+kBUM8Lg4obRp0hDLjZdRvp8MIS+CbrRWGx4k4+G6Dg1N1vB0d MUgfn2mWJHdx5RLkPTuRcRz22Ut8kkdTCYVHxi1/PknrHlLSgREwcKhhKqtFjs1tl7m5 3LUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=E7iqFe1lhn8LdVCxH7rgleIidp2/4wVxSz9as/XPLSU=; b=A8UkTaaqjijVgM2ZZAkDDumGigfnBv+N267bsLZPNQ9fU6eItde7qLfoSFrru5lTNO gPs9sRy+M1H5v656cetR4lEb8xTXDludNjBmDLN4E3uD75HEmM6OnebFoDqZp07Pj8rK 08FO7GUJ5KxgX1cngHzt/cQMZ8dWp8t5xunNfib3wBH2GS1brFQAjIip6YBRJoJ6HA0l R4pCZwUjI/YzsMBkd3E44+5Z5B2f0y+1jly1oRvpiLQggBqnATbriPR+iG1Z/tIqBv9K W5ufSBJsEysdtmd/0QkGVvBJgPh5PJ3cCY22ckNjm02F0FES2giuPEMId9DtTpj0LR07 gR1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CjfB28DM; 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 u1si794016ejt.143.2019.10.03.00.51.01; Thu, 03 Oct 2019 00:51:26 -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; dkim=pass header.i=@linaro.org header.s=google header.b=CjfB28DM; 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 S1728272AbfJCHkx (ORCPT + 99 others); Thu, 3 Oct 2019 03:40:53 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38693 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725497AbfJCHkx (ORCPT ); Thu, 3 Oct 2019 03:40:53 -0400 Received: by mail-lj1-f195.google.com with SMTP id b20so1529049ljj.5 for ; Thu, 03 Oct 2019 00:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E7iqFe1lhn8LdVCxH7rgleIidp2/4wVxSz9as/XPLSU=; b=CjfB28DMRCqGQ++ofQBR0em6Kgtij9ayqHRRVD7m/As54ZH4FBQpZ14boAO5HnGqkR sAjU8jX8jETg5g6za2V3pd/MT1a09N58Wo/2WDdURo/zHLYH5ckEFHPWp5O2Gqxt+9pa UY4g5m+O0Z65ChGAr6wOP4T7JXFL4DXjRpI2UJ8AwKv+F6Iffpikg52L1+iwwJKL7gQX PUt5HQoUO7929q0IwmWtbhEG3dbbmTCT2i3UbmbiqUNtbz7aYWBs5MOJu+c3tcjwWGBX gLhaQt3y2tjryDIy4u4SmCyrIDvzYpmwBcPy51x7ncF6VzYSYhzp7mHQOGyuK6Wkru3Q It5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E7iqFe1lhn8LdVCxH7rgleIidp2/4wVxSz9as/XPLSU=; b=qwlyHIxXL9puZ+lkg0yDoXvlXaXJCR0L6/Kr5FkF691KEIPE3mh53AFy0zI3PKxSQ7 Q2G0oEompHMnIacC1bQdo0rOMAFM5Wj+AYn+i9g+Ribvsohc3CYF6k+XvYLGAjODL4ou 216fu0TxX804SQVbcFbIAzo/Xh/rpwn2qWkCIf/ZeaqQ42VczSDA5Q9LprZ2Qgx8oO3+ jnmg/H25UaAtYp++1jGoXeQQNtJWIPaXIKK3C1m2oTau0RYvL/agw/uqNb7RjI+DwYJT 8LOt19XrzgnP7baWqaE4IzVRqRWZBL716X2p5auDdFW1fK+6fY0J1eFgSOi/tEUFn1wx gELQ== X-Gm-Message-State: APjAAAXxAa+3k46FDnb5Q02l733kqBL71HYjssGZQ0B0uRrK8Brux+Yk A/FHltnyuTeR1IJJRyJSA+oNzV0oinUhf6AW+BEOtg== X-Received: by 2002:a2e:530d:: with SMTP id h13mr5131568ljb.109.1570088451104; Thu, 03 Oct 2019 00:40:51 -0700 (PDT) MIME-Version: 1.0 References: <20190926193030.5843-1-anders.roxell@linaro.org> <20190926193030.5843-5-anders.roxell@linaro.org> In-Reply-To: From: Anders Roxell Date: Thu, 3 Oct 2019 09:40:40 +0200 Message-ID: Subject: Re: [PATCH 3/3] arm64: configs: unset CPU_BIG_ENDIAN To: John Garry Cc: Catalin Marinas , Will Deacon , Linux Kernel Mailing List , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ? 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 > > > >