Question regarding the DTLB Miss exceptions

2010-03-30 Thread Bruce_Leonard
I'm tracking a problem that's leading me through DSI and DTLB miss exceptions on an MPC8347 (e300c1 core), and I've come across an oddity that I'm hoping someone can explain. When a DTLB Miss exception can't find a PTE for the virtual address being written/read, it dummies up the SPRs for a

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-30 Thread Németh Márton
Hi, Grant Likely wrote: 2010/3/13 Németh Márton nm...@freemail.hu: [...] + }; + + e...@3fc { // Enhanced Time Processing Unit + compatible = fsl,mpc5554-etpu; + reg =

[Patch 0/2] PPC64-HWBKPT: Hardware Breakpoint interfaces - ver XVI

2010-03-30 Thread K.Prasad
Hi All, Please find the version XVI of the patches that implement hardware-breakpoint interfaces for PPC64 Server machines (with one DABR). The changes over the previous version are as listed below. Changelog - ver XVI (Version XV: linuxppc-dev ref:

[Patch 1/2] PPC64-HWBKPT: Disable interrupts for data breakpoint exceptions

2010-03-30 Thread K.Prasad
Data address breakpoint exceptions are currently handled along with page-faults which require interrupts to remain in enabled state. Since exception handling for data breakpoints aren't pre-empt safe, we handle them separately. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com ---

MPC5200B, many FEC_IEVENT_RFIFO_ERRORs until link down

2010-03-30 Thread Roman Fietze
Hello, I think this is a never ending story. This error still happens under higher load every few seconds, until I get a PHY: f0003000:00 - Link is Down, on my box easiliy reproducable after maybe 15 to 30 seconds. I can recover using ip link set down/up dev eth0. I double checked that I'm using

[Patch 2/2] PPC64-HWBKPT: Implement hw-breakpoints for PPC64

2010-03-30 Thread K.Prasad
Implement perf-events based hw-breakpoint interfaces for PPC64 processors. These interfaces help arbitrate requests from various users and schedules them as appropriate. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/Kconfig |1

Re: [RFC Patch 2/2] PPC64-HWBKPT: Implement hw-breakpoints for PPC64

2010-03-30 Thread K.Prasad
On Mon, Mar 29, 2010 at 02:53:36PM -0500, Dave Kleikamp wrote: On Mon, 2010-03-29 at 17:01 +0530, K.Prasad wrote: On Fri, Mar 26, 2010 at 04:11:45PM -0500, Dave Kleikamp wrote: On Tue, 2010-03-23 at 19:37 +0530, K.Prasad wrote: plain text document attachment (ppc64_hbkpt_02)

Re: [RFC Patch 1/2] PPC64-HWBKPT: Disable interrupts for data breakpoint exceptions

2010-03-30 Thread K.Prasad
On Tue, Mar 30, 2010 at 04:24:42PM +1100, Paul Mackerras wrote: On Tue, Mar 23, 2010 at 07:37:02PM +0530, K.Prasad wrote: Index: linux-2.6.ppc64_test/arch/powerpc/kernel/exceptions-64s.S === ---

Re: [RFC Patch 1/2] PPC64-HWBKPT: Disable interrupts for data breakpoint exceptions

2010-03-30 Thread K.Prasad
On Tue, Mar 30, 2010 at 04:32:25PM +1100, Benjamin Herrenschmidt wrote: On Tue, 2010-03-30 at 16:24 +1100, Paul Mackerras wrote: On Tue, Mar 23, 2010 at 07:37:02PM +0530, K.Prasad wrote: Index: linux-2.6.ppc64_test/arch/powerpc/kernel/exceptions-64s.S

Re: MPC5200B, many FEC_IEVENT_RFIFO_ERRORs until link down

2010-03-30 Thread Wolfgang Grandegger
Roman Fietze wrote: Hello, I think this is a never ending story. This error still happens under higher load every few seconds, until I get a PHY: f0003000:00 - Link is Down, on my box easiliy reproducable after maybe 15 to 30 seconds. I can recover using ip link set down/up dev eth0. I

Re: [PATCH v3 04/11] mtd: Add MPC5121 NAND Flash Controller driver

2010-03-30 Thread Artem Bityutskiy
On Tue, 2010-02-09 at 19:42 -0700, Grant Likely wrote: On Fri, Feb 5, 2010 at 6:42 AM, Anatolij Gustschin ag...@denx.de wrote: Adds NAND Flash Controller driver for MPC5121 Revision 2. All device features, except hardware ECC and power management, are supported. Signed-off-by: Piotr

[PATCH] fix the problem where pcix node is probed again as pci node.

2010-03-30 Thread Feng Kan
From: Feng Kan f...@appliedmicro.com The current matching scheme make the pci node match to pcix or pciex node. To avoid the match, change the method so only one type of initialization is called per node. Signed-off-by: Feng Kan f...@appliedmicro.com Signed-off-by: Tirumala R Marri

Re: [PATCH] fix the problem where pcix node is probed again as pci node.

2010-03-30 Thread Benjamin Herrenschmidt
On Wed, 2010-03-31 at 07:48 +1100, Benjamin Herrenschmidt wrote: On Tue, 2010-03-30 at 10:41 -0700, Feng Kan wrote: From: Feng Kan f...@appliedmicro.com The current matching scheme make the pci node match to pcix or pciex node. To avoid the match, change the method so only one type of

Re: [PATCH] fix the problem where pcix node is probed again as pci node.

2010-03-30 Thread Grant Likely
On Tue, Mar 30, 2010 at 3:14 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2010-03-31 at 07:48 +1100, Benjamin Herrenschmidt wrote: On Tue, 2010-03-30 at 10:41 -0700, Feng Kan wrote: From: Feng Kan f...@appliedmicro.com The current matching scheme make the pci node

Re: [PATCH] fix the problem where pcix node is probed again as pci node.

2010-03-30 Thread Benjamin Herrenschmidt
On Tue, 2010-03-30 at 15:02 -0700, Feng Kan wrote: Ok thanks. This short string match may be useful in some cases, but I agree it plays havoc with the current code. Yeah well, it's not actually -that- useful and is definitely broken :-) If you want multiples matches, then it's the compatible

I can not get my MII working on MPC8247 with Linux 2.6.32.6

2010-03-30 Thread Peter Pan
Recently, I'm porting Linux 2.6.32.6 to our customized MPC8247 based board. Everything is fine out except my ethernets. I uses cpm2-scc-enet and cpm2-fcc-enet drivers. My ethernet works fine in U-Boot with the same setting, and our previous Linux 2.6.22 is also working, so there should be nothing

Re: [PATCH 1/12] arch/powerpc/kernel: Add missing unlock

2010-03-30 Thread Stephen Rothwell
Hi Julia, On Mon, 29 Mar 2010 17:33:34 +0200 (CEST) Julia Lawall ju...@diku.dk wrote: From: Julia Lawall ju...@diku.dk Add an unlock before exiting the function. Thanks for this. Signed-off-by: Julia Lawall ju...@diku.dk Acked-by: Stephen Rothwell s...@canb.auug.org.au -- Cheers,

Requesting a GPIO that hasn't been registered yet

2010-03-30 Thread Bill Gatliff
Guys: I'm sure this is a FAQ, but I can't seem to find the answer. I'm happy to RTFM, if someone can please tell me where the FM is. :) I'm adding device table support to gpio_keys. The target is an MPC5200B. I have statements in my dts file that look like this: ... i...@3d40 {

Re: I can not get my MII working on MPC8247 with Linux 2.6.32.6

2010-03-30 Thread Peter Pan
I tried to skip the turn around bit check in source, but the mii bus still get the 0x PHYIDs. I will check if there is any pull ups on mdio line. Thank you. 2010/3/31 p...@conspiracy.net paul...@conspiracy.net: I had the same issue on a board.  The original was config was a 8247 with

Re: [RFC v3] net: add PCINet driver

2010-03-30 Thread Kumar Gala
On Nov 5, 2008, at 3:22 PM, Ira Snyder wrote: This adds support to Linux for a virtual ethernet interface which uses the PCI bus as its transport mechanism. It creates a simple, familiar, and fast method of communication for two devices connected by a PCI interface. I have implemented