From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web08.24601.1631502282696965294 for ; Sun, 12 Sep 2021 20:04:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=LziAHheW; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: min.m.xu@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10105"; a="307106430" X-IronPort-AV: E=Sophos;i="5.85,288,1624345200"; d="scan'208";a="307106430" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2021 20:04:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,288,1624345200"; d="scan'208";a="451385024" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga002.jf.intel.com with ESMTP; 12 Sep 2021 20:04:41 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Sun, 12 Sep 2021 20:04:40 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Sun, 12 Sep 2021 20:04:40 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Sun, 12 Sep 2021 20:04:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JwHGJX1zLC4qriAGEZCuvF+MciEv3OtmFnN5Beazb0Z7QyPCmIBPasPykqeRwPFilVirIFTjxBuk4KdI6v6bF+9hbfrgyXHTc2Y0J7sA2Ezacuu+sd+jRdoD8DZDpJ6uv/hnPZ6pY6OSP7tDOv9sWHHp3xEHGjHiVhRYR8asn6xQTwsP+zsL7h3WQnH3M+6Wl0KSRh6pho/zZJ4io5JyNPd6ugzzzEK3uqgdmMIY5XYzMB8ipkODejg75JlwQ5Ut+dJojx3fxE2g2a7QgjUZgDOpTgQDz3kxtDkTEG/3BHndeHvqyvGKMrrlXg4PMlraLbPGHwgqUhSKFPma2Diqeg== 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; bh=Qy/HKUFhZBPHR6g+iUspYTJkGydcz8m7IqITlqTpFWk=; b=KN0kBQ1Py+KczdIBy+ulyJ4zd6GhRZ5QIyboOUwpdOwSZmX4kV5BXut5icxaKE1gUdqXhNvoBMXuH5sEdIztA5STk7yGskebBUqdscMM75SMd41avzzmmtFHGylvkILiYgtlrVFPL6RkiQEkWHFmHy11EuLxApiU5/S7lOEvauOsbxcALcwBd9i1qNZK7qYE4/F+dacVuKcM4VnveGtj/Vm5RGF3PBsVwZkMTRQ242m3aZ+0gt7fOYuJOrYakhXGFlZIEpkW7Pl6yf7u9F5eLZq5iagKd5gJsqdXRvUCVcfJhFJkt5rxSKlyhtFc/KDv+0nenx8U0PJWomA+18WtfQ== 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=Qy/HKUFhZBPHR6g+iUspYTJkGydcz8m7IqITlqTpFWk=; b=LziAHheWGYvNzefWdo3Q1NwYj3dfeeEHPHLuV0XvPaJh3bijpf8JF1cAlIgmx+P1hcCWLGFPO9VIWXm08HMmHiaUiSdY7VINb50hy5krEDnBnzz0WMzqgwvoRZfqp1Slfj4lhZgiDwcDAK6igqtR+Tyh+J1LpFkHQ1Fv2MemELI= Received: from PH0PR11MB5064.namprd11.prod.outlook.com (2603:10b6:510:3b::15) by PH0PR11MB5157.namprd11.prod.outlook.com (2603:10b6:510:3d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Mon, 13 Sep 2021 03:04:39 +0000 Received: from PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::c93:200e:5aeb:e11b]) by PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::c93:200e:5aeb:e11b%3]) with mapi id 15.20.4415.029; Mon, 13 Sep 2021 03:04:39 +0000 From: "Min Xu" To: Erdem Aktas CC: edk2-devel-groups-io , Ard Biesheuvel , "Justen, Jordan L" , Brijesh Singh , James Bottomley , "Yao, Jiewen" , Tom Lendacky Subject: Re: [PATCH 02/23] OvmfPkg/Sec: Update the check logic in SevEsIsEnabled Thread-Topic: [PATCH 02/23] OvmfPkg/Sec: Update the check logic in SevEsIsEnabled Thread-Index: AQHXj3E8Nof13Ue71kquFSQTqAxmS6ueNbAAgANDWTA= Date: Mon, 13 Sep 2021 03:04:39 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: google.com; dkim=none (message not signed) header.d=none;google.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ab6ced6d-224a-4465-ada4-08d976633a0d x-ms-traffictypediagnostic: PH0PR11MB5157: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:541; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: d/Yhz7G5DVPIOewqUpk1MBfiyWDdk/o8I5V7k35NRSBLlV9/TbObLMH7qpNI9b5ytIB+DilUtvmzGCw0I9ptAz5XC8a4lfvsHwJxBM3An3gZd849C89N6PTC/7UmpWMJ7Vf6sn4bM0fN5BYCwOdOcsx9iLEa2EgC09tvGoHcy29PUqo/KXcTVOiX+lAPIarOg5NFciM6eTkhyczMTbaIoLqIQCFIXAX56tytNoOvQiL5WnF0F3eX0wsCicnN+2aAy2HXYbZgRBVUJLMalIs2pKi8Hx5HjZf03Ul9Otrv3D43GT+sRPMXXQq9dnYzL5lpw4j+bkEFq3NyUm2Fxye4iDr1JldJeuTrnu38eBEeJvDnMpdLbQXoO5hsIUvqpnKJoC0L3bJubVXDYJswJK/6Lm+uXhPUDhWanRvlb62+28KgHej1w8oZAmHExGNfeaHF8U1TN0RTFVcyDs0kkP6cgzRxMEjHzbIh+CSCdhqU1PbcG7N4QNQKNYumVfBJ1y3KVsVev6+ISXHQ+CKfcAG/GXav/bHFm/kDOEtvZ3TL8Xw+e21AIMiNU6sQ9XlbuUP6NHvvlLwo0bMw3nRxwuLRbxZpZbIal6OI8zjkTAqx4SsQ0R0+Ml9eOSZIRkovF81ETjyqwJEYrvj2Owqh/URIhG8YdaUNRFz9uDjTkvVs4JFAvkS2wQMpA0TjjE8+eTlO2mL/t5qqcZeCUS06+2NDKHcNPCVp4Pi0OZ6AQdyoNI58nAGuOOK1qICh/WlkrspEpf5lZUJ4INqRfEK4d/agUS2xdOF7EkZ7/lg+CTBins4= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5064.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(4636009)(396003)(346002)(376002)(366004)(39860400002)(136003)(55016002)(76116006)(5660300002)(478600001)(38070700005)(52536014)(9686003)(122000001)(86362001)(6506007)(4744005)(66946007)(6916009)(33656002)(4326008)(2906002)(38100700002)(64756008)(66446008)(966005)(186003)(54906003)(66556008)(66476007)(7696005)(8936002)(83380400001)(8676002)(316002)(26005)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?M3J4cTIxcDBaUzJMSUQzTXJkRlVMNWd6aUU0VWJDWm5KZXdVUjkzRVRjUFo1?= =?utf-8?B?ZzJDL1I5RTI2RmFwaVVqK0FxYyt4ditJdzRiSm83a3hWZ0YyUjdmM3pKUjIr?= =?utf-8?B?RFRJRnpuQ2dJNllVelJuQi96K253SHBmTUN0em5OZWZzNmdWdU9wMzNJdkRo?= =?utf-8?B?RmNmUUx5czVYWTJPS1R4UHl0b3hZVXMveXYwWmhIcmdyMTdQS3pkSUlDZlZj?= =?utf-8?B?bEs5amQ2eXREajh2M2ZjM2dvZDBIdCtJTHJtU2UyS2dqOGlJbEEwZUJ5Vklo?= =?utf-8?B?a3UyRXVybUhCY281RjRCZWZaZk9LVjJaem40YWRPVFRUUEY0Ykx6dlh4WnVv?= =?utf-8?B?c0gvbVcwWkwvKzZsb0FKbTFZY3ljN1Q1Z2JLeVJ3bDBVekRHcmxtdjRscmdu?= =?utf-8?B?dmlmNkloTm9OQld2eEp1K2toTWNscXNyRzlvZ2FBSE1uVmtWT0lmVHF2NXRq?= =?utf-8?B?elBtanBodEhKZEJHaXY1bnJHVVNSOC93cnhQeUlSN0lNckNWVzNjS0pFcm5F?= =?utf-8?B?VzJMSlQrL0RYSmpKcC9XMDgvWGFvYXFxS2UweU15dHVYbkNqaDJqdE11WEtX?= =?utf-8?B?RzdNSUxkL0RGMWl2dUFTZGNVZXBoVzFlZER6NHpNYnZsNktZZlQvdktGeE1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Vld2TWp4Q096WG5p?= =?utf-8?B?RllhbHBwbTMvZWI2L1crL1JSWFRQNUwxeG5nOVZzOWVsc3J2UmpZTFBNUVN6?= =?utf-8?B?YitqSkhULzlsZXB2Z0g0a2Z2NXBWUUFGSGNYUThMb1JKaFV4bEc1K0p2Ym4x?= =?utf-8?B?R1ZVOERvWm1sVjY1K1U2MVNwTUpkTDE5OHRKUW9BQzdlbUVDc0ZaWnNOcUY4?= =?utf-8?Q?VDlkhIVXg/IQABnb1Ehg6FVb2jN+5CnbtvRCuMA?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5064.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab6ced6d-224a-4465-ada4-08d976633a0d X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2021 03:04:39.6594 (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: pc3Ars1HtOKHP9K1JJnNnlBIAGfLMZxoaMcRAcfSV28n+pqPMPB/uJDWdH1SzrrFpJW9j+lZ93oczRcoGMhN5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5157 Return-Path: min.m.xu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 T24gU2VwdGVtYmVyIDExLCAyMDIxIDk6MTQgQU0sIEVyZGVtIEFrdGFzIHdyb3RlOg0KPiA+DQo+ ID4gUkZDOiBodHRwczovL2J1Z3ppbGxhLnRpYW5vY29yZS5vcmcvc2hvd19idWcuY2dpP2lkPTM0 MjkNCj4gPg0KPiA+IFNldkVzSXNFbmFibGVkIHJldHVybiBUUlVFIGlmIFNldkVzV29ya0FyZWEt PlNldkVzRW5hYmxlZCBpcyBub24temVyby4NCj4gcy9yZXR1cm4vcmV0dXJucw0KPiANCj4gPiBJ dCBpcyBjb3JyZWN0IHdoZW4gU2V2RXNXb3JrQXJlYSBpcyBvbmx5IHVzZWQgYnkgU0VWLiBBZnRl ciBJbnRlbCBURFgNCj4gPiBpcyBlbmFibGVkIGluIE92bWYsIHRoZSBTZXZFc1dvcmtBcmVhIGlz IHNoYXJlZCBieSBURFggYW5kIFNFVi4gKFRoaXMNCj4gPiBpcyB0byBhdm9pZCB0aGUgd2Fpc3Qg b2YgbWVtb3J5IHJlZ2lvbiBpbiBNRU1GRCkuIFRoZSB2YWx1ZSBvZg0KPiBzL3dhaXN0L3dhc3Rl DQpUaGFua3MgZm9yIHJlbWluZGVyLiBXaWxsIGZpeGVkIGluIG5leHQgdmVyc2lvbi4NCg==