[PATCH v2] 83xx: add support for the kmeter1 board.

2009-04-29 Thread Heiko Schocher
The following series implements basic board support for the kmeter1 board from keymile, based on a MPC8360. This series provides the following functionality: - The board can boot with a serial console on UART1 - Ethernet: UCC1 in RGMII mode UCC2 in RGMII mode UCC4 in RMII mode

Re: Next April 28: boot failure on PowerPC with SLQB

2009-04-29 Thread Nick Piggin
On Tue, Apr 28, 2009 at 02:22:06PM +0300, Pekka Enberg wrote: Nick, Here's another one. I think we need to either fix these rather quickly or make SLUB the defaut for linux-next again so we don't interfere with other testing. Yeah, I'm working on it. Let me either give you a fix or a patch

[PATCH 2/2] powerpc: Move VSX load/stores into ppc-opcode.h

2009-04-29 Thread Michael Neuling
Move VSX load/stores into ppc-opcode.h Signed-off-by: Michael Neuling mi...@neuling.org --- arch/powerpc/include/asm/ppc-opcode.h |9 + arch/powerpc/include/asm/ppc_asm.h| 10 -- 2 files changed, 9 insertions(+), 10 deletions(-) Index:

[PATCH 0/2] powerpc: Cleanup code in ppc-opcode.h

2009-04-29 Thread Michael Neuling
Cleanup some code in ppc-opcode.h ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH 1/2] powerpc: Cleanup macros in ppc-opcode.h

2009-04-29 Thread Michael Neuling
Macros need to be more braces happy Signed-off-by: Michael Neuling mi...@neuling.org --- arch/powerpc/include/asm/ppc-opcode.h |8 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6-ozlabs/arch/powerpc/include/asm/ppc-opcode.h

[PATCH 0/2] powerpc: tlbie implementation for PowerPC ISA 2.06

2009-04-29 Thread Michael Neuling
These patches implement the PowerPC ISA 2.06 tlbie mnemonics Signed-off-by: Michael Neuling mi...@neuling.org --- Built ontop of ppc-opcode cleanup patches Renamed somethings to be more logical based on comments from mpe. ___ Linuxppc-dev mailing list

[PATCH 1/2] powerpc: Enable MMU feature sections for inline asm

2009-04-29 Thread Michael Neuling
From: Milton Miller milt...@bga.com powerpc: Enable MMU feature sections for inline asm This adds the ability to do MMU feature sections for inline asm. Signed-off-by: Milton Miller milt...@bga.com Signed-off-by: Michael Neuling mi...@neuling.org --- arch/powerpc/include/asm/feature-fixups.h

[PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics

2009-04-29 Thread Michael Neuling
From: Milton Miller milt...@bga.com This adds the PowerPC 2.06 tlbie mnemonics and keeps backwards compatibilty for CPUs before 2.06. Only useful for bare metal systems. Signed-off-by: Milton Miller milt...@bga.com Signed-off-by: Michael Neuling mi...@neuling.org ---

Re: [PATCH] powerpc: Update MPC5xxx and Xilinx Virtex maintainer entries

2009-04-29 Thread Sylvain Munaut
Grant Likely wrote: From: Grant Likely grant.lik...@secretlab.ca - Add git tree URLs - Drop Sylvain from the 5xxx maintainers list. He hasn't been active for a while now. Signed-off-by: Grant Likely grant.lik...@secretlab.ca Confirmed. --- MAINTAINERS |4 ++-- 1 files

Re: bug in drivers/edac/mpc85xx_edac.c:mpc85xx_mc_check()

2009-04-29 Thread Andrew Morton
Let's cc the suitable people. On Tue, 28 Apr 2009 18:23:42 -0700 Jeff Haran jha...@brocade.com wrote: Hi, Recent versions of this function contain the following snippets: if (err_detect DDR_EDE_SBE) edac_mc_handle_ce(mci, pfn, err_addr PAGE_MASK,

Re: [PATCH] [MTD] ofpart: Partitions at same address cannot have thesame name v3

2009-04-29 Thread Ricardo Ribalda Delgado
Hello Segher Thanks for your comments. Your special partition isn't really a partition then, is it. Because of that, device nodes to represent your partitions doesn't work very well. I think that they work pretty well. Unfortunately, since 4b08e149c0e02e97ec49c2a31d14a0d3a02f8074 all the

FSL Driver load issues with OF

2009-04-29 Thread Benjamin Zores
Hi there, Since the progressive migration of some PPC drivers to use of_platform bus (typically migrating OF parsing from fsl_soc.c to the device probe/init functions), I'm experiencing driver load issues. Actually, I'm not longer able to load of these drivers as the probe() function is

Re: Next April 28: boot failure on PowerPC with SLQB

2009-04-29 Thread Nick Piggin
On Tue, Apr 28, 2009 at 02:22:06PM +0300, Pekka Enberg wrote: Nick, Here's another one. I think we need to either fix these rather quickly or make SLUB the defaut for linux-next again so we don't interfere with other testing. Pekka On Tue, Apr 28,

Re: [PATCH 1/6] powerpc: Move #ifdef'ed body of do_IRQ() into a separate function

2009-04-29 Thread Christoph Hellwig
On Tue, Apr 28, 2009 at 10:49:07AM +1000, Michael Ellerman wrote: On Sat, 2009-04-25 at 20:18 +0200, Christoph Hellwig wrote: On Thu, Apr 23, 2009 at 11:31:37AM +1000, Michael Ellerman wrote: +#ifdef CONFIG_IRQSTACKS Wasn't there a plan to make CONFIG_IRQSTACKS the unconditional

Re: [PATCH] therm_windtunnel: Convert to a new-style i2c driver

2009-04-29 Thread Jean Delvare
On Thu, 16 Apr 2009 23:01:01 +0200, Jean Delvare wrote: The legacy i2c binding model is going away soon, so convert the ppc therm_windtunnel driver to the new model or it will break. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul

Re: [PATCH 2/2] powerpc: Move VSX load/stores into ppc-opcode.h

2009-04-29 Thread Kumar Gala
On Apr 29, 2009, at 2:20 AM, Michael Neuling wrote: Index: linux-2.6-ozlabs/arch/powerpc/include/asm/ppc-opcode.h === --- linux-2.6-ozlabs.orig/arch/powerpc/include/asm/ppc-opcode.h +++

Re: [PATCH] powerpc: Keep track of emulated instructions

2009-04-29 Thread Geert Uytterhoeven
On Mon, 6 Apr 2009, Geert Uytterhoeven wrote: On Fri, 3 Apr 2009, Kumar Gala wrote: On Apr 3, 2009, at 7:08 AM, Geert Uytterhoeven wrote: Finally (after ca. 1.5 years), he're an updated version of my patch to keep track of emulated instructions. In the light of Kumar's `Emulate enough of

Re: bug in drivers/edac/mpc85xx_edac.c:mpc85xx_mc_check()

2009-04-29 Thread Kumar Gala
On Apr 29, 2009, at 2:37 AM, Andrew Morton wrote: Let's cc the suitable people. On Tue, 28 Apr 2009 18:23:42 -0700 Jeff Haran jha...@brocade.com wrote: Hi, Recent versions of this function contain the following snippets: if (err_detect DDR_EDE_SBE) edac_mc_handle_ce(mci,

Re: [PATCH 1/6] powerpc: Move #ifdef'ed body of do_IRQ() into a separate function

2009-04-29 Thread Kumar Gala
On Apr 29, 2009, at 6:44 AM, Christoph Hellwig wrote: On Tue, Apr 28, 2009 at 10:49:07AM +1000, Michael Ellerman wrote: On Sat, 2009-04-25 at 20:18 +0200, Christoph Hellwig wrote: On Thu, Apr 23, 2009 at 11:31:37AM +1000, Michael Ellerman wrote: +#ifdef CONFIG_IRQSTACKS Wasn't there a

[PATCH v6] powerpc/85xx: Add P2020DS board support

2009-04-29 Thread Kumar Gala
The P2020 is a dual e500v2 core based SOC with: * 3 PCIe controllers * 2 General purpose DMA controllers * 2 sRIO controllers * 3 eTSECS * USB 2.0 * SDHC * SPI, I2C, DUART * enhanced localbus * and optional Security (P2020E) security w/XOR acceleration The p2020 DS reference board is pretty

Re: [PATCH] powerpc: Update MPC5xxx and Xilinx Virtex maintainer entries

2009-04-29 Thread Grant Likely
On Wed, Apr 29, 2009 at 1:28 AM, Sylvain Munaut t...@246tnt.com wrote: Grant Likely wrote: From: Grant Likely grant.lik...@secretlab.ca - Add git tree URLs - Drop Sylvain from the 5xxx maintainers list.  He hasn't been active   for a while now. Signed-off-by: Grant Likely

Re: [PATCH] i2c-cpm: Pass dev ptr to dma_*_coherent rather than NULL

2009-04-29 Thread Kumar Gala
On Apr 22, 2009, at 4:56 PM, Ben Dooks wrote: On Tue, Apr 21, 2009 at 10:11:51AM -0500, Kumar Gala wrote: On Apr 21, 2009, at 7:49 AM, Mark Ware wrote: Recent DMA changes result in a BUG() when NULL is passed to dma_alloc_coherent in place of a device. Signed-off-by: Mark Ware

Re: Next April 28: boot failure on PowerPC with SLQB

2009-04-29 Thread Sachin Sant
area, sig: 11 [#1] SMP NR_CPUS=1024 DEBUG_PAGEALLOC NUMA pSeries Modules linked in: NIP: c07d03ec LR: c07b0bbc CTR: 00136f8c REGS: c0a23bd0 TRAP: 0300 Not tainted (2.6.30-rc3-next-20090429) MSR: 80009032 EE,ME,IR,DR CR: 2884 XER: 0010 DAR

[PATCH 5/6] net/ucc_geth: Assign six threads to Rx for UEC

2009-04-29 Thread Haiying Wang
when there are 46 snums defined in device tree. Signed-off-by: Haiying Wang haiying.w...@freescale.com --- drivers/net/ucc_geth.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 3e003fe..1f6529f 100644 ---

[PATCH 4/6] powerpc/qe: update QE Serial Number

2009-04-29 Thread Haiying Wang
The latest QE chip may have more Serial Number(SNUM)s of thread to use. We will get the number of SNUMs from device tree by reading the new property num-snums , and set 28 as the default number of SNUMs so that it is compatible with the old QE chips' device trees which don't have this new

[PATCH 1/6] powerpc/85xx: clean up for mpc8568_mds name

2009-04-29 Thread Haiying Wang
Keep an unique machine def for the MPC8568 MDS board to handle some subtle differences between the future MDS board. Also set the bcsrs in setup_arch() only for mpc8568_mds because other mds has different bcsr settings. Signed-off-by: Haiying Wang haiying.w...@freescale.com ---

[PATCH 6/6] powerpc/85xx: Add MPC8569MDS board support

2009-04-29 Thread Haiying Wang
Signed-off-by: Haiying Wang haiying.w...@freescale.com --- arch/powerpc/boot/dts/mpc8569mds.dts | 514 + arch/powerpc/platforms/85xx/mpc85xx_mds.c | 23 ++ 2 files changed, 537 insertions(+), 0 deletions(-) create mode 100644

[PATCH 2/6] powerpc/qe: update risc allocation for QE

2009-04-29 Thread Haiying Wang
Change the RISC allocation to macros instead of enum, add function to read the number of risc engines from the new property num-riscs under qe node in dts. Add new property num-riscs description in qe.txt Signed-off-by: Haiying Wang haiying.w...@freescale.com ---

[PATCH 3/6] net/ucc_geth: update riscTx and riscRx in ucc_geth

2009-04-29 Thread Haiying Wang
Change the definition of riscTx and riscRx to unsigned integer instead of enum, and change their values to support 4 risc allocation if the qe has 4 RISC engines. Signed-off-by: Haiying Wang haiying.w...@freescale.com --- drivers/net/ucc_geth.c | 14 +++--- drivers/net/ucc_geth.h |

Re: [PATCH 1/6] powerpc: Move #ifdef'ed body of do_IRQ() into a separate function

2009-04-29 Thread Benjamin Herrenschmidt
On Wed, 2009-04-29 at 07:48 -0500, Kumar Gala wrote: I think Ben, Paul and I had discussed just universally enabling it. Can't remember why Ben hadn't done that yet. Slipped between the cracks. Patch welcome. Cheers, Ben. ___ Linuxppc-dev

Re: [PATCH 3/6] net/ucc_geth: update riscTx and riscRx in ucc_geth

2009-04-29 Thread Kumar Gala
On Apr 29, 2009, at 1:14 PM, Haiying Wang wrote: Change the definition of riscTx and riscRx to unsigned integer instead of enum, and change their values to support 4 risc allocation if the qe has 4 RISC engines. Signed-off-by: Haiying Wang haiying.w...@freescale.com --- Dave, if you can

Re: [PATCH 5/6] net/ucc_geth: Assign six threads to Rx for UEC

2009-04-29 Thread Kumar Gala
On Apr 29, 2009, at 1:14 PM, Haiying Wang wrote: when there are 46 snums defined in device tree. Signed-off-by: Haiying Wang haiying.w...@freescale.com --- drivers/net/ucc_geth.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) Can you be a bit more explicit in the commit

[PATCH] powerpc adjust oprofile_cpu_type version 3 resend

2009-04-29 Thread Mike Wolf
Oprofile is changing the naming it is using for the compatibility modes. Instead of having compat-powerx, oprofile will go to family naming convention and use ibm-compat-vx. Currently only ibm-compat-v1 will be defined. The notion of compatibility events just started with POWER6. So there is no

[RFC][PATCH] powerpc/pci: Pull ppc32 code we need in ppc64

2009-04-29 Thread Kumar Gala
Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- Ben, My question is if we think fake_pci_bus will always get a valid hose(). The users of EARLY_PCI_OP are fsl/8xxx, 4xx, and pmac. I verified that fsl/8xxx 4xx pass a valid hose. Do we think pmac does? - k

[PATCH 2/2] Added AMCC 460EX Canyonlands SATA support.

2009-04-29 Thread Feng Kan
Signed-off-by: Feng Kan f...@amcc.com --- arch/powerpc/boot/dts/canyonlands.dts |8 ++ arch/powerpc/platforms/44x/Makefile|4 + arch/powerpc/platforms/44x/amcc-sata.c | 125 3 files changed, 137 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH 1/2] Add support for Designware SATA controller driver

2009-04-29 Thread Kumar Gala
On Apr 29, 2009, at 4:42 PM, Feng Kan wrote: Signed-off-by: Feng Kan f...@amcc.com --- drivers/ata/Kconfig| 76 +- drivers/ata/Makefile |1 + drivers/ata/sata_dwc.c | 2047 +++ + 3 files changed, 2091 insertions(+), 33 deletions(-) create

Re: [PATCH 3/6] net/ucc_geth: update riscTx and riscRx in ucc_geth

2009-04-29 Thread David Miller
From: Kumar Gala ga...@kernel.crashing.org Date: Wed, 29 Apr 2009 15:23:21 -0500 On Apr 29, 2009, at 1:14 PM, Haiying Wang wrote: Change the definition of riscTx and riscRx to unsigned integer instead of enum, and change their values to support 4 risc allocation if the qe has 4 RISC

Re: [PATCH v6] introduce macro spin_event_timeout()

2009-04-29 Thread Timur Tabi
On Mon, Apr 27, 2009 at 2:05 PM, Timur Tabi ti...@freescale.com wrote: The macro spin_event_timeout() takes a condition and timeout value (in microseconds) as parameters.  It spins until either the condition is true or the timeout expires.  It returns the result of the condition when the loop

Re: [PATCH 1/2] Add support for Designware SATA controller driver

2009-04-29 Thread Wolfgang Denk
Dear Feng Kan, In message 1241042419-19774-1-git-send-email-f...@amcc.com you wrote: Signed-off-by: Feng Kan f...@amcc.com --- drivers/ata/Kconfig| 76 +- drivers/ata/Makefile |1 + drivers/ata/sata_dwc.c | 2047 3 files

Re: [PATCH 1/2] Add support for Designware SATA controller driver

2009-04-29 Thread Mark Miesfeld
Feng, Can you just insert my Signed off by line, using Mark Miesfeld miesf...@gmail.com I always goof up the formatting. If that is okay with you and meets your ethical standards. -- Mark Miesfeld miesf...@gmail.com On Wed, Apr 29, 2009 at 4:28 PM, Wolfgang Denk w...@denx.de wrote: Dear Feng

Need a patch tested on a windtunnel powermac

2009-04-29 Thread Paul Mackerras
Does anyone here still have a windtunnel powermac (PowerMac3,6) machine running Linux? We need someone to test Jean Delvare's patch to the therm_windtunnel driver. The patch is at: http://patchwork.ozlabs.org/patch/26095/ I don't have a windtunnel machine myself - I have a PowerMac3,5 but not

Re: [PATCH 2/2] powerpc: Move VSX load/stores into ppc-opcode.h

2009-04-29 Thread Michael Neuling
Index: linux-2.6-ozlabs/arch/powerpc/include/asm/ppc-opcode.h === --- linux-2.6-ozlabs.orig/arch/powerpc/include/asm/ppc-opcode.h +++ linux-2.6-ozlabs/arch/powerpc/include/asm/ppc-opcode.h @@ -49,6 +49,7 @@ /* macros to

Re: Need a patch tested on a windtunnel powermac

2009-04-29 Thread Josh Boyer
On Thu, Apr 30, 2009 at 09:30:59AM +1000, Paul Mackerras wrote: Does anyone here still have a windtunnel powermac (PowerMac3,6) machine running Linux? We need someone to test Jean Delvare's patch to the therm_windtunnel driver. The patch is at: http://patchwork.ozlabs.org/patch/26095/ I don't

RE: USB does not work on mpc8347

2009-04-29 Thread Li Yang-R58472
Hi Leo USB work on mpc8347 now. Thank you for your help. The cause was Clock signal was not connected to USB. And I have the other problem. I need to java run time environment on mpc8347. I do not know where i can get it. Could you tell me if you know. I have no particular knowledge about

Re: [v2 PATCH 1/3] EDAC: Add CPC925 Memory Controller driver

2009-04-29 Thread Benjamin Herrenschmidt
On Mon, 2009-04-13 at 14:05 +0800, Harry Ciao wrote: Introduce IBM CPC925 EDAC driver, which makes use of ECC, CPU and HyperTransport Link error detections and corrections on the IBM CPC925 Bridge and Memory Controller. Ah, fun ! I'm pretty sure I wrote a driver for that chipset a while ago

Re: [MTD] ofpart: Partitions at same address cannot have the same name

2009-04-29 Thread Benjamin Herrenschmidt
On Wed, 2009-04-22 at 10:05 +0200, Ricardo Ribalda Delgado wrote: Sometimes, an special partition is included in the device tree including all the partitions. Like in: partit...@ff00 { reg = 0x00 0x80 ; label = Root File System; }; partit...@ff80 {

Re: Next April 28: boot failure on PowerPC with SLQB

2009-04-29 Thread Stephen Rothwell
Hi Nick, On Wed, 29 Apr 2009 21:56:19 +0530 Sachin Sant sach...@in.ibm.com wrote: Nick Piggin wrote: Does this help? --- With the patch the machine boots past the failure point, but panics immediately with the following trace... That patch also changes the behaviour of my machine. I now

Powerpc Port linux-2.6.29

2009-04-29 Thread Deepak Gaur
Hello all I have a custom board with MPC8560 and 1GB DDR SDRAM. I am trying to port linux - 2.6.29 on this board. The U-BOOT is already ported on the board and is working. The OS uImage is stored in code flash at address 0xe000 and OS is booted by U-BOOT While OS do boot but after some

Re: Next April 28: boot failure on PowerPC with SLQB

2009-04-29 Thread Nick Piggin
Not tainted (2.6.30-rc3-next-20090429) MSR: 80009032 EE,ME,IR,DR CR: 2884 XER: 0010 DAR: 0010, DSISR: 4000 TASK = c0955fc0[0] 'swapper' THREAD: c0a2 CPU: 0 GPR00: 0001 c0a23e50 c0a17650 001f GPR04

Re: [PATCH 1/2] Add support for Designware SATA controller driver

2009-04-29 Thread Stephen Rothwell
On Wed, 29 Apr 2009 14:42:25 -0700 Feng Kan f...@amcc.com wrote: Signed-off-by: Feng Kan f...@amcc.com --- drivers/ata/Kconfig| 76 +- drivers/ata/Makefile |1 + drivers/ata/sata_dwc.c | 2047 3 files changed, 2091

Re: [PATCH 2/6] powerpc/qe: update risc allocation for QE

2009-04-29 Thread Kumar Gala
On Apr 29, 2009, at 1:14 PM, Haiying Wang wrote: Change the RISC allocation to macros instead of enum, add function to read the number of risc engines from the new property num-riscs under qe node in dts. Add new property num-riscs description in qe.txt Signed-off-by: Haiying Wang

Re: [PATCH 4/6] powerpc/qe: update QE Serial Number

2009-04-29 Thread Kumar Gala
On Apr 29, 2009, at 1:14 PM, Haiying Wang wrote: The latest QE chip may have more Serial Number(SNUM)s of thread to use. We will get the number of SNUMs from device tree by reading the new property num-snums , and set 28 as the default number of SNUMs so that it is compatible with the

Re: [PATCH] rapidio: add common mapping APIs for RapidIO memory access

2009-04-29 Thread Li Yang
On Tue, Apr 28, 2009 at 7:39 PM, David Miller da...@davemloft.net wrote: Please number your patches. :-/ There is no way for anyone to be able to tell in what order your changes should be applied. Sorry for that. I thought I have added -n when doing the git-format-patch, but it turns out

[PATCH] Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc

2009-04-29 Thread David Gibson
The powerpc kernel always requires an Open Firmware like device tree to supply device information. On systems without OF, this comes from a flattened device tree blob. This blob is usually generated by dtc, a tool which compiles a text description of the device tree into the flattened format

Re: [MTD] ofpart: Partitions at same address cannot have the same name

2009-04-29 Thread David Woodhouse
On Thu, 2009-04-30 at 04:19 +0100, Benjamin Herrenschmidt wrote: I fail to see the point of this special partition in the first place... Things would make more sense if you had a full flash device whose child nodes are the partitions. That's the model I think I want to move to, and which

Re: Next April 28: boot failure on PowerPC with SLQB

2009-04-29 Thread Sachin Sant
version 2.6.30-rc3-next-20090429-slqb (r...@llm62) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #4 SMP Thu Apr 30 10:52:00 IST 2009 Calling ibm,client-architecture... done command line: root=/dev/sda5 sysrq=1 insmod=sym53c8xx insmod=ipr crashkernel=512M-:256M loglevel=8

[PATCH] powerpc: Fix setting of oprofile cpu type

2009-04-29 Thread Benjamin Herrenschmidt
commit 2657dd4e301d4841ed67a4fac7d145ad8f3e1b28 introduced a bug where we would now always override the real oprofile CPU type with the compatible one provided by a pseudo-PVR in the device-tree which is incorrect and breaks oprofile on all current configs since the compatible ones aren't yet