From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.92.2.25; helo=nam01-sn1-obe.outbound.protection.outlook.com; envelope-from=vanjeff_919@hotmail.com; receiver=edk2-devel@lists.01.org Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-oln040092002025.outbound.protection.outlook.com [40.92.2.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 147F021B00DC1 for ; Wed, 8 Nov 2017 19:15:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gTcMoPlfIebZVDugNiVQvCICRfPx0S2P7gjLI3ccGOo=; b=nGbvVDtFAqQuqzAZ1Q2mIkjMbZTg/WgziyFPkA44OHEqo8PvU/FR380FfOC+J8fzRRe2Ll9xwRhtaUg1DnQCu2yh4GWXtUy4xWqUoQw/wcDFpXsPnxdqUx4UbMuu39Npm/IZWbpV309j8G7lz0t3rCaaCh4POZccn7rr+VHxlQswy3d8xHx2V3gH0sqcP0bsgBYVtXyiKfTdBoI6d0Ga7C5JeJFLx+DEtKLfuPQoc5c0FmG/+Nk3pjkmtjzuy2Slt398u3eyhFJhy7YLCxE7SB4oXCSl6KCs8+zqEJBkIOPeTbVatA9mogcOfS2hxi/VCVXR56uAtM9ozoWvnksqBg== Received: from BY2NAM01FT016.eop-nam01.prod.protection.outlook.com (10.152.68.60) by BY2NAM01HT101.eop-nam01.prod.protection.outlook.com (10.152.68.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.197.9; Thu, 9 Nov 2017 03:19:56 +0000 Received: from CY1PR19MB0283.namprd19.prod.outlook.com (10.152.68.58) by BY2NAM01FT016.mail.protection.outlook.com (10.152.69.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.197.9 via Frontend Transport; Thu, 9 Nov 2017 03:19:56 +0000 Received: from CY1PR19MB0283.namprd19.prod.outlook.com ([10.163.54.13]) by CY1PR19MB0283.namprd19.prod.outlook.com ([10.163.54.13]) with mapi id 15.20.0218.011; Thu, 9 Nov 2017 03:19:56 +0000 From: Fan Jeff To: "Ni, Ruiyu" , "Justen, Jordan L" , Laszlo Ersek CC: "Kinney, Michael D" , "edk2-devel@lists.01.org" , "Yao, Jiewen" , "Dong, Eric" , Ard Biesheuvel Thread-Topic: [edk2] [PATCH 3/4] UefiCpuPkg/MtrrLib: Update algorithm to calculate optimal settings Thread-Index: AQHTWPsdotfcZL2kXUi6FPr45fC8sqMLST+AgAATvICAAAGhyA== Date: Thu, 9 Nov 2017 03:19:56 +0000 Message-ID: References: <20171012084810.148196-1-ruiyu.ni@intel.com> <20171012084810.148196-4-ruiyu.ni@intel.com> <03e369bb-77c4-0134-258f-bdae62cbc8c5@redhat.com> <151019243761.10467.634318081879242382@jljusten-skl>, <734D49CCEBEEF84792F5B80ED585239D5BAB7B62@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5BAB7B62@SHSMSX104.ccr.corp.intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:1739A3A9D60DA65B4D5F8897A6E58C1F973501AF712309752122EFB6AD3EA24D; UpperCasedChecksum:52B3DFFBF514653956CCECB4C16016712F37CAF5DBB8599E3B5186205DFE17EE; SizeAsReceived:7663; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [jf43koVWWb+GGgL7N2dgfJ2kSK6P2jHl] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BY2NAM01HT101; 6:tRA4sabqFlTUkWA5s5he3YCZY4bLKnXAYuY719PZIKikzdgeAIMz0Z5LiutRNGDHwDugaSGEn1azLpAp+ZhgNjiL8pHUJG/WWCUUBmna/CE+h8V6HsYvMJeiTOtP8OEi+7t7NYKeQnGxOW+flG7FR3gXRA6xIhoUECbx1sDfG41dKXQnVW0msT1o071bgl+LuCFc+G0JngMVt/vaMBJX3XjfeErb0wnvBzaFlXQPmIlsasSK6A2QEP5FcFIJ0dgLq/7IxVM32uChRyBNex1BitN/dnth9dSwpgmmc8+pxv5uGxl8ZzwHw7M+DKtxyH4zgHy+2uY/qw4IkmOyTYGeaA5n35ifCKUv9RuCN3wJijU=; 5:5yCnEszGbxySE72x7ZPckbLHUZg1aadyDUbwj54azPuMX0o276NaCOKiyqjMXZM82VuxCHQOCF0k6VErLIfMegADsPlRVcFRvH4YJiiGYPR/DdtY7SblLsr7plbdQdX1PGD+BV/mWHxVnyUt1wiSbfbasPvGHN3Xo/E7n745D/E=; 24:KB+ZrJXBCVPehe5cvEmP0nuUVUGBhZbKn2+/3LYmi0RaALP1W7AnuJCf6H5ZER8B4nfBPyXC8Px/bkeqSyPunffXsa981OWx5XV90FoLsOg=; 7:/5ktO9hVOGlRsOw0G2G+gjdN1CMMIRDLyX7miDhqAdj+xnEqEY5jAfdyDBdO6XfMCdxXyvfqct6aWWRJNt4dI0hH6Q/ri1SAL/xBDQru/S/NXsDJUoUMcEnLLCtQNWDT4ZAyq44fJ8jdfoft2nF2Yqc4a4zjZECeBTpWKTYeHXudVANTuGkfVeQZcAYstei3niyNMXln4APm4Dmz/rZEpCUWgshPvNo67+WrNzvANqQuOjypUPMVPo3fsPrZF5sF x-incomingheadercount: 47 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: ba40e324-2eb6-4b53-a3ea-08d52720c0a5 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:BY2NAM01HT101; x-ms-traffictypediagnostic: BY2NAM01HT101: x-exchange-antispam-report-test: UriScan:(158342451672863)(162533806227266)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:BY2NAM01HT101; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2NAM01HT101; x-forefront-prvs: 0486A0CB86 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:BY2NAM01HT101; H:CY1PR19MB0283.namprd19.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba40e324-2eb6-4b53-a3ea-08d52720c0a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2017 03:19:56.6685 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM01HT101 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: =?UTF-8?B?562U5aSNOiBbUEFUQ0ggMy80XSBVZWZpQ3B1UGtnL010cnJMaWI6IFVwZGF0ZSBhbGdvcml0aG0gdG8gY2FsY3VsYXRlIG9wdGltYWwgc2V0dGluZ3M=?= X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 03:15:57 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="big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