Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: a00e2e5513926a4031d96dc707113d13e1cdf814
https://github.com/tianocore/edk2/commit/a00e2e5513926a4031d96dc707113d13e1cdf814
Author: Dionna Glaze <[email protected]>
Date: 2023-01-26 (Thu, 26 Jan 2023)
Changed paths:
M OvmfPkg/AmdSevDxe/AmdSevDxe.c
M OvmfPkg/AmdSevDxe/AmdSevDxe.inf
Log Message:
-----------
OvmfPkg: Add memory acceptance event in AmdSevDxe
The added behavior is to accept all unaccepted memory at
ExitBootServices if the behavior is not disabled. This allows safe
upgrades for OS loaders to affirm their support for the unaccepted
memory type.
Cc: Gerd Hoffmann <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: "Min M. Xu" <[email protected]>
Cc: Andrew Fish <[email protected]>
Cc: "Michael D. Kinney" <[email protected]>
Signed-off-by: Dionna Glaze <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Commit: 26847fb6be7fff83a834a3154224588afede0073
https://github.com/tianocore/edk2/commit/26847fb6be7fff83a834a3154224588afede0073
Author: Dionna Glaze <[email protected]>
Date: 2023-01-26 (Thu, 26 Jan 2023)
Changed paths:
A OvmfPkg/Include/Protocol/SevMemoryAcceptance.h
M OvmfPkg/OvmfPkg.dec
Log Message:
-----------
OvmfPkg: Introduce the OvmfSevMemoryAcceptance protocol
The default behavior for unaccepted memory in SEV-SNP is to accept all
memory when ExitBootServices is called. An OS loader can use this
protocol to disable this behavior to assume responsibility for memory
acceptance and to affirm that the OS can handle the unaccepted memory
type.
Cc: Gerd Hoffmann <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: "Min M. Xu" <[email protected]>
Cc: Andrew Fish <[email protected]>
Cc: "Michael D. Kinney" <[email protected]>
Signed-off-by: Dionna Glaze <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Commit: 466d8f65e3c7f748d52e7a0046a1f7c1febe5691
https://github.com/tianocore/edk2/commit/466d8f65e3c7f748d52e7a0046a1f7c1febe5691
Author: Dionna Glaze <[email protected]>
Date: 2023-01-26 (Thu, 26 Jan 2023)
Changed paths:
M OvmfPkg/AmdSevDxe/AmdSevDxe.c
M OvmfPkg/AmdSevDxe/AmdSevDxe.inf
Log Message:
-----------
OvmfPkg: Implement AcceptAllUnacceptedMemory in AmdSevDxe
This protocol implementation disables the accept-all-memory behavior
of the BeforeExitBootServices event this driver adds.
Cc: Gerd Hoffmann <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: "Min M. Xu" <[email protected]>
Cc: Andrew Fish <[email protected]>
Cc: "Michael D. Kinney" <[email protected]>
Signed-off-by: Dionna Glaze <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Commit: 0d129ef7c3a95d64f2f2cab4f8302318775f9933
https://github.com/tianocore/edk2/commit/0d129ef7c3a95d64f2f2cab4f8302318775f9933
Author: Dionna Glaze <[email protected]>
Date: 2023-01-26 (Thu, 26 Jan 2023)
Changed paths:
M OvmfPkg/PlatformPei/AmdSev.c
Log Message:
-----------
OvmfPkg/PlatformPei: SEV-SNP make >=4GB unaccepted
Instead of eagerly accepting all memory in PEI, only accept memory under
the 4GB address. This allows a loaded image to use the
MEMORY_ACCEPTANCE_PROTOCOL to disable the accept behavior and indicate
that it can interpret the memory type accordingly.
This classification is safe since ExitBootServices will accept and
reclassify the memory as conventional if the disable protocol is not
used.
Cc: Ard Biescheuvel <[email protected]>
Cc: "Min M. Xu" <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Erdem Aktas <[email protected]>
Signed-off-by: Dionna Glaze <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/ca573b86157e...0d129ef7c3a9
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits