From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 C2DEC81C94 for ; Wed, 9 Nov 2016 16:49:09 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 09 Nov 2016 16:49:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,616,1473145200"; d="scan'208,217";a="899734620" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 09 Nov 2016 16:49:12 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Nov 2016 16:49:12 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Nov 2016 16:49:11 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.239]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.138]) with mapi id 14.03.0248.002; Thu, 10 Nov 2016 08:49:11 +0800 From: "Yao, Jiewen" To: Paolo Bonzini , Laszlo Ersek 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//+NKICAAG4fAIAACLEAgAChfPA= Date: Thu, 10 Nov 2016 00:49:10 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C50386CBA27@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: <805535301.11770261.1478732376111.JavaMail.zimbra@redhat.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 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 00:49:10 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiBBbnl3YXksIEkgdGhpbmsgaWYgdGhlIEJTUCBhbmQgdGhlIEFQcyBhcmUgcHJvcGVybHkgc3lu Y2hyb25pemVkIGFyb3VuZA0KPiB0aGUgU01JIGluamVjdGlvbnMgaW4gUzNSZXN1bWVFeGVjdXRl Qm9vdFNjcmlwdCgpLCB0aGVuIHRoaXMgYnVnIGlzDQo+IGZpeGVkLiBJbiB0aGF0IGNhc2UsIHRo ZSBBUHMnIFJTTXMgd2lsbCByZXN0b3JlIHRoZSBmdWxsIGNvbnRleHQgZm9yIHRoZQ0KPiBBUHMs IGluY2x1ZGluZyB0aGVpciBzbGVlcCBpbiB0aGUgSExUIGluc3RydWN0aW9uLCBpbiBDcHVNcFBl aSdzIHdha2V1cA0KPiBidWZmZXIuIFRoZSBCU1Agd2lsbCBwcm9jZWVkLCBleGl0IFBFSSAocmV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