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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6FFB5C433EF for ; Wed, 30 Mar 2022 17:18:44 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KTCnt6NMJz3c40 for ; Thu, 31 Mar 2022 04:18:42 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.crashing.org (client-ip=63.228.1.57; helo=gate.crashing.org; envelope-from=segher@kernel.crashing.org; receiver=) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lists.ozlabs.org (Postfix) with ESMTP id 4KTCnK13Jnz2yb7 for ; Thu, 31 Mar 2022 04:18:12 +1100 (AEDT) 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 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 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Randy Dunlap , Petr Mladek , Alexey Kardashevskiy , jniethe5@gmail.com, ganeshgr@linux.ibm.com, wangborong@cdjrlc.com, Jakob Koschel , 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, Wedson Almeida Filho , Corentin Labbe , mamatha4@linux.vnet.ibm.com, "Naveen N. Rao" , Thierry Reding , kernel.noureddine@gmail.com, nathanl@linux.ibm.com, Paul Menzel , 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, bigunclemax@gmail.com, ldufour@linux.ibm.com, hbathini@linux.ibm.com, Athira Jajeev , Michal =?iso-8859-1?Q?Such=E1nek?= , farosas@linux.ibm.com, Geoff Levand , Linus Torvalds , Anders Roxell , Linux Kernel Mailing List , sourabhjain@linux.ibm.com, Julia Lawall , Ritesh Harjani , cgel.zte@gmail.com, Vaibhav Jain , linuxppc-dev , tobias@waldekranz.com Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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