[PATCH V3 03/10] powerpc/mm/hash: Move kernel context to the starting of context range
Balbir Singh
bsingharora at gmail.com
Tue Feb 21 15:51:42 AEDT 2017
On Sun, Feb 19, 2017 at 03:37:10PM +0530, Aneesh Kumar K.V wrote:
> With current kernel, we use the top 4 context for the kernel. Kernel VSIDs are built
> using these top context values and effective segemnt ID. In the following patches,
> we want to increase the max effective address to 512TB. We achieve that by
> increasing the effective segments IDs there by increasing virtual address range.
>
> We will be switching to a 68bit virtual address in the following patch. But for
> platforms like p4 and p5, which only support a 65 bit va, we want to limit the
> virtual addrress to a 65 bit value. We do that by limiting the context bits to 16
> instead of 19. That means we will have different max context values on different
> platforms.
>
> To make this simpler. we move the kernel context to the starting of the range.
>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
> ---
Acked-by: Balbir Singh <bsingharora at gmail.com>
More information about the Linuxppc-dev
mailing list