[PATCH] uprobes/powerpc: Add dependency on single step emulation

2013-01-07 Thread Suzuki K. Poulose
From: Suzuki K. Poulose Uprobes uses emulate_step in sstep.c, but we haven't explicitly specified the dependency. On pseries HAVE_HW_BREAKPOINT protects us, but 44x has no such luxury. Consolidate other users that depend on sstep and create a new config option. Signed-off-by: Ananth N Mavinakay

Re: [PATCH v2 1/4] kprobes/powerpc: Do not disable External interrupts during single step

2013-01-07 Thread Sebastian Andrzej Siewior
On 01/04/2013 05:42 AM, Benjamin Herrenschmidt wrote: On Tue, 2012-12-11 at 11:18 +0530, Suzuki K. Poulose wrote: On 12/03/2012 08:37 PM, Suzuki K. Poulose wrote: From: Suzuki K. Poulose External/Decrement exceptions have lower priority than the Debug Exception. So, we don't have to disable th

Re: [PATCH] powerpc/mm: eliminate unneeded for_each_memblock

2013-01-07 Thread Kumar Gala
On Jan 4, 2013, at 12:06 PM, Cody P Schafer wrote: > The only persistent change made by this loop is calling > memblock_set_node() once for each memblock, which is not useful (and has > no effect) as memblock_set_node() is not called with any > memblock-specific parameters. > > Subsistute a sing

Re: [PATCH] lsprop: Fixes to work correctly when built little endian

2013-01-07 Thread Benjamin Herrenschmidt
On Mon, 2013-01-07 at 15:23 +1100, Michael Ellerman wrote: > Add and use dt_swap_int() to byte swap on little endian. > > Also declare buf as unsigned char, so that we don't sign extend when > printing values from it. > > Signed-off-by: Michael Ellerman > --- > > Ben, based on your patch, can y

Re: [PATCH] lsprop: Fixes to work correctly when built little endian

2013-01-07 Thread Nathan Fontenot
On 01/07/2013 08:12 PM, Benjamin Herrenschmidt wrote: > On Mon, 2013-01-07 at 15:23 +1100, Michael Ellerman wrote: >> Add and use dt_swap_int() to byte swap on little endian. >> >> Also declare buf as unsigned char, so that we don't sign extend when >> printing values from it. >> >> Signed-off-by:

Re: [PATCH 1/2] cpuhotplug/nohz: Remove offline cpus from nohz-idle state

2013-01-07 Thread Srivatsa Vaddagiri
* Russell King - ARM Linux [2013-01-05 10:36:27]: > On Thu, Jan 03, 2013 at 06:58:38PM -0800, Srivatsa Vaddagiri wrote: > > I also think that the > > wait_for_completion() based wait in ARM's __cpu_die() can be replaced with a > > busy-loop based one, as the wait there in general should be termin

Re: [PATCH 1/2] cpuhotplug/nohz: Remove offline cpus from nohz-idle state

2013-01-07 Thread Srivatsa S. Bhat
On 01/05/2013 04:06 PM, Russell King - ARM Linux wrote: > On Thu, Jan 03, 2013 at 06:58:38PM -0800, Srivatsa Vaddagiri wrote: >> I also think that the >> wait_for_completion() based wait in ARM's __cpu_die() can be replaced with a >> busy-loop based one, as the wait there in general should be termi