RE: gianfar breaking builds

2009-12-09 Thread Kumar Gopalpet-B05799
Hi Ben, Can you point to me from where you cloned the tree. Also, net-next-2.6 tree was building for me. -- Thanks Sandeep -Original Message- From: linuxppc-dev-bounces+sandeep.kumar=freescale@lists.ozlabs.o rg [mailto:linuxppc-dev-bounces+sandeep.kumar=freescale@lists.

Re: [PATCH 04/10] 8xx: Always pin kernel instruction TLB

2009-12-09 Thread Benjamin Herrenschmidt
On Wed, 2009-12-09 at 08:39 +0100, Joakim Tjernlund wrote: The later isn't as simple :) I believe the bulk of such code in entry_32.S. Yeah but it would be useful for hash I suppose if one really wants to boot with nobats. Though at least on hash most of the time we have ways to recover by mean

Re: [PATCH 1/3] show_interrupts: use irq_chip::name if available

2009-12-09 Thread Benjamin Herrenschmidt
On Wed, 2009-12-09 at 08:32 +0100, Peter Korsgaard wrote: Peter == Peter Korsgaard jac...@sunsite.dk writes: Peter struct irq_chip::typename is going away (replaced by name). Use name if Peter set instead of typename in show_interrupt to make ease transition. Comments? Hi Peter !

Re: [PATCH 1/3] show_interrupts: use irq_chip::name if available

2009-12-09 Thread Peter Korsgaard
Benjamin == Benjamin Herrenschmidt b...@kernel.crashing.org writes: Benjamin On Wed, 2009-12-09 at 08:32 +0100, Peter Korsgaard wrote: Peter == Peter Korsgaard jac...@sunsite.dk writes: Peter struct irq_chip::typename is going away (replaced by name). Use name if Peter set instead of

Re: 2.6.33 -next tree

2009-12-09 Thread Luotao Fu
Hi Grant, Grant Likely wrote: Hi Ben, Stephen. I just prepared my next branch for 2.6.33: git://git.secretlab.ca/git/linux-2.6 next Just for curiosity: I noticed that you keep so far the further patches for the dedicated spi controller on mpc5200 in the next-spi tree. Any plan when they

RE: gianfar breaking builds

2009-12-09 Thread Benjamin Herrenschmidt
On Wed, 2009-12-09 at 14:20 +0530, Kumar Gopalpet-B05799 wrote: Hi Ben, Can you point to me from where you cloned the tree. Also, net-next-2.6 tree was building for me. This is powerpc-next which contains the current Linus stuff plus the pending powerpc stuff. If that's fixed in net-next

Re: [PATCH 04/10] 8xx: Always pin kernel instruction TLB

2009-12-09 Thread Joakim Tjernlund
Benjamin Herrenschmidt b...@kernel.crashing.org wrote on 09/12/2009 09:56:35: On Wed, 2009-12-09 at 08:39 +0100, Joakim Tjernlund wrote: The later isn't as simple :) I believe the bulk of such code in entry_32.S. Yeah but it would be useful for hash I suppose if one really wants to boot

RE: gianfar breaking builds

2009-12-09 Thread Kumar Gopalpet-B05799
This is powerpc-next which contains the current Linus stuff plus the pending powerpc stuff. If that's fixed in net-next then we shall wait for Dave to merge it I suppose. I din't notice that netpoll wa enabled in your compilation. This is also not wotking on net-next tree. Will send out a

RE: gianfar breaking builds

2009-12-09 Thread Benjamin Herrenschmidt
On Wed, 2009-12-09 at 15:02 +0530, Kumar Gopalpet-B05799 wrote: I din't notice that netpoll wa enabled in your compilation. This is also not wotking on net-next tree. Will send out a patch today in some time. Ah yes, this is something close to a 6xx_defconfig. Thanks. Cheers, Ben.

[PATCH] gianfar: Fix build with CONFIG_NET_POLL_CONTROLLER=y

2009-12-09 Thread Anton Vorontsov
commit 46ceb60ca80fa07703bc6eb8f4651f900dff5a82 (gianfar: Add Multiple group Support) introduced the following build error with CONFIG_NET_POLL_CONTROLLER=y: CC ggianfar.o ggianfar.c: In function 'gfar_netpoll': ggianfar.c:2653: error: invalid storage class for function 'gfar_interrupt'

Re: [PATCH] gianfar: Fix build with CONFIG_NET_POLL_CONTROLLER=y

2009-12-09 Thread David Miller
From: Anton Vorontsov avoront...@ru.mvista.com Date: Wed, 9 Dec 2009 13:44:27 +0300 commit 46ceb60ca80fa07703bc6eb8f4651f900dff5a82 (gianfar: Add Multiple group Support) introduced the following build error with CONFIG_NET_POLL_CONTROLLER=y: ... This patch fixes the issue. Reported-by:

Re: 2.6.33 -next tree

2009-12-09 Thread Grant Likely
On Wed, Dec 9, 2009 at 2:26 AM, Luotao Fu l...@pengutronix.de wrote: Hi Grant, Grant Likely wrote: Hi Ben, Stephen. I just prepared my next branch for 2.6.33: git://git.secretlab.ca/git/linux-2.6 next Just for curiosity: I noticed that you keep so far the further patches for the

RE: [PATCH] gianfar: Fix build with CONFIG_NET_POLL_CONTROLLER=y

2009-12-09 Thread Kumar Gopalpet-B05799
From: Anton Vorontsov avoront...@ru.mvista.com Date: Wed, 9 Dec 2009 13:44:27 +0300 commit 46ceb60ca80fa07703bc6eb8f4651f900dff5a82 (gianfar: Add Multiple group Support) introduced the following build error with CONFIG_NET_POLL_CONTROLLER=y: ... This patch fixes the issue.

MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2009-12-09 Thread Roman Fietze
Hallo, I had a discussion with some Freescale support people about the constant RFIFO Event errors or PATA hard disk crashes when stressing a board with (very) high loads, in my case even with some additional traffic from an FPGA (or just the FLASH) via the SCLPC FIFO using the BestComm. The

Re: [PATCH] powerpc: Increase warp SD buffer

2009-12-09 Thread Josh Boyer
On Wed, Dec 09, 2009 at 12:04:37AM -0500, Sean MacLennan wrote: Newer revs of the FPGA have a larger SD buffer. How does that impact the older revisions? You're using a cuImage with Warp, so the device tree is bundled with that. If you boot a new kernel with this change to the DTS on a older

Re: MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2009-12-09 Thread Wolfram Sang
Hello Roman, I would be interested in your opinion, maybe Wolfgang could make some comments, because he is involved in the U-Boot a lot as well. Do you have a way to measure performance penalties? I know that stability comes before performance, still I am wondering as it looks to me that the

Problem in setting timeout from user space for MPC 83x watchdog timer

2009-12-09 Thread Aswathi C
I am using MPC 8323E processor and linux-2.6.24 kernel. I tried to set watchdog timer from user space using ioctl with the case WDIOC_SETTIMEOUT. I am getting timeout value as seconds and calculating corresponding modulus for the WDT. After that I am setting SWTC of SWCRR and writing service

Re: [PATCH] powerpc: Increase warp SD buffer

2009-12-09 Thread Sean MacLennan
On Wed, 9 Dec 2009 09:40:55 -0500 Josh Boyer jwbo...@linux.vnet.ibm.com wrote: How does that impact the older revisions? You're using a cuImage with Warp, so the device tree is bundled with that. If you boot a new kernel with this change to the DTS on a older board revision, will it do bad

Re: [PATCH] powerpc: Increase warp SD buffer

2009-12-09 Thread Josh Boyer
On Wed, Dec 09, 2009 at 10:36:45AM -0500, Sean MacLennan wrote: On Wed, 9 Dec 2009 09:40:55 -0500 Josh Boyer jwbo...@linux.vnet.ibm.com wrote: How does that impact the older revisions? You're using a cuImage with Warp, so the device tree is bundled with that. If you boot a new kernel with

Re: spi_mpc8xxx.c: chip select polarity problem

2009-12-09 Thread Torsten Fleischer
On Thu, Nov 26, 2009 at 20:17:35, Grant Likely wrote: [...] spi-cs-high is definitely not a complete solution, but it isn't actively evil either. Plus it is documented and (presumably) in active use. so support for it should not be dropped. Regardless, there needs to be a library function

Re: [PATCH 6/8] Use proper types for do_div

2009-12-09 Thread Anton Vorontsov
On Wed, Dec 09, 2009 at 04:56:34PM +0100, Mark Wielaard wrote: On Sat, 2009-11-28 at 01:33 +0300, Anton Vorontsov wrote: do_div accepts unsigned 64-bit integer type for dividend, signed types would cause do_div's typecheck fail: stat-common.c: In function 'needed_space':

Re: [RFC PATCH v2 2/6] powerpc: wii: bootwrapper bits

2009-12-09 Thread Segher Boessenkool
Add support for the Nintendo Wii video game console to the powerpc bootwrapper. dtbImage.wii is a wrapped image that contains a flat device tree, an entry point compatible with the Homebrew Channel and BootMii, and an optional initrd. Signed-off-by: Albert Herranz albert_herr...@yahoo.es

Re: [PATCH] powerpc/fsl_pci: Fix P2P bridge handling for MPC83xx PCIe controllers

2009-12-09 Thread Anton Vorontsov
On Tue, Dec 08, 2009 at 01:54:35AM +0300, Anton Vorontsov wrote: It appears that we wrongly calculate dev_base for type1 config cycles. The thing is: we shouldn't subtract hose-first_busno because PCI core sets PCI primary, secondary and subordinate bus numbers, and PCIe controller actually

Q: how to access the MPC5200B's timer gipo's?

2009-12-09 Thread Albrecht Dre�
Hi all, I have a (probably dumb) question regarding the access to the MPC5200B's timer gpio's. I added e.g. ti...@640 { // General Purpose Timer 4 compatible = fsl,mpc5200b-gpt,fsl,mpc5200-gpt; reg = 0x640 0x10; interrupts = 1 13 0; interrupt-parent =

RE: dts file for MPC8343EA

2009-12-09 Thread Lee, Eric
I would probably remove the bcsr region. this was some cpld I believe on a reference board. with this dts it'll try to write to some hardware registers that do not exist or are not mapped to the same area. -Original Message- From:

Re: [PATCH 6/8] Use proper types for do_div

2009-12-09 Thread Mark Wielaard
Hi Anton, On Sat, 2009-11-28 at 01:33 +0300, Anton Vorontsov wrote: do_div accepts unsigned 64-bit integer type for dividend, signed types would cause do_div's typecheck fail: stat-common.c: In function 'needed_space': stat-common.c:50: error: comparison of distinct pointer types lacks a

dts file for MPC8343EA - cuImage doesn't boot , but uImage with DTS shows serial output

2009-12-09 Thread Junita Ajith
Hi Eric, I am building the linux kernel V-2.6.27 based on MPC8349miTXGP dts file. I am still not able to boot the cuImage. But, I see serial outuput from kernel when I try to boot with kernel ramdisk dtb file Still the kernel hangs after Dentry cache hash table entries: 32768 (order: 5, 131072

Re: spi_mpc8xxx.c: chip select polarity problem

2009-12-09 Thread Torsten Fleischer
On Wed, Dec 9, 2009 at 18:46:51 Grant Likely wrote: [...] + ret = of_get_spi_cs_active_state(np, i, astate); + if (ret) { + dev_err(dev, can't get cs active state of device + #%d: %d\n, i, ret); +

Re: Ping does not work on my MPC8544 board, using linux2.6.23

2009-12-09 Thread Scott Wood
林志平 wrote: Another question is that I found linux2.6.31 does not support board mpc8544ds, It should. What problems do you see? = bootm 0x100 0x180 0x80 ## Booting kernel from Legacy Image at 0100 ... Image Name: Linux-2.6.31 Image Type: PowerPC Linux

Re: [PATCH v2] cpm2_pic: Allow correct flow_types for port C interrupts

2009-12-09 Thread Kumar Gala
On Dec 8, 2009, at 6:48 PM, Mark Ware wrote: Port C interrupts can be either falling edge, or either edge. Other external interrupts are either falling edge or active low. Signed-Off-By: Mark Ware mw...@elphinstone.net --- Changed in v2: - Disallow rising edge only on Port C

Re: [PATCH] powerpc/fsl_pci: Fix P2P bridge handling for MPC83xx PCIe controllers

2009-12-09 Thread Kumar Gala
On Dec 7, 2009, at 4:54 PM, Anton Vorontsov wrote: It appears that we wrongly calculate dev_base for type1 config cycles. The thing is: we shouldn't subtract hose-first_busno because PCI core sets PCI primary, secondary and subordinate bus numbers, and PCIe controller actually takes the

Re: [RFC] doc/powerpc: try to explain why the interrupt numbers are off by 16

2009-12-09 Thread Kumar Gala
On Dec 6, 2009, at 5:32 AM, Sebastian Andrzej Siewior wrote: Signed-off-by: Sebastian Andrzej Siewior sebast...@breakpoint.cc --- Documentation/powerpc/dts-bindings/fsl/mpic.txt | 42 +++ 1 files changed, 42 insertions(+), 0 deletions(-) create mode 100644

Re: [RFC PATCH 2/5] mcu_mpc8349emitx: port to new of gpio interface

2009-12-09 Thread Kumar Gala
On Nov 17, 2009, at 9:42 AM, Dmitry Eremin-Solenikov wrote: Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) Minding reviewing for me. - k diff --git

Re: [PATCH 1/4] mpc8349emitx: add gpio controller declarations

2009-12-09 Thread Kumar Gala
On Nov 16, 2009, at 7:58 AM, Dmitry Eremin-Solenikov wrote: mpc8349 bears two GPIO controllers. Enable support for them. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/powerpc/boot/dts/mpc8349emitx.dts | 18 ++ 1 files changed, 18 insertions(+), 0

Re: [PATCH 2/4] mpc8349emitx: populate I2C busses

2009-12-09 Thread Kumar Gala
On Nov 16, 2009, at 7:58 AM, Dmitry Eremin-Solenikov wrote: Add OF descriptions of EEPROM, two GPIO extenders and SPD hanging on I2C on this board. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/powerpc/boot/dts/mpc8349emitx.dts | 25 + 1

Re: [PATCH 3/4] mpc8349emitx: add OF descriptions of LocalBus devices

2009-12-09 Thread Kumar Gala
On Nov 16, 2009, at 2:51 PM, Dmitry Eremin-Solenikov wrote: Describe all LocalBus chipselects on MPC8349E-MITX board. Also add flash bindings. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/powerpc/boot/dts/mpc8349emitx.dts | 21 - 1 files

Re: [PATCH 4/4] mpc8349emitx: add leds-gpio binding

2009-12-09 Thread Kumar Gala
On Nov 16, 2009, at 7:58 AM, Dmitry Eremin-Solenikov wrote: Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/powerpc/boot/dts/mpc8349emitx.dts | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) applied to next - k

Re: [RFC PATCH 2/5] mcu_mpc8349emitx: port to new of gpio interface

2009-12-09 Thread Anton Vorontsov
On Wed, Dec 09, 2009 at 03:16:37PM -0600, Kumar Gala wrote: On Nov 17, 2009, at 9:42 AM, Dmitry Eremin-Solenikov wrote: Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 11 +-- 1 files changed, 5 insertions(+), 6

Re: [PATCH v2] cpm2_pic: Allow correct flow_types for port C interrupts

2009-12-09 Thread Anton Vorontsov
On Wed, Dec 09, 2009 at 11:48:41AM +1100, Mark Ware wrote: Port C interrupts can be either falling edge, or either edge. Other external interrupts are either falling edge or active low. Signed-Off-By: Mark Ware mw...@elphinstone.net Looks correct (checked with 8272 and 8555 specs).

Re: [PATCH] cardbus: Add a fixup hook and fix powerpc

2009-12-09 Thread Dominik Brodowski
Hey Benjamin, On Wed, Dec 09, 2009 at 05:52:13PM +1100, Benjamin Herrenschmidt wrote: Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org Acked-by: Dominik Brodowski li...@dominikbrodowski.net (for PCMCIA) Note: In the long run we might want to streamline the hooks for fixing up

Re: [PATCH v2] cpm2_pic: Allow correct flow_types for port C interrupts

2009-12-09 Thread Scott Wood
Anton Vorontsov wrote: + if ((flow_type != IRQ_TYPE_EDGE_BOTH) + (flow_type != IRQ_TYPE_EDGE_FALLING)) { I'd place one more tab here. Or better, align one flow_type with the other. -Scott ___ Linuxppc-dev mailing list

Deprecating of_platform, the path from here...

2009-12-09 Thread Grant Likely
Hi all, This is a summary of a discussion we had on #mklinux last night. On PowerPC, SPARC and Microblaze, most system (non-discoverable) devices are registered on the of_platform bus. In the rest of the kernel, the same kind of devices are registered on the platform bus. The of_platform and

Re: [PATCH 6/8] Use proper types for do_div

2009-12-09 Thread Mark Wielaard
Hi Anton, On Wed, 2009-12-09 at 19:09 +0300, Anton Vorontsov wrote: I think this should be fixed by this patch: http://sourceware.org/ml/systemtap/2009-q4/msg00800.html Can you try it? With this patch I see no new regressions on x86_64. Yes, that fixes everything. Sorry I didn't see that

Re: spi_mpc8xxx.c: chip select polarity problem

2009-12-09 Thread Grant Likely
On Wed, Dec 9, 2009 at 8:49 AM, Torsten Fleischer to-fleisc...@t-online.de wrote: On Thu, Nov 26, 2009 at 20:17:35,  Grant Likely wrote: [...] spi-cs-high is definitely not a complete solution, but it isn't actively evil either.  Plus it is documented and (presumably) in active use. so

Re: dts file for MPC8343EA - cuImage doesn't boot , but uImage with DTS shows serial output

2009-12-09 Thread Junita Ajith
Eric, 1. I did try building with MDS configuration. 2. Removed BCSR section 3. Set u-boot environment variable. The code boots up in the MPC8349 reference platform and not in the custom board. Also I am wondering why the cuImage would not give out any serial output even, whereas I do see serial

Re: ucc_geth: Fix the wrong the Rx/Tx FIFO size

2009-12-09 Thread Anton Vorontsov
On Fri, Nov 27, 2009 at 04:16:43PM +0800, Dave Liu wrote: current the Rx/Tx FIFO size settings cause problem when four UEC ethernets work simultaneously. eg: GETH1, UEM-J15, GETH2, UEC-J5 on 8569MDS board $ ifconfig eth0 10.193.20.166 $ ifconfig eth1 10.193.20.167 $ ifconfig eth2

Re: Deprecating of_platform, the path from here...

2009-12-09 Thread David Miller
From: Grant Likely grant.lik...@secretlab.ca Date: Wed, 9 Dec 2009 15:06:29 -0700 1) of_platform will be deprecated in preference of the platform bus. What a shame, it's one of the cleanest driver probing models in the tree. ___ Linuxppc-dev mailing

Re: Deprecating of_platform, the path from here...

2009-12-09 Thread David Miller
From: David Miller da...@davemloft.net Date: Wed, 09 Dec 2009 16:15:50 -0800 (PST) From: Grant Likely grant.lik...@secretlab.ca Date: Wed, 9 Dec 2009 15:06:29 -0700 1) of_platform will be deprecated in preference of the platform bus. What a shame, it's one of the cleanest driver probing

Re: Deprecating of_platform, the path from here...

2009-12-09 Thread Benjamin Herrenschmidt
On Wed, 2009-12-09 at 16:15 -0800, David Miller wrote: From: Grant Likely grant.lik...@secretlab.ca Date: Wed, 9 Dec 2009 15:06:29 -0700 1) of_platform will be deprecated in preference of the platform bus. What a shame, it's one of the cleanest driver probing models in the tree. It is

RE: [PATCH] Adding PCI-E support for 460SX based redwood board.

2009-12-09 Thread Tirumala Reddy Marri
Testing and other information for this patch. 1. Kernel version: 2.6.32-rc6 2. Board: AMCC redwood validation board. 3. tests a. Configured redwood boards PCI-E ports as root ports. And plugged in 2 HBA sas cards with 8 drives each. XDD and IO meter tests were ran. No issues

[PATCH] of: merge of_find_node_by_phandle

2009-12-09 Thread Jeremy Kerr
Merge common function between powerpc, sparc and microblaze. Code is identical for powerpc and microblaze, but adds a lock (and release) of the devtree_lock on sparc. Currently untested. Signed-off-by: Jeremy Kerr jeremy.k...@canonical.com --- v2: update iterator, fix subject, post to arch

Re: [PATCH] cardbus: Add a fixup hook and fix powerpc

2009-12-09 Thread Benjamin Herrenschmidt
On Wed, 2009-12-09 at 22:37 +0100, Dominik Brodowski wrote: Acked-by: Dominik Brodowski li...@dominikbrodowski.net (for PCMCIA) Note: In the long run we might want to streamline the hooks for fixing up new devices vs. new busses and make some stuff common between cardbus and PCI hotplug

Re: MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2009-12-09 Thread Roman Fietze
Hello Wolfram, On Wednesday 09 December 2009 15:57:48 Wolfram Sang wrote: Do you have a way to measure performance penalties? Yes, I do. I am using an SCLPC test driver derived from a driver written or posted by Grant Likely named mpc5200-localplus-test. This gives me some useful output about