From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.17125.1599309052284164101 for ; Sat, 05 Sep 2020 05:30:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=nb7xaNiF; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: jiewen.yao@intel.com) IronPort-SDR: 7tSCJ9PadzOTC39Um5TLbM6yASIP1KaBMwa/ATErtsqkUqslRifA1EFexhpiQ9I0zUyP3mWnYL sJ84k0lwyxww== X-IronPort-AV: E=McAfee;i="6000,8403,9734"; a="175907423" X-IronPort-AV: E=Sophos;i="5.76,394,1592895600"; d="scan'208";a="175907423" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2020 05:30:51 -0700 IronPort-SDR: KPaG8WFh5ALhAinBwfnytU8q0kdnpfcgc3BgAbT7JD85ZWL/MvWecsvYhaypWAWOj1EBxVdC3d +I1ORf2cI+bw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,394,1592895600"; d="scan'208";a="376629735" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 05 Sep 2020 05:30:50 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sat, 5 Sep 2020 05:30:50 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Sat, 5 Sep 2020 05:30:50 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Sat, 5 Sep 2020 05:30:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cr+CTy9OqsXtyYugK2z9Gw+2VwIlTxGD5BcQ4DRpGaKWlC9VPD0mRDGY3F2KVddcLVcj/zGY8vywYOqIPEO3vDE9FBD64ouSIqax/FwmpUHDbBeWtPazpAkX/EjtyEMZ2k1o9qnQy535PwwkjVH2cPiExjmc6zyN1Yvj859rK0i3QjyiZVHeB+OR/ucEXv5kAd6Bgjx1aK70urZi/+CZOiHKkOpIuulbkpqcBchepAuxTGxVkKIwDJhWFYpwPK+/K8JuTP/prdcJFvB6BfkBLDPaedZgzLv+KhL7qJukDnBL7I8Sl4Vy3E70lU9OAc4Suaec8GqweXQMAmXj28yadA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4+R18fIVrMCbzkmESaLBt2Nv5v1TECE25qj1oNgKVms=; b=jaKaNT3c87M8wrTqcAxOIXOeCoPrE64yMR1n+71rAuDqPiqnxkYkhgQ8h+r13el1P4EAYoVTdHs7FPGmRqNEzdyr2H2zFAxPwROYbFqgAtTqCAIab97rgmuG57rqt1lq+c/AUIhU+EUBixS5aFmmsRyVj9HhTKTlJTGhVjbkL8btWnfHo0xypXj09EmQGrVUQVePilWd3r7DKCoPLBUdHu3AVFgjdRy/CYHv1CPMMyvsyFXbWZsOwwojOzY7u4ylYbbu6MLNjaUPJXU5CAA087dnZdC99O4ijv5paWETbnu4ARVlWHuAPjvbgxfMHMlmG2i7ZXwzDZfjEvgK9wNHBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4+R18fIVrMCbzkmESaLBt2Nv5v1TECE25qj1oNgKVms=; b=nb7xaNiFI99+J1pwzgsPqaMiHsSEg/RvVcmbskT0MKXy0JYKGMkMMJh+6WU/eACMwK9SPbipW/F7VvIKSZf3IGzfkPaS+H8hEnyNWHhwDV65p73fG4sHyWWAt2/i5OR+tuBS1Yvd4774gG8ZN48NeMDx7Iv34TOWEl8TfT2WzHA= Received: from CY4PR11MB1288.namprd11.prod.outlook.com (2603:10b6:903:23::8) by CY4PR1101MB2168.namprd11.prod.outlook.com (2603:10b6:910:18::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Sat, 5 Sep 2020 12:30:48 +0000 Received: from CY4PR11MB1288.namprd11.prod.outlook.com ([fe80::163:9209:a92d:812]) by CY4PR11MB1288.namprd11.prod.outlook.com ([fe80::163:9209:a92d:812%6]) with mapi id 15.20.3348.018; Sat, 5 Sep 2020 12:30:48 +0000 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "lersek@redhat.com" , "vanjeff_919@hotmail.com" , "Dong, Eric" , "Ni, Ray" CC: "Lou, Yun" Subject: =?UTF-8?B?UmU6IOWbnuWkjTogW2VkazItZGV2ZWxdIFtQQVRDSCB2Ml0gVWVmaUNwdVBrZy9NcEluaXRMaWI6IEFkZCBjaGVjayBmb3IgQ1IzL0dEVC9JRFQu?= Thread-Topic: =?utf-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYyXSBVZWZpQ3B1UGtnL01w?= =?utf-8?Q?InitLib:_Add_check_for_CR3/GDT/IDT.?= Thread-Index: AQHWggSTe0brFdLju0euHLnNj2YIKalXRPGAgAAPdICAAF6HgIAAB16AgAAFJ4CAAE4FAIAACX+AgAAD+LCAAA4FAIAB0vcQ Date: Sat, 5 Sep 2020 12:30:48 +0000 Message-ID: References: <20200903151147.1196-1-eric.dong@intel.com> <9c9d8289-4f8e-75d8-2816-750195a54842@redhat.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.193] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5bb91805-8f68-4300-5cb0-08d85197851d x-ms-traffictypediagnostic: CY4PR1101MB2168: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3N/y6GoWKaVjdCGgdPq4ZuYsKeoXuKzEYj1XFjJOnfYjJERUzlzKEwsDYxKOXpOI15rF/P2aCjQ6u6+4Og83P7Zqe05VY9tzNxbPKOK4bmgi2YQ3vPBL8nFR3OXY/SvjzLxIqVsWyFaQG0PLPHY5gNgjao0AYs52paKsX466t/GXvbnZZrSxA78zompTvQMM8TkMzifRGFIuR/sgZIoVRjHFKpWFoDsxf4n+cex0TXG8T5FYvAk6hh4Wi9Px826WxW9AaO7ORyqSOSTdlGI0SDZxM5Q8mE+y/E0wErwKzmo4gSiHBIfmtA1cLo8ZLCTbJP/rcI9H1Uclmu3xhwFKQsOkIOm/ESKxbAznMr74cO6HIbyYeSgWmtAWjZ158jDrrfGgLpkjKtUqzN4JwLzpsg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB1288.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(396003)(136003)(39860400002)(366004)(107886003)(64756008)(66446008)(8936002)(6636002)(66556008)(76116006)(66946007)(66476007)(110136005)(86362001)(83380400001)(33656002)(71200400001)(55016002)(52536014)(9686003)(2906002)(186003)(26005)(45080400002)(478600001)(53546011)(6506007)(966005)(224303003)(7696005)(5660300002)(316002)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: cZdruCvGMT88Ehwof7hceg181/w+svcvAwEn5PiIOUFylngJgG/DuVCmeQ0L4VvyDq3UWrrRcidlDPYqEOS9qwhW4qNxyiB/Cbfh5U50FXy4ojJlXSl2+DQjxWn4oj2vT4NcM0rcOa8juSYWSJs4hqwyP0T8KfwaYO3C96S5tRtX62jZoYbg+uC1jQS/wRvRpTWWXjW97DWCMes0tdwD5lYk2PV0PIIS8884QjkymxjYCTQK6YRNA59a/NbM19oprDEU8uN7xqozFRbSXrJfiDmjmv5ioBxBzmOASFwqFREpGC8cODCGEQf5yzgQqmDby/J5fDioghP+vO6NW5x7I+o5LZEzyLmyWmbwarch/TN0azCd3VrJ21s2okG5UU3PqgzXUTRMCVW6h+cAAVqKhx2Dfa6bgEo4MMWAHh4uYaHKjYOgEJRcXhJoPYmtxb505uToIXSNvH7PUA2RuE8Xg1HeHFwjl7qmcBocZ786q2mi4akOGbMUiCp00pCUnsLTlrCOLQabiRiOh9IACLEDdlBln0DExdCNLe5/PJvwJZRgm1PzW/hyCYpkf/qmGABP+tru1jVU6DceBhFKR24Q/oJCqblwFxU1kxwTNvUxuAehdzC0gbAaBtzNwwURpXGsG4pRd0Yv3q2NRqwQoRc9QA== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1288.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bb91805-8f68-4300-5cb0-08d85197851d X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2020 12:30:48.6871 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: z0EXJedK5rYzEJrkPrw2Tpm9HN0BE8klCWdbdJdubUI0lSJ+Lxy3r7ONQiBamXXF9egxTbc77ELH6gMh5ICyXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2168 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmsgeW91IExhc3psby4NCg0KRXJpYyBhbmQgSSBjb21tdW5pY2F0ZWQgd2l0aCBpbnRlcm5h bCB0ZWFtLiBUaGV5IHVuZGVyc3RhbmQgdGhhdCBDUFUgaXMgdGhlIG9ubHkgb3duZXIgb2YgdGhl IENQVSBzdGF0ZSAoQ1IzL0RHVC9JRFQpIGFuZCBNUF9TRVJWSUNFX1BST1RPQ09MLiBUaGVuIHdl IGFncmVlIHRoYXQgdGhlIG9yaWdpbmFsIHRlc3QgaXMgaW52YWxpZC4NCg0KQXMgY29uY2x1c2lv biwgd2UgY2FuIHdpdGhkcmF3IHRoaXMgcGF0Y2ggYW5kIGNsb3NlIHRoZSBCdWd6aWxsYSB3aXRo ICJub3QgYSBkZWZlY3QiLiDwn5iKDQoNClRoYW5rIHlvdQ0KWWFvIEppZXdlbg0KDQo+IC0tLS0t T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldmVsQGVkazIuZ3JvdXBzLmlvIDxkZXZl bEBlZGsyLmdyb3Vwcy5pbz4gT24gQmVoYWxmIE9mIExhc3psbyBFcnNlaw0KPiBTZW50OiBGcmlk YXksIFNlcHRlbWJlciA0LCAyMDIwIDQ6MzcgUE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