lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 30 Mar 2022 12:07:06 -0500
From:   Segher Boessenkool <segher@...nel.crashing.org>
To:     Michael Ellerman <mpe@...erman.id.au>
Cc:     Michal Suchánek <msuchanek@...e.de>,
        Paul Menzel <pmenzel@...gen.mpg.de>,
        Alexey Kardashevskiy <aik@...abs.ru>, jniethe5@...il.com,
        ganeshgr@...ux.ibm.com, wangborong@...rlc.com,
        bigunclemax@...il.com, Miroslav Benes <mbenes@...e.cz>,
        hbh25y@...il.com, mikey@...ling.org,
        Joe Lawrence <joe.lawrence@...hat.com>,
        Bhaskar Chowdhury <unixbhaskar@...il.com>,
        "Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>,
        Helge Deller <deller@....de>, danielhb413@...il.com,
        haren@...ux.ibm.com, mamatha4@...ux.vnet.ibm.com,
        Corentin Labbe <clabbe@...libre.com>,
        Wedson Almeida Filho <wedsonaf@...gle.com>,
        "Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>,
        Thierry Reding <treding@...dia.com>,
        kernel.noureddine@...il.com, nathanl@...ux.ibm.com,
        Petr Mladek <pmladek@...e.com>,
        YueHaibing <yuehaibing@...wei.com>,
        Kees Cook <keescook@...omium.org>,
        Arnd Bergmann <arnd@...db.de>, guozhengkui@...o.com,
        kjain@...ux.ibm.com, chenjingwen6@...wei.com,
        Nick Piggin <npiggin@...il.com>, oss@...error.net,
        rmclure@...ux.ibm.com, maddy@...ux.ibm.com,
        Christophe JAILLET <christophe.jaillet@...adoo.fr>,
        psampat@...ux.ibm.com, sachinp@...ux.ibm.com,
        Anders Roxell <anders.roxell@...aro.org>,
        ldufour@...ux.ibm.com, hbathini@...ux.ibm.com,
        Athira Jajeev <atrajeev@...ux.vnet.ibm.com>,
        farosas@...ux.ibm.com, Geoff Levand <geoff@...radead.org>,
        linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
        Randy Dunlap <rdunlap@...radead.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        sourabhjain@...ux.ibm.com, Julia Lawall <Julia.Lawall@...ia.fr>,
        Ritesh Harjani <riteshh@...ux.ibm.com>, cgel.zte@...il.com,
        Vaibhav Jain <vaibhav@...ux.ibm.com>, tobias@...dekranz.com,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Jakob Koschel <jakobkoschel@...il.com>
Subject: Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.18-1 tag

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ