Re: [PATCH v7 3/7] powerpc/mm: Introduce _PAGE_LARGE software pte bits

2016-11-29 Thread Balbir Singh
On 30/11/16 11:35, Benjamin Herrenschmidt wrote: > On Wed, 2016-11-30 at 11:14 +1100, Balbir Singh wrote: >>> +#define _RPAGE_RSV1 0x1000UL >>> +#define _RPAGE_RSV2 0x0800UL >>> +#define _RPAGE_RSV3 0x0400UL >>> +#define _RPAGE_RSV4

Re: [PATCH v7 3/7] powerpc/mm: Introduce _PAGE_LARGE software pte bits

2016-11-29 Thread Benjamin Herrenschmidt
On Wed, 2016-11-30 at 11:14 +1100, Balbir Singh wrote: > > +#define _RPAGE_RSV1  0x1000UL > > +#define _RPAGE_RSV2  0x0800UL > > +#define _RPAGE_RSV3  0x0400UL > > +#define _RPAGE_RSV4  0x0200UL > > + > > We use the

Re: [PATCH v7 3/7] powerpc/mm: Introduce _PAGE_LARGE software pte bits

2016-11-29 Thread Balbir Singh
On 28/11/16 17:17, Aneesh Kumar K.V wrote: > This patch adds a new software defined pte bit. We use the reserved > fields of ISA 3.0 pte definition since we will only be using this > on DD1 code paths. We can possibly look at removing this code later. > > The software bit will be used to