Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp566981ybe; Mon, 2 Sep 2019 06:06:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqx81TbW/zATq3T+qVvddtOREOcAevoBOX/uN2pL2iBFIjIBxULm7ckNWW7skIggpPiXv/Vl X-Received: by 2002:a63:ec03:: with SMTP id j3mr26160075pgh.325.1567429562992; Mon, 02 Sep 2019 06:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567429562; cv=none; d=google.com; s=arc-20160816; b=TQ3BPLbQC0KvVJQaulV5ncWq3aWtkxMwAhaHFagioLHdcZph53bxoX+OhoAK+lw681 y/CvGq4ooPaRiRSq+5n+C72OzmEBw14B3cbmYqhX9BSn46OG9VulSI+3u3jR/fYQjWwx 3kzruADwtywFJY3I+HZmChNCSJass5Klsehpz/D9LHLxshKoxZpLswoxqhnSeKitUSUy IfJbhNepjctZhksCZc8IGGf9vgYJRJa39Jy5KBC4m1VN+O8fBWe8qFVEU7dnY3n75QQh huTXSuCD/+dMfy+fJopttHQJB4Ipjhu3KVqIHVP6Ynrob6FIszOho5CwWEpEe0xgetug zjCw== 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; bh=OFkfF9t2mtKPoah68F3yqogLEoXyjqRSHStiS5uUllA=; b=b+gQ4zdhpujjWRqD52uhJze+Kv5GPr6QarcDur3A6gYfODA8EnSNbufzpWZPZIuVJX W1GDPyyFZKyiHygWHsJsYlj2qqKaw1yJcJ6Ht9aIwz16tblgB8rKwd4MZNHTuQs73r+v /GwVQA7rvpWN/TiIQq9zU1oVpesPnM3GIsSH5K1kUW7w9saVGP6YnfBEHvbHj4RR03KT 85m57cVvC0BYl4iVarT6LlaCbVm6WHi1MXZjuoDTMFADZ5/8r39BdQi/CFpxEHsAD4Yb us4/VfEvG2lgYfHfxqI32RSyZnh3r/cLPt/xlpPCxy6doCfFfj3AkSIRQtpWyn5wUE+Z Kymw== 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 x4si3168467pjt.97.2019.09.02.06.05.47; Mon, 02 Sep 2019 06:06:02 -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 S1729913AbfIBNBb (ORCPT + 99 others); Mon, 2 Sep 2019 09:01:31 -0400 Received: from gate.crashing.org ([63.228.1.57]:53196 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729770AbfIBNBa (ORCPT ); Mon, 2 Sep 2019 09:01:30 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x82D0CbT029470; Mon, 2 Sep 2019 08:00:12 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id x82D09fF029469; Mon, 2 Sep 2019 08:00:09 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Mon, 2 Sep 2019 08:00:08 -0500 From: Segher Boessenkool To: Michael Ellerman Cc: Michal Suchanek , linuxppc-dev@lists.ozlabs.org, Benjamin Herrenschmidt , Paul Mackerras , Alexander Viro , Nicholas Piggin , Christophe Leroy , Breno Leitao , Arnd Bergmann , Heiko Carstens , Greg Kroah-Hartman , Firoz Khan , Thomas Gleixner , Joel Stanley , Hari Bathini , Michael Neuling , Andrew Donnellan , Russell Currey , Diana Craciun , "Eric W. Biederman" , David Hildenbrand , Allison Randal , Andrew Morton , Madhavan Srinivasan , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v7 5/6] powerpc/64: Make COMPAT user-selectable disabled on littleendian by default. Message-ID: <20190902130008.GZ31406@gate.crashing.org> References: <87ftlftpy7.fsf@mpe.ellerman.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ftlftpy7.fsf@mpe.ellerman.id.au> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 02, 2019 at 12:03:12PM +1000, Michael Ellerman wrote: > Michal Suchanek writes: > > On bigendian ppc64 it is common to have 32bit legacy binaries but much > > less so on littleendian. > > I think the toolchain people will tell you that there is no 32-bit > little endian ABI defined at all, if anything works it's by accident. There of course is a lot of powerpcle-* support. The ABI used for it on linux is the SYSV ABI, just like on BE 32-bit. There also is specific powerpcle-linux support in GCC, and in binutils, too. Also, config.guess/config.sub supports it. Half a year ago this all built fine (no, I don't test it often either). I don't think glibc supports it though, so I wonder if anyone builds an actual system with it? Maybe busybox or the like? > So I think we should not make this selectable, unless someone puts their > hand up to say they want it and are willing to test it and keep it > working. What about actual 32-bit LE systems? Does anyone still use those? Segher