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

2016-03-27 Thread Ian Munsie
Excerpts from Aneesh Kumar K.V's message of 2016-03-27 03:23:13 -0500: > _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

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

2016-03-27 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