From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [RFC PATCH] ARM 32: Workaround for memory problem >1gb on last section Date: Wed, 1 Oct 2014 11:37:50 +0100 Message-ID: <1412159870.4861.13.camel@citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Frediano Ziglio Cc: Tim Deegan , Stefano Stabellini , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-09-29 at 17:02 +0100, Frediano Ziglio wrote: > setup_xenheap_mappings setup head memory on Arm 32 has a limit of 1GB. > On system with large memory is possible that there are no blocks of memory > smaller than 1gb leading xenheap_pages to be more than 1gb. > This cause memory errors trying to access heap after the 1gb limit. > > I actually consider this patch as RFC as the pages are allocated at the end > of the block found however I don't think is safe to assume that the end is > aligned to 32mb as required. > > Signed-off-by: Frediano Ziglio Acked-by: Ian Campbell