From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 BF3C921A04829 for ; Thu, 30 Mar 2017 22:03:46 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP; 30 Mar 2017 22:03:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,250,1486454400"; d="scan'208";a="242312403" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 30 Mar 2017 22:03:46 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 30 Mar 2017 22:03:46 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 30 Mar 2017 22:03:45 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.212]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.224]) with mapi id 14.03.0248.002; Fri, 31 Mar 2017 13:03:43 +0800 From: "Fan, Jeff" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH 00/10] Use a better algorithm to calculate MTRR Thread-Index: AQHSqDkd+Xgv60qoB0WamRiR3fiEraGuZzwg Date: Fri, 31 Mar 2017 05:03:43 +0000 Message-ID: <542CF652F8836A4AB8DBFAAD40ED192A4C5825E4@shsmsx102.ccr.corp.intel.com> References: <20170329030346.249872-1-ruiyu.ni@intel.com> In-Reply-To: <20170329030346.249872-1-ruiyu.ni@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjgwMDdjNjMtNjc5NC00ZjUzLTkxOWEtMmRjNDE4NzZlODQ4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkJRdzc1TDVneVwvbkZibWZpSnMyajd4WldoMXY4MU5yaXVTTzZpbUt4TlwvUT0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 00/10] Use a better algorithm to calculate MTRR 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: Fri, 31 Mar 2017 05:03:46 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Serials Reviewed-by: Jeff Fan Please updating the correct Copyright date when you push this serial of pat= ches. -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ruiy= u Ni Sent: Wednesday, March 29, 2017 11:04 AM To: edk2-devel@lists.01.org Subject: [edk2] [PATCH 00/10] Use a better algorithm to calculate MTRR The new algorithm finds out the more optimal MTRR solution for current memo= ry type settings. Compare against the original algorithm, the new one guarantees to find the = correct MTRR solution, but doesn't guarantee to find the most optimal MTRR = solution. Ruiyu Ni (10): UefiCpuPkg/MtrrLib: Correct typo in comments and remove TABs UefiCpuPkg/MtrrLib: Add CacheInvalid enum type to MtrrLib.h UefiCpuPkg/MtrrLib: IsMtrrSupported uses definitions in Msr.h UefiCpuPkg/MtrrLib: GetVariableMtrrCountWorker uses definitions in Msr.h UefiCpuPkg/MtrrLib: Add MtrrLib prefix to ProgramFixedMtrr UefiCpuPkg/MtrrLib: Add MtrrLib prefix to several internal functions UefiCpuPkg/MtrrLib: MtrrLibInitializeMtrrMask() uses definitions in CpuId.h UefiCpuPkg/MtrrLib: Use a better algorithm to calculate MTRR UefiCpuPkg/MtrrLib: Refine MtrrGetMemoryAttributeByAddressWorker UefiCpuPkg/MtrrLib: All functions use definitions in Msr.h UefiCpuPkg/Include/Library/MtrrLib.h | 17 +- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 1838 ++++++++++++++++++++----------= ---- 2 files changed, 1068 insertions(+), 787 deletions(-) -- 2.9.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel