From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.7335.1580909165649970306 for ; Wed, 05 Feb 2020 05:26:05 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: ray.ni@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2020 05:26:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,405,1574150400"; d="scan'208";a="404150637" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 05 Feb 2020 05:26:04 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 5 Feb 2020 05:26:04 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 5 Feb 2020 05:26:04 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.5]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.196]) with mapi id 14.03.0439.000; Wed, 5 Feb 2020 21:26:02 +0800 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Luo, Heng" Subject: Re: [edk2-devel] [PATCH] MdeModulePkg: Perform test only if not ignore memory test Thread-Topic: [edk2-devel] [PATCH] MdeModulePkg: Perform test only if not ignore memory test Thread-Index: AQHVytiOGWOYvZfmAkGW4MB4aOEj2agMueEg Date: Wed, 5 Feb 2020 13:26:01 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C423365@SHSMSX104.ccr.corp.intel.com> References: <20200114085412.2060-1-heng.luo@intel.com> In-Reply-To: <20200114085412.2060-1-heng.luo@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: 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 igno= re memory test >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2463 >=20 > Perform Data and Address line test only if not ignore memory test. >=20 > Signed-off-by: Heng Luo > --- > .../MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) >=20 > diff --git a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/Light= MemoryTest.c > b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.= c > index ce9e5e659b..fe24e490d4 100644 > --- a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryT= est.c > +++ b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryT= est.c > @@ -1,6 +1,6 @@ > /** @file >=20 >=20 >=20 > - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
>=20 > + Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
>=20 >=20 >=20 > SPDX-License-Identifier: BSD-2-Clause-Patent >=20 >=20 >=20 > @@ -677,10 +677,12 @@ GenMemoryTestFinished ( > Private =3D GENERIC_MEMORY_TEST_PRIVATE_FROM_THIS (This); >=20 >=20 >=20 > // >=20 > - // Perform Data and Address line test >=20 > + // Perform Data and Address line test only if not ignore memory test >=20 > // >=20 > - Status =3D PerformAddressDataLineTest (Private); >=20 > - ASSERT_EFI_ERROR (Status); >=20 > + if (Private->CoverLevel !=3D IGNORE) { >=20 > + Status =3D PerformAddressDataLineTest (Private); >=20 > + ASSERT_EFI_ERROR (Status); >=20 > + } >=20 >=20 >=20 > // >=20 > // Add the non tested memory range to system memory map through GCD se= rvice >=20 > -- > 2.24.0.windows.2 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. >=20 > 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] > -=3D-=3D-=3D-=3D-=3D-=3D