From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 BFDAE81D38 for ; Wed, 30 Nov 2016 20:59:05 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 30 Nov 2016 20:59:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,723,1477983600"; d="scan'208";a="1066474789" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 30 Nov 2016 20:59:04 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 30 Nov 2016 20:59:04 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 30 Nov 2016 20:59:04 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.239]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.142]) with mapi id 14.03.0248.002; Thu, 1 Dec 2016 12:59:02 +0800 From: "Tian, Feng" To: "Fan, Jeff" , "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" , "Tian, Feng" Thread-Topic: [Patch 0/2] UefiCpuPkg/PiSmmCpuDxeSmm: Reduce use of PSD Thread-Index: AQHSSthhIdIZSvmUUkS7YKnKZLLE16DyA0aAgACGPjA= Date: Thu, 1 Dec 2016 04:59:01 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE566E56B03@SHSMSX101.ccr.corp.intel.com> References: <1480489617-17028-1-git-send-email-michael.d.kinney@intel.com> <542CF652F8836A4AB8DBFAAD40ED192A4A2ED392@shsmsx102.ccr.corp.intel.com> In-Reply-To: <542CF652F8836A4AB8DBFAAD40ED192A4A2ED392@shsmsx102.ccr.corp.intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 0/2] UefiCpuPkg/PiSmmCpuDxeSmm: Reduce use of PSD X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 04:59:05 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Feng Tian Thanks Feng -----Original Message----- From: Fan, Jeff=20 Sent: Thursday, December 1, 2016 12:58 PM To: Kinney, Michael D ; edk2-devel@lists.01.org Cc: Yao, Jiewen ; Tian, Feng Subject: RE: [Patch 0/2] UefiCpuPkg/PiSmmCpuDxeSmm: Reduce use of PSD Reviewed-by: Jeff Fan on serials. -----Original Message----- From: Kinney, Michael D=20 Sent: Wednesday, November 30, 2016 3:07 PM To: edk2-devel@lists.01.org Cc: Yao, Jiewen; Fan, Jeff; Tian, Feng Subject: [Patch 0/2] UefiCpuPkg/PiSmmCpuDxeSmm: Reduce use of PSD https://bugzilla.tianocore.org/show_bug.cgi?id=3D277 Remove MtrrBaseMaskPtr field from PSD and move MTRR to a global variable si= nce all CPUs use the same MTRR settings. Reduce use of PSD to allow alternate SmmCpuFeaturesLib implementations to u= se their own PSD layouts. Cc: Jiewen Yao Cc: Jeff Fan Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney Michael Kinney (2): UefiCpuPkg/PiSmmCpuDxeSmm: Remove MTRRs from PSD structure UefiCpuPkg/PiSmmCpuDxeSmm: Remove PSD layout assumptions UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiEntry.S | 3 ++ UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiEntry.asm | 3 ++ UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiEntry.nasm | 3 ++ UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 33 ++++-------------- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 15 ++++---- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 26 -------------- UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/SmramSaveState.c | 40 ++++++++++++++++++= +++- 8 files changed, 64 insertions(+), 61 deletions(-) -- 2.6.3.windows.1