Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2267011ybp; Sat, 12 Oct 2019 07:08:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuthGBb/tm0kXlC8/HV8BhQwcsuHUwiBa01pK/aXscRfwF2gOPhx1jx/pCgSQPrsFXYhsl X-Received: by 2002:a50:ec8f:: with SMTP id e15mr18705136edr.106.1570889324023; Sat, 12 Oct 2019 07:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570889324; cv=none; d=google.com; s=arc-20160816; b=aZ7ayTUk1oTH88wGhSmuZePliakTKzgS+QSK7JUnEcY05cGLLFCaqHw9l5tQ5/i6y8 BnrhMAc2Cuaygqr7a5zJYsq6UAVNH+BxreR7LEo5Pgoh4rUXFbEXDVq7MUNSHrC3SV1k 8oSw6JVuMcAeSPqhyjKVuECcUeap23g5yPUsoVk0TxvZ2fvODHM9eWyFgDZFMN340gaD FmyxPcPbNzw8D7x9/MhETbnWkhRd3a1rje2m7+SwcbCGzxefDXi12kAeyITL3bKZv8dY RSilj9oJDAvf8RRK/wjcJVxSl50VRCkd9EcwfrxeQtX+W44bYcKB9qPBaksJl9di5nTU 5aDA== 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; bh=24ZirRRGg0v732pLKiSe7vKc4Up3RxG069bpntU0vog=; b=Hc9bV5TARTmkEvhFS5DyvSOr3JTvXaNbwjT5lx9ei8jCTIhOPVu8qtH8b+7WxxaXDR vH4P2foiMYWQJXg45NtfZ/F5AVMd5ecVDhP/RLKhJy3JywZIo8FZ6jGKoR79ZQR3jhdK +DQP3lDq9NuCiQAcGTgWHtclgRYrz8tBpbO/4fndejqQcK4ufaFrtlfdNdC8QI7DojLD CRTHCBoWmEinw8zVhF4mgz75EkanBBmlp6axc1MsHLNHgXEElxOteWvH6wNI9ep7AD4L vdyGrIyzfq8kX5lflRyY7KSbJHQbidA8yPABvl5ajyAi5bf/vS7Ja9Ipc9C3UqUzFabO Fltg== 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 gh16si7308225ejb.150.2019.10.12.07.08.20; Sat, 12 Oct 2019 07:08:44 -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 S1729210AbfJLOGQ (ORCPT + 99 others); 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-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