From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 6955F81FFE for ; Sun, 18 Dec 2016 17:00:51 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP; 18 Dec 2016 17:00:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,371,1477983600"; d="scan'208";a="44455117" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 18 Dec 2016 17:00:50 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 18 Dec 2016 17:00:50 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 18 Dec 2016 17:00:50 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.54]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.9]) with mapi id 14.03.0248.002; Mon, 19 Dec 2016 09:00:48 +0800 From: "Fan, Jeff" To: "Tian, Feng" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [patch 0/4] Add STM (Smi Tranfer Monitor) support Thread-Index: AQHSVz6JrF90YxfjEUe2VnDPTj2Id6EOeALw Date: Mon, 19 Dec 2016 01:00:47 +0000 Message-ID: <542CF652F8836A4AB8DBFAAD40ED192A4C4EFB43@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGZmNDU3ODItOWE5YS00ZmVmLWE3YzUtZGUwYWIwMWVhMDQxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ik1KV3NraWp5YzBvMUJ5d25nUDlkVTFhT2pCSXI3T3EwdkpETmhNN2lxWGc9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch 0/4] Add STM (Smi Tranfer Monitor) support 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: Mon, 19 Dec 2016 01:00:51 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jeff Fan -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Feng= Tian Sent: Friday, December 16, 2016 9:48 AM To: edk2-devel@lists.01.org Subject: [edk2] [patch 0/4] Add STM (Smi Tranfer Monitor) support This patch series is used to add STM support to UefiCpuPkg. More details about STM are described in: http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-3= 2-architectures-software-developer-manual-325462.pdf https://firmware.intel.com/sites/default/files/STM_User_Guide-001.pdf https://firmware.intel.com/sites/default/files/A_Tour_Beyond_BIOS_Launching= _STM_to_Monitor_SMM_in_EFI_Developer_Kit_II.pdf Michael Kinney (4): UefiCpuPkg/Include: Update MSEG structure comments UefiCpuPkg: Add STM GUIDs, Protocols, and PCDs UefiCpuPkg/SmmCpuFeaturesLib: Split into two files UefiCpuPkg/SmmCpuFeaturesLibStm: Add STM library instance UefiCpuPkg/Include/Guid/MsegSmram.h | 30 + UefiCpuPkg/Include/Protocol/SmMonitorInit.h | 141 +++ UefiCpuPkg/Include/Register/ArchitecturalMsr.h | 25 +- UefiCpuPkg/Include/Register/StmApi.h | 954 ++++++++++++++ .../Include/Register/StmResourceDescriptor.h | 228 ++++ UefiCpuPkg/Include/Register/StmStatusCode.h | 78 ++ .../Library/SmmCpuFeaturesLib/Ia32/SmiEntry.S | 278 +++++ .../Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm | 285 +++++ .../Library/SmmCpuFeaturesLib/Ia32/SmiEntry.nasm | 271 ++++ .../Library/SmmCpuFeaturesLib/Ia32/SmiException.S | 174 +++ .../SmmCpuFeaturesLib/Ia32/SmiException.asm | 170 +++ .../SmmCpuFeaturesLib/Ia32/SmiException.nasm | 176 +++ .../Library/SmmCpuFeaturesLib/Ia32/SmmStmSupport.c | 83 ++ .../Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c | 77 +- .../SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf | 3 +- .../SmmCpuFeaturesLib/SmmCpuFeaturesLibNoStm.c | 89 ++ .../SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf | 88 ++ UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c | 1299 ++++++++++++++++= ++++ UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.h | 176 +++ .../Library/SmmCpuFeaturesLib/X64/SmiEntry.S | 282 +++++ .../Library/SmmCpuFeaturesLib/X64/SmiEntry.asm | 281 +++++ .../Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm | 263 ++++ .../Library/SmmCpuFeaturesLib/X64/SmiException.S | 178 +++ .../Library/SmmCpuFeaturesLib/X64/SmiException.asm | 178 +++ .../SmmCpuFeaturesLib/X64/SmiException.nasm | 179 +++ .../Library/SmmCpuFeaturesLib/X64/SmmStmSupport.c | 95 ++ UefiCpuPkg/UefiCpuPkg.dec | 12 + UefiCpuPkg/UefiCpuPkg.dsc | 8 + 28 files changed, 6036 insertions(+), 65 deletions(-) create mode 100644 UefiCpuPkg/Include/Guid/MsegSmram.h create mode 100644 UefiCpuPkg/Include/Protocol/SmMonitorInit.h create mode 100644 UefiCpuPkg/Include/Register/StmApi.h create mode 100644 UefiCpuPkg/Include/Register/StmResourceDescriptor.h create mode 100644 UefiCpuPkg/Include/Register/StmStatusCode.h create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.S create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.nasm create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiException.= S create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiException.= asm create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiException.= nasm create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmmStmSupport= .c create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibN= oStm.c create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibS= tm.inf create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.h create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.S create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.asm create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiException.S create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiException.a= sm create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiException.n= asm create mode 100644 UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmmStmSupport.= c --=20 2.7.1.windows.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel