From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMmLf-0002Ho-Jj for qemu-devel@nongnu.org; Wed, 27 Aug 2014 19:09:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMmLb-0004V7-DB for qemu-devel@nongnu.org; Wed, 27 Aug 2014 19:09:51 -0400 Date: Thu, 28 Aug 2014 01:09:46 +0200 From: "Serge E. Hallyn" Message-ID: <20140827230945.GB28935@mail.hallyn.com> References: <20140827175556.GA24631@mail.hallyn.com> <20140827184557.GB24631@mail.hallyn.com> <53FE4E13.1060803@suse.de> <53FE5E44.1070900@suse.de> <20140827230524.GA28935@mail.hallyn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140827230524.GA28935@mail.hallyn.com> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 1/1] Support ppc64le binfmt registration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Serge E. Hallyn" Cc: Peter Maydell , Benjamin Herrenschmidt , "qemu-ppc@nongnu.org" , Alexander Graf , QEMU Developers Quoting Serge E. Hallyn (serge@hallyn.com): > Quoting Alexander Graf (agraf@suse.de): > > > > > > On 27.08.14 23:35, Peter Maydell wrote: > > > On 27 August 2014 22:30, Alexander Graf wrote: > > >> > > >> > > >> On 27.08.14 21:01, Peter Maydell wrote: > > >>> [adding qemu-ppc] > > >>> > > >>> On 27 August 2014 19:45, Serge E. Hallyn wrote: > > >>>> Quoting Peter Maydell (peter.maydell@linaro.org): > > >>>>> On 27 August 2014 18:55, Serge E. Hallyn wrote: > > >>>>>> This is a part of a patch proposed by jaejunh at > > >>>>>> https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1358268 > > >>>>>> which enables running ppc64le binaries through qemu-user. > > >>>>> > > >>>>> I'm confused -- wouldn't these be handled by the existing > > >>>>> "ppc64le" support? > > >>> > > >>>> It looks to me like the point was to add a TARGET_ABI32=y > > >>>> version (and I dunno, something about CONFIG_LIBDECNUMBER=y > > >>>> for 32-bit). > > >>> > > >>> Wouldn't that be a "ppc64leabi32" target? > > >> > > >> There is no LE support for 32bit on PPC :). > > > > > > ...in that case what is the original bug reporter actually > > > asking for? > > > > Not sure - the only thing that remotely resembles what he's describing > > would be if you enable the 32bit personality: > > > > $ /uname-a.sh > > Linux tempranillo 3.17.0-rc1-2-default+ #1 SMP Thu Jan 1 01:04:00 CET > > 1970 ppc64le ppc64le ppc64le GNU/Linux > > > > $ perl -e 'syscall(136, 8); exec "/uname-a.sh"' > > Linux tempranillo 3.17.0-rc1-2-default+ #1 SMP Thu Jan 1 01:04:00 CET > > 1970 ppcle ppcle ppcle GNU/Linux > > > > but that doesn't mean that there is an actual ABI change. The ABI is > > still ppc64le, as all binaries are still running in 64bit mode. > > > > So before we add anything to QEMU, I would like to first see someone > > point me to kernel patches that actually enable LE on Linux for 32bit > > user space. So far I'm not aware of any (and I doubt it makes much sense). > > Thanks, guys, I'll ping him for that. (Fwiw my reading of the original bug description is that in fact he is working on the kernel patch in question)