From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 6961281C95 for ; Wed, 9 Nov 2016 16:50:58 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 09 Nov 2016 16:51:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,616,1473145200"; d="scan'208,217";a="1066415773" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 09 Nov 2016 16:51:01 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Nov 2016 16:51:01 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Nov 2016 16:51:00 -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:50:58 +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//+NKICAAG4fAIAACLEAgAChfPCAAAOr8A== Date: Thu, 10 Nov 2016 00:50:58 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C50386CCA3D@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> 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:50:58 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Rml4IGEgdHlwby4NCg0KRnJvbTogWWFvLCBKaWV3ZW4NClNlbnQ6IFRodXJzZGF5LCBOb3ZlbWJl ciAxMCwgMjAxNiA4OjQ5IEFNDQpUbzogJ1Bhb2xvIEJvbnppbmknIDxwYm9uemluaUByZWRoYXQu Y29tPjsgTGFzemxvIEVyc2VrIDxsZXJzZWtAcmVkaGF0LmNvbT4NCkNjOiBLaW5uZXksIE1pY2hh ZWwgRCA8bWljaGFlbC5kLmtpbm5leUBpbnRlbC5jb20+OyBUaWFuLCBGZW5nIDxmZW5nLnRpYW5A aW50ZWwuY29tPjsgZWRrMi1kZXZlbEBtbDAxLjAxLm9yZzsgWmVuZywgU3RhciA8c3Rhci56ZW5n QGludGVsLmNvbT47IEZhbiwgSmVmZiA8amVmZi5mYW5AaW50ZWwuY29tPg0KU3ViamVjdDogUkU6 IFtlZGsyXSBbUEFUQ0ggVjIgMC82XSBFbm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