Re: [PATCH 10/10] oom: Make find_lock_task_mm() sparse-aware

2012-03-28 Thread David Rientjes
On Sat, 24 Mar 2012, Peter Zijlstra wrote: > Yeah, so Nacked-by: Peter Zijlstra > > Also, why didn't lockdep catch it? > > Fix sparse already instead of smearing ugly all over. > Fully agreed, please don't add this to the oom killer. ___ Linuxppc-de

Re: [PATCHv2 01/14] common: dma-mapping: introduce alloc_attrs and free_attrs methods

2012-03-28 Thread Sergei Shtylyov
Hello. On 27-03-2012 17:42, Marek Szyprowski wrote: Introduce new generic alloc and free methods with attributes argument. The method names don't match the ones in the subject. Existing alloc_coherent and free_coherent can be implemented on top of the new calls with NULL attributes argum

Re: [PATCH 4/4] powerpc/mpic: FSL MPIC error interrupt support.

2012-03-28 Thread Kumar Gala
On Mar 27, 2012, at 2:07 PM, Scott Wood wrote: > On 03/27/2012 08:59 AM, Kumar Gala wrote: >> >> On Mar 27, 2012, at 7:17 AM, Varun Sethi wrote: >> >>> All SOC device error interrupts are muxed and delivered to the core as a >>> single >>> MPIC error interrupt. Currently all the device drivers

RE: [PATCHv2 01/14] common: dma-mapping: introduce alloc_attrs and free_attrs methods

2012-03-28 Thread Marek Szyprowski
Hi Sergei, On Wednesday, March 28, 2012 1:29 PM Sergei Shtylyov wrote: > On 27-03-2012 17:42, Marek Szyprowski wrote: > > > Introduce new generic alloc and free methods with attributes argument. > > The method names don't match the ones in the subject. Right, I will reword the subject to "

Re: [PATCH 2/4] powerpc/mpic: Use the MPIC_LARGE_VECTORS flag for FSL MPIC.

2012-03-28 Thread Kumar Gala
On Mar 27, 2012, at 2:16 PM, Scott Wood wrote: > On 03/27/2012 01:44 PM, Scott Wood wrote: >> On 03/27/2012 10:21 AM, Stuart Yoder wrote: >>> On Tue, Mar 27, 2012 at 8:30 AM, Kumar Gala >>> wrote: On Mar 27, 2012, at 7:15 AM, Varun Sethi wrote: > FSL MPIC supports 16 bit ve

Help initialize phy-less ethernet in 2.6.38

2012-03-28 Thread Fabio
Hi all, I am a newbie trying to get the FCC1 ethernet interface to work on a custom board. The hardware used is based on mpc8270 which is connected via FCC1 to a phy-less interface linked to another microcontroller. FCC1 should be recognized as eth0 by the linux kernel and it should receive data wh

[patch 2/2] arch/powerpc/platforms/pseries/eeh_event.c: slightly fix set_current_state() wart

2012-03-28 Thread akpm
From: Andrew Morton Subject: arch/powerpc/platforms/pseries/eeh_event.c: slightly fix set_current_state() wart That set_current_state() won't work very well: the subsequent mutex_lock() might flip the task back into TASK_RUNNING. Attempt to put it somewhere where it might have been meant to be,

[patch 1/2] powerpc/eeh: remove eeh_event_handler()->daemonize()

2012-03-28 Thread akpm
From: Oleg Nesterov Subject: powerpc/eeh: remove eeh_event_handler()->daemonize() daemonize() is only needed when a user-space task does kernel_thread(). eeh_event_handler() thread is created by the worker kthread, and thus it doesn't need the soon-to-be-deprecated daemonize(). Signed-off-by: O

Re: [patch 1/2] powerpc/eeh: remove eeh_event_handler()->daemonize()

2012-03-28 Thread Benjamin Herrenschmidt
On Wed, 2012-03-28 at 15:20 -0700, a...@linux-foundation.org wrote: > From: Oleg Nesterov > Subject: powerpc/eeh: remove eeh_event_handler()->daemonize() > > daemonize() is only needed when a user-space task does kernel_thread(). > > eeh_event_handler() thread is created by the worker kthread, a

bpf_slow_path: sibling call to `skb_copy_bits' not allowed multiple TOCs (ppc)

2012-03-28 Thread Paul Gortmaker
Hi all, Wondering if anyone has researched this, before I waste more time on it. The linux-next build of powerpc-allyesconfig has for quite some time shown this: LD .tmp_vmlinux1 powerpc-linux-ld: arch/powerpc/net/built-in.o: In function `bpf_slow_path_word': (.text+0x90): sibling call op

Re: bpf_slow_path: sibling call to `skb_copy_bits' not allowed multiple TOCs (ppc)

2012-03-28 Thread Stephen Rothwell
Hi Paul, On Wed, 28 Mar 2012 20:54:56 -0400 Paul Gortmaker wrote: > > coverage. Even in the absence of the skb error, it still fails to link with: > > "powerpc-linux-ld: TOC section size exceeds 64k" > > i.e. it never links into anything a person could actually try and boot anyway. > >

Re: [GIT PULL] Disintegrate and kill asm/system.h

2012-03-28 Thread Stephen Rothwell
Hi all, On Thu, 29 Mar 2012 13:55:55 +1100 Stephen Rothwell wrote: > > On Thu, 29 Mar 2012 13:50:44 +1100 Michael Neuling wrote: > > > > > Here are a bunch of patches to disintegrate asm/system.h into a set of > > > separate > > > bits to relieve the problem of circular inclusion dependencies.

Re: [GIT PULL] Disintegrate and kill asm/system.h

2012-03-28 Thread Michael Neuling
In message <20120329151544.ef2117821dfb459e8b52a...@canb.auug.org.au> you wrote : > --Signature=_Thu__29_Mar_2012_15_15_44_+1100_WbAuFOESkuBxVlHq > Content-Type: text/plain; charset=US-ASCII > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Hi all, > > On Thu, 29 Mar

Re: [GIT PULL] Disintegrate and kill asm/system.h

2012-03-28 Thread Linus Torvalds
On Wed, Mar 28, 2012 at 9:15 PM, Stephen Rothwell wrote: > > The following patch fixes (as much as possible) a powerpc allyesconfig build. Ugh: > diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c > index af48e59..1f94ddf 100644 > --- a/kernel/irq/irqdomain.c > +++ b/kernel/irq/irqdoma

Re: [GIT PULL] Disintegrate and kill asm/system.h

2012-03-28 Thread Stephen Rothwell
Hi Linus, On Wed, 28 Mar 2012 21:24:41 -0700 Linus Torvalds wrote: > > On Wed, Mar 28, 2012 at 9:15 PM, Stephen Rothwell > wrote: > > > > The following patch fixes (as much as possible) a powerpc allyesconfig > > build. > > Ugh: > > > diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdoma

Re: [GIT PULL] Disintegrate and kill asm/system.h

2012-03-28 Thread Michael Neuling
> > Can we please move that abortion into arch/powerpc/? Instead of making > > generic code even uglier.. > > How about this (build tested on powerpc allyesconfig): > > From: Stephen Rothwell > Date: Thu, 29 Mar 2012 14:58:10 +1100 > Subject: [PATCH] powerpc: fix fallout from system.h split up >

Re: [GIT PULL] Disintegrate and kill asm/system.h

2012-03-28 Thread Linus Torvalds
On Wed, Mar 28, 2012 at 9:42 PM, Stephen Rothwell wrote: > > How about this (build tested on powerpc allyesconfig): Looks better. Grant - what's the plan about that CONFIG_VIRQ_DEBUG thing? In theory something like it could be useful as a generic thing, but at least right now it is clearly power