[Patch][hw-breakpoint] Use generic hw-breakpoint interfaces for new PPC ptrace flags

2012-05-11 Thread K.Prasad
Hi Ben, Please find a patch that introduces generic hw-breakpoint interfaces for a couple of ptrace flags used by server-class processors. This patch has been reviewed by the community and acked-by David Gibson last year

[PATCH v5 1/5] powerpc/85xx: implement hardware timebase sync

2012-05-11 Thread Zhao Chenhui
Do hardware timebase sync. Firstly, stop all timebases, and transfer the timebase value of the boot core to the other core. Finally, start all timebases. Only apply to dual-core chips, such as MPC8572, P2020, etc. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com Signed-off-by: Li Yang

[PATCH v5 2/5] powerpc/85xx: add HOTPLUG_CPU support

2012-05-11 Thread Zhao Chenhui
From: Li Yang le...@freescale.com Add support to disable and re-enable individual cores at runtime on MPC85xx/QorIQ SMP machines. Currently support e500v1/e500v2 core. MPC85xx machines use ePAPR spin-table in boot page for CPU kick-off. This patch uses the boot page from bootloader to boot core

[PATCH v5 3/5] powerpc/85xx: add sleep and deep sleep support

2012-05-11 Thread Zhao Chenhui
From: Li Yang le...@freescale.com In sleep PM mode, the clocks of e500 core and unused IP blocks is turned off. IP blocks which are allowed to wake up the processor are still running. Some Freescale chips like MPC8536 and P1022 has deep sleep PM mode in addtion to the sleep PM mode. While in

[PATCH v5 5/5] powerpc/85xx: add support to JOG feature using cpufreq interface

2012-05-11 Thread Zhao Chenhui
Some 85xx silicons like MPC8536 and P1022 have a JOG feature, which provides a dynamic mechanism to lower or raise the CPU core clock at runtime. This patch adds the support to change CPU frequency using the standard cpufreq interface. The ratio CORE to CCB can be 1:1(except MPC8536), 3:2, 2:1,

Re: [PATCH] powerpc/irq: Fix another case of lazy IRQ state getting out of sync

2012-05-11 Thread Sukadev Bhattiprolu
Benjamin Herrenschmidt [b...@kernel.crashing.org] wrote: | So we have another case of paca-irq_happened getting out of | sync with the HW irq state. This can happen when a perfmon | interrupt occurs while soft disabled, as it will return to a | soft disabled but hard enabled context while leaving

Re: [PATCH] net: of/phy: fix build error when phylib is built as a module

2012-05-11 Thread David Miller
From: Bjørn Mork bj...@mork.no Date: Fri, 11 May 2012 17:47:01 +0200 Should be wrapped into commit 25106022 if it works, to ensure bisectability. Wrapped into? Commits made to my net-next tree are permanent and irreversible, so we cannot go back and change a commit. I never rebase my tree,

[PATCH] net: of/phy: fix build error when phylib is built as a module

2012-05-11 Thread Bjørn Mork
CONFIG_OF_MDIO is tristate and will be m if PHYLIB is m. Use IS_ENABLED macro to prevent build error: ERROR: of_mdio_find_bus [drivers/net/phy/mdio-mux.ko] undefined! Reported-by: Randy Dunlap rdun...@xenotime.net Cc: David Daney david.da...@cavium.com Signed-off-by: Bjørn Mork bj...@mork.no

Re: linux-next: Tree for May 10 (net/phy)

2012-05-11 Thread David Daney
On 05/10/2012 07:43 PM, David Miller wrote: From: Paul Gortmakerpaul.gortma...@windriver.com Date: Thu, 10 May 2012 22:36:55 -0400 On Thu, May 10, 2012 at 5:40 PM, Randy Dunlaprdun...@xenotime.net wrote: On 05/10/2012 02:26 AM, Stephen Rothwell wrote: Hi all, Changes since 20120508:

Re: [PATCH] net: of/phy: fix build error when phylib is built as a module

2012-05-11 Thread David Daney
On 05/11/2012 08:47 AM, Bjørn Mork wrote: CONFIG_OF_MDIO is tristate and will be m if PHYLIB is m. Use IS_ENABLED macro to prevent build error: ERROR: of_mdio_find_bus [drivers/net/phy/mdio-mux.ko] undefined! Reported-by: Randy Dunlaprdun...@xenotime.net Cc: David

[PATCH 1/3] of: Add prefix parameter to of_modalias_node().

2012-05-11 Thread David Daney
From: David Daney david.da...@cavium.com When generating MODALIASes, it is convenient to add things like spi: or i2c: to the front of the strings. This allows the standard modprobe to find the right driver when automatically populating bus children from the device tree structure. Add a prefix

Re: [PATCH] net: of/phy: fix build error when phylib is built as a module

2012-05-11 Thread David Miller
From: David Daney ddaney.c...@gmail.com Date: Fri, 11 May 2012 10:58:06 -0700 On 05/11/2012 08:47 AM, Bjørn Mork wrote: CONFIG_OF_MDIO is tristate and will be m if PHYLIB is m. Use IS_ENABLED macro to prevent build error: ERROR: of_mdio_find_bus [drivers/net/phy/mdio-mux.ko] undefined!

Re: [PATCH] net: of/phy: fix build error when phylib is built as a module

2012-05-11 Thread Randy Dunlap
On 05/11/2012 08:47 AM, Bjørn Mork wrote: CONFIG_OF_MDIO is tristate and will be m if PHYLIB is m. Use IS_ENABLED macro to prevent build error: ERROR: of_mdio_find_bus [drivers/net/phy/mdio-mux.ko] undefined! Reported-by: Randy Dunlap rdun...@xenotime.net Cc: David Daney

[git pull] Please pull powerpc.git merge branch

2012-05-11 Thread Benjamin Herrenschmidt
Hi Linus ! It looks like my previous fix for the lazy irq masking problem wasn't quite enough. There was another problem related to performance monitor interrupts acting as NMIs leaving the flags in an incorrect state. Here's a fix that finally seems to make perf solid again. The following

Re: [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h

2012-05-11 Thread Grant Likely
On Mon, 16 Apr 2012 09:15:32 +0100, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Mon, Apr 16, 2012 at 09:21:58AM +0200, Linus Walleij wrote: This looks good but I think we need to page the alpha, ia64, m68k, microblaze, openrisc etc subarch maintainers on this patch so they