[PATCH 1/4] powerpc/mpic_msgr: fix compile error when SMP disabled

2012-04-15 Thread Mingkai Hu
In file included from arch/powerpc/sysdev/mpic_msgr.c:20:0: ~/arch/powerpc/include/asm/mpic_msgr.h: In function 'mpic_msgr_set_destination': ~/arch/powerpc/include/asm/mpic_msgr.h:117:2: error: implicit declaration of function 'get_hard_smp_processor_id' make[1]: ***

[PATCH 2/4] powerpc/mpic_msgr: add lock for MPIC message global variable

2012-04-15 Thread Mingkai Hu
Also fix issue of accessing invalid msgr pointer issue. The local msgr pointer in fucntion mpic_msgr_get will be accessed before getting a valid address which will cause kernel crash. Signed-off-by: Mingkai Hu mingkai...@freescale.com --- arch/powerpc/sysdev/mpic_msgr.c | 10 +- 1

[PATCH 3/4] powerpc/mpic_msgr: fix offset error when setting mer register

2012-04-15 Thread Mingkai Hu
Signed-off-by: Mingkai Hu mingkai...@freescale.com --- arch/powerpc/sysdev/mpic_msgr.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/mpic_msgr.c b/arch/powerpc/sysdev/mpic_msgr.c index dc1cfe3..483d8fa 100644 --- a/arch/powerpc/sysdev/mpic_msgr.c

[PATCH 4/4] powerpc/mpc85xx: add MPIC message dts node

2012-04-15 Thread Mingkai Hu
Signed-off-by: Mingkai Hu mingkai...@freescale.com --- arch/powerpc/boot/dts/fsl/pq3-mpic-message-B.dtsi | 43 + arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi | 10 + 2 files changed, 53 insertions(+), 0 deletions(-) create mode 100644

PPC / USB: kernel hangs in warm boot on 8513 in fsl-ehci

2012-04-15 Thread Anthony Foiani
Greetings. I'm working on an embedded board using the MPC8315E processor. After many (10-20+) warm boots, the kernel boot sequence will eventually hang here: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver /immr@e000/usb@23000: Invalid 'dr_mode' property, fallback to host

[PATCH] powerpc: fix system.h fallout in sysdev/scom.c [chroma_defconfig]

2012-04-15 Thread Paul Gortmaker
The following shows up in chroma_defconfig: CC arch/powerpc/sysdev/scom.o arch/powerpc/sysdev/scom.c: In function 'scom_debug_init': arch/powerpc/sysdev/scom.c:182:36: error: 'powerpc_debugfs_root' undeclared (first use in this function) arch/powerpc/sysdev/scom.c:182:36: note: each