[PATCH] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-01 Thread Liu Gang
For the file "arch/powerpc/sysdev/fsl_rmu.c", there will be some compile errors while using the corenet64_smp_defconfig: .../fsl_rmu.c:315: error: cast from pointer to integer of different size .../fsl_rmu.c:320: error: cast to pointer from integer of different size .../fsl_rmu.c:320: error: cast

linux-next: boot failure for next-20120227 and later (pci tree related)

2012-03-01 Thread Stephen Rothwell
Hi Jesse, Staring with next-20120227, one of my boot tests is failing like this: Freeing unused kernel memory: 488k freed modprobe used greatest stack depth: 10624 bytes left dracut: dracut-004-32.el6 udev: starting version 147 udevd (1161): /proc/1161/oom_adj is deprecated, please use /proc/116

Re: [PATCH 1/2] atomic: Allow atomic_inc_not_zero to be overridden

2012-03-01 Thread Richard Kuo
On Thu, Mar 01, 2012 at 03:02:56PM -0800, Andrew Morton wrote: > Please merge this via the ppc tree? > > > And let's ask the hexagon maintainers to take a look at the definition > in arch/hexagon/include/asm/atomic.h. I assume that it can be removed, > but that might cause problems with files wh

Re: [PATCH v2] bootmem/sparsemem: remove limit constraint in alloc_bootmem_section

2012-03-01 Thread Nishanth Aravamudan
On 29.02.2012 [15:28:30 -0800], Andrew Morton wrote: > On Wed, 29 Feb 2012 10:12:33 -0800 > Nishanth Aravamudan wrote: > > > While testing AMS (Active Memory Sharing) / CMO (Cooperative Memory > > Overcommit) on powerpc, we tripped the following: > > > > kernel BUG at mm/bootmem.c:483! > > > > .

Re: [PATCH 1/2] atomic: Allow atomic_inc_not_zero to be overridden

2012-03-01 Thread Andrew Morton
On Thu, 1 Mar 2012 18:09:53 +1100 Anton Blanchard wrote: > > We want to implement a ppc64 specific version of atomic_inc_not_zero > so wrap it in an ifdef to allow it to be overridden. > > Signed-off-by: Anton Blanchard > --- > > Index: linux-build/include/linux/atomic.h > ===

Re: [PATCH] mpc836x: fix failed phy detection for ucc ethernet on MDS

2012-03-01 Thread Andy Fleming
On Feb 27, 2012, at 6:25 AM, Paul Gortmaker wrote: > The mpc836x_mds platform has been broken since the commit > 6fe3264945ee63292cdfb27b6e95bc52c603bb09 > > [...] > --- > > [Andy: There may be other boards that could be having this problem > git grep -l enet.*ucc arch/powerpc/boot/dts/|xargs

Re: Sampling instruction pointer on PPC

2012-03-01 Thread David Ahern
[Added linuxppc-dev list.] On 3/1/12 10:08 AM, Victor Jimenez wrote: I am trying to sample instruction pointer along time on a Power7 system. I know that there are accurate mechanisms to do so in Intel processors (e.g., PEBS and Branch Trace Store). Is it possible to do something similar in Pow

Re: [PATCH 1/2] atomic: Allow atomic_inc_not_zero to be overridden

2012-03-01 Thread Mike Frysinger
On Thursday 01 March 2012 02:09:53 Anton Blanchard wrote: > We want to implement a ppc64 specific version of atomic_inc_not_zero > so wrap it in an ifdef to allow it to be overridden. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: [PATCH v2] bootmem/sparsemem: remove limit constraint in alloc_bootmem_section

2012-03-01 Thread Mel Gorman
On Wed, Feb 29, 2012 at 10:12:33AM -0800, Nishanth Aravamudan wrote: > > > Signed-off-by: Nishanth Aravamudan > Acked-by: Mel Gorman -- Mel Gorman SUSE Labs ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listin

[PATCH v2] powerpc: document the FSL MPIC message register binding

2012-03-01 Thread Jia Hongtao
This binding documents how the message register blocks found in some FSL MPIC implementations shall be represented in a device tree. Signed-off-by: Meador Inge Signed-off-by: Jia Hongtao --- Changes for v2: * Update compatible type from to . * Update interrupts description. * Update mpic-msg

[PATCH 3/3] CPU hotplug, arch/sparc: Fix CPU hotplug callback registration

2012-03-01 Thread Srivatsa S. Bhat
Restructure CPU hotplug setup and callback registration in topology_init so as to be race-free. --- arch/sparc/kernel/sysfs.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/sparc/kernel/sysfs.c b/arch/sparc/kernel/sysfs.c index 654e8aa..22cb881 100644 --- a/a

[PATCH 2/3] CPU hotplug, arch/powerpc: Fix CPU hotplug callback registration

2012-03-01 Thread Srivatsa S. Bhat
Restructure CPU hotplug setup and callback registration in topology_init so as to be race-free. --- arch/powerpc/kernel/sysfs.c | 44 +++ arch/powerpc/mm/numa.c | 11 --- 2 files changed, 44 insertions(+), 11 deletions(-) diff --git a/a

[PATCH 1/3] CPU hotplug: Fix issues with callback registration

2012-03-01 Thread Srivatsa S. Bhat
Currently, there are several intertwined problems with CPU hotplug callback registration: Code which needs to get notified of CPU hotplug events and additionally wants to do something for each already online CPU, would typically do something like: register_cpu_notifier(&foobar_cpu_notifier);

Re: [PATCH] cpumask: fix lg_lock/br_lock.

2012-03-01 Thread Srivatsa S. Bhat
On 02/29/2012 04:42 PM, Srivatsa S. Bhat wrote: > On 02/29/2012 02:47 PM, Ingo Molnar wrote: > >> >> * Srivatsa S. Bhat wrote: >> >>> Hi Andrew, >>> >>> On 02/29/2012 02:57 AM, Andrew Morton wrote: >>> On Tue, 28 Feb 2012 09:43:59 +0100 Ingo Molnar wrote: > This patch should