Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: fadb9dcb9dc734418d4e88296cdc609bb298df41 https://github.com/tianocore/edk2/commit/fadb9dcb9dc734418d4e88296cdc609bb298df41 Author: Dun Tan <dun....@intel.com> Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths: M SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c Log Message: ----------- SecurityPkg: Correct Pages for TCG2 communication buffer The value of the Pages for TCG2 communication buffer should be EFI_SIZE_TO_PAGES(sizeof(TCG_NVS)) instead of sizeof(TCG_NVS). Signed-off-by: Dun Tan <dun....@intel.com> Commit: 5a06afa7dd8ba8e99178fec9525be9e3fd2a4d3a https://github.com/tianocore/edk2/commit/5a06afa7dd8ba8e99178fec9525be9e3fd2a4d3a Author: Dun Tan <dun....@intel.com> Date: 2024-08-27 (Tue, 27 Aug 2024) Changed paths: M SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c Log Message: ----------- SecurityPkg: Allocate EfiACPIMemoryNVS buffer for TCG2 Allocate EfiACPIMemoryNVS buffer for TCG2 related usage in Tcg2ConfigPeim. The buffer will be used in Tcg2Acpi driver to retrive information from SMM environment. Previously, the buffer used in Tcg2Acpi driver is AcpiNvs type. But I mistakenly thought the Runtime Data type buffer should also work. So I used API AllocateRuntimePages() to allocate buffer in 9a76c7945b7 and consume the buffer in e939ecf6c1. Recently we found that if the buffer type is Runtime Data instead of AcpiNvs, BSOD issue happened after boot into OS. So this commit is to Allocate EfiACPIMemoryNVS buffer for TCG2 usage in SMM to align with the initial code logic. Signed-off-by: Dun Tan <dun....@intel.com> Compare: https://github.com/tianocore/edk2/compare/0e8af8803489...5a06afa7dd8b To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits