linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Suchánek" <msuchanek@suse.de>,
	"Paul Menzel" <pmenzel@molgen.mpg.de>,
	"Alexey Kardashevskiy" <aik@ozlabs.ru>,
	jniethe5@gmail.com, ganeshgr@linux.ibm.com,
	wangborong@cdjrlc.com, bigunclemax@gmail.com,
	"Miroslav Benes" <mbenes@suse.cz>,
	hbh25y@gmail.com, mikey@neuling.org,
	"Joe Lawrence" <joe.lawrence@redhat.com>,
	"Bhaskar Chowdhury" <unixbhaskar@gmail.com>,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>,
	"Helge Deller" <deller@gmx.de>,
	danielhb413@gmail.com, haren@linux.ibm.com,
	mamatha4@linux.vnet.ibm.com,
	"Corentin Labbe" <clabbe@baylibre.com>,
	"Wedson Almeida Filho" <wedsonaf@google.com>,
	"Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>,
	"Thierry Reding" <treding@nvidia.com>,
	kernel.noureddine@gmail.com, nathanl@linux.ibm.com,
	"Petr Mladek" <pmladek@suse.com>,
	YueHaibing <yuehaibing@huawei.com>,
	"Kees Cook" <keescook@chromium.org>,
	"Arnd Bergmann" <arnd@arndb.de>,
	guozhengkui@vivo.com, kjain@linux.ibm.com,
	chenjingwen6@huawei.com, "Nick Piggin" <npiggin@gmail.com>,
	oss@buserror.net, rmclure@linux.ibm.com, maddy@linux.ibm.com,
	"Christophe JAILLET" <christophe.jaillet@wanadoo.fr>,
	psampat@linux.ibm.com, sachinp@linux.ibm.com,
	"Anders Roxell" <anders.roxell@linaro.org>,
	ldufour@linux.ibm.com, hbathini@linux.ibm.com,
	"Athira Jajeev" <atrajeev@linux.vnet.ibm.com>,
	farosas@linux.ibm.com, "Geoff Levand" <geoff@infradead.org>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	"Randy Dunlap" <rdunlap@infradead.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	sourabhjain@linux.ibm.com, "Julia Lawall" <Julia.Lawall@inria.fr>,
	"Ritesh Harjani" <riteshh@linux.ibm.com>,
	cgel.zte@gmail.com, "Vaibhav Jain" <vaibhav@linux.ibm.com>,
	tobias@waldekranz.com,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Jakob Koschel" <jakobkoschel@gmail.com>
Subject: Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.18-1 tag
Date: Wed, 30 Mar 2022 12:07:06 -0500	[thread overview]
Message-ID: <20220330170706.GV614@gate.crashing.org> (raw)
In-Reply-To: <87k0cbfuf4.fsf@mpe.ellerman.id.au>

On Thu, Mar 31, 2022 at 12:21:03AM +1100, Michael Ellerman wrote:
> Michal Suchánek <msuchanek@suse.de> writes:
> > On Mon, Mar 28, 2022 at 08:07:13PM +1100, Michael Ellerman wrote:
> >> Linus Torvalds <torvalds@linux-foundation.org> writes:
> >> > On Fri, Mar 25, 2022 at 3:25 AM Michael Ellerman <mpe@ellerman.id.au> 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

      parent reply	other threads:[~2022-03-30 17:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25 10:25 [GIT PULL] Please pull powerpc/linux.git powerpc-5.18-1 tag Michael Ellerman
2022-03-25 16:49 ` Linus Torvalds
2022-03-28  9:07   ` Michael Ellerman
2022-03-30 11:27     ` Michal Suchánek
2022-03-30 13:21       ` Michael Ellerman
2022-03-30 13:44         ` Arnd Bergmann
2022-03-30 17:07         ` Segher Boessenkool [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220330170706.GV614@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=Julia.Lawall@inria.fr \
    --cc=aik@ozlabs.ru \
    --cc=anders.roxell@linaro.org \
    --cc=aneesh.kumar@linux.ibm.com \
    --cc=arnd@arndb.de \
    --cc=atrajeev@linux.vnet.ibm.com \
    --cc=bigunclemax@gmail.com \
    --cc=cgel.zte@gmail.com \
    --cc=chenjingwen6@huawei.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=clabbe@baylibre.com \
    --cc=danielhb413@gmail.com \
    --cc=deller@gmx.de \
    --cc=farosas@linux.ibm.com \
    --cc=ganeshgr@linux.ibm.com \
    --cc=geoff@infradead.org \
    --cc=guozhengkui@vivo.com \
    --cc=haren@linux.ibm.com \
    --cc=hbathini@linux.ibm.com \
    --cc=hbh25y@gmail.com \
    --cc=jakobkoschel@gmail.com \
    --cc=jniethe5@gmail.com \
    --cc=joe.lawrence@redhat.com \
    --cc=keescook@chromium.org \
    --cc=kernel.noureddine@gmail.com \
    --cc=kjain@linux.ibm.com \
    --cc=ldufour@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mamatha4@linux.vnet.ibm.com \
    --cc=mbenes@suse.cz \
    --cc=mikey@neuling.org \
    --cc=mpe@ellerman.id.au \
    --cc=msuchanek@suse.de \
    --cc=nathanl@linux.ibm.com \
    --cc=naveen.n.rao@linux.vnet.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=oss@buserror.net \
    --cc=pmenzel@molgen.mpg.de \
    --cc=pmladek@suse.com \
    --cc=psampat@linux.ibm.com \
    --cc=rdunlap@infradead.org \
    --cc=riteshh@linux.ibm.com \
    --cc=rmclure@linux.ibm.com \
    --cc=sachinp@linux.ibm.com \
    --cc=sourabhjain@linux.ibm.com \
    --cc=tobias@waldekranz.com \
    --cc=torvalds@linux-foundation.org \
    --cc=treding@nvidia.com \
    --cc=unixbhaskar@gmail.com \
    --cc=vaibhav@linux.ibm.com \
    --cc=wangborong@cdjrlc.com \
    --cc=wedsonaf@google.com \
    --cc=yuehaibing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).