Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4775522ybp; Mon, 14 Oct 2019 09:50:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6wzxSB/yBFmhUVCXfsBj1bC686AoMFAmBjB3Y2++WDL0F80orTNzigJiEzd3LSLwU933W X-Received: by 2002:a50:da0f:: with SMTP id z15mr29211507edj.137.1571071828449; Mon, 14 Oct 2019 09:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571071828; cv=none; d=google.com; s=arc-20160816; b=JY+5FmnhySB8hWiO+QfDlFFm2aaQOuyt1gsg3yENI84T7n/PYJFd+5h0LceqBIY+RI WvN/DgIv6k+D37ewdxZbNowO47e0rH5TgjEVmSOOMAwYPLQnE23HUajsIde81jFYM7g4 Iq66++kebWMbB4gD/X3QrG/IZ+DRMXzKB2n5lywtxo5FhogeYBUYuJnHCdLgaakAIjDP 6AD7KgXqUcJL+ccCVNrz+9M1urjC5QOu4qMBYVG550B3aEXbIlEi5NSYJx7HOEkeZhgP v/jpjWPqpuxTAQSBF+1bT4GnGfSSV2We7GR6cPp6Br4gDci5t31coUEL+bi8xL6K70KK k/fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NCUt1ROv7IIiWkas4RnfGs6+xPpoT8Q4UWVq+KL+1oM=; b=cxylo9bCMGqCTZuCmvdBZJJdq6H1aBu5zmQAn10fv8/Lt0tMz6i6HnEhgiMjWCTYvq GwkFUau6ZyUD/ZG23ouosOIQg9r2vXPl2GpePUghZEkFIMy6Lx4NNWZNtUgutUgILipd PK7gKvsE/59WdERYdDFuxtPANjjrIit/rXftCavGk/lEXTSsXlqwLjYUfsMXXBLRyelq rZEbqGLGMm13iF3K7cf5LBbe7EsVnyic10MgalL53OZOuHGCfZ4/fdCE/Z1OPm0CNgZb ebBce10SEdt2ARQdOudIF4NWZxn3sXUfPATItK7sOdvCnMQMTka7ZBgXJS1Audm0qc+G wfow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mf39s8I0; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8si10648517ejr.33.2019.10.14.09.50.05; Mon, 14 Oct 2019 09:50:28 -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=@kernel.org header.s=default header.b=mf39s8I0; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387614AbfJNQUe (ORCPT + 99 others); Mon, 14 Oct 2019 12:20:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:36714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729271AbfJNQUd (ORCPT ); Mon, 14 Oct 2019 12:20:33 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 011522133F; Mon, 14 Oct 2019 16:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571070033; bh=oZaj+ScZ6I1k6tX7lCFyDcuNyxoMhfnp8ALm8sIP41Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mf39s8I0HuBnOrqaQwqxpXSJtLitEorvrbW7QyKsEExq5XMosHsONryJU3khI7odT Nl53TdSUelOxp03w2YWpW8c1aYJyiXdvhIWR8Boi/Uw/HkVPhrPKNV9bToaQU/m5bc QdbAAGbVyfW1QxTKBrVX0O1ICYlJ4dh6bIfpVa/g= Date: Mon, 14 Oct 2019 17:20:29 +0100 From: Will Deacon To: Arnd Bergmann Cc: Hanjun Guo , Anders Roxell , Catalin Marinas , John Garry , Linux Kernel Mailing List , Olof Johansson , Linux ARM Subject: Re: [PATCH 3/3] arm64: configs: unset CPU_BIG_ENDIAN Message-ID: <20191014162028.eixypo7vlsb3pdgn@willie-the-truck> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) 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 04:05:57PM +0200, Arnd Bergmann wrote: > 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). Agreed on both counts. > 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? I suspect "everything" is probably much narrower in scope than for little-endian configurations simply because of the lack of distribution support and associated testing. If the companies using it are willing to contribute back fixes as they run into problems, then that's probably the best we can hope for. Will