Re: [PATCH V3 03/10] powerpc/mm/hash: Move kernel context to the starting of context range
From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-02-21 04:51:49
From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-02-21 04:51:49
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 <redacted> ---
Acked-by: Balbir Singh <bsingharora@gmail.com>