[edk2-devel] [PATCH v1] UefiCpuPkg/PiSmmCpuDxeSmm: Fix S3 failure in SmmRestoreCpu

Gerd Hoffmann kraxel at redhat.com
Mon Mar 13 08:50:14 UTC 2023


  Hi,

> -  //
> -  // Make sure the gSmmBaseHobGuid existence status is the same between normal and S3 boot.
> -  //
> -  ASSERT (mSmmRelocated == (BOOLEAN)(GetFirstGuidHob (&gSmmBaseHobGuid) != NULL));
> -  if (mSmmRelocated != (BOOLEAN)(GetFirstGuidHob (&gSmmBaseHobGuid) != NULL)) {
> -    DEBUG ((
> -      DEBUG_ERROR,
> -      "gSmmBaseHobGuid %a produced in normal boot but %a in S3 boot!",
> -      mSmmRelocated ? "is" : "is not",
> -      mSmmRelocated ? "is not" : "is"
> -      ));
> -    CpuDeadLoop ();
> -  }
> +  DEBUG ((DEBUG_INFO, "SmmRestoreCpu: mSmmRelocated is %d\n", mSmmRelocated));

Reviewed-by: Gerd Hoffmann <kraxel at redhat.com>
Tested-by: Gerd Hoffmann <kraxel at redhat.com>

thanks & take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#101088): https://edk2.groups.io/g/devel/message/101088
Mute This Topic: https://groups.io/mt/97575696/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list