From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AJdET5cd9TeRzaZSXkZvSs+HFun0fmFc42Bo31xjTpm/IVdZs4EnVdVYckNYQT17OBueXiYFZlscNg== 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 Cc: Ard Biesheuvel , Laszlo Ersek , Leif Lindholm , Eric Auger , Andrew Jones , Philippe Mathieu-Daude , Julien Grall 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: [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: , X-List-Received-Date: Fri, 23 Nov 2018 12:14:53 -0000 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(-) 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 -- 2.17.1