Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-09-27 Thread Andrei Borzenkov
В Sat, 27 Sep 2014 09:42:04 +0400 Andrei Borzenkov пишет: > В Fri, 04 Apr 2014 20:24:58 +0200 > Dinar Valeev пишет: > > > On Fri, 2014-04-04 at 22:17 +0400, Andrey Borzenkov wrote: > > > В Fri, 4 Apr 2014 10:47:35 -0700 > > > Ram Pai пишет: > > > > > > > On Fri, Apr 04, 2014 at 06:28:51AM +04

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-09-26 Thread Andrei Borzenkov
В Fri, 04 Apr 2014 20:24:58 +0200 Dinar Valeev пишет: > On Fri, 2014-04-04 at 22:17 +0400, Andrey Borzenkov wrote: > > В Fri, 4 Apr 2014 10:47:35 -0700 > > Ram Pai пишет: > > > > > On Fri, Apr 04, 2014 at 06:28:51AM +0400, Andrey Borzenkov wrote: > > > > В Thu, 3 Apr 2014 13:32:22 -0700 > > > >

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-05 Thread Andrey Borzenkov
В Sat, 05 Apr 2014 20:29:24 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 05.04.2014 18:49, Andrey Borzenkov wrote: > > В Sat, 05 Apr 2014 17:45:30 +0200 > > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > > >> A problem is that restgpr and [al]sh[lr]di3 weren't used by any > >> plat

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 05.04.2014 18:49, Andrey Borzenkov wrote: > В Sat, 05 Apr 2014 17:45:30 +0200 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> A problem is that restgpr and [al]sh[lr]di3 weren't used by any >> platform. > > What do you mean? They are used, but resolved from -lgcc for all > current platfor

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-05 Thread Andrey Borzenkov
В Sat, 05 Apr 2014 17:45:30 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > A problem is that restgpr and [al]sh[lr]di3 weren't used by any > platform. What do you mean? They are used, but resolved from -lgcc for all current platforms. Where it breaks is ppc64le where libgcc for BE does not

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.04.2014 19:08, Andrey Borzenkov wrote: > В Fri, 04 Apr 2014 08:37:20 +0200 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> As for eliminating libgcc dependency I created branch phcoder/no-libgcc. > > I'm afraid it results in too much churn that will be unmanageable > > module-cmos.o `

Fwd: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Vladimir 'phcoder' Serbinenko
-- Forwarded message -- From: "Vladimir 'phcoder' Serbinenko" Date: 5 Apr 2014 01:45 Subject: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :) To: "Ram Pai" Cc: On 5 Apr 2014 00:19, "Ram Pai" wrote: > > O

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Ram Pai
On Fri, Apr 04, 2014 at 10:29:13PM +0200, Dinar Valeev wrote: > On Fri, 2014-04-04 at 23:12 +0400, Andrey Borzenkov wrote: > > В Fri, 04 Apr 2014 20:24:58 +0200 > > Dinar Valeev пишет: > > > > > > > > Right, my mistake. I recall a message message with 64bit LE patches. But > > > seems that came

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Dinar Valeev
On Fri, 2014-04-04 at 23:12 +0400, Andrey Borzenkov wrote: > В Fri, 04 Apr 2014 20:24:58 +0200 > Dinar Valeev пишет: > > > > > Right, my mistake. I recall a message message with 64bit LE patches. But > > seems that came from somewhere else. > > > > Long story short. With 32Bit BE stage one I ha

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Dinar Valeev
On Fri, 2014-04-04 at 22:17 +0400, Andrey Borzenkov wrote: > В Fri, 4 Apr 2014 10:47:35 -0700 > Ram Pai пишет: > > > On Fri, Apr 04, 2014 at 06:28:51AM +0400, Andrey Borzenkov wrote: > > > В Thu, 3 Apr 2014 13:32:22 -0700 > > > Ram Pai пишет: > > > > > > > > > > > They generate a 32bit BE grub

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Andrey Borzenkov
В Fri, 04 Apr 2014 20:24:58 +0200 Dinar Valeev пишет: > > Right, my mistake. I recall a message message with 64bit LE patches. But > seems that came from somewhere else. > > Long story short. With 32Bit BE stage one I had several issues like > accessing btrfs and booting from media. I gave up o

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Andrey Borzenkov
В Fri, 4 Apr 2014 10:47:35 -0700 Ram Pai пишет: > On Fri, Apr 04, 2014 at 06:28:51AM +0400, Andrey Borzenkov wrote: > > В Thu, 3 Apr 2014 13:32:22 -0700 > > Ram Pai пишет: > > > > > > > > They generate a 32bit BE grub binary on a LE system? No. I dont think > > > so. Because the cross-compil

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Ram Pai
On Fri, Apr 04, 2014 at 06:28:51AM +0400, Andrey Borzenkov wrote: > В Thu, 3 Apr 2014 13:32:22 -0700 > Ram Pai пишет: > > > > > They generate a 32bit BE grub binary on a LE system? No. I dont think > > so. Because the cross-compile tool chain is not enabled do so. > > > > bor@opensuse:/tmp/b

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Andrey Borzenkov
В Fri, 04 Apr 2014 08:37:20 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > As for eliminating libgcc dependency I created branch phcoder/no-libgcc. I'm afraid it results in too much churn that will be unmanageable module-cmos.o `test -f 'lib/ieee1275/cmos.c' || echo '../../grub-core/'`li

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03.04.2014 21:54, Andrey Borzenkov wrote: > В Thu, 3 Apr 2014 12:26:57 -0700 > Ram Pai пишет: > > >> Well. that is the issue. Various distros have varied support for >> cross-compilation (multi-arch support). If the distro does not >> have 32bit BE libraries natively installe

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 13:32:22 -0700 Ram Pai пишет: > > They generate a 32bit BE grub binary on a LE system? No. I dont think > so. Because the cross-compile tool chain is not enabled do so. > bor@opensuse:/tmp/binaries> file usr/bin/grub2-mkimage usr/bin/grub2-mkimage: ELF 64-bit LSB executable

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Vladimir 'phcoder' Serbinenko
On 3 Apr 2014 22:33, "Ram Pai" wrote: > > On Thu, Apr 03, 2014 at 11:54:46PM +0400, Andrey Borzenkov wrote: > > В Thu, 3 Apr 2014 12:26:57 -0700 > > Ram Pai пишет: > > > > > > > > > > > > > > > Well. that is the issue. Various distros have varied support for > > > > > > > cross-compilation (mult

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Ram Pai
On Thu, Apr 03, 2014 at 11:54:46PM +0400, Andrey Borzenkov wrote: > В Thu, 3 Apr 2014 12:26:57 -0700 > Ram Pai пишет: > > > > > > > > > > > > Well. that is the issue. Various distros have varied support for > > > > > > cross-compilation (multi-arch support). If the distro does not > > > > > >

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Ram Pai
On Thu, Apr 03, 2014 at 09:42:54PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 03.04.2014 21:26, Ram Pai wrote: > >> > BOOTCFLAGS:= -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ > >> > -fno-strict-aliasing -Os -msoft-float -pipe \ > >> > -fom

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 12:26:57 -0700 Ram Pai пишет: > > > > > > > > > Well. that is the issue. Various distros have varied support for > > > > > cross-compilation (multi-arch support). If the distro does not > > > > > have 32bit BE libraries natively installed (out-of-the-box), they > > > > > wont

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03.04.2014 21:26, Ram Pai wrote: >> > BOOTCFLAGS:= -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ >> > -fno-strict-aliasing -Os -msoft-float -pipe \ >> > -fomit-frame-pointer -fno-builtin -fPIC -nostdinc \ >> > -isystem $(shell $(CROSS32

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Ram Pai
On Thu, Apr 03, 2014 at 11:03:29PM +0400, Andrey Borzenkov wrote: > В Thu, 3 Apr 2014 11:37:05 -0700 > Ram Pai пишет: > > > On Thu, Apr 03, 2014 at 09:53:56PM +0400, Andrey Borzenkov wrote: > > > В Thu, 3 Apr 2014 10:33:36 -0700 > > > Ram Pai пишет: > > > > > > > On Tue, Apr 01, 2014 at 10:22:1

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 11:37:05 -0700 Ram Pai пишет: > On Thu, Apr 03, 2014 at 09:53:56PM +0400, Andrey Borzenkov wrote: > > В Thu, 3 Apr 2014 10:33:36 -0700 > > Ram Pai пишет: > > > > > On Tue, Apr 01, 2014 at 10:22:10PM +0200, Vladimir 'φ-coder/phcoder' > > > Serbinenko wrote: > > > > > > > > >

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Ram Pai
On Thu, Apr 03, 2014 at 09:53:56PM +0400, Andrey Borzenkov wrote: > В Thu, 3 Apr 2014 10:33:36 -0700 > Ram Pai пишет: > > > On Tue, Apr 01, 2014 at 10:22:10PM +0200, Vladimir 'φ-coder/phcoder' > > Serbinenko wrote: > > > > > > > > > > > For the sake of bisectability this really should be moved

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 10:33:36 -0700 Ram Pai пишет: > On Tue, Apr 01, 2014 at 10:22:10PM +0200, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: > > > > > > > > For the sake of bisectability this really should be moved earlier; > > > otherwise at least patch "fix parameter to firmware calls" would >

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Ram Pai
On Tue, Apr 01, 2014 at 10:22:10PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > > > > For the sake of bisectability this really should be moved earlier; > > otherwise at least patch "fix parameter to firmware calls" would > > be wrong. > > > Even bigger problem is whether we want to

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-02 Thread Ram Pai
On Tue, Apr 01, 2014 at 09:49:45PM +0400, Andrey Borzenkov wrote: > В Wed, 26 Feb 2014 10:31:20 -0800 > Ram Pai пишет: > > > From: Anton Blanchard > > > > powerpc64 is not necessarily BigEndian anymore! :) > > > > Signed-off-by: Ram Pai > > --- > > include/grub/powerpc/types.h | 10 +++-

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-01 Thread Vladimir 'φ-coder/phcoder' Serbinenko
> > For the sake of bisectability this really should be moved earlier; > otherwise at least patch "fix parameter to firmware calls" would > be wrong. > Even bigger problem is whether we want to run in LE mode at all. From what I understand (correct if I'm wrong) firmware calls remain big-endian

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:20 -0800 Ram Pai пишет: > From: Anton Blanchard > > powerpc64 is not necessarily BigEndian anymore! :) > > Signed-off-by: Ram Pai > --- > include/grub/powerpc/types.h | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/include/grub/p

[RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-02-26 Thread Ram Pai
From: Anton Blanchard powerpc64 is not necessarily BigEndian anymore! :) Signed-off-by: Ram Pai --- include/grub/powerpc/types.h | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/grub/powerpc/types.h b/include/grub/powerpc/types.h index 7a2fc6b..ab138d4 10