Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934592AbdDFNGN (ORCPT ); Thu, 6 Apr 2017 09:06:13 -0400 Received: from ozlabs.org ([103.22.144.67]:44123 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753213AbdDFNGF (ORCPT ); Thu, 6 Apr 2017 09:06:05 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 687da8fce1682c9f1e87530e731189863c588265 In-Reply-To: <20170330040349.GA31756@us.ibm.com> To: Sukadev Bhattiprolu From: Michael Ellerman Cc: praveen.pandey@in.ibm.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc/prom: Increase RMA size to 512MB Message-Id: <3vzNHv1ZFfz9s8T@ozlabs.org> Date: Thu, 6 Apr 2017 23:06:03 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1120 Lines: 29 On Thu, 2017-03-30 at 04:03:49 UTC, Sukadev Bhattiprolu wrote: > >From 3ae8d1ed31b01b92b172fe20e4560cfbfab135ec Mon Sep 17 00:00:00 2001 > From: root > Date: Mon, 27 Mar 2017 19:43:14 -0400 > Subject: [PATCH] powerpc/prom: Increase RMA size to 512MB > > When booting very large systems with a large initrd, we run out of > space for either the RTAS or the flattened device tree (FDT). Boot > fails with messages like: > > Could not allocate memory for RTAS > or > No memory for flatten_device_tree (no room) > > Increasing the minimum RMA size to 512MB fixes the problem. This > should not have an impact on smaller LPARs (with 256MB memory), > as the firmware will cap the RMA to the memory assigned to the LPAR. > > Fix is based on input/discussions with Michael Ellerman. Thanks to > Praveen K. Pandey for testing on a large system. > > Reported-by: Praveen K. Pandey > Signed-off-by: Sukadev Bhattiprolu Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/687da8fce1682c9f1e87530e731189 cheers