From patchwork Wed Oct 25 06:45:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 117019 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp509405qgn; Tue, 24 Oct 2017 23:46:51 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RG8AVYC+ww/vAQ8r/h32EBPdTwTKsMRIOOD/FCoH8fkNht/bUrDs7e4SR5Q8DPj+C/Mj27 X-Received: by 10.84.131.163 with SMTP id d32mr311527pld.73.1508914011270; Tue, 24 Oct 2017 23:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508914011; cv=none; d=google.com; s=arc-20160816; b=YZ85SJA8ezOk+dNGHfQOSDEGQolGk9qEnzfFPAR86yckOq7Mgs9ZIQaiIiUbMaku21 8zOx7mW1GQlO1coduhCmKt5SztVZPPWTXJRQKNd8ePp237QpUJ9F97alDzZlL2zKe1Za 3ogeQIXG9JGtSmvkUQDJZQF9e0QF1aUWfabRP5a+NJKFghzxTAFaEyPRnpGmeC4Vg5rP OOhxVJIUJcLYRTiqu9WDxWbl5AXPllK7OdrhvvGRtEYjL46k1cCmevoFIUi87a/xctAZ NDCR4yZv3Xb4YZibcvRtqCtKuEulxd4VaFpgOGbo2lnlHSD5wLy0r2chPzm3anYixz0I JRSw== 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=bWMq1VNXPTNRRLIRezXCZgujGnDt4MylWDNzCzBZwKk=; b=zYejdwo+ERYKyVnKKAKy9dnsb7LBnv2FFsScOfhONDfI/Ne6M+by3C8ud9HeGGfVnS N1jKfGN3PUrkqRyGQLXptdKcpgI1gRif1YSTmxmXKKs/+w+N0ZKaWjBy+xu7RwCOaULu PQ18BePjCBGyBaWHVF5Z2UZVowztmg9LcBJ/Y2wOe0MCBrIBoWuJQY5c4aI9/uHCmnTa QD97nCFQ7Rvea2qSqhb3LhlgAGiXg+v1stzNJFr1wmWH4s0t23XgcudCB4YcQq2bdZo8 jvvhtfx+mc+Odl3EUqENemlYWhA28v52J2U6peB+G+8R0i+/huEKmUA5n5muvBW7aeWo uGMw== 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=piFC+lMY; 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 y7si1362761pgb.829.2017.10.24.23.46.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Oct 2017 23:46:51 -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=piFC+lMY; 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 EDB3A2034C08E; Tue, 24 Oct 2017 23:43:03 -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::244; helo=mail-lf0-x244.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (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 9D09520347156 for ; Tue, 24 Oct 2017 23:43:02 -0700 (PDT) Received: by mail-lf0-x244.google.com with SMTP id r129so26604911lff.8 for ; Tue, 24 Oct 2017 23:46:47 -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=bw9zy9yieNoTfW1BPNPxav+fo9hiHlUkZA7MDuePoYo=; b=piFC+lMY6MWJFe3BiS6BL4qjszv5CNh/PztKn4FOU0StkerRbrllKiZ+tNHvY6RQFQ /QlbwcHmlZ6pKDZsccuRrfM/RhTsG3GPyxv7p4EzpdifV0Wdny2oLLMH1UBmzlz8Hofs U65tRb6vUX3QM7wsFmNRYyOodsvnHWDa8ksbP+WAtY+/R72/p26h9aeSBc0hZm92IDUS wfhuPbLaUQqWDth00vjV5qx7sGvK7SRZtvaZa90FJjtxjkBUPYUcqTCKtmfddDyHA6es rGII4+PBMibF/4nd9x2FLhIBSNJYWTBOFxS9jK4q/mL7lKfnN11rxwGc6QOmt6zhensd 6mVw== 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=bw9zy9yieNoTfW1BPNPxav+fo9hiHlUkZA7MDuePoYo=; b=pIcI8osI0CIvA6h1ffLIq6mKtTtQm47dEnwSwzWOU4jZXByf71W8ytaPBpSzUKUIml +4yEQc25C0Qz5KLmtTAzbC5tDF0iVX2c2uitSrxEg/R3hK5dYjpjEKgWFMsx5y5Bpxlf R9vAvSvuYZFjYYO4sJXvdzaYwBqwJDTO94BKteyxI/NMyZV0W1Kp23KyF7MExcN88biw buxSPPhz913Zp9APTHc0cw7uBTSX1SiyXByOs0a/sWVZEkz9HdEYsyCOpNcQSekwUALw wkJrmtU5iBH+HFdbUztXqgrSd0D+vAL+M8vTEhkwo03oXb0BgRgFEwJxu0ws/Qki4I7B FDFg== X-Gm-Message-State: AMCzsaVKUACpmrKmeo1YPHhgImaQH1oZPOznu8dGz+vW/K6HoHNZ7FXV tE5lqeD6KG4jwg1nQY9fv3s414LEEX8= X-Received: by 10.46.0.222 with SMTP id e91mr7620586lji.64.1508914005524; Tue, 24 Oct 2017 23:46:45 -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 r22sm513129ljr.16.2017.10.24.23.46.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 23:46:44 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 25 Oct 2017 08:45:24 +0200 Message-Id: <1508913930-30886-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508913930-30886-1-git-send-email-mw@semihalf.com> References: <1508913930-30886-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 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 Reviewed-by: Leif Lindholm --- 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 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