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 7267E81C95 for ; Wed, 9 Nov 2016 17:13:21 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 09 Nov 2016 17:13:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,616,1473145200"; d="scan'208,217";a="899743805" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 09 Nov 2016 17:13:22 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Nov 2016 17:13:22 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.239]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.142]) with mapi id 14.03.0248.002; Thu, 10 Nov 2016 09:13:20 +0800 From: "Yao, Jiewen" To: Laszlo Ersek , Paolo Bonzini CC: "Kinney, Michael D" , "Tian, Feng" , "edk2-devel@ml01.01.org" , "Zeng, Star" , "Fan, Jeff" Thread-Topic: [edk2] [PATCH V2 0/6] Enable SMM page level protection. Thread-Index: AQHSNn5Npc+l51c2NUCmigdj/tAIBqDNyfkAgAJjohD//9iJAIAAvK1Q//+NKICAAG4fAIAACLEAgAAHtACAAJ5OUA== Date: Thu, 10 Nov 2016 01:13:19 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C50386CDA7E@shsmsx102.ccr.corp.intel.com> References: <1478251854-14660-1-git-send-email-jiewen.yao@intel.com> <08406bf5-4377-63a1-8dd9-34479c015d4b@redhat.com> <74D8A39837DF1E4DA445A8C0B3885C50386C0CB8@shsmsx102.ccr.corp.intel.com> <74D8A39837DF1E4DA445A8C0B3885C50386C10BD@shsmsx102.ccr.corp.intel.com> <3be2f1bf-8c0a-e470-a5c0-a6130b159da5@redhat.com> <0e1380dc-85e6-324b-4614-10785d24f499@redhat.com> <805535301.11770261.1478732376111.JavaMail.zimbra@redhat.com> In-Reply-To: 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: [PATCH V2 0/6] Enable SMM page level protection. 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, 10 Nov 2016 01:13:21 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 U28sIEkgZG9uJ3QgdW5kZXJzdGFuZCBob3cgdGhlIENSM3MgdGhhdCBhcmUgdXNlZCBieSB0aGUg QVBzIHdoZW4gdGhleQ0Kc2VydmUgTVAgc2VydmljZXMgUFBJIHJlcXVlc3RzLCB0aHJvdWdob3V0 IHRoZSBQRUkgcGhhc2UgKCopLCBoYXZlDQphbnl0aGluZyB0byBkbyB3aXRoIENwdVMzLmMncyBw YWdlIHRhYmxlcyAod2hpY2ggbGl2ZSBpbiBTTVJBTSwgQUlVSSkuDQoNCltKaWV3ZW5dIEl0IGlz IHZlcnkgdHJpY2t5Lg0KRmlyc3QsIGluIG5vcm1hbCBib290LCB0aGUgU01NIG5lZWQgcHJlcGFy ZSBhIENSMyBhcyBTTU0gcGFnZSB0YWJsZSwgd2hpY2ggaXMgb2J2aW91cy4NCg0KSW4gUzMsIHRo ZSBTM1Jlc3VtZSBjYWxscyBBc21Xcml0ZUNyMyhTbW1TM1Jlc3VtZVN0YXRlLT5TbW1TM0NyMykg dGhlbiBqdW1wIHRvIFNtbVMzUmVzdW1lU3RhdGUtPlNtbVMzUmVzdW1lRW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