From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.45976.1684319098795914897 for ; Wed, 17 May 2023 03:24:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YkliubHl; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684319097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yLh+RcNaSmDmTG3trEOYX6Mk2adnua7NNI3PP1A9iaY=; b=YkliubHl4+1vm1WJf7CErGGuy4IPK4ne20Q6dTNUSJ0tGRF5tKxFayZTH+NdFXAmajVc3u zT4+ztKVwi490TT59AHgC2C9x2A8XoC8ecI4XLEWtVEvBPgNcuRJ+JEJIqIi4qdcHag/ef DYzf72hs+sfe8xffaf2v7iAgtjmJAfk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-453-M8oPQcFdOvGk8J4fy3K3pQ-1; Wed, 17 May 2023 06:24:52 -0400 X-MC-Unique: M8oPQcFdOvGk8J4fy3K3pQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D8ACF185A790; Wed, 17 May 2023 10:24:51 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.130]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A3C6B63F7E; Wed, 17 May 2023 10:24:51 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 19EDF18023A5; Wed, 17 May 2023 12:24:49 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Jordan Justen , Oliver Steffen , Pawel Polawski , Gerd Hoffmann , Ard Biesheuvel , Jiewen Yao Subject: [PATCH 2/3] OvmfPkg/OvmfPkgIa32X64: enable 1G pages Date: Wed, 17 May 2023 12:24:48 +0200 Message-Id: <20230517102449.1334621-3-kraxel@redhat.com> In-Reply-To: <20230517102449.1334621-1-kraxel@redhat.com> References: <20230517102449.1334621-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Reduces the memory footprint and speeds up booting. Signed-off-by: Gerd Hoffmann --- OvmfPkg/OvmfPkgIa32X64.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 25974230a27e..c89257a9977e 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -557,6 +557,9 @@ [PcdsFixedAtBuild] # never lets the RAM below 4 GB exceed 2816 MB. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000 + # use 1G pages + gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE + !if $(SOURCE_DEBUG_ENABLE) == TRUE gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2 !endif -- 2.40.1