Re: powerpc/book3s: Fix flush_tlb cpu_spec hook to take a generic argument.

2014-11-28 Thread Michael Ellerman
On Tue, 2014-23-09 at 03:53:54 UTC, Mahesh Salgaonkar wrote: > From: Mahesh Salgaonkar > > The flush_tlb hook in cpu_spec was introduced as a generic function hook > to invalidate TLBs. But the current implementation of flush_tlb hook > takes IS (invalidation selector) as an argument which is arc

Re: [RFC PATCH 1/2]powerpc: foundation code to handle CR5 for local_t

2014-11-28 Thread Segher Boessenkool
On Fri, Nov 28, 2014 at 08:27:22AM +0530, Madhavan Srinivasan wrote: > > Have you tested this with (upcoming) GCC 5.0? GCC now uses CR5, > > and it likes to use it very much, it might be more convenient to > > use e.g. CR1 (which is allocated almost last, only before CR0). > > > No. I did not try

Re: [RFC PATCH 1/2]powerpc: foundation code to handle CR5 for local_t

2014-11-28 Thread Segher Boessenkool
On Fri, Nov 28, 2014 at 12:58:55PM +1100, Benjamin Herrenschmidt wrote: > > Have you tested this with (upcoming) GCC 5.0? GCC now uses CR5, > > and it likes to use it very much, it might be more convenient to > > use e.g. CR1 (which is allocated almost last, only before CR0). > > We use CR1 all o

Re: [PATCH] kbuild: Fix make help- on powerpc

2014-11-28 Thread Michal Marek
On 2014-11-28 13:52, Michal Marek wrote: > make ARCH=powerpc help- should not require a cofigured > source tree. Also, sort the boards in the output. I added this to kbuild.git#kbuild. Michal ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

[PATCH] kbuild: Fix make help- on powerpc

2014-11-28 Thread Michal Marek
make ARCH=powerpc help- should not require a cofigured source tree. Also, sort the boards in the output. Signed-off-by: Michal Marek --- Sorry for the double post to the ppc mailing list. The first version got rejected by the vger spam filter. --- Makefile | 4 ++-- 1 file changed, 2 insertions(

[PATCH] kbuild: Fix make help-XXX on powerpc

2014-11-28 Thread Michal Marek
make ARCH=powerpc help- should not require a cofigured source tree. Also, sort the boards in the output. Signed-off-by: Michal Marek --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 88b7fa5..0cd4e14 100644 --- a/Makefile +++ b/Makefil

[PATCH] Documentation: bindings: net: DPAA corenet binding document

2014-11-28 Thread Madalin Bucur
Add the device tree binding document for the DPAA corenet node and DPAA Ethernet nodes. Signed-off-by: Madalin Bucur --- Documentation/devicetree/bindings/net/fsl-dpaa.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/fsl-

RE: [RFC PATCH 1/2]powerpc: foundation code to handle CR5 for local_t

2014-11-28 Thread David Laight
From: Benjamin Herrenschmidt > On Fri, 2014-11-28 at 08:45 +0530, Madhavan Srinivasan wrote: > > > Can't we just unconditionally clear at as long as we do that after we've > > > saved it ? In that case, it's just a matter for the fixup code to check > > > the saved version rather than the actual CR

RE: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-11-28 Thread David Laight
From: Madhavan Srinivasan > On Thursday 27 November 2014 07:35 PM, David Laight wrote: > > From: Madhavan Srinivasan > >> This patchset create the infrastructure to handle the CR based > >> local_* atomic operations. Local atomic operations are fast > >> and highly reentrant per CPU counters. Used

Re: [PATCH REPOST 3/3] powerpc/vphn: move endianness fixing to vphn_unpack_associativity()

2014-11-28 Thread Greg Kurz
On Fri, 28 Nov 2014 12:49:08 +1100 Benjamin Herrenschmidt wrote: > On Thu, 2014-11-27 at 10:28 +0100, Greg Kurz wrote: > > On Thu, 27 Nov 2014 10:39:23 +1100 > > Benjamin Herrenschmidt wrote: > > > > > On Mon, 2014-11-17 at 18:42 +0100, Greg Kurz wrote: > > > > The first argument to vphn_unpack

Re: [RFC PATCH 0/2] powerpc: CR based local atomic operation implementation

2014-11-28 Thread Madhavan Srinivasan
On Thursday 27 November 2014 07:35 PM, David Laight wrote: > From: Madhavan Srinivasan >> This patchset create the infrastructure to handle the CR based >> local_* atomic operations. Local atomic operations are fast >> and highly reentrant per CPU counters. Used for percpu >> variable updates. Loc