[PATCH] powerpc: Fix bad include of stdint.h in ptrace.h when -D__ASSEMBLY__

2010-07-05 Thread Tony Breeds
In commit 3162d92dfb79a0b5fc03380b8819fa5f870ebf1e (powerpc: Extended ptrace interface) we #included stdint.h even if __ASSEMBLY__ is defined. This broke building of libc with modern kernel headers. --- ../sysdeps/generic/stdint.h: Assembler messages: ../sysdeps/generic/stdint.h:37: Error: Unreco

[PATCH] [NAND FSL eLBC] Modified the NAND FSL elbc driver code to correctly determine which chipselect is connected to NAND flash.

2010-07-05 Thread Poonam Aggrwal
The current code that determines which bank/chipselect is used for a given NAND instance only worked for 32-bit addresses and assumed a 1:1 mapping. This breaks in 36-bit physical configs. Signed-off-by: Poonam Aggrwal Acked-by: Scott Wood --- Tested on P2020RDB and P1020RDB platfor

[PATCH] perf_event: Fix for power_pmu_disable()

2010-07-05 Thread Matt Evans
When power_pmu_disable() removes the given event from a particular index into cpuhw->event[], it shuffles down higher event[] entries. But, this array is paired with cpuhw->events[] and cpuhw->flags[] so should shuffle them similarly. If these arrays get out of sync, code such as power_check_cons

Re: 2.6.34: arch/powerpc/sysdev/micropatch.c not compiling

2010-07-05 Thread Tony Breeds
On Mon, Jul 05, 2010 at 09:45:11AM +0200, LEROY Christophe wrote: > When activating micropatch option, the kernel does not compile. powerpc problems should alos CC linuxppc-dev. > It looks like a spi_t is not defined anywhere. > > CC arch/powerpc/sysdev/micropatch.o > arch/powerpc/sysdev/microp

Re: [PATCH] rtc: add support for DS3232 RTC

2010-07-05 Thread Martyn Welch
Zang Roy-R61911 wrote: > > > >> -Original Message- >> From: Jean Delvare [mailto:kh...@linux-fr.org] >> Sent: Monday, July 05, 2010 15:23 PM >> To: Zang Roy-R61911 >> Cc: linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; >> Hu Mingkai-B21284; Srinivasan Srikanth-R9AABP >> Sub

RE: [PATCH] rtc: add support for DS3232 RTC

2010-07-05 Thread Zang Roy-R61911
> -Original Message- > From: Jean Delvare [mailto:kh...@linux-fr.org] > Sent: Monday, July 05, 2010 15:23 PM > To: Zang Roy-R61911 > Cc: linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; > Hu Mingkai-B21284; Srinivasan Srikanth-R9AABP > Subject: Re: [PATCH] rtc: add support for

Re: [PATCH] rtc: add support for DS3232 RTC

2010-07-05 Thread Jean Delvare
Hi Roy, On Mon, 5 Jul 2010 14:45:26 +0800, Roy Zang wrote: > This patch adds the driver for RTC chip DS3232 via I2C bus > > Signed-off-by: Mingkai Hu > Signed-off-by: Jingchang Lu > Signed-off-by: Srikanth Srinivasan > Signed-off-by: Roy Zang > --- > Tested on MPC8536DS and P4080DS board >

kernel boot stuck at udbg_putc_cpm()

2010-07-05 Thread Shawn Jin
Hi, I'm debugging the kernel (2.6.33.5) ported for a MPC870 board. The changes are mostly based on the board adder875. The first thing I want to test is the serial port. So I enabled CONFIG_PPC_EARLY_DEBUG and CONFIG_PPC_EARLY_DEBUG_CPM, and changed CONFIG_PPC_EARLY_DEBUG_CPM_ADDR to 0xfa202008. M

RE: [linuxppc-release] [PATCH] rtc: add support for DS3232 RTC

2010-07-05 Thread Zang Roy-R61911
> -Original Message- > From: linuxppc-release-boun...@linux.freescale.net > [mailto:linuxppc-release-boun...@linux.freescale.net] On > Behalf Of Zang Roy-R61911 > Sent: Monday, July 05, 2010 14:46 PM > To: linuxppc-rele...@linux.freescale.net > Cc: Hu Mingkai-B21284; linuxppc-dev@lists

[PATCH] rtc: add support for DS3232 RTC

2010-07-05 Thread Roy Zang
This patch adds the driver for RTC chip DS3232 via I2C bus Signed-off-by: Mingkai Hu Signed-off-by: Jingchang Lu Signed-off-by: Srikanth Srinivasan Signed-off-by: Roy Zang --- Tested on MPC8536DS and P4080DS board drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile |1 + drivers/

[PATCH] rtc: add support for DS3232 RTC

2010-07-05 Thread Roy Zang
This patch adds the driver for RTC chip DS3232 via I2C bus Signed-off-by: Mingkai Hu Signed-off-by: Jingchang Lu Signed-off-by: Srikanth Srinivasan Signed-off-by: Roy Zang --- Tested on MPC8536DS and P4080DS board drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile |1 + drivers/