From patchwork Sat Nov 19 08:38:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 83115 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp509426qge; Sat, 19 Nov 2016 01:14:28 -0800 (PST) X-Received: by 10.107.137.101 with SMTP id l98mr361294iod.215.1479546868346; Sat, 19 Nov 2016 01:14:28 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id q133si4506997itd.92.2016.11.19.01.14.26; Sat, 19 Nov 2016 01:14:28 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id AD3DF6094E; Sat, 19 Nov 2016 09:14:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0FE526354C; Sat, 19 Nov 2016 08:48:40 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 9963063514; Sat, 19 Nov 2016 08:47:30 +0000 (UTC) Received: from mail-pg0-f50.google.com (mail-pg0-f50.google.com [74.125.83.50]) by lists.linaro.org (Postfix) with ESMTPS id 32DDF60CD4 for ; Sat, 19 Nov 2016 08:41:11 +0000 (UTC) Received: by mail-pg0-f50.google.com with SMTP id 3so111507398pgd.0 for ; Sat, 19 Nov 2016 00:41:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1MR5+qTNI2rBltMk2/3+gMDru+Ud7S5gTAT2hVo4JS4=; b=ltdUvjBvRXZ4qhFrIm6setEFi/Dj2UdBwg9o2wkUUn5V8LRPMAl8BGFJ3V5iq+SQhn Xd9Rkm4uQa/lSwaIX3P0VOikK8Mozty1gyLdTTzrOPmybyFf83Kr6YGERPK8af7Renz8 7YZPoT5y8Ot//kwZp78NTusCF6+ifjGuYlsqUvhyTk9ESTzy1ikOLsdcRgSkcfn+3OMr 2aGwQrAt/YeUU2jeWxc6sCki1DtZ9V9ge3VaDYmcy0z2bbonE7956rGn3igMGxZ0W5T3 UZAcw2hiR+lnwMjOk/kTOl/MGj2322QE4S0O0xTKagnVboTUOB65LDop80M9N0puJszd amPw== X-Gm-Message-State: AKaTC00E8/TIhYuUPsKB8qz2IMO9exr6INuhxyGBi8jhFgi/Uce/bGdN3lMky1j7eK8i3KdvcOw= X-Received: by 10.98.139.72 with SMTP id j69mr5026163pfe.158.1479544870510; Sat, 19 Nov 2016 00:41:10 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id v193sm5106241pgb.37.2016.11.19.00.41.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 19 Nov 2016 00:41:10 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Sat, 19 Nov 2016 16:38:11 +0800 Message-Id: <1479544691-59575-57-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479544691-59575-1-git-send-email-heyi.guo@linaro.org> References: <1479544691-59575-1-git-send-email-heyi.guo@linaro.org> Subject: [Linaro-uefi] [Patch v4 56/56] Hisilicon/Platforms: ignore memory test to speed boot time X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" The D05 have 16 DIMM slots(D03 8 slots) and totally support 16GB*16(256GB) memory, the test time is too long, so we set the test level to 'IGNOR' to promote boot speed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo --- Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c b/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c index 43a4385..e6aaf61 100644 --- a/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c +++ b/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c @@ -435,7 +435,7 @@ PlatformBdsPolicyBehavior ( // // Add memory test to convert memory above 4GB to be tested // - Status = BaseMemoryTest (QUICK); + Status = BaseMemoryTest (IGNORE); if (EFI_ERROR (Status)) { DEBUG ((EFI_D_ERROR, "[%a:%d] - Base memory test failed: %r\n", __FUNCTION__, __LINE__, Status)); }