qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-5.0?] linux-user/ppc: Fix padding in mcontext_t for ppc64


From: David Gibson
Subject: Re: [PATCH for-5.0?] linux-user/ppc: Fix padding in mcontext_t for ppc64
Date: Wed, 8 Apr 2020 14:33:49 +1000

On Tue, Apr 07, 2020 at 08:44:47PM -0700, Richard Henderson wrote:
> On 4/7/20 7:10 PM, David Gibson wrote:
> >> Should we in fact disable ppc64abi32?
> >> I can't see how it could work enough to be useful as-is.
> > 
> > Yeah, I think so.  Last time we had a problem in this area, I couldn't
> > even figure out what ppc64abi32 was supposed to *be*, let alone what
> > the use case for it is.  Given that, it's hard to imagine it's been
> > working (whatever that means) any time recently.
> 
> What it's *supposed* to be is a ppc32 binary running on a 64-bit cpu, e.g. a
> 32-bit binary on power7 with the kernel's compat syscalls.  You get to do
> native 64-bit arithmetic and have 32-bit pointers.

Right, I guessed that from the name, but I couldn't find anything that
explicitly confirmed that.

> I guess there's a kind of a use case there somewhere, but it's rather niche,

Extremely.

> and someone has to care more than they have until now.
> 
> 
> r~
> 

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]