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::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-Google-Smtp-Source: ABhQp+TxOYxuCTjoWG5PAn1GPGhjADhJN+6juakWCjioofeOTMBTXJUq6l/uV55t26+pMZi5RXiZGg== 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 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, 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: [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: , X-List-Received-Date: Wed, 25 Oct 2017 06:43:03 -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 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