[PATCH] Remove SMP warning from PowerMac cpufreq

2009-08-13 Thread Bastian Blank
On Thu, Aug 13, 2009 at 04:14:58PM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2009-08-11 at 11:39 +0200, Bastian Blank wrote: > > This patch just disables this driver on SMP kernels, as it is obviously > > not supported. > Why not remove the #error instead ? :-) I don&

[PATCH] Disable PowerMac cpufreq on SMP kernels

2009-08-11 Thread Bastian Blank
The build of a PowerMac 32bit kernel currently fails with error: #warning "WARNING, CPUFREQ not recommended on SMP kernels" This patch just disables this driver on SMP kernels, as it is obviously not supported. Signed-off-by: Bastian Blank diff --git a/arch/powerpc/platforms/Kcon

Re: [PATCH] hvc - register all available consoles (was: Re: [PATCH] powerpc/lpar - defer prefered console setup)

2008-07-30 Thread Bastian Blank
On Wed, Jul 30, 2008 at 04:13:47AM -0500, Milton Miller wrote: > On Wed Jul 30 at 17:34:38 EST in 2008, Bastian Blank wrote: > > On Wed, Jul 30, 2008 at 08:29:19AM +0200, Bastian Blank wrote: > >> Okay, so hvc_console is the culprit. It don't register a preferred > >&g

[PATCH] hvc - register all available consoles (was: Re: [PATCH] powerpc/lpar - defer prefered console setup)

2008-07-30 Thread Bastian Blank
On Wed, Jul 30, 2008 at 08:29:19AM +0200, Bastian Blank wrote: > Okay, so hvc_console is the culprit. It don't register a preferred > console if it knows it is not the first in the list. The patch registers all available hvc consoles. It adds one "struct console" for all

Re: [PATCH] powerpc/lpar - defer prefered console setup

2008-07-29 Thread Bastian Blank
On Wed, Jul 30, 2008 at 08:23:13AM +0200, Bastian Blank wrote: > On Wed, Jul 30, 2008 at 12:34:51PM +1000, Michael Ellerman wrote: > > On Mon, 2008-07-28 at 20:56 +0200, Bastian Blank wrote: > > * add_preferred_console - add a device to the list of preferred consoles. > >

Re: [PATCH] powerpc/lpar - defer prefered console setup

2008-07-29 Thread Bastian Blank
On Wed, Jul 30, 2008 at 12:34:51PM +1000, Michael Ellerman wrote: > On Mon, 2008-07-28 at 20:56 +0200, Bastian Blank wrote: > * add_preferred_console - add a device to the list of preferred consoles. > ... > * The last preferred console added will be used for kernel messages >

Re: [PATCH] powerpc/lpar - defer prefered console setup

2008-07-29 Thread Bastian Blank
On Tue, Jul 29, 2008 at 05:43:24PM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2008-07-29 at 09:36 +0200, Bastian Blank wrote: > > On Tue, Jul 29, 2008 at 01:06:18PM +1000, Benjamin Herrenschmidt wrote: > > > On Mon, 2008-07-28 at 20:56 +0200, Bastian Blank

Re: [PATCH] powerpc/lpar - defer prefered console setup

2008-07-29 Thread Bastian Blank
On Tue, Jul 29, 2008 at 01:06:18PM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2008-07-28 at 20:56 +0200, Bastian Blank wrote: > > Hi > > > > The powerpc lpar code adds a prefered console at a very early state, > > during arch_setup. This runs even before the console

[PATCH] powerpc/lpar - defer prefered console setup

2008-07-28 Thread Bastian Blank
correct console on the command line. The udbg console remains as boot console. There is a different problem that the code does not pick up the correct console because it uses a part (4) of the lpar device number (3004) instead of the correct index 1. Signed-off-by: Bastian Blank <[EM

[PATCH] powerpc - Use KBUILD_CFLAGS and similar

2008-03-02 Thread Bastian Blank
overrides into changes of KBUILD_CFLAGS, KBUILD_AFLAGS and LDFLAGS similar to arch/s390/Makefile. Signed-off-by: Bastian Blank <[EMAIL PROTECTED]> diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 1c6ce35..b267c60 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@

Re: [PATCH] Remove old definition of setup_per_cpu_areas

2008-02-01 Thread Bastian Blank
On Fri, Feb 01, 2008 at 09:16:15PM +0100, Bastian Blank wrote: > Remove old definition of setup_per_cpu_areas. This was completely wrong. Lets try it again. Adopt x86 percpu changes for powerpc and ia64. dd5af90a7f3d79e04b7eace9a98644dbf2038f4d replaced the config varia

[PATCH] Fix ext4 bitops

2008-02-01 Thread Bastian Blank
Fix ext4 bitops. Signed-off-by: Bastian Blank <[EMAIL PROTECTED]> diff --git a/include/asm-powerpc/bitops.h b/include/asm-powerpc/bitops.h index 220d9a7..d0980df 100644 --- a/include/asm-powerpc/bitops.h +++ b/include/asm-powerpc/bitops.h @@ -363,6 +363,8 @@ unsigne

[PATCH] Remove old definition of setup_per_cpu_areas

2008-02-01 Thread Bastian Blank
Remove old definition of setup_per_cpu_areas. The definition is done depending on the new config variable HAVE_SETUP_PER_CPU_AREA. Signed-off-by: Bastian Blank <[EMAIL PROTECTED]> diff --git a/include/asm-powerpc/percpu.h b/include/asm-powerpc/percpu.h index cc1cbf6..f309d34 100644