From patchwork Fri Nov 23 12:14:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 151858 Delivered-To: patch@linaro.org Received: by 2002:aa7:da0f:0:0:0:0:0 with SMTP id r15csp2051098eds; Fri, 23 Nov 2018 04:15:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/VsDY0BwuEJ5B4xlnze4EVw+X7CGq2McRrgyQPBWch/VXCQgJYmEVIvR/40todlls9etc1/ X-Received: by 2002:a17:902:728c:: with SMTP id d12mr349099pll.284.1542975304503; Fri, 23 Nov 2018 04:15:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542975304; cv=none; d=google.com; s=arc-20160816; b=KOZwciiigzHv4CT2dUbDL4RPht/sKrLH8M6ikdY7fEFfMwrFtKGcwVkevd2wyI7jib dgAJpXIrTCLsJV3yi5qCWKTyVd4e69PsQglNe3ud8tvnBgSZL2XuQAheSBzpCcdct90U FSctn+mIq2Q1i+FUeKyphJRy/qI5cs+Eg4yP4MpASBJDLEhVkt6gmkOK64eTUXZYPok3 ohb8dbH2PG7obnmBbfpBNJShBi+u6BX/wWaCAWn2uL7Mxr+3iIE3MPdBk9iaNT7dNzkD EIji+D1IMGqZKg2WFbNnsIwa3t88KR6HV06iLoNgAwjMR4pguGAePx3JbcMzd8q5uUWK 9w4g== 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; bh=GI6bDysEs1W1XxCFwmxjYLLunrdutjVhqVZI0jQIlak=; b=D8WxIoxCDVsLW+NCXGfVOMdAx53gX6+frwbSNXWbjFXci41FTS/3XkXkW2KMh4bRyz COLw1f/d+fdi5YacN5bZNrNcMFETLR0DIvnAXnV/ek+2RH9EIYHo6Pj1NDi+z2/jHIyt tx9Vj3R4sgsJVml/wxM+fuTiDktppFbXSozUk603/Ygqw68mixgngQWwWZGM3SByl8KO 9he5N5vHyLE2yfeJ3mKNSgsUQ9RBznV89l502E0B5/ar3BXS1mCniyvPMb9OWRj2yZTB UlLViGN0DLtlZbPE25PQawcEdB2RsVfawX0k6857u4pMd6VpHcohMmvBVo8jckRZS+ok 590g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KZJAm+ai; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id n4si34257731pgd.10.2018.11.23.04.15.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 04:15:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KZJAm+ai; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id DA38B2194D3B3; Fri, 23 Nov 2018 04:14:54 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::341; helo=mail-wm1-x341.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (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 CABF52194D3B3 for ; Fri, 23 Nov 2018 04:14:52 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id r63-v6so11774628wma.4 for ; Fri, 23 Nov 2018 04:14:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3b2cWBNRoES29eY0m63vwv6kYRm6OzhX6ukUIncg18Q=; b=KZJAm+aiI0C9bN/jloVVPtbknoNwii7U4RQFCWPBGafLhv03neUqWSqGh3AiCRFKlD bEJbnTP5vY+oD2tIuWvY+mg0vbYqx8LB5Our1mApDQl500gsFVzeHI1frsXvSl7ESWYD Y6Dhhif2Z5LIAIN2xcurtHlPty/lcwWDLCtxY= 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=3b2cWBNRoES29eY0m63vwv6kYRm6OzhX6ukUIncg18Q=; b=Gl6iHeTvTi2Rj68wjs1fkp1oEh1w7Y0F+XzakSTLNMCZTvbmv4Ne15VDoarX4fPPod RSgxe69J464wP4n07JWNmYzlRPq2Qm4gs8mp1kiWsP6lSucDM8qL/Z1IZa+bnQ9UlXcC dfHAgeres+Ju7/we+7mEEfzUi3SEVnqJmnOA2k6oT6BHcWxi8/14PMJz4eO68gBuAkBy 1gRMqCbT9m7aF9+6+wxRa9qG4CW5nMp2rsr8qXMr6YmIRhHavDNjBIoslL/TD7XCOYHn StKS5jdPRPdqfKVComftYcbmkmV41L759v3cHIf2rmKc7DVHDComoLA+4D8hIWZjkXkW Iqhw== X-Gm-Message-State: AGRZ1gIHptilaUKlUvvtZKYAE0s2Ara9wrtYC5luqKFNmjfamfjb/DLS NNAPomtW0OG0+T3MIx+U00XEFUNYaA1akg== X-Received: by 2002:a1c:81d3:: with SMTP id c202mr12378267wmd.133.1542975291153; Fri, 23 Nov 2018 04:14:51 -0800 (PST) Received: from mba13.wifi.ns.nl (33.153.69.91.rev.sfr.net. [91.69.153.33]) by smtp.gmail.com with ESMTPSA id x79sm16469106wmd.42.2018.11.23.04.14.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 04:14:50 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Fri, 23 Nov 2018 13:14:31 +0100 Message-Id: <20181123121431.22353-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181123121431.22353-1-ard.biesheuvel@linaro.org> References: <20181123121431.22353-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 5/5] ArmVirtPkg: revert PcdPrePiCpuMemorySize to is default value of 48 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jones , Laszlo Ersek , Eric Auger MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Drop the PcdPrePiCpuMemorySize definitions that limit it to 40 bits on AArch64 targets. This is no longer appropriate now that KVM has been enhanced to permit any IPA space size permitted by the architecture. This means the value will revert back to its default of 48. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmVirtPkg/ArmVirtQemu.dsc | 4 ---- ArmVirtPkg/ArmVirtQemuKernel.dsc | 4 ---- 2 files changed, 8 deletions(-) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index cb59c790afcc..42f2adce80e6 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -143,10 +143,6 @@ gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16 [PcdsFixedAtBuild.AARCH64] - # KVM limits it IPA space to 40 bits (1 TB), so there is no need to - # support anything bigger, even if the host hardware does - gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40 - # Clearing BIT0 in this PCD prevents installing a 32-bit SMBIOS entry point, # if the entry point version is >= 3.0. AARCH64 OSes cannot assume the # presence of the 32-bit entry point anyway (because many AARCH64 systems diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index 434d6861a56f..d8fbf14e8f4e 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -157,10 +157,6 @@ # gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16 - # KVM limits it IPA space to 40 bits (1 TB), so there is no need to - # support anything bigger, even if the host hardware does - gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40 - [PcdsDynamicDefault.common] gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3