From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=HtO5yooK; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.81.53, mailfrom: thomas.lendacky@amd.com) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (NAM01-BY2-obe.outbound.protection.outlook.com [40.107.81.53]) by groups.io with SMTP; Wed, 02 Oct 2019 09:10:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EVv2QKNP9D2hRoklAoEBXXLLOKA8CYFFToe4SOnxI9Sg5BVqJdNTiL8fbCW8a2+VHs4BD6QctWMeRPmgIOagaMw58S3W9pa6eKwX+wwxHr3QxzFIil8/csSGyz79oiElc/QdS2AgwpKxJgr+xZPVb+aTT/3DmhPdGxHJp23MkJtMO9eNhsP5DBTYYJZUQchXtl8MHiSqeehZoFydwLhGsYGxouGyvyD/6Iclpo9nuPWJQ6wugMReNMXQwRhItLxkPYBKU9LhVcU83YxRpT0P+HfrY9ovVpmdw/+yaacaOJwO2HhBiSkJod6GEkEx3CTSpbLbM6J7zR7LblFGrZsKlw== 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=/PwqvQgxt1Y7T1walo1kgMOCJGHa0a8yXK585phQXCQ=; b=E7I7bMedFH6pC7vZCJgSqeeLZQ4DqUrLU0qAiYST5yegb9BuA9VRuDFdeTMCUW9fb3zJURRQvG4XJSPt06CrTS0QcZzvDyRICsAtlpcj/E/Nzw4PaK0vvcg6NYh8yqV1c+FjZ5eqpl2jqezJi+h9JMbB69L/AnBpiG64ylYSz6y8fG+NpAkGNHZI/hDlzhA8Tze/qFFKqtCqyJ4opX00t5Z1Q+BIT2k5y49u+JGQIZX70B1GYaeKvP6LYdyNiYUuYTP9Hft6CM7p5i8X1ma4GSW7bAD8WKRStlcbmpW8uURP7z4zuXuJZTD0CrTjwfcX2/GAH8zUMirzoqm0S1jzpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/PwqvQgxt1Y7T1walo1kgMOCJGHa0a8yXK585phQXCQ=; b=HtO5yooKa1eCQZFqSZe+e8VMI1LRMe3U5MclRYu8ucUHTNMQPrrAfZe0aSt2dbBUlJQ/iLgfm5EYo2mhB5meNBJ/RwWT9RURp0je8rYzkbzon6ZSSyrp8440PyKWYBD/Oggozsx/pb+83j4JNuudkluGKam3puKaW8cR1dk13Qo= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB4235.namprd12.prod.outlook.com (10.141.8.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.15; Wed, 2 Oct 2019 16:10:40 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::85b7:7456:1a67:78aa]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::85b7:7456:1a67:78aa%7]) with mapi id 15.20.2305.023; Wed, 2 Oct 2019 16:10:40 +0000 From: "Lendacky, Thomas" To: "devel@edk2.groups.io" , "lersek@redhat.com" CC: Jordan Justen , Ard Biesheuvel , Michael D Kinney , Liming Gao , Eric Dong , Ray Ni , "Singh, Brijesh" Subject: Re: [edk2-devel] [RFC PATCH v2 11/44] OvmfPkg/PlatformPei: Move early GDT into ram when SEV-ES is enabled Thread-Topic: [edk2-devel] [RFC PATCH v2 11/44] OvmfPkg/PlatformPei: Move early GDT into ram when SEV-ES is enabled Thread-Index: AQHVbyPJn+3R7DBBt0GZRRCSMmsIBadHVTeAgABEXQA= Date: Wed, 2 Oct 2019 16:10:40 +0000 Message-ID: <565cd880-bca0-30ab-b4d9-eeec6ccdb2d9@amd.com> References: <457424fdcd5ba463dbbc198c1018cedd3857a9b7.1568922728.git.thomas.lendacky@amd.com> <67a4c41d-3431-1ac8-9d93-07be98288b03@redhat.com> In-Reply-To: <67a4c41d-3431-1ac8-9d93-07be98288b03@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0601CA0017.namprd06.prod.outlook.com (2603:10b6:803:2f::27) To DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:182::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fadecc04-1cbb-45a8-ada3-08d7475311d5 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DM6PR12MB4235: x-ms-exchange-purlcount: 4 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0178184651 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(136003)(376002)(39860400002)(346002)(366004)(189003)(199004)(54906003)(26005)(86362001)(110136005)(386003)(6506007)(99286004)(71200400001)(7736002)(76176011)(6246003)(66556008)(64756008)(66446008)(186003)(66476007)(31696002)(66946007)(52116002)(2906002)(229853002)(71190400001)(966005)(6116002)(3846002)(6306002)(14454004)(8936002)(6486002)(6436002)(66066001)(6512007)(446003)(11346002)(8676002)(256004)(476003)(486006)(2616005)(14444005)(81166006)(316002)(53546011)(102836004)(25786009)(305945005)(36756003)(4326008)(81156014)(5660300002)(478600001)(31686004)(2501003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB4235;H:DM6PR12MB3163.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ou3BDMUa+aplbqEif5UVBY8KRGgubun2/4n1ZaslEjOuvP2uW53X52enW0N85I50V5JXSZ3zlVGFvKn6vTzFvoMjxePfa7L71Vk29kQvoHjjhvNQFypNEKlSef/oIKYVrQLdZE/eWQ955JIxuGn+IccXE9NkcQdoe4YTj9vONSGO8brvRAQgfnDGEcWMVlLpi4GDemoXvdxLWA9MWNDduQLN6m46G2qPqejvW3thrc7aDmOgpaMTlmdZexyyUQgARwEpXPyVvqQbq6GnYbQVxKfc8KkbTCwTJ0ApVuqiUwqi9uUEC5DzKGBV6NcXdBFdH2DE+uU0A5R2mvA1kwBjsKJAhn9fq7H5E8lEM5av92J8Xz50KzZDjjeva7nf6t6CNBT1QIWTSQxIRKJ5+GVyzcCcP3o050j20mpEEKyuYK91pMzosSD7JMlzSMB0PHvECjOAb6FBZ/xO7V5kjrbseg== MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fadecc04-1cbb-45a8-ada3-08d7475311d5 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2019 16:10:40.5597 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vsNqxdTtgu1LUh4yhRdD/uAbXqtwSSyi/sfE4zykEQSLLb4g5sSONdlKigZljKJyGaI/6gw4yhkmT365rMV2Rw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4235 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-ID: <28BDADA73D1CA34D8E7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