* Re: [edk2-devel] [PATCH] REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3898 S3 Resume flow may result in executing garbage address.
[not found] <16F0C756EDA8B9B1.30875@groups.io>
@ 2022-06-02 8:50 ` cbduggap
2022-06-02 9:00 ` Ni, Ray
0 siblings, 1 reply; 2+ messages in thread
From: cbduggap @ 2022-06-02 8:50 UTC (permalink / raw)
To: devel@edk2.groups.io, Duggapu, Chinni B; +Cc: Ni, Ray, Wang, Jian J
HI all,
Please help to review the changes
Thanks,
Chinni.
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of cbduggap
Sent: Friday, May 20, 2022 3:20 PM
To: devel@edk2.groups.io
Cc: Ni, Ray <ray.ni@intel.com>; Wang, Jian J <jian.j.wang@intel.com>
Subject: [edk2-devel] [PATCH] REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3898 S3 Resume flow may result in executing garbage address.
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: cbduggap <chinni.b.duggapu@intel.com>
---
MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index 2c19f1a507..16319e2fd3 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -288,6 +288,7 @@ DxeLoadCore (
EFI_ERROR_CODE | EFI_ERROR_MAJOR, (EFI_SOFTWARE_PEI_MODULE | EFI_SW_PEI_EC_S3_RESUME_PPI_NOT_FOUND) );+ PeiServicesResetSystem2 (EfiResetWarm, EFI_SUCCESS, 0, NULL); } ASSERT_EFI_ERROR (Status);--
2.36.0.windows.1
-=-=-=-=-=-=
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#89914): https://edk2.groups.io/g/devel/message/89914
Mute This Topic: https://groups.io/mt/91227575/5000832
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [chinni.b.duggapu@intel.com] -=-=-=-=-=-=
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [edk2-devel] [PATCH] REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3898 S3 Resume flow may result in executing garbage address.
2022-06-02 8:50 ` [edk2-devel] [PATCH] REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3898 S3 Resume flow may result in executing garbage address cbduggap
@ 2022-06-02 9:00 ` Ni, Ray
0 siblings, 0 replies; 2+ messages in thread
From: Ni, Ray @ 2022-06-02 9:00 UTC (permalink / raw)
To: cbduggap, devel
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
I guess this is to follow Liming's recommendation said in the bugzilla.
But I don't understand why reset is better than deadloop().
reset IMO is a silent failure if S3Resume2 PPI doesn't exist.
[-- Attachment #2: Type: text/html, Size: 204 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-02 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <16F0C756EDA8B9B1.30875@groups.io>
2022-06-02 8:50 ` [edk2-devel] [PATCH] REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3898 S3 Resume flow may result in executing garbage address cbduggap
2022-06-02 9:00 ` Ni, Ray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox