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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4326BC433EF for ; Wed, 30 Mar 2022 17:22:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349242AbiC3RXx (ORCPT ); Wed, 30 Mar 2022 13:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349333AbiC3RX1 (ORCPT ); Wed, 30 Mar 2022 13:23:27 -0400 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1AF3B271 for ; Wed, 30 Mar 2022 10:21:40 -0700 (PDT) Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 22UH7CgV004223; Wed, 30 Mar 2022 12:07:12 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 22UH76l5004220; Wed, 30 Mar 2022 12:07:06 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Wed, 30 Mar 2022 12:07:06 -0500 From: Segher Boessenkool To: Michael Ellerman Cc: Michal =?iso-8859-1?Q?Such=E1nek?= , Paul Menzel , Alexey Kardashevskiy , jniethe5@gmail.com, ganeshgr@linux.ibm.com, wangborong@cdjrlc.com, bigunclemax@gmail.com, Miroslav Benes , hbh25y@gmail.com, mikey@neuling.org, Joe Lawrence , Bhaskar Chowdhury , "Aneesh Kumar K.V" , Helge Deller , danielhb413@gmail.com, haren@linux.ibm.com, mamatha4@linux.vnet.ibm.com, Corentin Labbe , Wedson Almeida Filho , "Naveen N. Rao" , Thierry Reding , kernel.noureddine@gmail.com, nathanl@linux.ibm.com, Petr Mladek , YueHaibing , Kees Cook , Arnd Bergmann , guozhengkui@vivo.com, kjain@linux.ibm.com, chenjingwen6@huawei.com, Nick Piggin , oss@buserror.net, rmclure@linux.ibm.com, maddy@linux.ibm.com, Christophe JAILLET , psampat@linux.ibm.com, sachinp@linux.ibm.com, Anders Roxell , ldufour@linux.ibm.com, hbathini@linux.ibm.com, Athira Jajeev , farosas@linux.ibm.com, Geoff Levand , linuxppc-dev , Randy Dunlap , Linux Kernel Mailing List , sourabhjain@linux.ibm.com, Julia Lawall , Ritesh Harjani , cgel.zte@gmail.com, Vaibhav Jain , tobias@waldekranz.com, Linus Torvalds , Jakob Koschel Subject: Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.18-1 tag Message-ID: <20220330170706.GV614@gate.crashing.org> References: <87zglefhxd.fsf@mpe.ellerman.id.au> <87wngefnsu.fsf@mpe.ellerman.id.au> <20220330112733.GG163591@kunlun.suse.cz> <87k0cbfuf4.fsf@mpe.ellerman.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87k0cbfuf4.fsf@mpe.ellerman.id.au> User-Agent: Mutt/1.4.2.3i Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 31, 2022 at 12:21:03AM +1100, Michael Ellerman wrote: > Michal Suchánek writes: > > On Mon, Mar 28, 2022 at 08:07:13PM +1100, Michael Ellerman wrote: > >> Linus Torvalds writes: > >> > On Fri, Mar 25, 2022 at 3:25 AM Michael Ellerman wrote: > >> > >> > That said: > >> > > >> >> There's a series of commits cleaning up function descriptor handling, > >> > > >> > For some reason I also thought that powerpc had actually moved away > >> > from function descriptors, so I'm clearly not keeping up with the > >> > times. > >> > >> No you're right, we have moved away from them, but not entirely. > >> > >> Functions descriptors are still used for 64-bit big endian, but they're > >> not used for 64-bit little endian, or 32-bit. > > > > There was a patch to use ABIv2 for ppc64 big endian. I suppose that > > would rid usof the gunction descriptors for good. > > It would be nice. > > The hesitation in the past was that the GNU toolchain developers don't > officially support BE+ELFv2, though it is in use so it does work. We do not officially support ELFv2 BE because there are no significant users, so we cannot have the same confidence it works correctly. It isn't tested often with GCC for example, mainly because it isn't convenient to do without pre-packaged user space for it (and on the other hand, there isn't much demand for it). > > Maybe it's worth resurrecting? > > Yeah maybe we should think about it again. If it builds with clang/lld > that would be a real plus. With GCC it should work fine still. But no doubt you will find some edge cases... which you won't find until you try :-) Segher