From nobody Sat Apr 20 06:25:17 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+53222+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+53222+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1579005941; cv=none; d=zohomail.com; s=zohoarc; b=Q3BhU5RDawNJdh/6t1hBMQ0DK9jwcFN/X3mE6TilikHcIqPU2YQ7eGy/AnXgPfdgT+67BhkCMQKF93ACb3sL1l4j76XMlbCbF1y9w2w4jTwoCaMZKAQRxnHZ8NQy5JH9N1ycpu8ayuavZ+SIwRF09cUtjZA/o8LEcxfwQ8uCbNU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579005941; h=Content-Transfer-Encoding:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=sJYNiTlWj6ucAnkJDeBr5Y35xsiEurWkElnzPO6bLIE=; b=aXgOzLMIDuJMr94vZeSFJ2Eh7V26CagtUisJn/Ib05gP+r2HHAIRIjjwWH/EhIUASFOHIAmk3poF5oLecPINei9EXfyrQofXvS6Doa47/187RXzUC58Xl244wsclDQq9+d1a0bYRnDlp5DkMTXEo76cllMYg8ZFkhDnyifnJOTs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+53222+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1579005941593206.62800190657595; Tue, 14 Jan 2020 04:45:41 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id wU5dYY1788612xBY9aN5pRnl; Tue, 14 Jan 2020 04:45:41 -0800 X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.8121.1578992057479750756 for ; Tue, 14 Jan 2020 00:54:17 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 00:54:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,432,1571727600"; d="scan'208";a="213266195" X-Received: from hengluo-dev.ccr.corp.intel.com ([10.239.153.154]) by orsmga007.jf.intel.com with ESMTP; 14 Jan 2020 00:54:16 -0800 From: "Heng Luo" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH] MdeModulePkg: Perform test only if not ignore memory test Date: Tue, 14 Jan 2020 16:54:12 +0800 Message-Id: <20200114085412.2060-1-heng.luo@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,heng.luo@intel.com X-Gm-Message-State: XyfiiIphjcghCKyggo6hnff1x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1579005941; bh=0+ZNE2g1B+CYsIRbC1SNq3qwZc4iyUldMc6ewBbMCCw=; h=Date:From:Reply-To:Subject:To; b=GlPlUQyE/SdnvCX96EvXp/tGPiznipt1Qh3+PYzB5SSLBZN+wDqWVcg1fueFv+R8I8J YnJieI9GMRLLb7JZjrFWEyvtBFloxKwYd4hTzI7DU4CwscI+PWawTY/L9D/lHzCumdO3E Rt4b7JfNn3dP2ib4guMTepWHcQZQzI3bfTE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2463 Perform Data and Address line test only if not ignore memory test. Signed-off-by: Heng Luo Reviewed-by: Ray Ni --- .../MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe= moryTest.c b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMe= moryTest.c index ce9e5e659b..fe24e490d4 100644 --- a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTes= t.c +++ b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTes= t.c @@ -1,6 +1,6 @@ /** @file =20 - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -677,10 +677,12 @@ GenMemoryTestFinished ( Private =3D GENERIC_MEMORY_TEST_PRIVATE_FROM_THIS (This); =20 // - // Perform Data and Address line test + // Perform Data and Address line test only if not ignore memory test // - Status =3D PerformAddressDataLineTest (Private); - ASSERT_EFI_ERROR (Status); + if (Private->CoverLevel !=3D IGNORE) { + Status =3D PerformAddressDataLineTest (Private); + ASSERT_EFI_ERROR (Status); + } =20 // // Add the non tested memory range to system memory map through GCD serv= ice --=20 2.24.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-