[PATCH v4] create modalias file in sysfs for bus of_platform

2008-01-26 Thread Olaf Hering
Create /sys/bus/of_platform/devices/*/modalias file to allow autoloading of modules. modalias files are already present for many other bus types. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- drivers/of/device.c | 33 ++--- drivers/of/platform.c |3 +++ 2

[PATCH] windfarm: add PowerMac 12,1 support

2008-01-26 Thread Étienne Bersac
From: Étienne Bersac [EMAIL PROTECTED] Implement a new driver named windfarm_pm121 which drive fans on PowerMac 12,1 machine : iMac G5 iSight (rev C) 17 and 20. It's based on windfarm_pm81 driver from Benjamin Herrenschmidt. Signed-off-by: Étienne Bersac [EMAIL PROTECTED] --- Implement fan

[BUILD FAILURE]2.6.24-git{1,2} kernel powerpc linkage failure

2008-01-26 Thread Kamalesh Babulal
Hi, The 2.6.24-git2 kernel build fails on the power boxes with following build failure LD init/built-in.o LD .tmp_vmlinux1 arch/powerpc/kernel/built-in.o: In function `fphalf': arch/powerpc/kernel/vector.S:(.toc+0x1428): undefined reference to `devices_subsys' make: ***

Re: Patches added to for-2.6.25/master branches of powerpc.git

2008-01-26 Thread Kumar Gala
On Jan 26, 2008, at 12:16 AM, Paul Mackerras wrote: This includes commits pulled from Josh Boyer, Kumar Gala, Grant Likely, and Olof Johansson. I reverted the Fake NUMA emulation for PowerPC commit because it changed behaviour even when the fake numa command-line option wasn't given. I'll

Re: [PATCH] FIXED_MII_100_FDX

2008-01-26 Thread Kumar Gala
On Jan 26, 2008, at 12:54 AM, Sean MacLennan wrote: On the last git pull, FIXED_MII_100_FDX was removed from the phy Kconfig, but the Kconfig for CPMAC still tried to select it. Cheers, Sean Signed-off-by: Sean MacLennan [EMAIL PROTECTED] --- diff --git a/drivers/net/Kconfig

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-26 Thread Srivatsa Vaddagiri
On Fri, Jan 25, 2008 at 09:50:00AM +0100, Peter Zijlstra wrote: On Fri, 2008-01-25 at 18:25 +1100, Benjamin Herrenschmidt wrote: On Fri, 2008-01-25 at 18:03 +1100, Benjamin Herrenschmidt wrote: On Fri, 2008-01-25 at 17:54 +1100, Benjamin Herrenschmidt wrote: Here, I do the test of

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-26 Thread Srivatsa Vaddagiri
On Sat, Jan 26, 2008 at 03:13:54PM +1100, Benjamin Herrenschmidt wrote: Ben, I presume you had CONFIG_FAIR_USER_SCHED turned on too? Yes. It seems to be automatically turned on whenever FAIR_GROUP is turned on. Considering how bad the behaviour is for a standard desktop

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-26 Thread Srivatsa Vaddagiri
On Sat, Jan 26, 2008 at 03:13:54PM +1100, Benjamin Herrenschmidt wrote: Ben, I presume you had CONFIG_FAIR_USER_SCHED turned on too? Yes. It seems to be automatically turned on whenever FAIR_GROUP is turned on. Considering how bad the behaviour is for a standard desktop

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-26 Thread Srivatsa Vaddagiri
On Sat, Jan 26, 2008 at 04:15:52PM +1100, Benjamin Herrenschmidt wrote: Michel, You had reported that commit 810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8 was the cause for this bad behavior. Do you see behavior change (from good-bad) immediately after applying that patch during your

Re: Reminder: removal of arch/ppc

2008-01-26 Thread Zoltan HERPAI
Kumar Gala wrote: 4xx: EBONY I have an Ebony at hand, so if no one takes it, I'll give it a try to port it over. Regards, Zoltan HERPAI ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: Reminder: removal of arch/ppc

2008-01-26 Thread Josh Boyer
On Sat, 26 Jan 2008 10:09:25 +0100 Zoltan HERPAI [EMAIL PROTECTED] wrote: Kumar Gala wrote: 4xx: EBONY I have an Ebony at hand, so if no one takes it, I'll give it a try to port it over. It's ported. It was the first 4xx board to be ported. Thanks for offering though! josh

Re: [PATCH 063/196] kset: convert /sys/devices to use kset_create

2008-01-26 Thread Olof Johansson
On Fri, Jan 25, 2008 at 09:24:54PM -0800, Greg KH wrote: On Fri, Jan 25, 2008 at 09:40:55PM -0600, Olof Johansson wrote: On Thu, Jan 24, 2008 at 11:10:01PM -0800, Greg Kroah-Hartman wrote: Dynamically create the kset instead of declaring it statically. We also rename devices_subsys to

Re: [BUILD FAILURE]2.6.24-git{1,2} kernel powerpc linkage failure

2008-01-26 Thread Greg KH
On Sat, Jan 26, 2008 at 06:53:31PM +0530, Kamalesh Babulal wrote: Hi, The 2.6.24-git2 kernel build fails on the power boxes with following build failure LD init/built-in.o LD .tmp_vmlinux1 arch/powerpc/kernel/built-in.o: In function `fphalf':

Re: Patches added to for-2.6.25/master branches of powerpc.git

2008-01-26 Thread Grant Likely
Paul, please pull the following mpc52xx changes. Also, I'd like to have the following patch picked up, but I'm a bit nervous about it. Kumar has said it looks good, but I'm still not 100% sure about eliminating the KBUILD_IMAGE and BOOTIMAGE variables. I *think* it's safe, but I'm not a build

[PATCH] Fix powerpc vio_find_name to not use devices_subsys

2008-01-26 Thread Paul Mackerras
This fixes vio_find_name() in arch/powerpc/kernel/vio.c, which is currently broken because it tries to use devices_subsys. That is bad for two reasons: (1) it's doing (or trying to do) a scan of all devices when it should only be scanning those on the vio bus, and (2) devices_subsys was an

Re: Patches added to for-2.6.25/master branches of powerpc.git

2008-01-26 Thread Jon Smirl
On 1/26/08, Grant Likely [EMAIL PROTECTED] wrote: Grant Likely (6): [POWERPC] mpc52xx: clean up Kconfig [POWERPC] mpc5200: normalize compatible property bindings [POWERPC] mpc5200: make dts files conform to generic names recommended practice [POWERPC] Efika: prune

Re: Patches added to for-2.6.25/master branches of powerpc.git

2008-01-26 Thread Michael Ellerman
On Sat, 2008-01-26 at 17:16 +1100, Paul Mackerras wrote: This includes commits pulled from Josh Boyer, Kumar Gala, Grant Likely, and Olof Johansson. I reverted the Fake NUMA emulation for PowerPC commit because it changed behaviour even when the fake numa command-line option wasn't given.

Re: [PATCH] Fix powerpc vio_find_name to not use devices_subsys

2008-01-26 Thread Greg KH
On Sun, Jan 27, 2008 at 11:45:30AM +1100, Paul Mackerras wrote: This fixes vio_find_name() in arch/powerpc/kernel/vio.c, which is currently broken because it tries to use devices_subsys. That is bad for two reasons: (1) it's doing (or trying to do) a scan of all devices when it should only be

Re: [patch 04/11] ps3fb: Inline macros that are used only once

2008-01-26 Thread Andrew Morton
On Fri, 25 Jan 2008 16:06:27 +0100 Geert Uytterhoeven [EMAIL PROTECTED] wrote: From: Geert Uytterhoeven [EMAIL PROTECTED] ps3fb: inline the X_OFF(), Y_OFF(), WIDTH(), HEIGHT(), and VP_OFF() macros, as they're used in one place only I think the term open-code would be more suitable here.

Re: [patch 00/11] ps3av/3fb patches for 2.6.25

2008-01-26 Thread Andrew Morton
On Fri, 25 Jan 2008 16:06:23 +0100 Geert Uytterhoeven [EMAIL PROTECTED] wrote: Hare are the ps3av/fb patches for 2.6.25: I would have to say: it's a bit late to be submitting things of this nature for 2.6.25. Given the mess everyone has made of everything there's little chance that I'll be

Re: [patch 09/11] ps3fb: Round up video modes

2008-01-26 Thread Andrew Morton
On Fri, 25 Jan 2008 16:06:32 +0100 Geert Uytterhoeven [EMAIL PROTECTED] wrote: static int ps3fb_cmp_mode(const struct fb_videomode *vmode, const struct fb_var_screeninfo *var) { - /* resolution + black border must match a native resolution */ - if