]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/radix: Limit paca allocation in radix
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:26:10 +0000 (23:26 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:53:47 +0000 (21:53 +1000)
commit24339bd0adf73382a9216032f65c9b52f7415929
treeb204fa4a7cb0ca266da092394cdee54d2622a9e7
parent60223e4a448be14b2a40476d3a9ab23166a64445
powerpc/mm/radix: Limit paca allocation in radix

On return from RTAS we access the paca variables and we have 64 bit
disabled. This requires us to limit paca in 32 bit range.

Fix this by setting ppc64_rma_size to first_memblock_size/1G range.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable-radix.c