Support for multiple port's

2010-10-29 Thread Thomas Taranowski
Going through the code, it looks like the rapidio driver assumes there's only going to be a single Port implemented. Snapshot of code assumes a single port atmu configuration block, which is wrong for the p2020, and probably other QorIQ processors. priv->atmu_regs = (struct rio_atmu_regs *)(priv

[MPC8272ADS] porting a custom patch from 2.6.21.7 to 2.6.35.7 for a custom board

2010-10-29 Thread Alexandru Ionut Grama
Hello linuxppc-dev community! First of all, I want to introduce myself and my project. I'm working at the Technical University of Madrid in a project for porting Linux to an embedded system, a router. This project is my final degree thesis. This machine has a MPC8272VRMIBA processor and a custom p

Re: RapidIO: MC Exception when enumerating peer to peer connection

2010-10-29 Thread Thomas Taranowski
Yes, I tried pretty much all combinations of boot order, but I believe the preferred approach is to boot the agents first, then the host according to my freescale documentation. My problem was that all three devices had the same device id. Once I programmed them with different device id's via the

[PATCH 7/7] kgdb,ppc: Individual register get/set for ppc

2010-10-29 Thread Jason Wessel
From: Dongdong Deng commit 534af1082329392bc29f6badf815e69ae2ae0f4c(kgdb,kdb: individual register set and and get API) introduce dbg_get_reg/dbg_set_reg API for individual register get and set. This patch implement those APIs for ppc. Signed-off-by: Dongdong Deng Signed-off-by: Jason Wessel C

Re: RapidIO: MC Exception when enumerating peer to peer connection

2010-10-29 Thread Micha Nelissen
Thomas Taranowski wrote: use my trusty jtag to issue a Port Link Maintenance Request and request status, I get back unrecoverable ackID error for port 1, and error-stopped port_status for port 2. Did you try rebooting all devices together? Micha ___

[MPC5200B] strange data loss on uart reception

2010-10-29 Thread Albrecht Dre�
Hi all, I'm not sure if this is the right list, so please excuse me if I'm totally wrong here, or if my question is really dumb... My platform is a MPC5200B (roughly Icecube) based board with kernel 2.6.32. >From a PC I try to send data through the MPC5200B's serial port, using the standard mpc52

[PATCH 4/4][v2] rapidio, powerpc/85xx: Error interrupt handler for sRIO.

2010-10-29 Thread Shaohui Xie
The sRIO controller reports errors to the core with one signal, it uses register EPWISR to provides the core quick access to where the error occurred. The EPWISR indicates that there are 4 interrupts sources, port1, port2, message unit and port write receive, but the sRIO driver does not support po

[PATCH 1/4][v2] powerpc: add e500 HID1 bit definition

2010-10-29 Thread Shaohui Xie
From: Li Yang Also make 74xx HID1 definition conditional. Signed-off-by: Li Yang Signed-off-by: Shaohui Xie Cc: Li Yang Cc: Kumar Gala Cc: Roy Zang Cc: Alexandre Bounine --- arch/powerpc/include/asm/reg.h |2 ++ arch/powerpc/include/asm/reg_booke.h | 14 ++ 2 files

[PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-10-29 Thread Shaohui Xie
Signed-off-by: Shaohui Xie Cc: Li Yang Cc: Kumar Gala Cc: Roy Zang Cc: Alexandre Bounine --- arch/powerpc/kernel/traps.c | 14 +- arch/powerpc/sysdev/fsl_rio.c | 15 +++ include/linux/rio.h |1 + 3 files changed, 17 insertions(+), 13 deletions(-) d

[PATCH 2/4][v2] fsl_rio: fix non-standard HID1 register access

2010-10-29 Thread Shaohui Xie
Signed-off-by: Shaohui Xie Cc: Li Yang Cc: Kumar Gala Cc: Roy Zang Cc: Alexandre Bounine --- arch/powerpc/kernel/cpu_setup_fsl_booke.S |6 ++ arch/powerpc/sysdev/fsl_rio.c |2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/cpu_set