[PATCH] create modalias file in sysfs for bus vio

2008-01-22 Thread Olaf Hering
Create /sys/bus/vio/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] --- arch/powerpc/kernel/vio.c | 15 +++ 1 file changed, 15 insertions(+) ---

Re: [PATCH 1/2] 8xx: Analogue Micro Adder875 board support.

2008-01-22 Thread Stephen Rothwell
Hi Scott, Just one small thing. On Thu, 17 Jan 2008 16:31:40 -0600 Scott Wood [EMAIL PROTECTED] wrote: +static __initdata struct of_device_id __initdata of_bus_ids[] = { You don't need to mark it __initdata twice ... -- Cheers, Stephen Rothwell[EMAIL PROTECTED]

Re: [PATCH 2/3] i2c: Convert all new-style drivers to use module aliasing

2008-01-22 Thread Jean Delvare
Hi Jon, On Mon, 21 Jan 2008 11:50:13 -0500, Jon Smirl wrote: In my version of these patches new style drivers could be loaded with both the driver_name/name scheme and the modalias. In these patches new style drivers can only be loaded via modalias. Is that what you intended? I'm all for

[PATCH 1/4] Search for and publish cell OF platform devices earlier

2008-01-22 Thread Michael Ellerman
Currently cell publishes OF devices at device_initcall() time, which means the earliest a driver can bind to a device is also device_initcall() time. We have a driver we want to register before other devices, so publish the devices at subsys_initcall() time. This should not cause any behaviour

[PATCH 2/4] Create and hook up of_platform_device_shutdown

2008-01-22 Thread Michael Ellerman
Although of_platform_device's can have a shutdown routine, at the moment the bus code doesn't actually call it. So add the required glue to hook the shutdown routine. Signed-off-by: Michael Ellerman [EMAIL PROTECTED] --- drivers/of/platform.c | 10 ++ 1 files changed, 10 insertions(+),

[PATCH 4/4] Avoid DMA exception when using axon_msi with IOMMU

2008-01-22 Thread Michael Ellerman
There's a brown-paper-bag bug in axon_msi, we pass the address of our FIFO directly to the hardware, without DMA mapping it. This leads to DMA exceptions if you enable MSI the IOMMU. The fix is to correctly DMA map the fifo, dma_alloc_coherent() does what we want - and we need to track the virt

[PATCH 3/4] Convert axon_msi to an of_platform driver

2008-01-22 Thread Michael Ellerman
Now that we create of_platform devices earlier on cell, we can make the axon_msi driver an of_platform driver. This makes the code cleaner in several ways, and most importantly means we have a struct device. Signed-off-by: Michael Ellerman [EMAIL PROTECTED] ---

[PATCH] create modalias file in sysfs for bus of_platform

2008-01-22 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 | 18 ++ 1 file changed, 18 insertions(+) ---

Re: [PATCH] create modalias file in sysfs for bus vio

2008-01-22 Thread Stephen Rothwell
Hi Olaf, Thanks for this. Just a couple of nits ... On Tue, 22 Jan 2008 09:33:28 +0100 Olaf Hering [EMAIL PROTECTED] wrote: +static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, ^ No space here, please. +

Re: [PATCH 3/4] Convert axon_msi to an of_platform driver

2008-01-22 Thread Stephen Rothwell
Hi Michael, On Tue, 22 Jan 2008 22:04:40 +1100 (EST) Michael Ellerman [EMAIL PROTECTED] wrote: +#include asm/of_platform.h You must have missed the lectures :-) Please use linux/of_platform.h +static struct of_device_id axon_msi_device_id[] = { const, please. -- Cheers, Stephen Rothwell

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

2008-01-22 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 | 19 +++ 1 file changed, 19 insertions(+) ---

Re: [PATCH 2/4] Create and hook up of_platform_device_shutdown

2008-01-22 Thread Stephen Rothwell
Hi Michael, Just a couple of things. On Tue, 22 Jan 2008 22:04:40 +1100 (EST) Michael Ellerman [EMAIL PROTECTED] wrote: +static void of_platform_device_shutdown(struct device * dev) ^ No space, please. Also, I wonder if we should

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

2008-01-22 Thread Michel Dänzer
On Fri, 2008-01-18 at 13:34 +0100, Michel Dänzer wrote: This is on a PowerBook5,8. In a nutshell, things seem more sluggish in general than with 2.6.23. But in particular, processes running at nice levels 0 can get most of the CPU cycles available, slowing down processes running at nice

Re: [PATCH 1/2] Add flash node to mpc8641_hpcn.dts

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 10:38 AM, Wade Farnsworth wrote: Add flash and partition information to mpc8641_hpcn.dts Signed-off-by: Wade Farnsworth [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 27 +++ 1 file changed, 27 insertions(+) diff --git

Re: [PATCH 1/2] Add flash node to mpc8641_hpcn.dts

2008-01-22 Thread Wade Farnsworth
On Tue, 2008-01-22 at 10:44 -0600, Kumar Gala wrote: On Jan 22, 2008, at 10:38 AM, Wade Farnsworth wrote: Add flash and partition information to mpc8641_hpcn.dts Signed-off-by: Wade Farnsworth [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 27

Re: [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 10:47 AM, Wade Farnsworth wrote: Publish all soc and flash devices from the device tree, similar to what is done for other boards. Signed-off-by: Wade Farnsworth [EMAIL PROTECTED] --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 16 1 file

Re: [PATCH 1/2] Add flash node to mpc8641_hpcn.dts

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 10:47 AM, Wade Farnsworth wrote: On Tue, 2008-01-22 at 10:44 -0600, Kumar Gala wrote: On Jan 22, 2008, at 10:38 AM, Wade Farnsworth wrote: Add flash and partition information to mpc8641_hpcn.dts Signed-off-by: Wade Farnsworth [EMAIL PROTECTED] ---

[PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices

2008-01-22 Thread Wade Farnsworth
Publish all soc and flash devices from the device tree, similar to what is done for other boards. Signed-off-by: Wade Farnsworth [EMAIL PROTECTED] --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 16 1 file changed, 16 insertions(+) diff --git

Re: [PATCH] Various new ibm405 DCRN #defines

2008-01-22 Thread Joshua Williams
Benjamin Herrenschmidt wrote: On Mon, 2008-01-21 at 16:43 -0600, Joshua Williams wrote: Various new ibm405 DCRN #defines. Signed-off-by: Joshua Williams [EMAIL PROTECTED] May I ask what for ? :-) Also, it's all arch/ppc, not arch/powerpc... nothing we want to improve to much on at

[PATCH 1/2] Add flash node to mpc8641_hpcn.dts

2008-01-22 Thread Wade Farnsworth
Add flash and partition information to mpc8641_hpcn.dts Signed-off-by: Wade Farnsworth [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts

Re: [PATCH] Various new ibm405 DCRN #defines

2008-01-22 Thread Josh Boyer
On Tue, 22 Jan 2008 11:08:38 -0600 Joshua Williams [EMAIL PROTECTED] wrote: Benjamin Herrenschmidt wrote: On Mon, 2008-01-21 at 16:43 -0600, Joshua Williams wrote: Various new ibm405 DCRN #defines. Signed-off-by: Joshua Williams [EMAIL PROTECTED] May I ask what for ? :-) Also,

[PATCH] [POWERPC] mpc52xx: clean up Kconfig

2008-01-22 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] Put all the mpc5200 board config option behind a menu item to get them out of the top level of the platform support list Signed-off-by: Grant Likely [EMAIL PROTECTED] --- arch/powerpc/platforms/52xx/Kconfig | 41 +-- 1

[PATCH] adder875: Fix flash bus-width and remove duplicate __initdata.

2008-01-22 Thread Scott Wood
Signed-off-by: Scott Wood [EMAIL PROTECTED] --- arch/powerpc/boot/dts/adder875-redboot.dts |2 +- arch/powerpc/boot/dts/adder875-uboot.dts |2 +- arch/powerpc/platforms/8xx/adder875.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

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

2008-01-22 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 | 19 +++ 1 file changed, 19 insertions(+) ---

Re: [PATCH] adder875: Fix flash bus-width and remove duplicate __initdata.

2008-01-22 Thread Scott Wood
Kumar Gala wrote: On Jan 22, 2008, at 12:31 PM, Scott Wood wrote: Signed-off-by: Scott Wood [EMAIL PROTECTED] --- arch/powerpc/boot/dts/adder875-redboot.dts |2 +- arch/powerpc/boot/dts/adder875-uboot.dts |2 +- arch/powerpc/platforms/8xx/adder875.c |2 +- 3 files changed,

[PATCH 0/8] pseries: phyp dump: hypervisor-assisted dump

2008-01-22 Thread Manish Ahuja
The following series of patches implement a basic framework for hypervisor-assisted dump. The very first patch provides documentation explaining what this is :-) . Yes, its supposed to be an improvement over kdump. A list of open issues / todo list is included in the documentation. It also

[POWERPC] mpc5200: Factor out 52xx dependencies from 52xx psc driver

2008-01-22 Thread John Rigby
This version fixes the problem of no output in userland on efika and liteb. PSCs change from 5200 to 5121 this patch localizes the differences in preparation for adding 5121 support Signed-off-by: John Rigby [EMAIL PROTECTED] --- drivers/serial/mpc52xx_uart.c | 256

[PATCH 0/8] pseries: phyp dump: hypervisor-assisted dump

2008-01-22 Thread Manish Ahuja
The following series of patches implement a basic framework for hypervisor-assisted dump. The very first patch provides documentation explaining what this is:-) . Yes, its supposed to be an improvement over kdump. A list of open issues / todo list is included in the documentation. It also

Re: [PATCH] Various new ibm405 DCRN #defines

2008-01-22 Thread Josh Boyer
On Tue, 22 Jan 2008 13:15:07 -0600 Joshua Williams [EMAIL PROTECTED] wrote: Josh Boyer wrote: On Tue, 22 Jan 2008 11:08:38 -0600 Joshua Williams [EMAIL PROTECTED] wrote: Benjamin Herrenschmidt wrote: On Mon, 2008-01-21 at 16:43 -0600, Joshua Williams wrote: Various new ibm405 DCRN

Re: [PATCH] Various new ibm405 DCRN #defines

2008-01-22 Thread Grant Likely
On 1/21/08, Joshua Williams [EMAIL PROTECTED] wrote: Various new ibm405 DCRN #defines. Signed-off-by: Joshua Williams [EMAIL PROTECTED] --- arch/ppc/platforms/4xx/ibm405ep.h |3 +++ arch/ppc/platforms/4xx/ibm405gp.h |9 + arch/ppc/platforms/4xx/ibm405gpr.h |

[PATCH 3/8] pseries: phyp dump: use sysfs to release reserved mem

2008-01-22 Thread Manish Ahuja
Check to see if there actually is data from a previously crashed kernel waiting. If so, Allow user-sapce tools to grab the data (by reading /proc/kcore). When user-space finishes dumping a section, it must release that memory by writing to sysfs. For example, echo 0x4000 0x1000

Re: [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe()

2008-01-22 Thread Kumar Gala
On Tue, 22 Jan 2008, Wade Farnsworth wrote: Call of_platform_bus_probe() on the MPC8641 HPCN, similar to what is done for other platforms. Signed-off-by: Wade Farnsworth [EMAIL PROTECTED] --- Updated per Kumar's comments. arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 14 ++

Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts

2008-01-22 Thread Kumar Gala
On Tue, 22 Jan 2008, Wade Farnsworth wrote: Add local bus, flash, and MTD partition nodes to mpc8641_hpcn.dts Also add compatible field for the soc node, so that it will be picked up by of_platform_bus_probe(). Signed-off-by: Wade Farnsworth [EMAIL PROTECTED] --- Updated per Kumar's

Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts

2008-01-22 Thread Jon Loeliger
Wade Farnsworth wrote: + + ranges = 0 0 ff80 0080 + 1 0 fe00 0100 + 2 0 f820 0010 + 3 0 f810 0010; + I think you want just: ranges = 0 0 f800 800 right? And is it

Re: Trying 10/HALF

2008-01-22 Thread Andy Fleming
On Jan 9, 2008, at 13:35, Siva Prasad wrote: Hi, After booting, my MPC8641 based board keeps printing “Trying 10/ HALF” for ever. I am unable to use the Ethernet, even though there are interrupts occuring. Based on /proc/interrupts, both tx and rx interrupt count is increasing, and

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-01-22 Thread Manish Ahuja
Reposted this one. I got the email id wrong in this one. Sorry about that. Manish ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH 5/8] pseries: phyp dump: debugging print routines.

2008-01-22 Thread Manish Ahuja
Provide some basic debugging support. Signed-off-by: Manish Ahuja [EMAIL PROTECTED] Signed-off-by: Linas Vepstas [EMAIL PROTECTED] - arch/powerpc/platforms/pseries/phyp_dump.c | 64 +++-- 1 file changed, 60 insertions(+), 4 deletions(-) Index:

[PATCH 6/8] pseries: phyp dump: Unregister and print dump areas.

2008-01-22 Thread Manish Ahuja
Routines to invalidate and unregister dump routines. Unregister has not been used yet, I will release another patch for that at a later stage with the kdump integration patches. There is also a routine which calculates the regions to be freed and exports that through sysfs. Signed-off-by:

Re: [PATCH] Various new ibm405 DCRN #defines

2008-01-22 Thread Benjamin Herrenschmidt
On Tue, 2008-01-22 at 11:10 -0600, Josh Boyer wrote: On Tue, 22 Jan 2008 11:08:38 -0600 Joshua Williams [EMAIL PROTECTED] wrote: Benjamin Herrenschmidt wrote: On Mon, 2008-01-21 at 16:43 -0600, Joshua Williams wrote: Various new ibm405 DCRN #defines. Signed-off-by: Joshua

[PATCH 7/8] pseries: phyp dump: Tracking memory range freed.

2008-01-22 Thread Manish Ahuja
This patch tracks the size freed. For now it does a simple rudimentary calculation of the ranges freed. The idea is to keep it simple at the external shell script level and send in large chunks for now. Signed-off-by: Manish Ahuja [EMAIL PROTECTED] - ---

Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 2:41 PM, Jon Loeliger wrote: Wade Farnsworth wrote: + +ranges = 0 0 ff80 0080 + 1 0 fe00 0100 + 2 0 f820 0010 + 3 0 f810 0010; + I think you want just:

[PATCH 8/8] pseries: phyp dump: config file

2008-01-22 Thread Manish Ahuja
To: linuxppc-dev@ozlabs.org Add hypervisor-assisted dump to kernel config Signed-off-by: Linas Vepstas [EMAIL PROTECTED] - arch/powerpc/Kconfig | 11 +++ 1 file changed, 11 insertions(+) Index: linux-2.6.24-rc2-git4/arch/powerpc/Kconfig

[PATCH] [POWERPC] Add docs for Freescale DMA DMA channel device tree nodes

2008-01-22 Thread Kumar Gala
Signed-off-by: Zhang Wei [EMAIL PROTECTED] Signed-off-by: Ebony Zhu [EMAIL PROTECTED] Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Guys please review and make sure I got all your previous comments fixed up. I've added cell-index. and the examples should represent real HW.

Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts

2008-01-22 Thread Wade Farnsworth
On Tue, 2008-01-22 at 15:07 -0600, Kumar Gala wrote: On Jan 22, 2008, at 2:41 PM, Jon Loeliger wrote: Wade Farnsworth wrote: + + ranges = 0 0 ff80 0080 +1 0 fe00 0100 +2 0 f820 0010 +3 0

Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts

2008-01-22 Thread Jon Loeliger
Kumar Gala wrote: I'm assuming he's listed CS1, CS2, and CS3 even though we don't have a children yet. (second flash chip, CF, and pixis). - k OK -- I just wasn't sure if you wanted the other CS entries for nodes that weren't actually present yet. jdl

Re: crash in kmem_cache_init

2008-01-22 Thread Mel Gorman
On (22/01/08 12:11), Christoph Lameter didst pronounce: On Tue, 22 Jan 2008, Mel Gorman wrote: Christoph/Pekka, this patch is papering over the problem and something more fundamental may be going wrong. The crash occurs because l3 is NULL and the cache is kmem_cache so this is early in

Re: [PATCH] [POWERPC] Add docs for Freescale DMA DMA channel device tree nodes

2008-01-22 Thread Timur Tabi
Kumar Gala wrote: Signed-off-by: Zhang Wei [EMAIL PROTECTED] Signed-off-by: Ebony Zhu [EMAIL PROTECTED] Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Guys please review and make sure I got all your previous comments fixed up. I've added cell-index. and the examples should represent real

Re: crash in kmem_cache_init

2008-01-22 Thread Christoph Lameter
On Tue, 22 Jan 2008, Mel Gorman wrote: After you reverted the slab memoryless node patch there should be per node structures created for node 0 unless the node is marked offline. Is it? If so then you are booting a cpu that is associated with an offline node. I'll roll a patch that

[PATCH] [POWERPC] Add docs for Freescale PowerQUICC SATA device tree nodes

2008-01-22 Thread Kumar Gala
Signed-off-by: Li Yang [EMAIL PROTECTED] Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt

Re: crash in kmem_cache_init

2008-01-22 Thread Olaf Hering
On Tue, Jan 22, Mel Gorman wrote: http://www.csn.ul.ie/~mel/postings/slab-20080122/partial-revert-slab-changes.patch .. Can you please check on your machine if it fixes your problem? It does not fix or change the nature of the crash. Olaf, please confirm whether you need the patch below

Re: [PATCH] [POWERPC] Add docs for Freescale DMA DMA channel device tree nodes

2008-01-22 Thread Scott Wood
Timur Tabi wrote: On 83xx, all DMA channels share the same interrupt? Yes. Couldn't we just specify the same IRQ in each channel's node, so that they look the same across 83xx, 85xx, and 86xx? The consensus that I thought we had reached was to let 83xx specify the interrupt in the

Re: [PATCH] [POWERPC] Add docs for Freescale PowerQUICC SATA device tree nodes

2008-01-22 Thread Grant Likely
On 1/22/08, Kumar Gala [EMAIL PROTECTED] wrote: Signed-off-by: Li Yang [EMAIL PROTECTED] Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] [POWERPC] Add docs for Freescale DMA DMA channel device tree nodes

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 3:48 PM, Scott Wood wrote: Timur Tabi wrote: On 83xx, all DMA channels share the same interrupt? Yes. Couldn't we just specify the same IRQ in each channel's node, so that they look the same across 83xx, 85xx, and 86xx? The consensus that I thought we had reached

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

2008-01-22 Thread John W. Linville
On Thu, Dec 13, 2007 at 07:38:28PM +0900, Masakazu Mokuno wrote: Here is a set of updates for PS3 gelic network driver. This patch set requires other patches which were already submitted by Geert (http://marc.info/?l=linux-kernelm=119626095605487). [1] PS3: gelic: Fix the wrong dev_id

Re: [PATCH] [POWERPC] Add docs for Freescale DMA DMA channel device tree nodes

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 3:30 PM, Timur Tabi wrote: Kumar Gala wrote: Signed-off-by: Zhang Wei [EMAIL PROTECTED] Signed-off-by: Ebony Zhu [EMAIL PROTECTED] Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Guys please review and make sure I got all your previous comments fixed up. I've added

Re: [PATCH] [POWERPC] Add docs for Freescale PowerQUICC SATA device tree nodes

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 3:54 PM, Grant Likely wrote: On 1/22/08, Kumar Gala [EMAIL PROTECTED] wrote: Signed-off-by: Li Yang [EMAIL PROTECTED] Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 30 ++ 1 files changed, 30

Re: crash in kmem_cache_init

2008-01-22 Thread Nish Aravamudan
On 1/22/08, Olaf Hering [EMAIL PROTECTED] wrote: On Tue, Jan 22, Mel Gorman wrote: http://www.csn.ul.ie/~mel/postings/slab-20080122/partial-revert-slab-changes.patch .. Can you please check on your machine if it fixes your problem? It does not fix or change the nature of the crash. Olaf

Re: crash in kmem_cache_init

2008-01-22 Thread Christoph Lameter
On Tue, 22 Jan 2008, Olaf Hering wrote: It crashes now in a different way if the patch below is applied: Yup no l3 structure for the current node. We are early in boostrap. You could just check if the l3 is there and if not just skip starting the reaper? This will be redone later anyways. Not

[PATCH 0/3 v3] Add StorCenter port

2008-01-22 Thread Jon Loeliger
Kumar, Here is the StorCenter port with the MTD partitions re-written to be hard-coded PHYSMAP partitions for now. Please pick up for 2.6.25! Thanks, jdl arch/powerpc/boot/Makefile |3 +- arch/powerpc/boot/cuboot-824x.c | 53 +

[PATCH 1/3 v3] Add StorCenter DTS first draft.

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

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

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

[PATCH 3/3 v3] Add initial storcenter config file.

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

Re: [PATCH 1/3 v3] Add StorCenter DTS first draft.

2008-01-22 Thread Grant Likely
On 1/22/08, Jon Loeliger [EMAIL PROTECTED] wrote: Based on the Kurobox DTS files. Signed-off-by: Andy Wilcox [EMAIL PROTECTED] Signed-off-by: Jon Loeliger [EMAIL PROTECTED] Comments below + +/ { + model = StorCenter; + compatible = storcenter; Be specific!

Re: crash in kmem_cache_init

2008-01-22 Thread Mel Gorman
On (22/01/08 13:34), Christoph Lameter didst pronounce: On Tue, 22 Jan 2008, Mel Gorman wrote: After you reverted the slab memoryless node patch there should be per node structures created for node 0 unless the node is marked offline. Is it? If so then you are booting a cpu

Re: [PATCH 1/3 v3] Add StorCenter DTS first draft.

2008-01-22 Thread Jon Loeliger
Grant Likely wrote: On 1/22/08, Jon Loeliger [EMAIL PROTECTED] wrote: Based on the Kurobox DTS files. Signed-off-by: Andy Wilcox [EMAIL PROTECTED] Signed-off-by: Jon Loeliger [EMAIL PROTECTED] Comments below + +/ { + model = StorCenter; + compatible = storcenter; Be

Re: crash in kmem_cache_init

2008-01-22 Thread Christoph Lameter
On Tue, 22 Jan 2008, Mel Gorman wrote: Whatever this was a problem fixed in the past or not, it's broken again now :( . It's possible that there is a __GFP_THISNODE that can be dropped early at boot-time that would also fix this problem in a way that doesn't affect runtime

[PATCH] ppc: fix #ifdef-s in mediabay driver

2008-01-22 Thread Bartlomiej Zolnierkiewicz
* Replace incorrect CONFIG_BLK_DEV_IDE #ifdef in check_media_bay() by CONFIG_MAC_FLOPPY one. * Replace incorrect CONFIG_BLK_DEV_IDE #ifdef-s by CONFIG_BLK_DEV_IDE_PMAC ones. * check_media_bay() is used only by drivers/block/swim3.c so make this function available only if CONFIG_MAC_FLOPPY

Re: [PATCH v3] create modalias file in sysfs for bus of_platform

2008-01-22 Thread Stephen Rothwell
[Adding sparclinux cc] I withdraw the comment about drivers/macintosh/macio_sysfs.c, I didn't realise that it was a whole other bus. On Tue, 22 Jan 2008 20:09:39 +0100 Olaf Hering [EMAIL PROTECTED] wrote: Create /sys/bus/of_platform/devices/*/modalias file to allow autoloading of modules.

Re: crash in kmem_cache_init

2008-01-22 Thread Mel Gorman
On (22/01/08 14:57), Christoph Lameter didst pronounce: On Tue, 22 Jan 2008, Mel Gorman wrote: Whatever this was a problem fixed in the past or not, it's broken again now :( . It's possible that there is a __GFP_THISNODE that can be dropped early at boot-time that would

Re: [PATCH] [POWERPC]: constify function pointer tables

2008-01-22 Thread Stephen Rothwell
Hi Jan, Good idea ... but ... On Tue, 22 Jan 2008 20:43:09 +0100 (CET) Jan Engelhardt [EMAIL PROTECTED] wrote: diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 2de00f8..57d4f28 100644 --- a/arch/powerpc/kernel/setup-common.c +++

Re: crash in kmem_cache_init

2008-01-22 Thread Christoph Lameter
On Wed, 23 Jan 2008, Pekka Enberg wrote: When we call fallback_alloc() because the current node has -nodelists set to NULL, we end up calling kmem_getpages() with -1 as the node id which is then translated to numa_node_id() by alloc_pages_node. But the reason we called fallback_alloc() in the

Re: crash in kmem_cache_init

2008-01-22 Thread Pekka Enberg
Hi, Mel Gorman wrote: Faulting instruction address: 0xc03c8c00 cpu 0x0: Vector: 300 (Data Access) at [c05c3840] pc: c03c8c00: __lock_text_start+0x20/0x88 lr: c00dadec: .cache_grow+0x7c/0x338 sp: c05c3ac0 msr: 80009032 dar:

Re: crash in kmem_cache_init

2008-01-22 Thread Christoph Lameter
On Tue, 22 Jan 2008, Mel Gorman wrote: Rather it should be 2. I'll admit the physical setup of this machine is less than ideal but clearly it's something that can happen even if it's a bad idea. Ok. Lets hope that Pekka's find does the trick. But this would mean that fallback gets

Re: [PATCH 1/3 v3] Add StorCenter DTS first draft.

2008-01-22 Thread Grant Likely
On 1/22/08, Jon Loeliger [EMAIL PROTECTED] wrote: Grant Likely wrote: On 1/22/08, Jon Loeliger [EMAIL PROTECTED] wrote: Based on the Kurobox DTS files. Signed-off-by: Andy Wilcox [EMAIL PROTECTED] Signed-off-by: Jon Loeliger [EMAIL PROTECTED] Comments below + +/ { +

Re: crash in kmem_cache_init

2008-01-22 Thread Christoph Lameter
On Tue, 22 Jan 2008, Christoph Lameter wrote: But I doubt that this is it. The fallback logic was added later and it worked fine. My patch is useless (fascinating history of the changelog there through). fallback_alloc calls kmem_getpages without GFP_THISNODE. This means that

Re: [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices

2008-01-22 Thread Stephen Rothwell
Hi Wade, On Tue, 22 Jan 2008 09:47:12 -0700 Wade Farnsworth [EMAIL PROTECTED] wrote: +static struct of_device_id mpc86xx_ids[] = { __initdata, please. -- Cheers, Stephen Rothwell[EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/ pgpPE23LG4t6d.pgp Description: PGP

Re: [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe()

2008-01-22 Thread Stephen Rothwell
On Tue, 22 Jan 2008 13:17:45 -0700 Wade Farnsworth [EMAIL PROTECTED] wrote: +static struct of_device_id of_bus_ids[] = { You forgot the __initdata. -- Cheers, Stephen Rothwell[EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/ pgpdMHQWtQtfS.pgp Description: PGP signature

Re: [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe()

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 5:28 PM, Stephen Rothwell wrote: On Tue, 22 Jan 2008 13:17:45 -0700 Wade Farnsworth [EMAIL PROTECTED] wrote: +static struct of_device_id of_bus_ids[] = { You forgot the __initdata. I've fixed it. - k ___ Linuxppc-dev

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

2008-01-22 Thread Stephen Rothwell
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 header file. (I know you did not

Re: [PATCH] ppc: fix #ifdef-s in mediabay driver

2008-01-22 Thread Benjamin Herrenschmidt
On Wed, 2008-01-23 at 00:12 +0100, Bartlomiej Zolnierkiewicz wrote: * Replace incorrect CONFIG_BLK_DEV_IDE #ifdef in check_media_bay() by CONFIG_MAC_FLOPPY one. * Replace incorrect CONFIG_BLK_DEV_IDE #ifdef-s by CONFIG_BLK_DEV_IDE_PMAC ones. * check_media_bay() is used only by

Re: [MPC5200] problem running FEC and ATA

2008-01-22 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Is anybody out there with more MPC5200B experience? Can someone tell me why some MPC5200B are need this patch and others not? We have two different systems here (cards from different vendors) with the same processor, one needs this BSDIS-patch and the

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

2008-01-22 Thread Benjamin Herrenschmidt
On Tue, 2008-01-22 at 16:12 -0500, John W. Linville wrote: On Thu, Dec 13, 2007 at 07:38:28PM +0900, Masakazu Mokuno wrote: Here is a set of updates for PS3 gelic network driver. This patch set requires other patches which were already submitted by Geert

Re: [PATCH] ppc: fix #ifdef-s in mediabay driver

2008-01-22 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday 23 January 2008, Benjamin Herrenschmidt wrote: On Wed, 2008-01-23 at 00:12 +0100, Bartlomiej Zolnierkiewicz wrote: * Replace incorrect CONFIG_BLK_DEV_IDE #ifdef in check_media_bay() by CONFIG_MAC_FLOPPY one. * Replace incorrect CONFIG_BLK_DEV_IDE #ifdef-s by

Re: [PATCH 1/3 v3] Add StorCenter DTS first draft.

2008-01-22 Thread Benjamin Herrenschmidt
+ + mpic: [EMAIL PROTECTED] { + #interrupt-cells = 2; + #address-cells = 0; Is #address-cells needed? There are no child nodes. It's preferrable for interrupt controllers as #address-cells of the parent interrupt controller

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

2008-01-22 Thread John W. Linville
On Wed, Jan 23, 2008 at 11:40:34AM +1100, Benjamin Herrenschmidt wrote: On Tue, 2008-01-22 at 16:12 -0500, John W. Linville wrote: On Thu, Dec 13, 2007 at 07:38:28PM +0900, Masakazu Mokuno wrote: Here is a set of updates for PS3 gelic network driver. This patch set requires other

Re: [PATCH 1/3 v3] Add StorCenter DTS first draft.

2008-01-22 Thread Josh Boyer
On Wed, 23 Jan 2008 11:33:16 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: + + mpic: [EMAIL PROTECTED] { + #interrupt-cells = 2; + #address-cells = 0; Is #address-cells needed? There are no child nodes. It's

Re: [PATCH 1/3 v3] Add StorCenter DTS first draft.

2008-01-22 Thread Scott Wood
Benjamin Herrenschmidt wrote: I think there's an ongoing argument as to whether the absence of #address-cells should be the same as #address-cells = 0 in that specific case but I'm not sure the code does the right thing so let's have it explicit. I've had no problems leaving it out. -Scott

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

2008-01-22 Thread Jon Smirl
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 powerpc-common.* Orginal ppc driver left intact

[PATCH 1/3] Rename i2c-mpc to i2c-mpc-drv in preparation for breaking out common code.

2008-01-22 Thread Jon Smirl
Rename i2c-mpc to i2c-mpc-drv in preparation for breaking out common code. Signed-off-by: Jon Smirl [EMAIL PROTECTED] --- drivers/i2c/busses/Makefile |2 drivers/i2c/busses/i2c-mpc-drv.c | 421 ++ drivers/i2c/busses/i2c-mpc.c | 421

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

2008-01-22 Thread Jon Smirl
PowerPC device trees use a different naming convention than the Linux kernel. Provide alias names for i2c drivers in order to allow them to be loaded by device tree name. The OF_ID macro ensures that the aliases are only present in powerpc builds and separated into their own namespace.

Re: [PATCH 1/3] Rename i2c-mpc to i2c-mpc-drv in preparation for breaking out common code.

2008-01-22 Thread Stephen Rothwell
Hi Jon, On Tue, 22 Jan 2008 21:09:12 -0500 Jon Smirl [EMAIL PROTECTED] wrote: Rename i2c-mpc to i2c-mpc-drv in preparation for breaking out common code. Signed-off-by: Jon Smirl [EMAIL PROTECTED] --- drivers/i2c/busses/Makefile |2 drivers/i2c/busses/i2c-mpc-drv.c | 421

Re: [PATCH 1/3] Rename i2c-mpc to i2c-mpc-drv in preparation for breaking out common code.

2008-01-22 Thread Jon Smirl
On 1/22/08, Stephen Rothwell [EMAIL PROTECTED] wrote: Hi Jon, On Tue, 22 Jan 2008 21:09:12 -0500 Jon Smirl [EMAIL PROTECTED] wrote: Rename i2c-mpc to i2c-mpc-drv in preparation for breaking out common code. Signed-off-by: Jon Smirl [EMAIL PROTECTED] ---

Re: [PATCH 1/3] Rename i2c-mpc to i2c-mpc-drv in preparation for breaking out common code.

2008-01-22 Thread Grant Likely
On 1/22/08, Jon Smirl [EMAIL PROTECTED] wrote: On 1/22/08, Stephen Rothwell [EMAIL PROTECTED] wrote: Adding -M or -C to the git diff should identify renames and makes this sort of patch much easier to review. I use stgit, I'll ask them how to generate rename patches. The actual git diff is

Re: [PATCH 1/3] Rename i2c-mpc to i2c-mpc-drv in preparation for breaking out common code.

2008-01-22 Thread Jon Smirl
On 1/22/08, Grant Likely [EMAIL PROTECTED] wrote: On 1/22/08, Jon Smirl [EMAIL PROTECTED] wrote: On 1/22/08, Stephen Rothwell [EMAIL PROTECTED] wrote: Adding -M or -C to the git diff should identify renames and makes this sort of patch much easier to review. I use stgit, I'll ask them

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

2008-01-22 Thread Stephen Rothwell
On Tue, 22 Jan 2008 21:09:14 -0500 Jon Smirl [EMAIL PROTECTED] wrote: +static struct of_device_id mpc_i2c_of_match[] = { (sfr winds up his broken record :-)) const, please. +#else + static int fsl_i2c_probe(struct platform_device *pdev) While this code is still here, you should still

Re: [PATCH] ppc: fix #ifdef-s in mediabay driver

2008-01-22 Thread Benjamin Herrenschmidt
On Wed, 2008-01-23 at 01:58 +0100, Bartlomiej Zolnierkiewicz wrote: I'm more worried about breaking automatic build checking (make randconfig) than a few extra bytes so if you remove all #ifdefs you'll have to either make BLK_DEV_IDE_PMAC select PMAC_MEDIABAY or make PMAC_MEDIABAY depend on

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

2008-01-22 Thread Jon Smirl
On 1/22/08, Stephen Rothwell [EMAIL PROTECTED] wrote: On Tue, 22 Jan 2008 21:09:14 -0500 Jon Smirl [EMAIL PROTECTED] wrote: +static struct of_device_id mpc_i2c_of_match[] = { (sfr winds up his broken record :-)) const, please. Fixed this +#else + static int fsl_i2c_probe(struct

Re: [MPC5200] problem running FEC and ATA

2008-01-22 Thread Mehlan, Markus (Ritter Elektronik)
Hello Wolfgang, -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 23. Januar 2008 01:21 An: Juergen Beisert Cc: linuxppc-dev@ozlabs.org; Mehlan, Markus (Ritter Elektronik) Betreff: Re: [MPC5200] problem running FEC and ATA In message

Re: crash in kmem_cache_init

2008-01-22 Thread Olaf Hering
On Tue, Jan 22, Christoph Lameter wrote: 0xc00fe018 is in setup_cpu_cache (/home/olaf/kernel/git/linux-2.6-numa/mm/slab.c:2111). 2106BUG_ON(!cachep-nodelists[node]); 2107