From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com, jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com 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: [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 15:37:47 -0000 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(-) 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