Re: HELP:PowerPc-Linux kernel

2011-07-27 Thread Vijay Nikam
Yes /Vijay Nikam On Thu, Jul 28, 2011 at 11:00 AM, MJ embd wrote: > Have you every worked on device trees before? > > On 7/28/11, Vijay Nikam wrote: >> Hello, >> >> Start with looking at the configuration of the board done which is >> similar to yours >> or based on the same CPU as yours. It is

Re: HELP:PowerPc-Linux kernel

2011-07-27 Thread MJ embd
Have you every worked on device trees before? On 7/28/11, Vijay Nikam wrote: > Hello, > > Start with looking at the configuration of the board done which is > similar to yours > or based on the same CPU as yours. It is important to know role of > device tree so > read the documentation and unders

Re: HELP:PowerPc-Linux kernel

2011-07-27 Thread Vijay Nikam
Hello, Start with looking at the configuration of the board done which is similar to yours or based on the same CPU as yours. It is important to know role of device tree so read the documentation and understand the syntax and concept of device tree. Once the complete concept is understood then you

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-27 Thread Mike Frysinger
On Wed, Jul 27, 2011 at 03:20, Benjamin Herrenschmidt wrote: > Hoping the BUG() isn't trippable by userspace but then it's no mmu, it's > not like we care what userspace can do right :-) side note ... common misconception that "no mmu" == "no memory protection". a few of the nommu processors have

[PATCH] [6/99] seqlock: Don't smp_rmb in seqlock reader spin loop

2011-07-27 Thread Andi Kleen
2.6.35-longterm review patch. If anyone has any objections, please let me know. -- From: Milton Miller commit 5db1256a5131d3b133946fa02ac9770a784e6eb2 upstream. Move the smp_rmb after cpu_relax loop in read_seqlock and add ACCESS_ONCE to make sure the test and return are consis

Re: HELP:PowerPc-Linux kernel

2011-07-27 Thread Scott Wood
On Wed, 27 Jul 2011 20:33:54 +0530 wrote: > Hi, > > > > I have take up the new assignment Board bring up activity with Linux > kernel on PowerPC MPC8272. > > I have been searching Linux bring up on PowerPC processor in Google and > IBM wiki and not found good stuff. > > It would be more he

[PATCH] ppc: Remove duplicate definition of PV_POWER7

2011-07-27 Thread Peter Zijlstra
One definition of PV_POWER7 seems enough to me. Signed-off-by: Peter Zijlstra --- arch/powerpc/include/asm/reg.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index c5cae0d..fedf93b 100644 --- a/arch/power

HELP:PowerPc-Linux kernel

2011-07-27 Thread naresh.kamboju
Hi, I have take up the new assignment Board bring up activity with Linux kernel on PowerPC MPC8272. I have been searching Linux bring up on PowerPC processor in Google and IBM wiki and not found good stuff. It would be more helpful for me if you could share related documents. Best regards

[PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-07-27 Thread Ravi K. Nittala
The firmware flash update is conducted using an RTAS call, that is serialized by lock_rtas() which uses spin_lock. rtasd keeps scanning for the RTAS events generated on the machine. This is performed via a delayed workqueue, invoking an RTAS call to scan the events. The flash update takes a while

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-27 Thread Benjamin Herrenschmidt
On Wed, 2011-07-27 at 12:17 +0200, Peter Zijlstra wrote: > On Wed, 2011-07-27 at 11:09 +0100, David Howells wrote: > > Can you inline this for the NOMMU case please? > > --- > Subject: mm: Fix fixup_user_fault() for MMU=n > > In commit 2efaca927 ("mm/futex: fix futex writes on archs with SW > tr

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-27 Thread Peter Zijlstra
On Wed, 2011-07-27 at 11:09 +0100, David Howells wrote: > Can you inline this for the NOMMU case please? --- Subject: mm: Fix fixup_user_fault() for MMU=n In commit 2efaca927 ("mm/futex: fix futex writes on archs with SW tracking of dirty & young") we forgot about MMU=n. This patch fixes that.

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-27 Thread David Howells
Peter Zijlstra wrote: > > What should nommu do anyways ? it's not like there's much it can do > > right ? It should never even hit the fault path to start with ... > > Something like the below makes a nommu arm config build.. David, is this > indeed the correct thing to do for nommu? > > --- >

[PATCHv4 01/11] atomic: add *_dec_not_zero

2011-07-27 Thread Sven Eckelmann
Introduce an *_dec_not_zero operation. Make this a special case of *_add_unless because batman-adv uses atomic_dec_not_zero in different places like re-broadcast queue or aggregation queue management. There are other non-final patches which may also want to use this macro. Reported-by: David S. M

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-27 Thread Peter Zijlstra
On Wed, 2011-07-27 at 17:58 +1000, Benjamin Herrenschmidt wrote: > What should nommu do anyways ? it's not like there's much it can do > right ? It should never even hit the fault path to start with ... Something like the below makes a nommu arm config build.. David, is this indeed the correct th

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-27 Thread Benjamin Herrenschmidt
On Tue, 2011-07-26 at 23:50 -0700, Mike Frysinger wrote: > On Mon, Jul 18, 2011 at 21:29, Benjamin Herrenschmidt wrote: > > The futex code currently attempts to write to user memory within > > a pagefault disabled section, and if that fails, tries to fix it > > up using get_user_pages(). > > > > Th