From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.151; helo=mga17.intel.com; envelope-from=hao.a.wu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (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 E2DEC22135D5A for ; Tue, 6 Mar 2018 20:22:02 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2018 20:28:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,434,1515484800"; d="scan'208";a="31935907" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 06 Mar 2018 20:28:17 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Mar 2018 20:28:17 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Mar 2018 20:28:15 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.125]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.253]) with mapi id 14.03.0319.002; Wed, 7 Mar 2018 12:28:13 +0800 From: "Wu, Hao A" To: "Yao, Jiewen" , "Wang, Jian J" , "Ni, Ruiyu" , "edk2-devel@lists.01.org" CC: "Zeng, Star" , "Dong, Eric" Thread-Topic: [PATCH v2 0/2] Resolve feature conflict between NX and Stack guard Thread-Index: AQHTtU+p9/8CzCpFpkCGS2pDInVvjaPDlLQAgAAGcgCAAAl5AIAAh59A Date: Wed, 7 Mar 2018 04:28:13 +0000 Message-ID: References: <20180306133303.14772-1-hao.a.wu@intel.com> <74D8A39837DF1E4DA445A8C0B3885C503AADF3FF@shsmsx102.ccr.corp.intel.com> In-Reply-To: <74D8A39837DF1E4DA445A8C0B3885C503AADF3FF@shsmsx102.ccr.corp.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/2] Resolve feature conflict between NX and Stack guard X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 04:22:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgUmF5LA0KDQpCZWxvdyBhcmUgdGhlIGFuc3dlcnMgdG8geW91ciBmZWVkYmFja3M6DQoNCj4g LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWWFvLCBKaWV3ZW4NCj4gU2VudDog V2VkbmVzZGF5LCBNYXJjaCAwNywgMjAxOCAxMjoxNCBQTQ0KPiBUbzogV2FuZywgSmlhbiBKOyBO aSwgUnVpeXU7IFd1LCBIYW8gQTsgZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCj4gQ2M6IFplbmcs IFN0YXI7IERvbmcsIEVyaWMNCj4gU3ViamVjdDogUkU6IFtQQVRDSCB2MiAwLzJdIFJlc29sdmUg ZmVhdHVyZSBjb25mbGljdCBiZXR3ZWVuIE5YIGFuZCBTdGFjaw0KPiBndWFyZA0KPiANCj4gSSB0 aGluayB0aGUgb3JpZ2luYWwgcGF0Y2ggaXMgZmluZS4NCj4gDQo+IFN0YWNrQmFzZSBpcyBhbHJl YWR5IGNoZWNrZWQgYnkgdXNpbmcgQVNTRVJUI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