Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp21947pxb; Wed, 30 Mar 2022 21:45:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU+xXYE+S5R5KwyOufWy40KWs2QglV5vzLeBRMpp5QA6iL5L8Suq7AajwnfXcAzd4BDAE9 X-Received: by 2002:a05:6a00:21c5:b0:4f7:312a:89a5 with SMTP id t5-20020a056a0021c500b004f7312a89a5mr3382525pfj.72.1648701953417; Wed, 30 Mar 2022 21:45:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648701953; cv=none; d=google.com; s=arc-20160816; b=ktb4Du9zsgBtOn/afRDTJ0RL4fUl8644VZXpToioRz98NFlbZiII/pFXD1qoMybrt7 ED+7SJeEdF23H370mW5xyDeapek7cjvCAVJQp4CQzis9X8S3EHvAR8+rWKEa52NUKIL2 fcUIvayNnVlM9ApmiSc4F439XHWbUA2Slzx5Kw1K2Oo7z0zjF68Vmz5FuM7cSeT/3UQB bsz+wdLxB7nCwr+n2uKdG8vog+mDU99JxKqRp8j0wO0AjGusnW/dOHXk6ekifuXphIgh xUTOCO5fagsdKUEL1caXBfHYf0K548Cih91+S/4s7D+Urvg1qf4CJt5i98JSZj5P9QWs 2SxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=U9zO2VjEfcnf0909d6++ju/1OJUEILfzxnC2J1XVZEg=; b=hfiNFg1Yow2lu0nnf4FT7VWGm7iHYb6ATYEvC9pZVP5xb2+4cQsWomcd1UT0K0G269 BrsYucAUbi5JK6DRbrYSsqi5qtuN59V3osqDCTo4BGsaodgkyKECQJXzBoH9gQUkCNRK C4MglPSu86/7j8yFiJrqhdTdoIK6IF43FMj5sHh413PbLPTL6EeONnZbe/5p61RA6/Oq 9Wis38hQ5LuwprnNaW2+7X9zkrAfcsKXYwHji28D0fh8U5EtZGgv3c86QUJ2p2SrWfoB EVxM/PeG7Ef7OfTIgqXkn/wiascOFFX5z0jltjdI1FAg3yE2kOFQZKf4+5TODeKs1S96 VteQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id nu4-20020a17090b1b0400b001c69d1881f0si2362799pjb.154.2022.03.30.21.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:45:53 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6CB1E1ED07A; Wed, 30 Mar 2022 20:27:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243488AbiC3RXv (ORCPT + 99 others); Wed, 30 Mar 2022 13:23:51 -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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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