Re: [PATCH 01/18] powerpc: Add ability to build little endian kernels

2010-10-01 Thread Benjamin Herrenschmidt
On Fri, 2010-10-01 at 07:40 -0400, Josh Boyer wrote: > Have you tested this support with a userspace containing floating > point instructions? I wonder if CONFIG_MATH_EMULATION is going to > need work at all, and if the boards with an actual FPU (440EP, 440EPx, > 460EX, etc) would have issues. T

Re: [PATCH 01/18] powerpc: Add ability to build little endian kernels

2010-10-01 Thread Benjamin Herrenschmidt
On Fri, 2010-10-01 at 07:28 -0400, Josh Boyer wrote: > > Shouldn't we have something that limits to the sub-arch'es that > actually support it? I doubt I'm ever going to make FSL-Book-e > support LE. > > Yes, it should. Sure, that's only WIP patches :-) Tho FSL BookE would be relatively easy..

Re: [PATCH 01/18] powerpc: Add ability to build little endian kernels

2010-10-01 Thread Josh Boyer
On Fri, Oct 1, 2010 at 3:05 AM, Ian Munsie wrote: > diff --git a/arch/powerpc/platforms/Kconfig.cputype > b/arch/powerpc/platforms/Kconfig.cputype > index d361f81..074ff12 100644 > --- a/arch/powerpc/platforms/Kconfig.cputype > +++ b/arch/powerpc/platforms/Kconfig.cputype > @@ -329,3 +329,19 @@ c

Re: [PATCH 01/18] powerpc: Add ability to build little endian kernels

2010-10-01 Thread Josh Boyer
On Fri, Oct 1, 2010 at 5:18 AM, Kumar Gala wrote: > > On Oct 1, 2010, at 2:05 AM, Ian Munsie wrote: > >> >> diff --git a/arch/powerpc/platforms/Kconfig.cputype >> b/arch/powerpc/platforms/Kconfig.cputype >> index d361f81..074ff12 100644 >> --- a/arch/powerpc/platforms/Kconfig.cputype >> +++ b/arc

Re: [PATCH 01/18] powerpc: Add ability to build little endian kernels

2010-10-01 Thread Kumar Gala
On Oct 1, 2010, at 2:05 AM, Ian Munsie wrote: > > diff --git a/arch/powerpc/platforms/Kconfig.cputype > b/arch/powerpc/platforms/Kconfig.cputype > index d361f81..074ff12 100644 > --- a/arch/powerpc/platforms/Kconfig.cputype > +++ b/arch/powerpc/platforms/Kconfig.cputype > @@ -329,3 +329,19 @@ c

[PATCH 01/18] powerpc: Add ability to build little endian kernels

2010-10-01 Thread Ian Munsie
From: Ian Munsie This patch allows the kbuild system to successfully compile a kernel for the little endian PowerPC architecture. To build such a kernel a supported platform must be used and CONFIG_CPU_LITTLE_ENDIAN must be set. CROSS_COMPILE must be set to a suitable toolchain prefix (compiled