From patchwork Wed Oct 11 15:40:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115569 Delivered-To: patch@linaro.org Received: by 10.80.163.170 with SMTP id s39csp757816edb; Wed, 11 Oct 2017 08:41:23 -0700 (PDT) X-Received: by 10.98.144.142 with SMTP id q14mr13104pfk.303.1507736482907; Wed, 11 Oct 2017 08:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507736482; cv=none; d=google.com; s=arc-20160816; b=aEU0AZ9gbj6svAyO4LB0g8awFbxOTaBKVm3zs4Xj/bb04wJZsYkFcZk6HNzpbRSqP/ ttrIfiNZJdWkSLZpvtQuc/9hCj/59344hnp2Ks9xTcfq25kJ9qY7g1rVS4k3YaFhuyqO kSEL73AR49PUATk7gky1uTeJbI4cb6Mzz+OdGD7gUvx9sX6prQncpzClkw0G3DBkPHt+ Nge9kkZ+2z1wfe4Mx7Jai8772/E2YhsFdiqnDffL2XaGtdkGkzpIRoVHkyCa16P8u5Ig aGCRDAtIZkoPrXpdOgt/sybkFay2UbThF0gYthst9tJ/AOqaQOWWaIE3gEKNRnMFO+/a SxFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=MqOL2WRTPAWUT3ceSu1vl/pnqOCc4Ki5A7KReYnWim4=; b=VLdK8/FuzBGEKCvUaYp6eoFEyJfsDJ1D09kXJjSFmsOwGc80UHzJr+JpC433tRMvGr lxWrP7IyUUHzt54Qri6KSKKDvYgDnWoKdx1wktGnUUh2Kx/iplqoQuwepNlRBRp0ETZS 3pgnNTQ8jFDvNsXFMIBynFK5UrJovpU+pfuVTxZ7I6BfG5gEgLnZWMFmSzywAIbCgsZn 1/yuAOu3gf33Ijj3CKlZCk1mOgpleF9TlfqDCgAE0B6FLnRQmgjgVgCOSO2Wsm1aHMT5 U7Ko/wJHIdKjdGutrLJ2tO7wUedvOmheVNiYJc7jn1s7PRdfVtaQ1+VRfmw7Km1F9sF9 cv0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=zncG20QV; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id z4si10223016plk.148.2017.10.11.08.41.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 08:41:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=zncG20QV; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 046A121F7D4E8; Wed, 11 Oct 2017 08:37:49 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::230; helo=mail-lf0-x230.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (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 32EE621FC7499 for ; Wed, 11 Oct 2017 08:37:47 -0700 (PDT) Received: by mail-lf0-x230.google.com with SMTP id 90so2554581lfs.13 for ; Wed, 11 Oct 2017 08:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=V/2M2b6W+hG3st6Uu5mKZVAlzB/bTaiqYrDMvw3ma2g=; b=zncG20QV2ZfGvushy3BmxKGCZxnZJBspgUarUsIMU0++Egsj4qIzWyLgv4e1py7bLH JW6n2RZWUiSKrB/3+WjyDCTK3uCaL8aoh51UaOaqQmMppDmNNqb6SOWEz0EFhvMyL9Dq frpKLbrWcoQaQYKHUFSJLSF6a4TEyirwvF8HEfynO2tPaD1EsUkqWTr6ZQFxBvgWsjEm WCrpt47yb4pj6UFFVdX3+jCjHukHceiJ4fCq4jLQyPrWRl+Cq5b+9MRA1evg8HXbYzCV DgzxHYGo0UrDDbjSQ+2O6EKeiV3UU0yq2ARVYkb8aqd6+WmGgZGn2JBhhh8kfcwCSgPC mqbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=V/2M2b6W+hG3st6Uu5mKZVAlzB/bTaiqYrDMvw3ma2g=; b=qj1VsqQkLXk9H74NFtpnHSPQXXzqkMMpUUQz0LtC6cdN5NDQsbpW8IfVK/hA+9RU9p 2ZqEOR1RX4nx8y0rAula0YaHtlq8aLiUuNagqZPJbH7BeYd30acaCGYNeMy59mTeQ0RD Cx0gPcdWnjd7DgGkl2P73qrTwliwJl0YyNNGRTRks3uFCtFnR95NQmdkzqASgm58Sa7t g3YekLQYtOxoxtflPCdeGm1B+1q1ESCxSAz+S2c02RC8Fy0pxvqbMpakPaGcvmMYr4Yn DnL8cR71y/vvgRfvKi6ECxY9lcRlld7Ybue0AfKXh76o4xPCIU9gv8/49lDLAAMVx9bY sawg== X-Gm-Message-State: AMCzsaVTTjM6LiICuQ8vrnx99IQzxFp0dmAR42ZfM3iRpCcmIoDBLIX2 rzboyEM/BW2fVIPC0CRVgYL77/bAq6k= X-Google-Smtp-Source: ABhQp+RCMuiTnl8Rh2gw93KLxBmXYjKkzVR+RYEP1CxrRvMtReXfxtCNx2EAq5DXtdNDG23tmD042w== X-Received: by 10.25.18.169 with SMTP id 41mr16515lfs.166.1507736474770; Wed, 11 Oct 2017 08:41:14 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id p15sm160610lje.24.2017.10.11.08.41.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 08:41:13 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 17:40:43 +0200 Message-Id: <1507736449-6073-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507736449-6073-1-git-send-email-mw@semihalf.com> References: <1507736449-6073-1-git-send-email-mw@semihalf.com> Subject: [edk2] [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: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 --- Platform/Marvell/Armada/Armada.dsc.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm 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