[PATCH 4/4] powerpc/fsl-book3e: enable the external_input_edge exception handler

2013-05-11 Thread Kevin Hao
Enable the external_input_edge exception handler for the fsl ppc64 board when external proxy is enabled. This will leave the irq still hard enabled when a interrupt occurs with irq soft disabled. Signed-off-by: Kevin Hao --- arch/powerpc/platforms/85xx/corenet_ds.c | 9 - 1 file changed,

[PATCH 3/4] powerpc: use patch_exception to update the debug exception handler

2013-05-11 Thread Kevin Hao
Signed-off-by: Kevin Hao --- arch/powerpc/kernel/setup_64.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index e379d3f..59dffd0 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_6

[PATCH 2/4] powerpc: move the patch_exception to a common place

2013-05-11 Thread Kevin Hao
So that it can be used by other codes. No function change. Signed-off-by: Kevin Hao --- arch/powerpc/include/asm/code-patching.h | 7 +++ arch/powerpc/lib/code-patching.c | 15 +++ arch/powerpc/mm/tlb_nohash.c | 19 --- 3 files changed, 22 ins

[PATCH 1/4] powerpc/book3e: introduce external_input_edge exception handler for 64bit kernel

2013-05-11 Thread Kevin Hao
In the external proxy facility mode, the interrupt is automatically acknowledged with the same effect as reading the IACK register. So this makes external input interrupt more like edge sensitive. That means we can leave the irq hard enabled when it occurs with irq soft disabled just like the dec a

[PATCH 0/4] enable the PACA_IRQ_EE_EDGE support for book3e

2013-05-11 Thread Kevin Hao
Hi, In the current kernel, the external proxy works pretty well with the lazy EE. But it still treat the external input interrupt as level sensitive and would hard disable the irq while a interrupt occurs with irq soft disabled. This patch series enables PACA_IRQ_EE_EDGE support for book3e and wil

Re: [PATCH] perf: Power7: Make CPI stack events available in sysfs

2013-05-11 Thread Sukadev Bhattiprolu
Sukadev Bhattiprolu [suka...@linux.vnet.ibm.com] wrote: | Michael Ellerman [mich...@ellerman.id.au] wrote: | | On Sat, Apr 06, 2013 at 09:48:03AM -0700, Sukadev Bhattiprolu wrote: | | > From bdeacf7175241f6c79b5b2be0fa6b20b0d0b7d1c Mon Sep 17 00:00:00 2001 | | > From: Sukadev Bhattiprolu | | > Dat

Re: [PATCH 2/2] powerpc/85xx: enable coreint for all the 64bit boards

2013-05-11 Thread Kevin Hao
On Thu, Apr 11, 2013 at 09:32:34AM +0800, Kevin Hao wrote: > With the patch 7230c564 (powerpc: Rework lazy-interrupt handling), > it seems that the coreint works pretty well on the 85xx 64bit kernel. > So use the coreint by default for these boards. Hi Kumar, Since the external proxy works pretty