Re: [EFIKA] Really, don't pretend to be CHRP

2008-04-13 Thread Grant Likely
On Sun, Apr 13, 2008 at 10:52 AM, David Woodhouse <[EMAIL PROTECTED]> wrote: > Fedora 9 works on Efika without the separate 'device-tree supplement', > thanks to the kernel's own fixups. With one exception -- because 'CHRP' > still appears on the 'machine:' line in /proc/cpuinfo, the installer >

Re: [PATCH 1/2] Add thread_info_cache_init() to all archs

2008-04-13 Thread Andrew Morton
On Mon, 14 Apr 2008 10:38:26 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > +#ifndef thread_info_cache_init > > > +#define thread_info_cache_init do { } while(0) > > > +#endif > > > > This trick does cause a bit of a problem: it is undefined which arch header > > file is to prov

[PATCH] [POWEPC] replace asm/of_device.h with linux/of_device.h in macio.h

2008-04-13 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- include/asm-powerpc/macio.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-powerpc/macio.h b/include/asm-powerpc/macio.h index 3a6cb1a..079c06e 100644 --- a/include/asm-powerpc/macio.h +++ b/include/asm

Re: [PATCH] [POWERPC] remove include of asm/of_device.h from pmi.h

2008-04-13 Thread Stephen Rothwell
On Mon, 14 Apr 2008 12:00:47 +1000 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > > pmi.h does not diectly reference anything in of_device.h and of the two > files that include asm/pmi.h, one includes of_device.h and the other > includes of_platform.h (which includes of_device.h). > > Signed-off-by

[PATCH] [POWERPC] remove include of asm/of_device.h from pmi.h

2008-04-13 Thread Stephen Rothwell
pmi.h does not diectly reference anything in of_device.h and of the two files that include asm/pmi.h, one includes of_device.h and the other includes of_platform.h (which includes of_device.h). Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- include/asm-powerpc/pmi.h |2 -- 1 files ch

Re: [PATCH 1/2] Add thread_info_cache_init() to all archs

2008-04-13 Thread Benjamin Herrenschmidt
> > +#ifndef thread_info_cache_init > > +#define thread_info_cache_init do { } while(0) > > +#endif > > This trick does cause a bit of a problem: it is undefined which arch header > file is to provide the alternative definition of thread_info_cache_init. I this case it's well defined: thread_

Re: [PATCH 1/2] Add thread_info_cache_init() to all archs

2008-04-13 Thread Andrew Morton
On Thu, 10 Apr 2008 13:22:56 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > Some architecture need to maintain a kmem cache for thread info > structures. (next patch adds that to powerpc to fix an alignment > problem). > > There is no good arch callback to use to initialize that cache

Re: [PATCH 4/5] LED driver

2008-04-13 Thread Sean MacLennan
On Sun, 13 Apr 2008 19:34:38 +0200 Peter Korsgaard <[EMAIL PROTECTED]> wrote: > I haven't actually used leds-gpio, but it looks so simple that I > cannot imagine it not working. There also seems to be quite some > platforms using it, E.G: > > % git grep '"leds-gpio"' arch|wc -l > 11 > > Or are y

Re: [PATCH 4/5] LED driver

2008-04-13 Thread Peter Korsgaard
> "Sean" == Sean MacLennan <[EMAIL PROTECTED]> writes: >> How about getting gpiolib working and use leds-gpio.c instead? Sean> Actually, I was going to just ask about that... how close is leds-gpio Sean> to being working, and will it be in 2.6.26? I haven't actually used leds-gpio, but it

[EFIKA] Really, don't pretend to be CHRP

2008-04-13 Thread David Woodhouse
Fedora 9 works on Efika without the separate 'device-tree supplement', thanks to the kernel's own fixups. With one exception -- because 'CHRP' still appears on the 'machine:' line in /proc/cpuinfo, the installer misdetects the platform and misconfigures yaboot, putting it into a PReP boot partition

Re: [PATCH 4/5] LED driver

2008-04-13 Thread Sean MacLennan
On Sun, 13 Apr 2008 14:28:24 +0200 Peter Korsgaard <[EMAIL PROTECTED]> wrote: > How about getting gpiolib working and use leds-gpio.c instead? Actually, I was going to just ask about that... how close is leds-gpio to being working, and will it be in 2.6.26? Cheers, Sean __

Re: [PATCH 1/8] [POWERPC] fsl_elbc_nand: factor out localbus defines

2008-04-13 Thread David Woodhouse
On Fri, 2008-04-11 at 09:06 -0500, Kumar Gala wrote: > > David, can you ack this. It looks good to me but want a MTD > maintainer ack before having it go through the powerpc tree. Looks sane to me. Signed-off-by: David Woodhouse <[EMAIL PROTECTED]> -- dwmw2

Re: [LMB][1/2] Fix some whitespace and other formatting issues, use pr_debug

2008-04-13 Thread Paul Mackerras
Nick Andrew writes: > On Sat, Apr 12, 2008 at 03:20:59PM +1000, Paul Mackerras wrote: > > + pr_debug("\nreserved.cnt = 0x%lx\n", lmb.reserved.cnt); > > This will only output an empty line at KERN_DEBUG level and the rest > will be at default_message_loglevel. Problem is fixed my my pat

Re: [PATCH 4/5] LED driver

2008-04-13 Thread Peter Korsgaard
> "Sean" == Sean MacLennan <[EMAIL PROTECTED]> writes: Hi, Sean> Signed-off-by: Sean MacLennan <[EMAIL PROTECTED]> Sean> diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig Sean> index 859814f..31e1746 100644 Sean> --- a/drivers/leds/Kconfig Sean> +++ b/drivers/leds/Kconfig Sean> @