From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.14730.1678696353408338569 for ; Mon, 13 Mar 2023 01:32:33 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=A9oHo5VY; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678696353; x=1710232353; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SHAya9TQkvm2GQWR5HA3Di295jYv7iMf8Y/CDLSxp1Q=; b=A9oHo5VYcRu0TvNvh8S24RWI/w2bi3NFNXBeoLNdkjsrjLFsR7HfPyrt F6zgpAEsBSwCvteBHWUETHjmlQj/CXIkLBGz+GnLdGqoxL6hF2QKb65eZ s5pMF+/5XdHvxTp5NsLaF76JZzdcwjCrMszyoSyulNN+YjiNclnhKcFVK 1oxrbZhR4Zu7aYJ0OFk/Q58T6pTteVFq1DiWPbD0P7dEm1bGqA13U+PvY X2CAvhfT8mfd0uIcd7v/1UfqKtbsZ6UXeWVcq3V+IkJHNEmQVNv1Qv+W5 CYr454mM0dkzkJDWT5SeCnivs9C89qnG44MTufwa7gjfQrgkpkWu5/Q6L w==; X-IronPort-AV: E=McAfee;i="6500,9779,10647"; a="325449057" X-IronPort-AV: E=Sophos;i="5.98,256,1673942400"; d="scan'208";a="325449057" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2023 01:32:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10647"; a="711044912" X-IronPort-AV: E=Sophos;i="5.98,256,1673942400"; d="scan'208";a="711044912" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga001.jf.intel.com with ESMTP; 13 Mar 2023 01:32:11 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 13 Mar 2023 01:32:10 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Mon, 13 Mar 2023 01:32:10 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.49) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Mon, 13 Mar 2023 01:31:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d2pjx+JlVmsnAF5fgc2nMkW2gErSPF6jBFHcexj2HC/6j4u7/z7RSlosP59yIhUmtRvUTJPqL2owjDkwEbgRt5shw9OmeL6P76IMw0JuzucAIJg2vTGpXfXcOjUFPYxsX8M1RL191+QXbS4RfJ4xqS8EH1EY+V5FShdZNbXAnie9flpF4EWPeQ3p4pZzBPu0j8Rl8o8wsCTlL3fnWv5clP5hVReZpV/zhuKtYkSK6+kfhz6on/Ur+3zn7anrZX0YzkXvB1otUk352/i0TCC4pAlIizCBlQHOvlDl+2KxKkbrozWL2nxtpmksB613wO7rZ8JuS8JS43zRlKxgoDobnw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SHAya9TQkvm2GQWR5HA3Di295jYv7iMf8Y/CDLSxp1Q=; b=ZHXB/6338oGSQBE+sDVjV4bzSxIcbcIl8G2IsUnY+Dt2Sw7i72AtXYyoDfwpFwMsJ4x+iGGPQH0e5QNJiovJrPfg70/B7uJblvmg4CygZ7FhZwfJU1UluErDIiky40Ub7UZP7xBa4Yi2c5ZfMXqIVRgoirYxlFMgWTLGcbRHZ5uUjxszvlOqx8bB/xzgQJg2uNC+TV4Ww+3YYlgSjQss1/OLt0UBHVs6j7FAJmG1DX9OqnrdFHBDtSLKu1W7J1YFoRzzXt89G1zl50WLI+2AHz35u4btVq/3r+B0lFaTkwi0rbhWN6o4qN5oY7PmgRnNQWZBPltEG0YmgAKLMkd5eg== 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 Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by MW3PR11MB4572.namprd11.prod.outlook.com (2603:10b6:303:5e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.22; Mon, 13 Mar 2023 08:31:38 +0000 Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::ae07:e96a:4a24:8a69]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::ae07:e96a:4a24:8a69%7]) with mapi id 15.20.6178.024; Mon, 13 Mar 2023 08:31:35 +0000 From: "Ni, Ray" To: Gerd Hoffmann , Tom Lendacky CC: "devel@edk2.groups.io" , "Dong, Eric" , "Kumar, Rahul R" , "Michael Roth" , Ashish Kalra Subject: Re: [PATCH 1/2] UefiCpuPkg/MpInitLib: Ensure SEV-SNP VMSA allocations are not 2MB aligned Thread-Topic: [PATCH 1/2] UefiCpuPkg/MpInitLib: Ensure SEV-SNP VMSA allocations are not 2MB aligned Thread-Index: AQHZU3JgxhtxD3M75Eyw6MY5Iv5jPq74XNEAgAAIssA= Date: Mon, 13 Mar 2023 08:31:35 +0000 Message-ID: References: <0ae6206c682709f09214222bd597d4aa6578c56a.1678467840.git.thomas.lendacky@amd.com> <20230313080020.z7vdonl4wonlp3hq@sirius.home.kraxel.org> In-Reply-To: <20230313080020.z7vdonl4wonlp3hq@sirius.home.kraxel.org> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|MW3PR11MB4572:EE_ x-ms-office365-filtering-correlation-id: 2c395486-ef9a-4f09-6a35-08db239d5b75 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Al4SF9pThznhwtXgWa1m2PMuEcdXqbaJuUOUsagqYH92bYthSK7qkzo4m/f8Ao0Zn11rrQGGhzBzU9gmpseY8s790y3NBpppq+9fndETBlj28sClLOIDc4aqsjS7FnzxIax8RIMogT+3aocNSsqoSAbT0gVA6mN/g0YaL7RaF9Fft6Zn02CivHgDfe2Fo/KkLaLTpNW5JXN0CyM7fJuyfdiKlEozRBV3amW+Tw5BdPrqL92suLtSz5dzP0wnxDJFkmlD7ySdFCg4fnwMJ3ogtrs4ZZrI/UiNOSwr8WZONv4Q+PpiNpKEb03w/OEQCFyalI2Mw22qXKzRtaTZUoOmx98E0BzNBMjEpoia/gN0IewoQf8rHaf4VPlZrzINFMCYSKRGG9bztbBfE4ihU5Lc59ejseEHIorM1KbIzGB2VWsp/Zuvc2Wtcq/h90tufF1pF1vPQi2KEve/YhL3/tKueTLLZKQw12ipIOFNy0SxaKWBUFqCslLkOydSn7rU9swatkLq16c2CNvNcs4fBySFIteACZYtBzDRpxYSuC1nHkfqhm/pwigPMyhWm7pL0LItlKSdfaPyX25ZAZ/3bKtu3dqsxIPMdyc1K+ddXbcrjtxyPGFq1MqYIPmk17cUrODMfGjRhzFXqjj6fIaVgRITW8wK+FbC/vVWOBXD4zpLP2H4Go34hEdFaBnQ0fKOJtc5sVGhbF78TVpW8d9v/55G4A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN6PR11MB8244.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(6029001)(396003)(376002)(346002)(39860400002)(136003)(366004)(451199018)(52536014)(5660300002)(8936002)(4326008)(64756008)(76116006)(8676002)(66446008)(55016003)(66476007)(66946007)(66556008)(83380400001)(110136005)(54906003)(478600001)(7696005)(71200400001)(316002)(33656002)(41300700001)(86362001)(82960400001)(2906002)(9686003)(38070700005)(186003)(38100700002)(122000001)(53546011)(4744005)(26005)(6506007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YzhLMUZNUFZmajluaEFjTk95Wkp3YlZoU1BSTWhpT280TStla1ZMUVlWc0pJ?= =?utf-8?B?VDczL05naCt2MlFuZnlHdDZ6L1E2YjdiZ296RTR6b21KOTc1YnlZZjEvT2dE?= =?utf-8?B?TzJQNXlkS0hxYlJLQURmdkNVTHQrakRCSDVzTm1NYlVsbFpWS3Z6ajNjaDk2?= =?utf-8?B?WUhSaFJBQU9UdzY0Z3dIK2R1bXV5Ukx2b3dJckdLWVR2RFBVR2N2ZU44aExM?= =?utf-8?B?ZFhDdU12SEhzeURsamtUS3BCNVFycW5XLzFNMHNjNnBveWIwQXNFNDNHdVVZ?= =?utf-8?B?aEtqamlkZW8vWndnaGhxZE9sdVBuMjdKSURUSjg1c2JmN2VNZ2tzUHcwdUp1?= =?utf-8?B?aFVyRkNYMmZROTZ1UVpValpzdjFKTUZ3Sis4YzFEdnRYRnlJbHJxaFBybzJY?= =?utf-8?B?cjJtUHJRc3JVeHN2YWdzdE5hUjJZUGNhd1RBbm9yUkhPQVhU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ErbGtKaVZnWkU2WlJ1?= =?utf-8?B?QXloYlZvR1Z1ejBFOVBOcmJnNDRPUkJFMktwOVI5RWZ1bUdRVDMvNVQzc1Nw?= =?utf-8?B?dUpNM3l5cXFPQVhxNDVneVRFZkRIRVZwRGpnM3c2QzJnUGs0RW1NcGFYc29a?= =?utf-8?B?RG5MVXl0NGJUUkVBYnNGUFA1TnFnTGo3aEhEaEJKMkk3VmxkWWVvK2UxWlNZ?= =?utf-8?B?QVRRYzR3eFRtZnRPQzlvRWtUdEYvK1oydlhxU1U2UHJCNktoVFNSWEkycEhJ?= =?utf-8?B?RUQ4WmJSbEN2a0s3cUFnaVJiSlM1RkFiTXpxcTJnOUJZeDZsUmh6UEJBWldX?= =?utf-8?B?NVBFeWJNS29mNHpJRkRxSWRWNlhQd3JBS1dFMjlrNWRJNXBIYUh1RG0zbTNZ?= =?utf-8?B?cmQ1Nno2MEZFd0JSN2FMV0M1QnZIcnRZeERvaWNCRlkvNFBUaW0yRFhzdEJN?= =?utf-8?B?Z3ArUFFHcXNWeXRFWG92UHhlYnJaMzVGTG13aUZPUjVQc2diSU9JSG5hVFlj?= =?utf-8?B?M24wV2ppeENsOGhxVUs5eUtGK0pyc2ZoRGg3Z0dJWnY2ODNrMVJVckRGMmRQ?= =?utf-8?B?TDgvR3kzRVVxSjZxS0xqUEQ4Nm10dmVBbHRCZGF6a0hxNHhZaTVjWG9GVm9V?= =?utf-8?B?dmlQUnVJMlQ5bURtZjVmSnZNbFVPTDdhRXJ2azdVaHRsaCtEZG01R2Z4UTFy?= =?utf-8?B?eVFxbFd0KzRLYXhwemxJdThIaVFKY29HdTljcHhrTU5MS0h6SzZsbDF2VEpn?= =?utf-8?Q?nRCM=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c395486-ef9a-4f09-6a35-08db239d5b75 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2023 08:31:35.3691 (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: sGou8ZeqCocaHyyeGgZnLM+sceH+f3To7BOJidl30TDa4V1FfdWbXPLi3XnvQT83sdDngJtwqJY/rHR1DaLwqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4572 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 QWdyZWUgd2l0aCBib3RoIGNvbW1lbnRz8J+Yig0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0t LS0tDQo+IEZyb206IEdlcmQgSG9mZm1hbm4gPGtyYXhlbEByZWRoYXQuY29tPg0KPiBTZW50OiBN b25kYXksIE1hcmNoIDEzLCAyMDIzIDQ6MDAgUE0NCj4gVG86IFRvbSBMZW5kYWNreSA8dGhvbWFz LmxlbmRhY2t5QGFtZC5jb20+DQo+IENjOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbzsgRG9uZywgRXJp YyA8ZXJpYy5kb25nQGludGVsLmNvbT47IE5pLCBSYXkNCj4gPHJheS5uaUBpbnRlbC5jb20+OyBL dW1hciwgUmFodWwgUiA8cmFodWwuci5rdW1hckBpbnRlbC5jb20+OyBNaWNoYWVsDQo+IFJvdGgg PG1pY2hhZWwucm90aEBhbWQuY29tPjsgQXNoaXNoIEthbHJhIDxBc2hpc2guS2FscmFAYW1kLmNv bT4NCj4gU3ViamVjdDogUmU6IFtQQVRDSCAxLzJdIFVlZmlDcHVQa2cvTXBJbml0TGliOiBFbnN1 cmUgU0VWLVNOUCBWTVNBDQo+IGFsbG9jYXRpb25zIGFyZSBub3QgMk1CIGFsaWduZWQNCj4gDQo+ ICAgS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