Re: [PATCH 3/3] ARM: Select CPU_32v6K for CPU_V7 only if ARCH_OMAP2 isnot selected

2010-01-29 Thread Catalin Marinas
On Thu, 2010-01-28 at 17:47 +, Tony Lindgren wrote: > * Catalin Marinas [100128 02:58]: > > On Tue, 2010-01-26 at 19:37 +, Tony Lindgren wrote: > > > Otherwise the kernel built with both CPU_V6 and CPU_V7 will not > > > boot on omap2. > > > > > > Signed-off-by: Tony Lindgren > > > --- > >

Re: [PATCH 3/3] ARM: Select CPU_32v6K for CPU_V7 only if ARCH_OMAP2 isnot selected

2010-01-29 Thread Catalin Marinas
On Thu, 2010-01-28 at 18:33 +, Jamie Lokier wrote: > Catalin Marinas wrote: > > > Hmm, but then we can't compile in SMP for single core systems and > > > keep it bootable on single core v6? > > > > Not with the current kernel since it hardcodes the shareability bit in > > the page tables and th

Re: [PATCH 3/3] ARM: Select CPU_32v6K for CPU_V7 only if ARCH_OMAP2 isnot selected

2010-01-28 Thread Jamie Lokier
Catalin Marinas wrote: > > Hmm, but then we can't compile in SMP for single core systems and > > keep it bootable on single core v6? > > Not with the current kernel since it hardcodes the shareability bit in > the page tables and the LDREX/STREX operations don't work as expected on > uniprocessor

Re: [PATCH 3/3] ARM: Select CPU_32v6K for CPU_V7 only if ARCH_OMAP2 isnot selected

2010-01-28 Thread Catalin Marinas
On Thu, 2010-01-28 at 17:47 +, Tony Lindgren wrote: > * Catalin Marinas [100128 02:58]: > > On Tue, 2010-01-26 at 19:37 +, Tony Lindgren wrote: > > > Otherwise the kernel built with both CPU_V6 and CPU_V7 will not > > > boot on omap2. > > > > > > Signed-off-by: Tony Lindgren > > > --- > >

Re: [PATCH 3/3] ARM: Select CPU_32v6K for CPU_V7 only if ARCH_OMAP2 isnot selected

2010-01-28 Thread Tony Lindgren
* Catalin Marinas [100128 02:58]: > On Tue, 2010-01-26 at 19:37 +, Tony Lindgren wrote: > > Otherwise the kernel built with both CPU_V6 and CPU_V7 will not > > boot on omap2. > > > > Signed-off-by: Tony Lindgren > > --- > > arch/arm/mm/Kconfig |4 ++-- > > 1 files changed, 2 insertions(

Re: [PATCH 3/3] ARM: Select CPU_32v6K for CPU_V7 only if ARCH_OMAP2 isnot selected

2010-01-28 Thread Catalin Marinas
On Tue, 2010-01-26 at 19:37 +, Tony Lindgren wrote: > Otherwise the kernel built with both CPU_V6 and CPU_V7 will not > boot on omap2. > > Signed-off-by: Tony Lindgren > --- > arch/arm/mm/Kconfig |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mm/Kc