public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] Bug 3898 - S3 Resume result in executing garbage address
@ 2022-04-25  4:01 cbduggap
  0 siblings, 0 replies; 4+ messages in thread
From: cbduggap @ 2022-04-25  4:01 UTC (permalink / raw)
  To: devel; +Cc: yes

From: yes <chinni.b.duggapu@intel.com>

In Release Build, Trying to execute ppi Function even after
Locate ppi failed.

Signed-off-by: yes <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..d7f02df5f5 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)
         );
+      CpuDeadLoop ();
     }
 
     ASSERT_EFI_ERROR (Status);
-- 
2.26.2.windows.1


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

* [PATCH] Bug 3898 - S3 Resume result in executing garbage address
@ 2022-04-25  4:39 cbduggap
  2022-04-25  6:50 ` [edk2-devel] " Ni, Ray
  2022-04-26  4:48 ` Wang, Jian J
  0 siblings, 2 replies; 4+ messages in thread
From: cbduggap @ 2022-04-25  4:39 UTC (permalink / raw)
  To: devel

In Release Build, Trying to execute ppi Function even after
Locate ppi failed.

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..d7f02df5f5 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)
         );
+      CpuDeadLoop ();
     }
 
     ASSERT_EFI_ERROR (Status);
-- 
2.36.0.windows.1


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

* Re: [edk2-devel] [PATCH] Bug 3898 - S3 Resume result in executing garbage address
  2022-04-25  4:39 [PATCH] Bug 3898 - S3 Resume result in executing garbage address cbduggap
@ 2022-04-25  6:50 ` Ni, Ray
  2022-04-26  4:48 ` Wang, Jian J
  1 sibling, 0 replies; 4+ messages in thread
From: Ni, Ray @ 2022-04-25  6:50 UTC (permalink / raw)
  To: devel@edk2.groups.io, Duggapu, Chinni B, Wang, Jian J

Reviewed-by: Ray Ni <ray.ni@intel.com>
+ @Wang, Jian J

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of cbduggap
> Sent: Monday, April 25, 2022 12:39 PM
> To: devel@edk2.groups.io
> Subject: [edk2-devel] [PATCH] Bug 3898 - S3 Resume result in executing garbage address
> 
> In Release Build, Trying to execute ppi Function even after
> Locate ppi failed.
> 
> 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..d7f02df5f5 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)
> 
>          );
> 
> +      CpuDeadLoop ();
> 
>      }
> 
> 
> 
>      ASSERT_EFI_ERROR (Status);
> 
> --
> 2.36.0.windows.1
> 
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#89252): https://edk2.groups.io/g/devel/message/89252
> Mute This Topic: https://groups.io/mt/90678471/1712937
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [ray.ni@intel.com]
> -=-=-=-=-=-=
> 


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

* Re: [edk2-devel] [PATCH] Bug 3898 - S3 Resume result in executing garbage address
  2022-04-25  4:39 [PATCH] Bug 3898 - S3 Resume result in executing garbage address cbduggap
  2022-04-25  6:50 ` [edk2-devel] " Ni, Ray
@ 2022-04-26  4:48 ` Wang, Jian J
  1 sibling, 0 replies; 4+ messages in thread
From: Wang, Jian J @ 2022-04-26  4:48 UTC (permalink / raw)
  To: devel@edk2.groups.io, Duggapu, Chinni B

Reviewed-by: Jian J Wang <jian.j.wang@intel.com>

Regards,
Jian

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of cbduggap
> Sent: Monday, April 25, 2022 12:39 PM
> To: devel@edk2.groups.io
> Subject: [edk2-devel] [PATCH] Bug 3898 - S3 Resume result in executing garbage
> address
> 
> In Release Build, Trying to execute ppi Function even after
> Locate ppi failed.
> 
> 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..d7f02df5f5 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)
> 
>          );
> 
> +      CpuDeadLoop ();
> 
>      }
> 
> 
> 
>      ASSERT_EFI_ERROR (Status);
> 
> --
> 2.36.0.windows.1
> 
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#89252): https://edk2.groups.io/g/devel/message/89252
> Mute This Topic: https://groups.io/mt/90678471/1768734
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [jian.j.wang@intel.com]
> -=-=-=-=-=-=
> 


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

end of thread, other threads:[~2022-04-26  4:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-25  4:39 [PATCH] Bug 3898 - S3 Resume result in executing garbage address cbduggap
2022-04-25  6:50 ` [edk2-devel] " Ni, Ray
2022-04-26  4:48 ` Wang, Jian J
  -- strict thread matches above, loose matches on Subject: below --
2022-04-25  4:01 cbduggap

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