Re: [PATCH V2 26/68] powerpc/mm/radix: Add radix pte defines

2016-04-25 Thread Balbir Singh
On 23/04/16 18:30, Benjamin Herrenschmidt wrote: > On Thu, 2016-04-21 at 14:12 +1000, Balbir Singh wrote: >>> + } while (cpu_to_be64(old_pte) != __cmpxchg_u64((unsigned long *)ptep, >>> +cpu_to_be64(old_pte), >>> +

Re: [PATCH V2 26/68] powerpc/mm/radix: Add radix pte defines

2016-04-23 Thread Benjamin Herrenschmidt
On Thu, 2016-04-21 at 14:12 +1000, Balbir Singh wrote: > > + } while (cpu_to_be64(old_pte) != __cmpxchg_u64((unsigned long *)ptep, > > +    cpu_to_be64(old_pte), > > +    cpu_to_be64(new_pte))); > >

Re: [PATCH V2 26/68] powerpc/mm/radix: Add radix pte defines

2016-04-20 Thread Balbir Singh
On 09/04/16 16:13, Aneesh Kumar K.V wrote: > This add PowerISA 3.0 specific pte defines. We share most of the > details with hash linux page table format. This patch indicate only > things where we differ > > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/include/asm/book3s/64/pgtable.h

[PATCH V2 26/68] powerpc/mm/radix: Add radix pte defines

2016-04-08 Thread Aneesh Kumar K.V
This add PowerISA 3.0 specific pte defines. We share most of the details with hash linux page table format. This patch indicate only things where we differ Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/64/pgtable.h | 1 + arch/powerpc/include/asm/book3s/64/radix-4k.h |