From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 91F8C21A04804 for ; Fri, 31 Mar 2017 17:57:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491008221; x=1522544221; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=tLcnvxojs9niCDOIaiG40HOjvaMkBgHf0/1MqAM4c40=; b=GxVKEKsnUTi68kDmpSGM+My334Rn8l4QjU/InWATTdImCl6bVDj9sjzM olKRV9iQ2NAo7raDdkcnriuguuUxKQ==; Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Mar 2017 17:57:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,254,1486454400"; d="scan'208";a="840610623" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 31 Mar 2017 17:57:01 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 31 Mar 2017 17:57:00 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 31 Mar 2017 17:57:00 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.212]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.253]) with mapi id 14.03.0248.002; Sat, 1 Apr 2017 08:56:58 +0800 From: "Yao, Jiewen" To: "Fan, Jeff" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Tian, Feng" Thread-Topic: [PATCH v2 0/3] UefiCpuPkg/PiSmmCpuDxeSmm: Check all SMM ranges found Thread-Index: AQHSqoJC8GQVPwe64kaDlBOsjkznUKGvsKjA Date: Sat, 1 Apr 2017 00:56:57 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A91A24C@shsmsx102.ccr.corp.intel.com> References: <20170401005228.26896-1-jeff.fan@intel.com> In-Reply-To: <20170401005228.26896-1-jeff.fan@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 v2 0/3] UefiCpuPkg/PiSmmCpuDxeSmm: Check all SMM ranges found 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: Sat, 01 Apr 2017 00:57:00 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: Fan, Jeff > Sent: Saturday, April 1, 2017 8:52 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Kinney, Michael D > ; Tian, Feng > Subject: [PATCH v2 0/3] UefiCpuPkg/PiSmmCpuDxeSmm: Check all SMM ranges > found >=20 > NX/SmmProfile feature required to protect all SMM ranges. This update is = to > check additonal saved SMM ranges besides the range specified by > mCpuHotPlugData.SmrrBase/mCpuHotPlugData.SmrrSiz. >=20 > v2: > #1: Add #define SMRR_MAX_ADDRESS to clarify SMRR requirement. >=20 > Cc: Jiewen Yao > Cc: Michael Kinney > Cc: Feng Tian > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jeff Fan >=20 > Jeff Fan (3): > UefiCpuPkg/PiSmmCpuDxeSmm: Save SMM ranges info into global variables > UefiCpuPkg/PiSmmCpuDxeSmm: Add IsInSmmRanges() to check SMM range > UefiCpuPkg/PiSmmCpuDxeSmm: Update saved SMM ranges check in > SmmProfile >=20 > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 44 +++++++++-------- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 6 ++- > UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c | 78 > +++++++++++++++++++++++++----- > 3 files changed, 96 insertions(+), 32 deletions(-) >=20 > -- > 2.9.3.windows.2