public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] OvmfPkg/AmdSev: reserve snp pages
@ 2022-02-16  7:00 Gerd Hoffmann
  2022-02-16 16:28 ` Brijesh Singh
  0 siblings, 1 reply; 7+ messages in thread
From: Gerd Hoffmann @ 2022-02-16  7:00 UTC (permalink / raw)
  To: devel
  Cc: Jordan Justen, James Bottomley, Pawel Polawski, Erdem Aktas,
	Brijesh Singh, Ard Biesheuvel, Tom Lendacky, Min Xu, Jiewen Yao,
	Gerd Hoffmann

The SNP patch series updated the OvmfPkgX64 build but forgot the AmdSev
variant, resulting in a broken OvmfSevMetadata table.

Fixes: cca9cd3dd6bf ("OvmfPkg: reserve CPUID page")
Fixes: 707c71a01b9d ("OvmfPkg: reserve SNP secrets page")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 OvmfPkg/AmdSev/AmdSevX64.fdf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/OvmfPkg/AmdSev/AmdSevX64.fdf b/OvmfPkg/AmdSev/AmdSevX64.fdf
index 14b5b5593f97..31f2be66361f 100644
--- a/OvmfPkg/AmdSev/AmdSevX64.fdf
+++ b/OvmfPkg/AmdSev/AmdSevX64.fdf
@@ -68,6 +68,12 @@ [FD.MEMFD]
 0x00D000|0x001000
 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupSize
 
+0x00E000|0x001000
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecretsBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecretsSize
+
+0x00F000|0x001000
+gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidSize
+
 0x010000|0x010000
 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-02-28  2:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-16  7:00 [PATCH 1/1] OvmfPkg/AmdSev: reserve snp pages Gerd Hoffmann
2022-02-16 16:28 ` Brijesh Singh
2022-02-17  5:13   ` 回复: [edk2-devel] " gaoliming
2022-02-21 15:07     ` Brijesh Singh
2022-02-22 12:37       ` Gerd Hoffmann
2022-02-28  2:17       ` Yao, Jiewen
     [not found]       ` <16D7D19739D88E0F.30539@groups.io>
2022-02-28  2:46         ` Yao, Jiewen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox