From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.8026.1672903282871660489 for ; Wed, 04 Jan 2023 23:21:23 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=EHI3qgba; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: min.m.xu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672903282; x=1704439282; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=j04QeW6XlhPFbQymfIw4A1+G+2jSUhcF7zYs/wl8fpY=; b=EHI3qgbaM2CA5bXuyj6MmeZN7xqs0pqPp39rhmyHEEmvm6eZE+5QUF8t +Libgh978Yx3C1E3jzNqFtMzEJtUS6u/KAXhRJSXBNi9FSGfdthcmRXFO NuGwnRVfGE51XFRuFZ9+xyzlGJWcKiPXto9byZZw916zOj3jPzk6/Ajmd DA1P9h0U1ksvqfSsqfEFIJxwxr6ZK01OEaPccX7fvg5Z9FAeAfyq6Hk9M B1iswO62cgJfe1fg/59XePMyPj35epRSC5LGMr7VIXPg3dBEE4zZr+CQ6 QN9c6cHN3jHsUuar6Kz4f5ExQVfUxqW+91eLI8dEAhbe2Du3qLWbMUU+i A==; X-IronPort-AV: E=McAfee;i="6500,9779,10580"; a="319843057" X-IronPort-AV: E=Sophos;i="5.96,302,1665471600"; d="scan'208";a="319843057" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 23:21:22 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10580"; a="648826269" X-IronPort-AV: E=Sophos;i="5.96,302,1665471600"; d="scan'208";a="648826269" Received: from mxu9-mobl1.ccr.corp.intel.com ([10.249.172.1]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 23:21:17 -0800 From: "Min Xu" To: devel@edk2.groups.io Cc: Min M Xu , Anthony Perard , Ard Biesheuvel , Brijesh Singh , Erdem Aktas , Gerd Hoffmann , James Bottomley , Jiewen Yao , Jordan Justen , Julien Grall , Laszlo Ersek , Peter Grehan , Rebecca Cran , Sebastien Boeuf , Tom Lendacky Subject: [PATCH V1 1/1] OvmfPkg/IntelTdxX64: Raise DXEFV size to 13MB Date: Thu, 5 Jan 2023 15:21:05 +0800 Message-Id: <20230105072105.144-1-min.m.xu@intel.com> X-Mailer: git-send-email 2.29.2.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Min M Xu BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4236 Similarly to the "cadence" mentioned in commit d272449 ("OvmfPkg: raise DXEFV size to 11 MB", 2018-05-29), it's been ~1.75 years since commit 5e75c4d ("OvmfPkg: raise DXEFV size to 12 MB", 2020-03-11), and we've outgrown DXEFV again (with NOOPT builds). Increase the DXEFV size of IntelTdxX64 to 13MB now. Tested on: - X64, Intel's TDX platform, RHEL-8.6 guest Test steps: - Configure 4 vCPUs and 4G memory - boot and bring up the RHEL 8.6 guest Cc: Anthony Perard Cc: Ard Biesheuvel Cc: Brijesh Singh Cc: Erdem Aktas Cc: Gerd Hoffmann Cc: James Bottomley Cc: Jiewen Yao Cc: Jordan Justen Cc: Julien Grall Cc: Laszlo Ersek Cc: Peter Grehan Cc: Rebecca Cran Cc: Sebastien Boeuf Cc: Tom Lendacky Signed-off-by: Min Xu --- OvmfPkg/IntelTdx/IntelTdxX64.fdf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OvmfPkg/IntelTdx/IntelTdxX64.fdf b/OvmfPkg/IntelTdx/IntelTdxX64.fdf index e79ad3e10217..0bb70ee2b7c3 100644 --- a/OvmfPkg/IntelTdx/IntelTdxX64.fdf +++ b/OvmfPkg/IntelTdx/IntelTdxX64.fdf @@ -62,10 +62,10 @@ FV = SECFV [FD.MEMFD] BaseAddress = $(MEMFD_BASE_ADDRESS) -Size = 0xD00000 +Size = 0xE00000 ErasePolarity = 1 BlockSize = 0x10000 -NumBlocks = 0xD0 +NumBlocks = 0xE0 0x000000|0x006000 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize @@ -97,7 +97,7 @@ gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCp 0x010000|0x010000 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize -0x100000|0xC00000 +0x100000|0xD00000 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize FV = DXEFV -- 2.29.2.windows.2