From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1091C4CECE for ; Sat, 12 Oct 2019 14:06:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84F762087E for ; Sat, 12 Oct 2019 14:06:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729247AbfJLOGQ (ORCPT ); Sat, 12 Oct 2019 10:06:16 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:38358 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727265AbfJLOGQ (ORCPT ); Sat, 12 Oct 2019 10:06:16 -0400 Received: by mail-lf1-f68.google.com with SMTP id u28so8924360lfc.5 for ; Sat, 12 Oct 2019 07:06:15 -0700 (PDT) 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=24ZirRRGg0v732pLKiSe7vKc4Up3RxG069bpntU0vog=; b=lUnmS9osxdIVlpOb8Z/8YAVtfFRBBKBhsPMhu/2sGiiv2W7JDFRo7NrcetTZWZbBud PIhzA6RGkgVlJ25lnEcJMUK4ACWFbevrZpJYqcBUGx+BIbUo8aMN7wxuzSXCOi7spZgm DwNdG+y7jQ5oqCfCxxX9y2UxWEh+N6eExQ8KxFsM5TiTkxrCZl4l6/E3A7ctRuar+i4k bBAHyxIh0+CZRQjtpquPrMQuxomlOad46Hxy0yKX8LTD2lbRC6Z42Heqv40Va3cF19/n UQpgQ4g/N+ZW8qjJnz67ZSWM0SCk4hXgoyQbe/9sree9W5W54kF34v1ZqH5nDAZvLaPq t6Pg== X-Gm-Message-State: APjAAAUPZLDoofSnlkRZWWoFkVW4so86+DCiAwUg6QzBpBYojQorm0hz z3tVoduU74ehFSp2p94Kuh7F8HlbMh8Rmdnme5o= X-Google-Smtp-Source: APXvYqz/N44lTDZ3C6FqrxhAQd7CKTW7oprYc+Z10ugHoqrtiYGVXVVSW59S9Syz+o6xNYXpTYTOjsFJe1huv5MMCWw= X-Received: by 2002:a19:4b8f:: with SMTP id y137mr11923942lfa.19.1570889174048; Sat, 12 Oct 2019 07:06:14 -0700 (PDT) MIME-Version: 1.0 References: <20190926193030.5843-1-anders.roxell@linaro.org> <20190926193030.5843-5-anders.roxell@linaro.org> <20191011102747.lpbaur2e4nqyf7sw@willie-the-truck> <73701e9f-bee1-7ae8-2277-7a3576171cd4@huawei.com> In-Reply-To: <73701e9f-bee1-7ae8-2277-7a3576171cd4@huawei.com> From: Arnd Bergmann Date: Sat, 12 Oct 2019 16:05:57 +0200 Message-ID: Subject: Re: [PATCH 3/3] arm64: configs: unset CPU_BIG_ENDIAN To: Hanjun Guo Cc: Will Deacon , Anders Roxell , Catalin Marinas , John Garry , Linux Kernel Mailing List , Olof Johansson , 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 Sat, Oct 12, 2019 at 9:33 AM Hanjun Guo wrote: > > On 2019/10/11 18:27, Will Deacon wrote: > [...] > > > > Does anybody use BIG_ENDIAN? If we're not even building it then maybe we > > should get rid of it altogether on arm64. I don't know of any supported > > userspace that supports it or any CPUs that are unable to run little-endian > > binaries. > > FWIW, massive telecommunication products (based on ARM64) form Huawei are using > BIG_ENDIAN, and will use BIG_ENDIAN in the near future as well. Ok, thanks for the information -- that definitely makes it clear that it cannot go away anytime soon (though it doesn't stop us from change the allmodconfig default if we decide that's a good idea). Do you know if there are currently any patches against mainline to make big-endian work in products, or is everything working out of the box? Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40E5EC4360C for ; Sat, 12 Oct 2019 14:06:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0504A2087E for ; Sat, 12 Oct 2019 14:06:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kHG9mpby" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0504A2087E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fCvDXA3Es2NyTspH2vbt6YD83qSgUp3w9WnDdEJeoPM=; b=kHG9mpbyC4Yc2F UV7CkM7mS5TJBEXvbMwmqkCGqjt6BENsxi/ruKrTkq6dsnoXv0SpvScCz8yW/uRFggYsRi3sRO85T v93CZ6WinvZmokeXrfpahmrfr28PvFzYucxTOWI/0tRW24nH8OdMjBGZpkzgO5RpGCafL2x/f2zUp rQzDU9N4o2IwULri9vhjLoTJPc7yZbdhjrsbGDd3yMP8loTUmGs8zYtBByN2f7IOrEwVEJh8NdeJf qmLKPEbUs2dl0V4PluvdLbpTuuUqyIpV7DP1Jd4QPbDbQa5QAaaA1MjHsd1UlGfsQw7VQIxwtFwAP OqLygDX9pkZocl3MFrDw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJI2J-000703-63; Sat, 12 Oct 2019 14:06:23 +0000 Received: from mail-lf1-f65.google.com ([209.85.167.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJI2F-0006zR-Ds for linux-arm-kernel@lists.infradead.org; Sat, 12 Oct 2019 14:06:21 +0000 Received: by mail-lf1-f65.google.com with SMTP id w6so8938260lfl.2 for ; Sat, 12 Oct 2019 07:06:15 -0700 (PDT) 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=24ZirRRGg0v732pLKiSe7vKc4Up3RxG069bpntU0vog=; b=B0zB5rfPjPSRibiPrfEiRhwJwLZ2O7G58H93VAuqxp7bXWK9DfvTtsmej1elHJ+DkQ nBBegDtgsCK3TArjgx4xMf5tT3xgU/ZdM8bZv9QfgweFjF+QDXR4ZnW5nSzD7FQ9oyMd L3/RWeHhw0MtB+8g1GWPe9zcq3XodFlDBwPPOjjz6akB4y7u8EiRt6QXhz1+u5kEYV2T F4A887yGiBl+9/EloIRPqviUpCEnE2SuJ+3B7hNRM/0DwrCJtSuGCQQS3u2LOuWlWjmb FnKUBo2Pa9jj9/sLqfiFN7GH71B5rsTkpcJl5Gjr0CMi5z9ywDBTLB3Gv7lqSVXq0r4p oLRg== X-Gm-Message-State: APjAAAUqboGuCGVhsvgmPUI4pvBlGs98dB5lvnrdmwALqJ0Se5ApsAE0 dZyJOf0JSPx6WJt98YDSjXxrW1jJd12vgWMbpJI= X-Google-Smtp-Source: APXvYqz/N44lTDZ3C6FqrxhAQd7CKTW7oprYc+Z10ugHoqrtiYGVXVVSW59S9Syz+o6xNYXpTYTOjsFJe1huv5MMCWw= X-Received: by 2002:a19:4b8f:: with SMTP id y137mr11923942lfa.19.1570889174048; Sat, 12 Oct 2019 07:06:14 -0700 (PDT) MIME-Version: 1.0 References: <20190926193030.5843-1-anders.roxell@linaro.org> <20190926193030.5843-5-anders.roxell@linaro.org> <20191011102747.lpbaur2e4nqyf7sw@willie-the-truck> <73701e9f-bee1-7ae8-2277-7a3576171cd4@huawei.com> In-Reply-To: <73701e9f-bee1-7ae8-2277-7a3576171cd4@huawei.com> From: Arnd Bergmann Date: Sat, 12 Oct 2019 16:05:57 +0200 Message-ID: Subject: Re: [PATCH 3/3] arm64: configs: unset CPU_BIG_ENDIAN To: Hanjun Guo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191012_070619_465768_A530CA01 X-CRM114-Status: GOOD ( 12.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anders Roxell , Catalin Marinas , John Garry , Linux Kernel Mailing List , Olof Johansson , Will Deacon , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Oct 12, 2019 at 9:33 AM Hanjun Guo wrote: > > On 2019/10/11 18:27, Will Deacon wrote: > [...] > > > > Does anybody use BIG_ENDIAN? If we're not even building it then maybe we > > should get rid of it altogether on arm64. I don't know of any supported > > userspace that supports it or any CPUs that are unable to run little-endian > > binaries. > > FWIW, massive telecommunication products (based on ARM64) form Huawei are using > BIG_ENDIAN, and will use BIG_ENDIAN in the near future as well. Ok, thanks for the information -- that definitely makes it clear that it cannot go away anytime soon (though it doesn't stop us from change the allmodconfig default if we decide that's a good idea). Do you know if there are currently any patches against mainline to make big-endian work in products, or is everything working out of the box? Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel