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.133.124]) by mx.groups.io with SMTP id smtpd.web10.45972.1684319094668629942 for ; Wed, 17 May 2023 03:24:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ujpcb7IG; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684319093; 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=IyHfJcGSauXlEXyeY9sYwkRNVRcnPvd5KxnoLmE2/PM=; b=Ujpcb7IGjUFlKhxlBgXW+77ccaydFnRskjlVQbg7WhEyjrrSG3kOmZzbHebpfOvv48vwdK EGmjtc64Zem4WX8xYQkUCySXl1K8LWhSH9+UZuRkjA52/jP/RIXnNXNjb19jLSXZ6Sq3ne Z9fU1ECwQYf9wI9+8DCgF+gE9egkLmM= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-544--3k5oJfGOcaLKpC8gfmnUA-1; Wed, 17 May 2023 06:24:52 -0400 X-MC-Unique: -3k5oJfGOcaLKpC8gfmnUA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D5E833823A04; 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 A5C7F1121314; Wed, 17 May 2023 10:24:51 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 1DA381802C05; 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 3/3] OvmfPkg/MicrovmX64: enable 1G pages Date: Wed, 17 May 2023 12:24:49 +0200 Message-Id: <20230517102449.1334621-4-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.3 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/Microvm/MicrovmX64.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc b/OvmfPkg/Microvm/MicrovmX64.dsc index 5f671bc3840d..46f951ae058f 100644 --- a/OvmfPkg/Microvm/MicrovmX64.dsc +++ b/OvmfPkg/Microvm/MicrovmX64.dsc @@ -544,6 +544,9 @@ [PcdsFixedAtBuild] gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100 + # use 1G pages + gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE + # # Network Pcds # -- 2.40.1