[PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-05-08 Thread Shaohui Xie
Currently, BOOKE watchdog code for checking wdt and wdt_period is in setup_32.c, it cannot be used in 64-bit, so move it to a common place prom.c, which will be shared by 32-bit and 64-bit. Also, replace the simple_strtoul with kstrtol. Signed-off-by: Shaohui Xie shaohui@freescale.com ---

[PATCH 2/2] powerpc/watchdog: replace CONFIG_FSL_BOOKE with CONFIG_FSL_SOC_BOOKE

2012-05-08 Thread Shaohui Xie
CONFIG_FSL_BOOKE is only defined in 32-bit, CONFIG_FSL_SOC_BOOKE is defined in both 32-bit and 64-bit, so use CONFIG_FSL_SOC_BOOKE to make diver work in 32-bit 64-bit. Signed-off-by: Shaohui Xie shaohui@freescale.com --- drivers/watchdog/Kconfig |8

[PATCH] edac: Change internal representation to work with layers

2012-05-08 Thread Mauro Carvalho Chehab
Change the EDAC internal representation to work with non-csrow based memory controllers. There are lots of those memory controllers nowadays, and more are coming. So, the EDAC internal representation needs to be changed, in order to work with those memory controllers, while preserving backward

[PATCH 4/4] powerpc/82xx: add SPI support for mgcoge

2012-05-08 Thread Holger Brunck
Add spi support for mgcoge into the platform code and the dts file. Additionaly SPIDEV is switched on in the defconfig and the updates for the newer kernel version are committed. The SPI interface is used to drive the Maxim DS3106 clock chip. Signed-off-by: Holger Brunck holger.bru...@keymile.com

[PATCH 2/4] powerpc/83xx: fix RGMII AC values workaround for km83xx

2012-05-08 Thread Holger Brunck
From: Christian Herzig christian.her...@keymile.com Fix RGMII workaround code in km83xx.c for MPC8360E and MPC8358E that it correctly identifes all affected SoC chip models and applies the workarounds appropriate for 2.0 and 2.1 revisions as per Freescale MPC8360ECE Errata document Rev.5(9/2011)

[PATCH 3/4] powerpc/83xx: update defconfig for kmeter1

2012-05-08 Thread Holger Brunck
Switch on UBIFS, HOTPLUG and TIPC and update the config to the latest kernel version. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Heiko Schocher h...@denx.de cc: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/configs/83xx/kmeter1_defconfig | 22 -- 1

RE: [PATCH 2/2] powerpc/watchdog: replace CONFIG_FSL_BOOKE with CONFIG_FSL_SOC_BOOKE

2012-05-08 Thread Bhushan Bharat-R65777
-Original Message- From: linuxppc-dev-bounces+bharat.bhushan=freescale@lists.ozlabs.org [mailto:linuxppc-dev-bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Shaohui Xie Sent: Tuesday, May 08, 2012 11:38 AM To: linux-watch...@vger.kernel.org;

RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-05-08 Thread Bhushan Bharat-R65777
-Original Message- From: linuxppc-dev-bounces+bharat.bhushan=freescale@lists.ozlabs.org [mailto:linuxppc-dev-bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Shaohui Xie Sent: Tuesday, May 08, 2012 11:37 AM To: linux-watch...@vger.kernel.org;

Re: Build regressions/improvements in v3.4-rc6

2012-05-08 Thread Geert Uytterhoeven
On Tue, May 8, 2012 at 9:20 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: JFYI, when comparing v3.4-rc6 to v3.4-rc5[3], the summaries are:  - build errors: +2/-1 2 regressions: + arch/powerpc/sysdev/mpic.c: error: case label does not reduce to an integer constant: = 890:9, 898:9, 886:9,

[git pull] Please pull powerpc.git merge branch

2012-05-08 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a couple of last minute fixes for 3.4 for regressions introduced by my rewrite of the lazy irq masking code. Cheers, Ben. The following changes since commit 810b4de25e53459323ff48957b0162b48d6cbd57: tty/serial/pmac_zilog: Fix nobody cared IRQ message (2012-04-30 10:59:58

[RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Christoph Fritz
On Wed, Apr 11, 2012 at 10:15:49AM -0300, Fabio Estevam wrote: On Wed, Apr 11, 2012 at 4:39 AM, Christoph Fritz chf.fr...@googlemail.com wrote: Can you approve this behaviour of g_ether/usbnet when using iperf? I am not very familiar with iperf, so I will let others comment. Hi to All,

RE: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Chen Peter-B29397
after a while of testing and searching I can come up with a patch that fixes g_ether - iperf for fsl_udc on ARM i.MX35. The sad part is that this kind of fix is already implemented for marvell mv_udc driver since last year but still _not_ in the ~15 other *udc.c drivers. It is

Re: [PATCH] powerpc: fix compile fail in hugetlb cmdline parsing

2012-05-08 Thread Benjamin Herrenschmidt
On Tue, 2012-05-08 at 13:53 +0930, Rusty Russell wrote: On Mon, 7 May 2012 10:32:22 -0400, Paul Gortmaker paul.gortma...@windriver.com wrote: Commit 9fb48c744ba6a4bf58b666f4e6fdac3008ea1bd4 params: add 3rd arg to option handler callback signature added an extra arg to the

RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-05-08 Thread Xie Shaohui-B21989
-Original Message- From: linuxppc-dev-bounces+bharat.bhushan=freescale@lists.ozlabs.org [mailto:linuxppc-dev-bounces+bharat.bhushan=freescale.com@lists.ozlabs .org] On Behalf Of Shaohui Xie Sent: Tuesday, May 08, 2012 11:37 AM To: linux-watch...@vger.kernel.org;

RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-05-08 Thread Bhushan Bharat-R65777
-Original Message- From: Xie Shaohui-B21989 Sent: Wednesday, May 09, 2012 8:50 AM To: Bhushan Bharat-R65777; linux-watch...@vger.kernel.org; linuxppc- d...@lists.ozlabs.org Subject: RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-05-08 Thread Xie Shaohui-B21989
-Original Message- From: Xie Shaohui-B21989 Sent: Wednesday, May 09, 2012 8:50 AM To: Bhushan Bharat-R65777; linux-watch...@vger.kernel.org; linuxppc- d...@lists.ozlabs.org Subject: RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c -Original

RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-05-08 Thread Bhushan Bharat-R65777
.org] On Behalf Of Shaohui Xie Sent: Tuesday, May 08, 2012 11:37 AM To: linux-watch...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org Cc: Xie Shaohui-B21989 Subject: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c Currently, BOOKE watchdog

RE: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Neil Zhang
Hi Christoph, -Original Message- From: Christoph Fritz [mailto:chf.fr...@googlemail.com] Sent: 2012年5月9日 8:02 To: Fabio Estevam; Neil Zhang; Li Yang; Felipe Balbi; Greg Kroah- Hartman; linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Hans J. Koch; Daniel Mack Cc: Thomas

Re: [PATCH] powerpc: fix compile fail in hugetlb cmdline parsing

2012-05-08 Thread Stephen Rothwell
Hi Ben, On Wed, 09 May 2012 13:04:18 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Tue, 2012-05-08 at 13:53 +0930, Rusty Russell wrote: On Mon, 7 May 2012 10:32:22 -0400, Paul Gortmaker paul.gortma...@windriver.com wrote: Commit

Re: [V2 5/5] powerpc: kernel: 16650 UART reg-shift support

2012-05-08 Thread Tanmay Inamdar
On Wed, May 2, 2012 at 7:08 PM, Josh Boyer jwbo...@gmail.com wrote: On Mon, Apr 9, 2012 at 3:20 AM, Tanmay Inamdar tinam...@apm.com wrote: In APM8018X SOC, UART register address space has been relocated to 32-bit data boundaries for APB bus implementation. Current legacy_serial driver ignores

Re: [V2 2/5] powerpc: 40x: Add AHB, APB of_device_ids

2012-05-08 Thread Tanmay Inamdar
On Wed, May 2, 2012 at 7:11 PM, Josh Boyer jwbo...@gmail.com wrote: On Mon, Apr 9, 2012 at 3:20 AM, Tanmay Inamdar tinam...@apm.com wrote: Adding of_device_id's for AHB and APB buses used in klondike (APM8018X) in platforms/40x/ppc40x_simple.c file Signed-off-by: Tanmay Inamdar

Re: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Christoph Fritz
Hi Peter, thanks you for your help. On Wed, May 09, 2012 at 02:11:56AM +, Chen Peter-B29397 wrote: after a while of testing and searching I can come up with a patch that fixes g_ether - iperf for fsl_udc on ARM i.MX35. The sad part is that this kind of fix is already

RE: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Chen Peter-B29397
I'm hacking here an i.MX35 not an i.MX23. So I already had a look at its errata sheet http://cache.freescale.com/files/dsp/doc/errata/IMX35CE.pdf but didn't find a similar limitation as you now pointed out by errata number 2858 for i.MX23. i.mx35 and i.mx23 uses the same controller.

RE: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Neil Zhang
-Original Message- From: Christoph Fritz [mailto:chf.fr...@googlemail.com] Sent: 2012年5月9日 13:38 To: Chen Peter-B29397; Chao Xie Cc: Neil Zhang; Fabio Estevam; Li Yang-R58472; Felipe Balbi; Greg Kroah-Hartman; linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Hans J.

Re: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Christoph Fritz
On Wed, May 09, 2012 at 05:43:11AM +, Chen Peter-B29397 wrote: I'm hacking here an i.MX35 not an i.MX23. So I already had a look at its errata sheet http://cache.freescale.com/files/dsp/doc/errata/IMX35CE.pdf but didn't find a similar limitation as you now pointed out by errata