ACK: [PATCH Xenial SRU] powerpc/pseries: Increase RMA size to 512MB.

Colin Ian King colin.king at canonical.com
Thu Aug 18 13:48:06 UTC 2016


On 18/08/16 14:44, Tim Gardner wrote:
> From: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
> 
> BugLink: http://bugs.launchpad.net/bugs/1614309
> 
> When trying to boot large kernel and initrd images on large systems
> (with hundreds of CPUs and Terabytes of memory), we sometimes run out
> of memory for the flattened device tree (FDT).
> 
> Increase the memory allocated for the Real Mode Area (RMA) to 512MB to
> allow more room for the FDT.
> 
> Signed-off-by: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
> Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
> ---
>  arch/powerpc/kernel/prom_init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
> index b7e86e0..6486954 100644
> --- a/arch/powerpc/kernel/prom_init.c
> +++ b/arch/powerpc/kernel/prom_init.c
> @@ -678,7 +678,7 @@ unsigned char ibm_architecture_vec[] = {
>  	W(0xffffffff),			/* virt_base */
>  	W(0xffffffff),			/* virt_size */
>  	W(0xffffffff),			/* load_base */
> -	W(256),				/* 256MB min RMA */
> +	W(512),				/* 512MB min RMA */
>  	W(0xffffffff),			/* full client load */
>  	0,				/* min RMA percentage of total RAM */
>  	48,				/* max log_2(hash table size) */
> 

Looks sane to me.

Acked-by: Colin Ian King <colin.king at canonical.com>




More information about the kernel-team mailing list