* [PATCH] MdeModulePkg: Perform test only if not ignore memory test
@ 2020-01-14 8:54 Heng Luo
2020-01-19 6:46 ` [edk2-devel] " Liming Gao
2020-02-05 13:26 ` Ni, Ray
0 siblings, 2 replies; 3+ messages in thread
From: Heng Luo @ 2020-01-14 8:54 UTC (permalink / raw)
To: devel
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2463
Perform Data and Address line test only if not ignore memory test.
Signed-off-by: Heng Luo <heng.luo@intel.com>
---
.../MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
index ce9e5e659b..fe24e490d4 100644
--- a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
+++ b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
@@ -1,6 +1,6 @@
/** @file
- Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -677,10 +677,12 @@ GenMemoryTestFinished (
Private = GENERIC_MEMORY_TEST_PRIVATE_FROM_THIS (This);
//
- // Perform Data and Address line test
+ // Perform Data and Address line test only if not ignore memory test
//
- Status = PerformAddressDataLineTest (Private);
- ASSERT_EFI_ERROR (Status);
+ if (Private->CoverLevel != IGNORE) {
+ Status = PerformAddressDataLineTest (Private);
+ ASSERT_EFI_ERROR (Status);
+ }
//
// Add the non tested memory range to system memory map through GCD service
--
2.24.0.windows.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [edk2-devel] [PATCH] MdeModulePkg: Perform test only if not ignore memory test
2020-01-14 8:54 [PATCH] MdeModulePkg: Perform test only if not ignore memory test Heng Luo
@ 2020-01-19 6:46 ` Liming Gao
2020-02-05 13:26 ` Ni, Ray
1 sibling, 0 replies; 3+ messages in thread
From: Liming Gao @ 2020-01-19 6:46 UTC (permalink / raw)
To: devel@edk2.groups.io, Luo, Heng; +Cc: Wu, Hao A, Ni, Ray, Gao, Liming
Heng:
The change is good to me. Reviewed-by: Liming Gao <liming.gao@intel.com>
Thanks
Liming
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Heng Luo
Sent: 2020年1月14日 16:54
To: devel@edk2.groups.io
Subject: [edk2-devel] [PATCH] MdeModulePkg: Perform test only if not ignore memory test
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2463
Perform Data and Address line test only if not ignore memory test.
Signed-off-by: Heng Luo <heng.luo@intel.com>
---
.../MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
index ce9e5e659b..fe24e490d4 100644
--- a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
+++ b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemory
+++ Test.c
@@ -1,6 +1,6 @@
/** @file - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>+ Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @@ -677,10 +677,12 @@ GenMemoryTestFinished (
Private = GENERIC_MEMORY_TEST_PRIVATE_FROM_THIS (This); //- // Perform Data and Address line test+ // Perform Data and Address line test only if not ignore memory test //- Status = PerformAddressDataLineTest (Private);- ASSERT_EFI_ERROR (Status);+ if (Private->CoverLevel != IGNORE) {+ Status = PerformAddressDataLineTest (Private);+ ASSERT_EFI_ERROR (Status);+ } // // Add the non tested memory range to system memory map through GCD service--
2.24.0.windows.2
-=-=-=-=-=-=
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#53222): https://edk2.groups.io/g/devel/message/53222
Mute This Topic: https://groups.io/mt/69692450/1759384
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [liming.gao@intel.com] -=-=-=-=-=-=
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] [PATCH] MdeModulePkg: Perform test only if not ignore memory test
2020-01-14 8:54 [PATCH] MdeModulePkg: Perform test only if not ignore memory test Heng Luo
2020-01-19 6:46 ` [edk2-devel] " Liming Gao
@ 2020-02-05 13:26 ` Ni, Ray
1 sibling, 0 replies; 3+ messages in thread
From: Ni, Ray @ 2020-02-05 13:26 UTC (permalink / raw)
To: devel@edk2.groups.io, Luo, Heng
Reviewed-by: Ray Ni <ray.ni@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Heng Luo
> Sent: Tuesday, January 14, 2020 4:54 PM
> To: devel@edk2.groups.io
> Subject: [edk2-devel] [PATCH] MdeModulePkg: Perform test only if not ignore memory test
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2463
>
> Perform Data and Address line test only if not ignore memory test.
>
> Signed-off-by: Heng Luo <heng.luo@intel.com>
> ---
> .../MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
> b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
> index ce9e5e659b..fe24e490d4 100644
> --- a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
> +++ b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
> @@ -1,6 +1,6 @@
> /** @file
>
>
>
> - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
>
> + Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
>
>
>
> SPDX-License-Identifier: BSD-2-Clause-Patent
>
>
>
> @@ -677,10 +677,12 @@ GenMemoryTestFinished (
> Private = GENERIC_MEMORY_TEST_PRIVATE_FROM_THIS (This);
>
>
>
> //
>
> - // Perform Data and Address line test
>
> + // Perform Data and Address line test only if not ignore memory test
>
> //
>
> - Status = PerformAddressDataLineTest (Private);
>
> - ASSERT_EFI_ERROR (Status);
>
> + if (Private->CoverLevel != IGNORE) {
>
> + Status = PerformAddressDataLineTest (Private);
>
> + ASSERT_EFI_ERROR (Status);
>
> + }
>
>
>
> //
>
> // Add the non tested memory range to system memory map through GCD service
>
> --
> 2.24.0.windows.2
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
>
> View/Reply Online (#53222): https://edk2.groups.io/g/devel/message/53222
> Mute This Topic: https://groups.io/mt/69692450/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] 3+ messages in thread
end of thread, other threads:[~2020-02-05 13:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-14 8:54 [PATCH] MdeModulePkg: Perform test only if not ignore memory test Heng Luo
2020-01-19 6:46 ` [edk2-devel] " Liming Gao
2020-02-05 13:26 ` Ni, Ray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox