Re: [PATCH 05/14] powerpc/mm: Replace _PAGE_USER with _PAGE_PRIVILEGED

2016-03-25 Thread Aneesh Kumar K.V
Michael Neuling writes: > [ text/plain ] > On Mon, 2016-03-07 at 19:09 +0530, Aneesh Kumar K.V wrote: >> _PAGE_PRIVILEGED means the page can be accessed only by kernel. This is done >> to keep pte bits similar to PowerISA 3.0 radix PTE format. User >> pages are now makred by clearing _PAGE_PRIVIL

Re: [PATCH 05/14] powerpc/mm: Replace _PAGE_USER with _PAGE_PRIVILEGED

2016-03-21 Thread Michael Neuling
On Mon, 2016-03-07 at 19:09 +0530, Aneesh Kumar K.V wrote: > _PAGE_PRIVILEGED means the page can be accessed only by kernel. This is done > to keep pte bits similar to PowerISA 3.0 radix PTE format. User > pages are now makred by clearing _PAGE_PRIVILEGED bit. > > Previously we allowed kernel to h

[PATCH 05/14] powerpc/mm: Replace _PAGE_USER with _PAGE_PRIVILEGED

2016-03-07 Thread Aneesh Kumar K.V
_PAGE_PRIVILEGED means the page can be accessed only by kernel. This is done to keep pte bits similar to PowerISA 3.0 radix PTE format. User pages are now makred by clearing _PAGE_PRIVILEGED bit. Previously we allowed kernel to have a privileged page in the lower address range(USER_REGION). With t