Re: [PATCH v2][POWERPC] Always build setup-bus.c on powerpc

2008-01-23 Thread Benjamin Herrenschmidt
On Thu, 2008-01-24 at 00:38 -0600, Kumar Gala wrote: > The common arch/powerpc code calls in to functions in setup-bus.c > so some builds of ppc32 would fail. > > Note, ppc32 usage of setup-irq.c is limited to arch/ppc and should be > removed when arch/ppc goes away. > > Signed-off-by: Kumar Gal

Re: [PATCH] [POWERPC] 85xx: Port STX GP3 board over from arch/ppc

2008-01-23 Thread Stephen Rothwell
Hi Kumar, On Thu, 24 Jan 2008 00:43:38 -0600 (CST) Kumar Gala <[EMAIL PROTECTED]> wrote: > > Let's see what sfr finds wrong with this patch :) A challenge! :-) > +++ b/arch/powerpc/platforms/85xx/stx_gp3.c > +static void __init stx_gp3_pic_init(void) > + np = of_find_node_by_type(np, "open-

Re: [PATCH 5/5 v3] Add the memory management driver to RapidIO.

2008-01-23 Thread Kumar Gala
On Jul 26, 2007, at 3:42 AM, Zhang Wei wrote: > This patch adds the memory management driver to RapidIO. > The RapidIO system size is changed to automatically detection. > Add the memory mapping driver to RapidIO basic driver. > Multi master ports are supported. > Add a simple Bitmap RapidIO spac

[PATCH] [POWERPC] 85xx: Port STX GP3 board over from arch/ppc

2008-01-23 Thread Kumar Gala
--- The defconfig has been removed from the patch to protect the innocent. Let's see what sfr finds wrong with this patch :) - k arch/powerpc/boot/dts/stx_gp3_8560.dts | 216 ++ arch/powerpc/configs/stx_gp3_defconfig | 1183 arch/powerpc/platforms/85xx/Kco

[PATCH v2][POWERPC] Always build setup-bus.c on powerpc

2008-01-23 Thread Kumar Gala
The common arch/powerpc code calls in to functions in setup-bus.c so some builds of ppc32 would fail. Note, ppc32 usage of setup-irq.c is limited to arch/ppc and should be removed when arch/ppc goes away. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROT

Re: [PATCH 2/3] Platform changes for UCC TDM driver for MPC8323ERDB.Also includes related QE changes and dts entries.

2008-01-23 Thread Stephen Rothwell
This patch needs to come before the previous one ("UCC TDM driver for QE based MPC83xx platforms") as that uses some of the fields defined here. On Thu, 24 Jan 2008 10:19:44 +0530 (IST) Poonam_Aggrwal-b10812 <[EMAIL PROTECTED]> wrote: > > +u32 get_brg_clk(enum qe_clock brgclk, enum qe_clock *brg_

Re: [PATCH] [POWERPC] Always build setup-bus.c on powerpc

2008-01-23 Thread Kumar Gala
On Jan 24, 2008, at 12:28 AM, Benjamin Herrenschmidt wrote: > > On Thu, 2008-01-24 at 00:07 -0600, Kumar Gala wrote: >> The common arch/powerpc code calls in to functions in setup-bus.c >> so some builds of ppc32 would fail. >> >> Note, ppc32 usage of setup-irq.c is limited to arch/ppc and should

Re: [PATCH] [POWERPC] Always build setup-bus.c on powerpc

2008-01-23 Thread Benjamin Herrenschmidt
On Thu, 2008-01-24 at 00:07 -0600, Kumar Gala wrote: > The common arch/powerpc code calls in to functions in setup-bus.c > so some builds of ppc32 would fail. > > Note, ppc32 usage of setup-irq.c is limited to arch/ppc and should be > removed when arch/ppc goes away. I don't understand... the ol

Re: [PATCH] [POWERPC] Always build setup-bus.c on powerpc

2008-01-23 Thread Greg KH
On Thu, Jan 24, 2008 at 12:07:32AM -0600, Kumar Gala wrote: > The common arch/powerpc code calls in to functions in setup-bus.c > so some builds of ppc32 would fail. > > Note, ppc32 usage of setup-irq.c is limited to arch/ppc and should be > removed when arch/ppc goes away. > > Signed-off-by: Kum

Re: [PATCH] UCC TDM driver for QE based MPC83xx platforms.

2008-01-23 Thread Stephen Rothwell
On Thu, 24 Jan 2008 10:16:42 +0530 (IST) Poonam_Aggrwal-b10812 <[EMAIL PROTECTED]> wrote: > > +static int ucc_tdm_probe(struct of_device *ofdev, > + const struct of_device_id *match) > +{ > + struct device_node *np = ofdev->node; > + struct resource res; > + const

[PATCH] [POWERPC] Always build setup-bus.c on powerpc

2008-01-23 Thread Kumar Gala
The common arch/powerpc code calls in to functions in setup-bus.c so some builds of ppc32 would fail. Note, ppc32 usage of setup-irq.c is limited to arch/ppc and should be removed when arch/ppc goes away. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Greg, recent changes that BenH has made t

[PATCH 6/6 v2] PS3: gelic: Add support for dual network interface

2008-01-23 Thread Masakazu Mokuno
Add support for dual network (net_device) interface so that ethernet and wireless can own separate ethX interfaces. V2 - Fix the bug that bringing down and up the interface keeps rx disabled. - Make 'gelic_net_poll_controller()' extern , as David Woodhouse pointed out at the previous

[PATCH UCC TDM 3/3 ] Modified Documentation to explain dts entries for TDM driver

2008-01-23 Thread Poonam_Aggrwal-b10812
From: Poonam Aggrwal <[EMAIL PROTECTED]> Modified Documentation to explain new properties introduced for UCC TDM driver. Also two new nodes have been added "brg" and "clocks" to configure a BRG from device tree. Signed-off-by: Poonam Aggrwal <[EMAIL PROTECTED]> Signed-off-by: Ashish Kalra <[EM

[PATCH 2/3] Platform changes for UCC TDM driver for MPC8323ERDB.Also includes related QE changes and dts entries.

2008-01-23 Thread Poonam_Aggrwal-b10812
From: Poonam Aggrwal <[EMAIL PROTECTED]> This patch makes necessary changes in the QE and UCC framework to support TDM. It also adds support to configure the BRG properly through device tree entries. Includes the device tree changes for UCC TDM driver as well. It also includes device tree entrie

[PATCH] UCC TDM driver for QE based MPC83xx platforms.

2008-01-23 Thread Poonam_Aggrwal-b10812
From: Poonam Agarwal-b10812 <[EMAIL PROTECTED]> The UCC TDM driver basically multiplexes and demultiplexes data from different channels. It can interface with for example SLIC kind of devices to receive TDM data demultiplex it and send to upper modules. At the transmit end it receives data for d

[PATCH UCC TDM 0/3] UCC based TDM driver for QE based MPC83xx platforms

2008-01-23 Thread Aggrwal Poonam
Reworked patches after incorporating comments of Andrew, Stephen and Tabi and Kumar. Kumar could you please consider them for linux-2.6.25. There are three patches [PATCH 1/3] drivers/misc : UCC TDM driver for mpc83xx platforms. This driver is usable in VoIP iind of applications to interface wit

Re: [PATCH 1/4 v4] POWERPC: Add _nmask_and_or_msr() declartion to asm-powerpc/system.h

2008-01-23 Thread Paul Mackerras
Jon Loeliger writes: > +extern void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val); Hmmm, I wish someone would think of a better name for it. In fact I have tended to avoid using it, and instead done things like mtmsr((mfmsr() & ~x) | y); where necessary instead. Paul. _

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Christoph Lameter
On Wed, 23 Jan 2008, Nishanth Aravamudan wrote: > Right, so it might have functioned before, but the correctness was > wobbly at best... Certainly the memoryless patch series has tightened > that up, but we missed these SLAB issues. > > I see that your patch fixed Olaf's machine, Pekka. Nice work

Re: [PATCH 0/6] PS3: gelic: gelic updates for 2.6.25

2008-01-23 Thread John W. Linville
On Tue, Jan 22, 2008 at 07:12:44PM -0800, Geoff Levand wrote: > On 01/22/2008 04:58 PM, John W. Linville wrote: > > I thought Geert's had been applied, but I guess I was looking at > > it wrong. Is there a powerpc tree that has them? > > Not yet, they are now only in ps3-linux.git. I sent them

Re: [PATCH] [POWERPC] MPC8360E-RDK: device tree, board file and defconfig

2008-01-23 Thread Stephen Rothwell
On Wed, 23 Jan 2008 23:45:07 +0300 Anton Vorontsov <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/83xx/mpc836x_rdk.c > +static int __init mpc836x_rdk_declare_of_platform_devices(void) > +{ > + const struct of_device_id mpc836x_rdk_ids[] = { Please change this to static, __initdata

Re: patches for 2.6.25

2008-01-23 Thread Kumar Gala
On Jan 23, 2008, at 7:51 PM, Liu Yu wrote: > > How about this one? > http://patchwork.ozlabs.org/linuxppc/patch?id=15942 I've been trying to get some feedback from the glibc guys. The code is pretty common and if the issues exists in one it exists in the other.. I'm not sure if they have so

Please pull from 'for-2.6.25' branch

2008-01-23 Thread Kumar Gala
Please pull from 'for-2.6.25' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.25 to receive the following updates: (I fixed up the memreserve patch, it builds for me on ppc64) Documentation/powerpc/00-INDEX|3 Documentation/powerp

Re: [PATCH 3/4 v4] POWERPC: Add initial iomega StorCenter board port.

2008-01-23 Thread Kumar Gala
On Jan 23, 2008, at 6:50 PM, Stephen Rothwell wrote: > Hi Jon, > > On Wed, 23 Jan 2008 12:42:50 -0600 Jon Loeliger <[EMAIL PROTECTED]> wrote: >> >> +++ b/arch/powerpc/platforms/embedded6xx/storcenter.c >> +static void __init storcenter_init_IRQ(void) >> +{ >> +struct mpic *mpic; >> +struc

Re: [PATCH 0/4 v4] Add StorCenter port

2008-01-23 Thread Kumar Gala
On Wed, 23 Jan 2008, Jon Loeliger wrote: > Kumar, > > Here is the StorCenter port with the MTD partitions > re-written to be hard-coded PHYSMAP partitions for now. > > Addressed list and private commentary as well. > > Janitorial Karma has now caussed it to be 4 patches > instead of the original 3

Re: [PATCH] [POWERPC] Add fixed-phy support for fs_enet

2008-01-23 Thread Kumar Gala
On Tue, 18 Dec 2007, Jochen Friedrich wrote: > This patch adds support to use the fixed-link property > of an ethernet node to fs_enet for the > CONFIG_PPC_CPM_NEW_BINDING case. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > Acked-by: Jeff Garzik <[EMAIL PROTECTED]> > Acked-by: Vitali B

Re: [PATCH 1/2] [POWERPC] 8xx: Use machine_*_initcall() hooks in platform code

2008-01-23 Thread Kumar Gala
On Mon, 21 Jan 2008, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > Signed-off-by: Grant Likely <[EMAIL PROTECTED]> > --- > > arch/powerpc/platforms/8xx/ep88xc.c |5 ++--- > arch/powerpc/platforms/8xx/mpc86xads_setup.c |5 ++--- > arch/powerpc/platforms/8xx/mpc8

RE: patches for 2.6.25

2008-01-23 Thread Liu Yu
How about this one? http://patchwork.ozlabs.org/linuxppc/patch?id=15942 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Kumar Gala > Sent: Tuesday, January 22, 2008 12:43 AM > To: linuxppc-dev@ozlabs.org > Subject: patches for 2.6.25 > > I'm

Re: [PATCH][ppc] logical/bitand typo in powerpc/boot/4xx.c

2008-01-23 Thread Josh Boyer
On Wed, 23 Jan 2008 23:37:33 +0100 Roel Kluin <[EMAIL PROTECTED]> wrote: > logical/bitand typo > > Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> > --- > diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c > index ebf9e21..dcfb459 100644 > --- a/arch/powerpc/boot/4xx.c > +++ b/arch/powe

Re: [PATCH][ppc] logical/bitand typo in powerpc/boot/4xx.c

2008-01-23 Thread Joe Perches
On Thu, 2008-01-24 at 01:18 +0100, Roel Kluin wrote: > when you use git-grep -n "\(&&\|||\)${s}0x\([A-Z0-9]*\|[a-z0-9]*\)", > (with s="[[:space:]]*") there will be false positives [] > so i'd propose to change that to > +# Check for bitwise tests written as boolean > + if ($line =~ /(?:

Re: [PATCH 3/4 v4] POWERPC: Add initial iomega StorCenter board port.

2008-01-23 Thread Stephen Rothwell
Hi Jon, On Wed, 23 Jan 2008 12:42:50 -0600 Jon Loeliger <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/embedded6xx/storcenter.c > +static void __init storcenter_init_IRQ(void) > +{ > + struct mpic *mpic; > + struct device_node *dnp; > + const void *prop; > + int size;

Re: [PATCH][ppc] logical/bitand typo in powerpc/boot/4xx.c

2008-01-23 Thread Roel Kluin
Joe Perches wrote: > On Wed, 2008-01-23 at 23:37 +0100, Roel Kluin wrote: >> Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> >> --- >> diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c >> index ebf9e21..dcfb459 100644 >> --- a/arch/powerpc/boot/4xx.c >> +++ b/arch/powerpc/boot/4xx.c >> @

Re: [PATCH][ppc] logical/bitand typo in powerpc/boot/4xx.c

2008-01-23 Thread Joe Perches
On Wed, 2008-01-23 at 23:37 +0100, Roel Kluin wrote: > Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> > --- > diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c > index ebf9e21..dcfb459 100644 > --- a/arch/powerpc/boot/4xx.c > +++ b/arch/powerpc/boot/4xx.c > @@ -104,7 +104,7 @@ void ibm4

Re: mpc8568e-mds: pci-e is broken

2008-01-23 Thread Kumar Gala
Anton, Can you try this patch and see if it resolves the issue for you.. (You'll still get the Apple FW messages) - k diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 4005739..bf13c21 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c @

Re: [PATCH v2] Fix handling of memreserve if the range lands in highmem

2008-01-23 Thread Paul Mackerras
Kumar Gala writes: > There were several issues if a memreserve range existed and happened > to be in highmem: > > * The bootmem allocator is only aware of lowmem so calling > reserve_bootmem with a highmem address would cause a BUG_ON > * All highmem pages were provided to the buddy allocator >

Re: [PATCH] [POWERPC] Move RapidIO support code from arch/ppc

2008-01-23 Thread Kumar Gala
On Jan 23, 2008, at 4:40 PM, Stephen Rothwell wrote: > Hi Kumar, > > On Wed, 23 Jan 2008 06:38:29 -0600 (CST) Kumar Gala <[EMAIL PROTECTED] > > wrote: >> >> +++ b/arch/ppc/platforms/85xx/mpc85xx_ads_common.c >> @@ -190,6 +188,7 @@ mpc85xx_exclude_device(u_char bus, u_char devfn) >> #endif /* CON

[PATCH][ppc] logical/bitand typo in powerpc/boot/4xx.c

2008-01-23 Thread Roel Kluin
logical/bitand typo Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c index ebf9e21..dcfb459 100644 --- a/arch/powerpc/boot/4xx.c +++ b/arch/powerpc/boot/4xx.c @@ -104,7 +104,7 @@ void ibm4xx_denali_fixup_memsize(void) val = DD

Re: [MPC5200] problem running FEC and ATA

2008-01-23 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > The one who needs this patch (CPU card vendor 1): > > MPC5200CVR400B, M62C REV 1, QCW0723T > > The CPUs who do not need this patch (CPU card vendor 2): > > SPC5200CBV400B, M62C REV 1, QAG0610C > MPC5200CVR400B, M62C REV 1, QAJ0613F This is all Rev.

Re: [MPC5200] problem running FEC and ATA

2008-01-23 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > > Is it really exactly the same CPU revision? My guess is that > > one is rev. B and the other one is older... > > The processor on my board which needs the BSDIS-patch has following > label: > MPC5200CVR400B And the one which doesn't need it is a ..

Re: [PATCHv2 7/8] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-23 Thread Stephen Rothwell
Hi Jochen, On Wed, 23 Jan 2008 17:01:57 +0100 Jochen Friedrich <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/8xx/ep88xc.c > @@ -15,7 +15,7 @@ > #include > #include > #include > -#include > +#include > #include Something has whitespace damaged this patch. -- Cheers, S

Re: [PATCH] [POWERPC] Move RapidIO support code from arch/ppc

2008-01-23 Thread Stephen Rothwell
Hi Kumar, On Wed, 23 Jan 2008 06:38:29 -0600 (CST) Kumar Gala <[EMAIL PROTECTED]> wrote: > > +++ b/arch/ppc/platforms/85xx/mpc85xx_ads_common.c > @@ -190,6 +188,7 @@ mpc85xx_exclude_device(u_char bus, u_char devfn) > #endif /* CONFIG_PCI */ > > #ifdef CONFIG_RAPIDIO > +extern void mpc85xx_rio_s

Re: [PATCH v6] [POWERPC] Add LED driver for Promess Motion-PRO board.

2008-01-23 Thread Stephen Rothwell
Hi Marian, On Wed, 23 Jan 2008 13:12:19 +0100 Marian Balakowicz <[EMAIL PROTECTED]> wrote: > > + label = of_get_property(op->node, "label", NULL); > + if (label == NULL) { > + printk(KERN_ERR __FILE__ ": " > + "No label property provided for LED %s\n", > +

Re: mpc8568e-mds: pci-e is broken

2008-01-23 Thread Kumar Gala
On Jan 23, 2008, at 1:50 PM, Anton Vorontsov wrote: > On Wed, Jan 23, 2008 at 01:42:56PM -0600, Kumar Gala wrote: > [...] >>> PCI: Probing PCI hardware >>> PCI: 0001:01:00.0: class b20 doesn't match header type 01. Ignoring >>> class. >>> PCI: Closing bogus Apple Firmware region 1 on bus 0x02 >>>

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Nishanth Aravamudan
On 23.01.2008 [13:14:26 -0800], Christoph Lameter wrote: > On Wed, 23 Jan 2008, Pekka Enberg wrote: > > > I think Mel said that their configuration did work with 2.6.23 > > although I also wonder how that's possible. AFAIK there has been some > > changes in the page allocator that might explain th

Re: [patch v4 0/4] Cypress c67x00 (EZ-Host/EZ-OTG) support

2008-01-23 Thread Peter Korsgaard
> "David" == David Brownell <[EMAIL PROTECTED]> writes: David> On Wednesday 23 January 2008, Grant Likely wrote: >> The question is about the device structure which used to be provided >> by the platform device instances and now there just uses the c67x00's >> device struct.  I was under t

Re: [patch v4 0/4] Cypress c67x00 (EZ-Host/EZ-OTG) support

2008-01-23 Thread Peter Korsgaard
> "Grant" == Grant Likely <[EMAIL PROTECTED]> writes: Grant> Okay, I've had a chance to read through this. I haven't Grant> tested it, but I don't see anything I strongly disagree with. Grant> I've just got a few editorial comments below and a question. Ok, great. Grant> The question is

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Christoph Lameter
On Wed, 23 Jan 2008, Pekka Enberg wrote: > I think Mel said that their configuration did work with 2.6.23 > although I also wonder how that's possible. AFAIK there has been some > changes in the page allocator that might explain this. That is, if > kmem_getpages() returned pages for memoryless nod

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Pekka Enberg
Hi, On Jan 23, 2008 9:52 PM, Nishanth Aravamudan <[EMAIL PROTECTED]> wrote: > On at least one of the machines in question, wasn't it the case that > node 0 had all the memory and node 1 had all the CPUs? In that case, you > would have to boot off a memoryless node? And as long as that is a > physi

[PATCH] [POWERPC] MPC8360E-RDK: device tree, board file and defconfig

2008-01-23 Thread Anton Vorontsov
This is new board made by Freescale Semiconductor Inc. and Logic Product Development. Currently supported: 1. UEC{1,2,7,4}; 2. I2C; 3. SPI; 4. NS16550 serial; 5. PCI and miniPCI; 6. Intel NOR StrataFlash X16 64Mbit PC28F640P30T85; 7. Graphics controller, Fujitsu MB86277. Not supported so far: 1.

Re: [PATCH 3/3] Add device tree compatible aliases to i2c drivers

2008-01-23 Thread Jon Smirl
On 1/23/08, Matt Sealey <[EMAIL PROTECTED]> wrote: > > > Jon Smirl wrote: > > --- a/drivers/i2c/chips/tps65010.c > > +++ b/drivers/i2c/chips/tps65010.c > > @@ -571,6 +571,10 @@ static const struct i2c_device_id tps65010_id[] = { > > { "tps65011", TPS65011 }, > > { "tps65012", TPS65012 }

Re: [PATCH 3/3] Add device tree compatible aliases to i2c drivers

2008-01-23 Thread Matt Sealey
Jon Smirl wrote: > --- a/drivers/i2c/chips/tps65010.c > +++ b/drivers/i2c/chips/tps65010.c > @@ -571,6 +571,10 @@ static const struct i2c_device_id tps65010_id[] = { > { "tps65011", TPS65011 }, > { "tps65012", TPS65012 }, > { "tps65013", TPS65013 }, > + OF_ID("ti,tps65010",

Re: [PATCHv2 0/8] [POWERPC] 8xx cleanups

2008-01-23 Thread Sam Ravnborg
On Wed, Jan 23, 2008 at 01:35:41PM -0600, Josh Boyer wrote: > On Wed, 23 Jan 2008 19:00:12 +0100 > Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > On Wed, Jan 23, 2008 at 11:31:46AM -0600, Jon Loeliger wrote: > > > Sam Ravnborg wrote: > > > >>What impact do the have on boards in arch/ppc being able

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Nishanth Aravamudan
On 23.01.2008 [19:29:15 +0200], Pekka J Enberg wrote: > Hi, > > On Wed, 23 Jan 2008, Mel Gorman wrote: > > Applied in combination with the N_NORMAL_MEMORY revert and it fails to > > boot. Console is as follows; > > Thanks for testing! > > On Wed, 23 Jan 2008, Mel Gorman wrote: > > [c05c3

Re: mpc8568e-mds: pci-e is broken

2008-01-23 Thread Anton Vorontsov
On Wed, Jan 23, 2008 at 01:42:56PM -0600, Kumar Gala wrote: [...] > >PCI: Probing PCI hardware > >PCI: 0001:01:00.0: class b20 doesn't match header type 01. Ignoring > >class. > >PCI: Closing bogus Apple Firmware region 1 on bus 0x02 > >PCI: Closing bogus Apple Firmware region 2 on bus 0x02 > >

Re: mpc8568e-mds: pci-e is broken

2008-01-23 Thread Kumar Gala
On Jan 23, 2008, at 1:37 PM, Anton Vorontsov wrote: > Hello Benjamin, Kumar, > > Using galak/powerpc.git's e4a0d8a1f7e6a9741ec46 head, MPC8568E-MDS > is oopsing during PCI-E probe, like this: > > - - - - > Found FSL PCI host bridge at 0xe0008000. Firmware bus > number: 0->255 > PCI host

Re: [PATCHv2 0/8] [POWERPC] 8xx cleanups

2008-01-23 Thread Josh Boyer
On Wed, 23 Jan 2008 19:00:12 +0100 Sam Ravnborg <[EMAIL PROTECTED]> wrote: > On Wed, Jan 23, 2008 at 11:31:46AM -0600, Jon Loeliger wrote: > > Sam Ravnborg wrote: > > >>What impact do the have on boards in arch/ppc being able to build? > > > > > >Byt the way what are the plans for powerpc? > > >We

mpc8568e-mds: pci-e is broken

2008-01-23 Thread Anton Vorontsov
Hello Benjamin, Kumar, Using galak/powerpc.git's e4a0d8a1f7e6a9741ec46 head, MPC8568E-MDS is oopsing during PCI-E probe, like this: - - - - Found FSL PCI host bridge at 0xe0008000. Firmware bus number: 0->255 PCI host bridge /[EMAIL PROTECTED] (primary) ranges: MEM 0x8000..0x

Section mismatch warnings om powerpc defconfig build:wq

2008-01-23 Thread Sam Ravnborg
Hi Powerpc. Just a heads up. When building the provided defconfig for powerpc I get the following bunch of section mismatch warnings: WARNING: vmlinux.o(.text+0x83c0): Section mismatch: reference to .devinit.text:.start_secondary in '.start_secondary_prolog' WARNING: vmlinux.o(.text+0xe878): Sec

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Christoph Lameter
On Wed, 23 Jan 2008, Pekka J Enberg wrote: > Fine. But, why are we hitting fallback_alloc() in the first place? It's > definitely not because of missing ->nodelists as we do: > > cache_cache.nodelists[node] = &initkmem_list3[CACHE_CACHE]; > > before attempting to set up kmalloc caches.

[PATCH 4/4 v4] POWERPC: Add initial storcenter config file.

2008-01-23 Thread Jon Loeliger
Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> Acked-by: Andy Wilcox <[EMAIL PROTECTED]> --- arch/powerpc/configs/storcenter_defconfig | 1174 + 1 files changed, 1174 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/storcenter_defconfig diff --g

[PATCH 3/4 v4] POWERPC: Add initial iomega StorCenter board port.

2008-01-23 Thread Jon Loeliger
Use cuImage bootwrapper until U-Boot port is completed. Derived heavily from Linkstation port. Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> Acked-by: Andy Wilcox <[EMAIL PROTECTED]> --- arch/powerpc/boot/Makefile |3 +- arch/powerpc/boot/cuboot-824x.c

[PATCH 2/4 v4] POWERPC: Add StorCenter DTS first draft.

2008-01-23 Thread Jon Loeliger
Based on the Kurobox DTS files. Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> Acked-by: Andy Wilcox <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/storcenter.dts | 138 ++ 1 files changed, 138 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/boot/d

[PATCH 1/4 v4] POWERPC: Add _nmask_and_or_msr() declartion to asm-powerpc/system.h

2008-01-23 Thread Jon Loeliger
Prevents miscellaneous users from declaring it locally. Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> --- arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c |2 -- include/asm-powerpc/system.h |2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arc

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Christoph Lameter
On Wed, 23 Jan 2008, Mel Gorman wrote: > This patch adds the necessary checks to make sure a kmem_list3 exists for > the preferred node used when growing the cache. If the preferred node has > no nodelist then the currently running node is used instead. This > problem only affects the SLAB allocat

[PATCH 0/4 v4] Add StorCenter port

2008-01-23 Thread Jon Loeliger
Kumar, Here is the StorCenter port with the MTD partitions re-written to be hard-coded PHYSMAP partitions for now. Addressed list and private commentary as well. Janitorial Karma has now caussed it to be 4 patches instead of the original 3. Please pick up for 2.6.25! Thanks, jdl _

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Christoph Lameter
On Wed, 23 Jan 2008, Pekka J Enberg wrote: > Furthermore, don't let kmem_getpages() call alloc_pages_node() if nodeid > passed > to it is -1 as the latter will always translate that to numa_node_id() which > might not have ->nodelist that caused the invocation of fallback_alloc() in > the > firs

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Christoph Lameter
On Wed, 23 Jan 2008, Pekka J Enberg wrote: > I still think Christoph's kmem_getpages() patch is correct (to fix > cache_grow() oops) but I overlooked the fact that none the callers of > cache_alloc_node() deal with bootstrapping (with the exception of > __cache_alloc_node() that even has a

Re: [PATCHv2 5/8] [POWERPC] Remove sysdev/commproc.h

2008-01-23 Thread Jochen Friedrich
Hi Kumar, > Do we really need the prototypes you moved into asm/mpc8xx.h here? can > they just live in platforms/8xx/8xx.h or something like that? At least drivers/pcmcia/m8xx_pcmcia.c uses the symbol m8xx_pcmcia_ops which is conditionally defined in platforms/8xx/m8xx_setup.c. However, this dr

Re: [PATCHv2 0/8] [POWERPC] 8xx cleanups

2008-01-23 Thread Sam Ravnborg
On Wed, Jan 23, 2008 at 11:31:46AM -0600, Jon Loeliger wrote: > Sam Ravnborg wrote: > >>What impact do the have on boards in arch/ppc being able to build? > > > >Byt the way what are the plans for powerpc? > >We have: > >arch/ppc > >arch/ppc64 > >arch/powerpc > > > >It was my understanding that arc

Re: [patch v4 0/4] Cypress c67x00 (EZ-Host/EZ-OTG) support

2008-01-23 Thread David Brownell
On Wednesday 23 January 2008, Grant Likely wrote: > The question is about the device structure which used to be provided > by the platform device instances and now there just uses the c67x00's > device struct.  I was under the impression that each USB HCD needs to > have it's own struct device.  I

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Pekka J Enberg
On Wed, 23 Jan 2008, Pekka J Enberg wrote: > As far as I can tell, there are two ways to fix this: [snip] > (2) initialize cache_cache.nodelists with initmem_list3 equivalents > for *each node hat has normal memory* An untested patch follows: --- mm/slab.c | 39 -

Re: [PATCHv2 0/8] [POWERPC] 8xx cleanups

2008-01-23 Thread Jon Loeliger
Sam Ravnborg wrote: >> What impact do the have on boards in arch/ppc being able to build? > > Byt the way what are the plans for powerpc? > We have: > arch/ppc > arch/ppc64 > arch/powerpc > > It was my understanding that arch/powerpc was supposed > to be the future unified powerpc architecture bu

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Pekka J Enberg
Hi, On Wed, 23 Jan 2008, Mel Gorman wrote: > Applied in combination with the N_NORMAL_MEMORY revert and it fails to > boot. Console is as follows; Thanks for testing! On Wed, 23 Jan 2008, Mel Gorman wrote: > [c05c3b40] c00dadb4 .cache_grow+0x7c/0x338 > [c05c3c00] c00

Re: [PATCHv2 0/8] [POWERPC] 8xx cleanups

2008-01-23 Thread Sam Ravnborg
> > What impact do the have on boards in arch/ppc being able to build? Byt the way what are the plans for powerpc? We have: arch/ppc arch/ppc64 arch/powerpc It was my understanding that arch/powerpc was supposed to be the future unified powerpc architecture but it does not even provide a defconf

Re: [patch v4 0/4] Cypress c67x00 (EZ-Host/EZ-OTG) support

2008-01-23 Thread Grant Likely
On 1/21/08, Peter Korsgaard <[EMAIL PROTECTED]> wrote: > > "Grant" == Grant Likely <[EMAIL PROTECTED]> writes: > > Grant> Personally, I'd prefer to see the v3 series picked up now (as I > Grant> believe all outstanding comments from the list have been addressed) > Grant> and have new patches

Re: [PATCH] [POWERPC] Update TQM5200, CM5200 and Motion-PRO _defconfig and .dts files

2008-01-23 Thread Grant Likely
On 1/23/08, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > In message <[EMAIL PROTECTED]> you wrote: > > Olof Johansson wrote: > > ... > > > > > > I disagree, I have one defconfig for all our boards to date. It means I > > > only have one kernel to build to test on all boards, instead of having > > > t

Re: [PATCHv2 0/8] [POWERPC] 8xx cleanups

2008-01-23 Thread Kumar Gala
On Jan 23, 2008, at 9:58 AM, Jochen Friedrich wrote: > Hi, > > this is a series against paulus for-2.6.25 tree to clean up various > 8xx related stuff. > The series can be pulled from git://git.bocc.de/dbox2.git cleanup. > Patch 6 has been modified to remove the #ifdefs as suggested by > Arnd

Re: [PATCHv2 4/8] [POWERPC] Remove declaration of m8xx_pic_init.

2008-01-23 Thread Kumar Gala
On Jan 23, 2008, at 10:00 AM, Jochen Friedrich wrote: > m8xx_pic_init is declared in ppc8xx_pic.h but defined nowhere in the > ppc > tree. Remove it. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> if we respin the patches, merge this with 2/8 - Rename m8xx_pic_init to mpc8xx_pics_in

Re: [PATCHv2 5/8] [POWERPC] Remove sysdev/commproc.h

2008-01-23 Thread Kumar Gala
On Jan 23, 2008, at 10:00 AM, Jochen Friedrich wrote: > Move cpm1 specific prototypes to asm/commproc.h and mpc8xx specific > prototypes to asm/mpc8xx.h. Adjust includes accordingly. Remove now > unneeded sysdev/commproc.h. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > --- > arch/powe

[PATCHv2 8/8] [POWERPC] Move definition of buffer descriptor to cpm.h

2008-01-23 Thread Jochen Friedrich
Buffer descriptors are used by both CPM1 and CPM2. Move the definitions from the cpm dependent include file to common cpm.h Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- include/asm-powerpc/cpm.h | 73 include/asm-powerpc/cpm1.h | 65 -

[PATCHv2 7/8] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-23 Thread Jochen Friedrich
Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the includes accordingly. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |2 +- arch/powerpc/platf

[PATCHv2 6/8] [POWERPC] Get rid of conditional includes of board specific setup

2008-01-23 Thread Jochen Friedrich
Directly include mpc885ads.h from mpc885ads_setup.c. Now we can get rid of the arch dependent includes in mpc8xx.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/mpc885ads_setup.c |2 + include/asm-powerpc/mpc8xx.h | 34 +++-

[PATCHv2 5/8] [POWERPC] Remove sysdev/commproc.h

2008-01-23 Thread Jochen Friedrich
Move cpm1 specific prototypes to asm/commproc.h and mpc8xx specific prototypes to asm/mpc8xx.h. Adjust includes accordingly. Remove now unneeded sysdev/commproc.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |3 +-- arch/powerpc/platf

[PATCHv2 2/8] [POWERPC] Rename m8xx_pic_init to mpc8xx_pics_init

2008-01-23 Thread Jochen Friedrich
m8xx_pic_init calls both mpc8xx_pic_init and cpm_pic_init. Renaming the function to use the same name space as the rest of the mpc8xx specific funtions and to be more meaningful. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |2 +- arch

[PATCHv2 4/8] [POWERPC] Remove declaration of m8xx_pic_init.

2008-01-23 Thread Jochen Friedrich
m8xx_pic_init is declared in ppc8xx_pic.h but defined nowhere in the ppc tree. Remove it. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/ppc/syslib/ppc8xx_pic.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/ppc/syslib/ppc8xx_pic.h b/arch/ppc/syslib/

[PATCHv2 3/8] [POWERPC] Remove unneeded and misspelled prototype m8xx_calibrate_decr

2008-01-23 Thread Jochen Friedrich
m8xx_calibrate_decr seems to be a misspelled prototype for mpc8xx_calibrate_decr. As it's not needed anyways, just remove it. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/m8xx_setup.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/

[PATCHv2 1/8] [POWERPC] Remove unused m8xx_cpm_hostalloc/free/dump()

2008-01-23 Thread Jochen Friedrich
m8xx_cpm_hostalloc is still defined in commproc.c, but no users are left in the kernel tree. m8xx_cpm_hostfree and m8xx_cpm_hostdump are only defined in the headers. Remove this dead code. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c | 37 -

[PATCHv2 0/8] [POWERPC] 8xx cleanups

2008-01-23 Thread Jochen Friedrich
Hi, this is a series against paulus for-2.6.25 tree to clean up various 8xx related stuff. The series can be pulled from git://git.bocc.de/dbox2.git cleanup. Patch 6 has been modified to remove the #ifdefs as suggested by Arndt Bergmann. Patch 8 is a new one. [POWERPC] Remove unused m8xx_cpm_hos

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Mel Gorman
On (23/01/08 16:49), Pekka J Enberg didst pronounce: > Hi, > > On Wed, 23 Jan 2008, Pekka J Enberg wrote: > > > I still think Christoph's kmem_getpages() patch is correct (to fix > > > cache_grow() oops) but I overlooked the fact that none the callers of > > > cache_alloc_node() deal with bo

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Pekka J Enberg
Hi, On Wed, 23 Jan 2008, Pekka J Enberg wrote: > > I still think Christoph's kmem_getpages() patch is correct (to fix > > cache_grow() oops) but I overlooked the fact that none the callers of > > cache_alloc_node() deal with bootstrapping (with the exception of > > __cache_alloc_node() that

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Mel Gorman
On (23/01/08 15:27), Olaf Hering didst pronounce: > On Wed, Jan 23, Mel Gorman wrote: > > > This patch in combination with a partial revert of commit > > 04231b3002ac53f8a64a7bd142fde3fa4b6808c6 fixes a regression between 2.6.23 > > and 2.6.24-rc8 where a PPC64 machine with all CPUS on a memoryles

Re: [PATCH 2/3] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

2008-01-23 Thread Jon Smirl
On 1/23/08, Jon Loeliger <[EMAIL PROTECTED]> wrote: > So, like, the other day Jon Smirl mumbled: > > Convert MPC i2c driver from a platform_driver to a > > of_platform_driver. Add the ability to dynamically load i2c drivers > > based on device tree names. Routine names were changed from fsl_ to > >

Re: [PATCHv2] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2008-01-23 Thread Jon Smirl
On 1/23/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > Hallo Jochen, > > On Wed, 23 Jan 2008 12:23:58 +0100, Jochen Friedrich wrote: > > Hi Jean, > > > > > Do you have an updated patch addressing Stephen's comment? > > > > > > Note: you'd rather send updates of this patch to the i2c list rather > >

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Pekka J Enberg
On Wed, 23 Jan 2008, Pekka J Enberg wrote: > I still think Christoph's kmem_getpages() patch is correct (to fix > cache_grow() oops) but I overlooked the fact that none the callers of > cache_alloc_node() deal with bootstrapping (with the exception of > __cache_alloc_node() that even has a c

Re: [PATCH 2/3] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

2008-01-23 Thread Jon Loeliger
So, like, the other day Jon Smirl mumbled: > Convert MPC i2c driver from a platform_driver to a > of_platform_driver. Add the ability to dynamically load i2c drivers > based on device tree names. Routine names were changed from fsl_ to > mpc_ to make them match the file name. Common code moved to >

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Olaf Hering
On Wed, Jan 23, Mel Gorman wrote: > This patch in combination with a partial revert of commit > 04231b3002ac53f8a64a7bd142fde3fa4b6808c6 fixes a regression between 2.6.23 > and 2.6.24-rc8 where a PPC64 machine with all CPUS on a memoryless node fails > to boot. If approved by the SLAB maintainers,

Re: [PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Pekka J Enberg
Hi Mel, On Wed, 23 Jan 2008, Mel Gorman wrote: > diff -rup -X /usr/src/patchset-0.6/bin//dontdiff > linux-2.6.24-rc8-005-revert-memoryless-slab/mm/slab.c > linux-2.6.24-rc8-010_handle_missing_l3/mm/slab.c > --- linux-2.6.24-rc8-005-revert-memoryless-slab/mm/slab.c 2008-01-22 > 17:46:32.

Re: [PATCH 2/3 v3] Add initial iomega StorCenter board port.

2008-01-23 Thread Jon Loeliger
Stephen Rothwell wrote: > Hi Jon, > > On Tue, 22 Jan 2008 16:37:59 -0600 Jon Loeliger <[EMAIL PROTECTED]> wrote: >> +++ b/arch/powerpc/platforms/embedded6xx/storcenter.c > >> +extern void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val); > > This clearly needs to be decalred in some

[PATCH] Fix boot problem in situations where the boot CPU is running on a memoryless node

2008-01-23 Thread Mel Gorman
This patch in combination with a partial revert of commit 04231b3002ac53f8a64a7bd142fde3fa4b6808c6 fixes a regression between 2.6.23 and 2.6.24-rc8 where a PPC64 machine with all CPUS on a memoryless node fails to boot. If approved by the SLAB maintainers, it should be merged for 2.6.24. With memo

Re: crash in kmem_cache_init

2008-01-23 Thread Mel Gorman
On (23/01/08 13:14), Olaf Hering didst pronounce: > On Wed, Jan 23, Mel Gorman wrote: > > > Sorry this is dragging out. Can you post the full dmesg with loglevel=8 of > > the > > following patch against 2.6.24-rc8 please? It contains the debug information > > that helped me figure out what was go

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

2008-01-23 Thread Michel Dänzer
On Wed, 2008-01-23 at 13:36 +0100, Peter Zijlstra wrote: > On Wed, 2008-01-23 at 13:18 +0100, Michel Dänzer wrote: > > > > 810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8 is first bad commit > > commit 810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8 > > Author: Peter Zijlstra <[EMAIL PROTECTED]> > > Date: Mo

  1   2   >