From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::22c; helo=mail-wm0-x22c.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8FC0D21F7D50E for ; Wed, 11 Oct 2017 09:52:55 -0700 (PDT) Received: by mail-wm0-x22c.google.com with SMTP id f4so6631538wme.0 for ; Wed, 11 Oct 2017 09:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zB4tFhpkuP8W6G/Vx5Aq01iR0SVxmWhcaRIkD/McLZU=; b=MZECbN/9o/SS4ExfG0RLoYTvo0MAQlR+L29/C7WTL/mw2sQbwuTL2ciLN+GNFHPEL1 +/+L1MDg69QEzGVkmJi+6r8aaOusMkTgf8hR3fsYWeN2v0K0JVhB3NnBuDEBuqlyCVp0 9KVuno5rU01R0ibMdR+xyoyatPnyh4rJ31zmM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zB4tFhpkuP8W6G/Vx5Aq01iR0SVxmWhcaRIkD/McLZU=; b=jkZXM2ZbvqK2B9nfxEkJ9BpFN8y6iusGFISH5KLpeI4A/korRAD6MPF9SxYZFUCuTE WsDK3nnTOA3EA3pahHpaca/Jbc9OlrW1toqdiiUAg5MASEqYMh2q/CJcSXKeX6hCGXIi vmu+EGC820CBwigffqTZYvCTRG0rj72Ec/IhOQa0OqaV4UzpJ8/Iy2LB6+Qo1ILvJMuh VxSgBh2c4yjgDhg1CwBUgyKt28MaK2go1Fa7Mz3fsJ/TjO/njcx/LcObwYIeYWYraDLp xhjDXxd1xvWiT98iHp4BhFM8YilqesocW9miGRWeL1RXqnPDKzaVks15MasC2tDKnVCE pyOA== X-Gm-Message-State: AMCzsaVp4m9lhJJjLSpW+VV6lTrv4FaZP8q/s1iOIRe6RD5JA/z3Py++ POReX4oePFEGTFvctqEZmp44qA== X-Google-Smtp-Source: AOwi7QAuCUxWjuX67i83Nz0CdAIR5ZVXiF6QXfeQKQI2h6+sHLwijL1d5D/rJUK+HurdAnhbWLj7Xg== X-Received: by 10.28.151.74 with SMTP id z71mr212490wmd.131.1507740983597; Wed, 11 Oct 2017 09:56:23 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id 31sm6933101wrm.0.2017.10.11.09.56.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Oct 2017 09:56:22 -0700 (PDT) Date: Wed, 11 Oct 2017 17:56:20 +0100 From: Leif Lindholm To: Marcin Wojtas Cc: edk2-devel@lists.01.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com, jinghua@marvell.com, jsd@semihalf.com Message-ID: <20171011165620.k5x3mzuqpjwc4r43@bivouac.eciton.net> References: <1507736449-6073-1-git-send-email-mw@semihalf.com> <1507736449-6073-3-git-send-email-mw@semihalf.com> MIME-Version: 1.0 In-Reply-To: <1507736449-6073-3-git-send-email-mw@semihalf.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [platforms: PATCH 2/8] Marvell/Armada: Increase preallocated memory region size X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 16:52:55 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 11, 2017 at 05:40:43PM +0200, Marcin Wojtas wrote: > From: Ard Biesheuvel > > In order to prevent fragmentation of the UEFI memory map, increase the > sizes of the preallocated regions. Note that this does not increase the > memory footprint of UEFI, it just modifies it allocation policy to keep > similar region types together. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel > Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm > --- > Platform/Marvell/Armada/Armada.dsc.inc | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc > index ec24d76..56d8941 100644 > --- a/Platform/Marvell/Armada/Armada.dsc.inc > +++ b/Platform/Marvell/Armada/Armada.dsc.inc > @@ -341,10 +341,10 @@ > gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0 > gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0 > gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400 > - gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000 > + gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|1000 > + gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|1000 > + gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|2000 > + gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|35000 > gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20 > gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0 > > -- > 2.7.4 >