From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 73294202E614E for ; Sun, 15 Oct 2017 20:21:53 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2017 20:25:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,385,1503385200"; d="scan'208";a="163007880" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga005.fm.intel.com with ESMTP; 15 Oct 2017 20:25:27 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 15 Oct 2017 20:25:27 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 15 Oct 2017 20:25:26 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Mon, 16 Oct 2017 11:25:25 +0800 From: "Ni, Ruiyu" To: "Yao, Jiewen" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH 0/4] Update MTRR algorithm to calculate optimal settings Thread-Index: AQHTQzbdHkaS10tcfUmzr9bIeqnJ7KLlz1AwgAABAWA= Date: Mon, 16 Oct 2017 03:25:24 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5BA97087@SHSMSX104.ccr.corp.intel.com> References: <20171012084810.148196-1-ruiyu.ni@intel.com> <74D8A39837DF1E4DA445A8C0B3885C503A9F42AC@shsmsx102.ccr.corp.intel.com> In-Reply-To: <74D8A39837DF1E4DA445A8C0B3885C503A9F42AC@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 0/4] Update MTRR algorithm to calculate optimal settings 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: Mon, 16 Oct 2017 03:21:53 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have tested to boot OVMF 32PEI+64DXE. I have tested using random memory settings: 1. Generate random memory settings and tried to convert the settings to M= TRRs. 2. Read back the MTRRs and verify the settings match to the desired memor= y settings. Thanks/Ray > -----Original Message----- > From: Yao, Jiewen > Sent: Monday, October 16, 2017 11:03 AM > To: Ni, Ruiyu ; edk2-devel@lists.01.org > Subject: RE: [edk2] [PATCH 0/4] Update MTRR algorithm to calculate optima= l > settings >=20 > Thanks. >=20 > Would you mind to share to all of us on which platform has been tested an= d > which unit test has been done? > As such people can have more confidence. >=20 > With the test description message added, reviewed-by: > Jiewen.yao@intel.com >=20 > Thank you > Yao Jiewen >=20 > > -----Original Message----- > > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > > Ni, Ruiyu > > Sent: Thursday, October 12, 2017 4:48 PM > > To: edk2-devel@lists.01.org > > Subject: [edk2] [PATCH 0/4] Update MTRR algorithm to calculate optimal > > settings > > > > Ruiyu Ni (4): > > UefiCpuPkg/MtrrLib: refine MtrrLibProgramFixedMtrr() > > UefiCpuPkg/MtrrLib: Optimize MtrrLibLeastAlignment() > > UefiCpuPkg/MtrrLib: Update algorithm to calculate optimal settings > > UefiCpuPkg/MtrrLib: Skip Base MSR access when the pair is invalid > > > > UefiCpuPkg/Include/Library/MtrrLib.h | 45 +- > > UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2605 > > ++++++++++++++++++++-------------- > > 2 files changed, 1550 insertions(+), 1100 deletions(-) > > > > -- > > 2.12.2.windows.2 > > > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel