From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id D207594117F for ; Mon, 5 Feb 2024 05:06:58 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9dTMeZrwvcS1Fr8752E9g7KX6y/hSXaLPxev2fOgiz0=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1707109617; v=1; b=LvrElxBU1XDEC2n8j1A7oxw2dPUyph1y8ijn4w/Ityd0IxlNrcKxGYr2dbfFeAhqIMv18Zpg 4BIkzdlW5Js3FJxV1LtXxuUdOIXTY3+GQc+RMcNYH9EtUUrTtOT1MvP+ADxd7gcmQfVD5gIlWMX mkQmwHHnDqOERweY5C7LRw00= X-Received: by 127.0.0.2 with SMTP id pvLvYY7687511xxUeraMG7i8; Sun, 04 Feb 2024 21:06:57 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mx.groups.io with SMTP id smtpd.web11.56559.1707109616626856769 for ; Sun, 04 Feb 2024 21:06:57 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10974"; a="17867468" X-IronPort-AV: E=Sophos;i="6.05,242,1701158400"; d="scan'208";a="17867468" X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2024 21:06:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10974"; a="909195067" X-IronPort-AV: E=Sophos;i="6.05,242,1701158400"; d="scan'208";a="909195067" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga002.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 04 Feb 2024 21:06:55 -0800 X-Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.35; Sun, 4 Feb 2024 21:06:55 -0800 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 4 Feb 2024 21:06:54 -0800 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Sun, 4 Feb 2024 21:06:54 -0800 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) 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.2507.35; Sun, 4 Feb 2024 21:06:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SudNpFSqbNV85gP7qcG0pBBLhc8RO30pF3KrpuhsI1OeLqDAvJqA5mpnyRWierv06x43rh2JBFOZW/tkT9u66NY+bcc6YkWsqsetenl5nbdklxbCbL59XJEzQDMUvvaaknDs5nrigzlYn1X5cGzEXdoKayTdS5/tsvPvROaMRHoVi/8/meAh5NyNqnV5p++NAJKZvk5tvmTlt4SXu+Ldcj1GXh9sapTRWwbIzTxSc5tebG8PCQI31O+a06I1xi4v0NNP69wPoHrCtEhCrYUB65PygvkBxz165dqWfodErQwqrfERgO2lbP7lYdpnASpXhafEPv1cuIfNRuXVME5i1Q== 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=u+Jp7U3yANRRWciwIZOABdP7JfNJbQuIi1H1yaLNZzo=; b=ZCadzKxi0PErS2MB+Wv1aNY0T4xIoyDV/ESaTpn5G6B4DQtiObUOO08RxgzG/IcHBoAzkr5GvroEawLHy1K7nacBx5kI5heXc6DS5tVJtIVW6F5JJFkc1bGHtYYNlFoJK2g07hhIRVCZoJwECzl0CJXAmiNTnWsw3z88c94gRMVJRfOyfOOj4WSDhp5lGmv1+r1/EtYk6nWIfi1/u+3813hWhvXuuRRG4KRo8FveNuXDhnX/WgvzNNe8RRgeKgEXMsDySIpFZRfhZ/8m3MsjGqZQN0riVWUv3KWkQAp4A2H5+oPq0gGJcDf8+os8CW6ZBZnMMGl8n4uqYGujc/O0yQ== 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 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by SN7PR11MB7994.namprd11.prod.outlook.com (2603:10b6:806:2e6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.31; Mon, 5 Feb 2024 05:06:51 +0000 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::f4e6:157c:2058:8b1d]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::f4e6:157c:2058:8b1d%4]) with mapi id 15.20.7249.032; Mon, 5 Feb 2024 05:06:51 +0000 From: "Ni, Ray" To: Tom Lendacky , "devel@edk2.groups.io" CC: Ard Biesheuvel , "Aktas, Erdem" , Gerd Hoffmann , "Yao, Jiewen" , Laszlo Ersek , Liming Gao , "Kinney, Michael D" , "Xu, Min M" , "Liu, Zhiguang" , "Kumar, Rahul R" , Michael Roth Subject: Re: [edk2-devel] [PATCH 13/16] UefiCpuPkg/MpInitLib: Always use AP Create if PcdSevSnpApicIds is set Thread-Topic: [PATCH 13/16] UefiCpuPkg/MpInitLib: Always use AP Create if PcdSevSnpApicIds is set Thread-Index: AQHaUKUpRRt1xKWpEESsJ8HRaQZkU7D2nLgQgAEYp4CAA4s74A== Date: Mon, 5 Feb 2024 05:06:51 +0000 Message-ID: References: <1948e02ed8167f9b9f8a71dd2d3216896720aa30.1706307195.git.thomas.lendacky@amd.com> <6de1de3b-5ae5-82c9-664f-ee93edd8f38f@amd.com> In-Reply-To: <6de1de3b-5ae5-82c9-664f-ee93edd8f38f@amd.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|SN7PR11MB7994:EE_ x-ms-office365-filtering-correlation-id: 23681274-5061-4191-1b6f-08dc260843ab x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: 4nJsDreH0zREnpIZlxKjM2lDCWEQ900BTo1mPy2P0vjW+xheFJYe0VvoYjSKur0NBpa9ipU0lSsss5qwhrUkoEA6R/KeNdlAZAhdO3kG/2kzr8rx1X/wAcSUoXReX03KKiKxoXOiBnxleeUODmeXyJK7xC9AX9huDduGvh9R5A1mNicHi5vjM+Xf+CXZjLjzi6hhbJGMaSnFmT74lZde7yMYfuudSFUk/tFAPiCti427lZvTynhEAanMRUQYK1aP2bFYsa0pQCNBq/PIoIH9GaChNADVUCHfKQLhyhNFbgZMKLtpusC1ZYm8QI/WnZ+BsHhqKmsgIaDGpwNfceeQZtlEjV3f4CoIG8pSS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= =?utf-8?B?NGVGeTc3WmtyNm1ZYXBlNGhjSTJzY0MySGlkaHZoSVc3aERsYUpTcHB6RmJ6?= =?utf-8?B?RHd3ZEVtKzFSc0NzRks2WkEzbzZjb2hKMUdhQm1xRzEvUFhDOVEreDhkcFA1?= =?utf-8?B?QjBDK1Z0NncrajUzeXBCMmlqZDcwVzNPZUtKOFoxWDNYdXhNY2lpM1V2WTl4?= =?utf-8?B?eHR2T2w2Zi9Kakgxd0lFT0ViRGpGSGxHanhDUisrbWQza1BXdzJrNEI5dC9T?= =?utf-8?B?V25CNk5zaUp6em95bFlBd3lJR2FzVng4aFhzMWhjbTNjT3YweGdMTG5YTk9v?= =?utf-8?B?WHR1ZEZHWDgyaFZqNzFhbEtjYmtjWDIvQ0FXcVQ0THY0V1J1RktSbDhvWXZj?= =?utf-8?B?TW05NHV4SmlpeXFKRTd1RVlxMzE5RUNtZFVTZXpIVnptQi9CRnk4bThaMWZu?= =?utf-8?B?UXJBdElYOEg3NTlla0U3T0xwZWRqZTlJTnVzcVJ1SUx0RGpBQVJGSmdLamlY?= =?utf-8?B?K2paYlVUM0VWa0F1R0w2OXlVTFJ6RTB4UExvQTNISDVab1NTZU5XeXB0bXEw?= =?utf-8?B?Ry9tVXJKcnB2Njc3VmY1VWw1L0lrM2FQUG9pYk43L0dYU1VMRnB2bzh1cXNL?= =?utf-8?Q?fsU8=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: 23681274-5061-4191-1b6f-08dc260843ab X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2024 05:06:51.6508 (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: HkV2Q0TFAHx9ZTMC2XjLR1dVUelr1He684YNsJ5PqMiYf8E7KO+QTyZ7WG2kntRNjGb/rsUKk8Ti14Og7ND2tQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7994 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ray.ni@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: tocTEgmGvJKHyNHKlgVb8OqCx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=LvrElxBU; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io DQoNClRoYW5rcywNClJheQ0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBU b20gTGVuZGFja3kgPHRob21hcy5sZW5kYWNreUBhbWQuY29tPg0KPiBTZW50OiBTYXR1cmRheSwg RmVicnVhcnkgMywgMjAyNCA2OjU4IEFNDQo+IFRvOiBOaSwgUmF5IDxyYXkubmlAaW50ZWwuY29t PjsgZGV2ZWxAZWRrMi5ncm91cHMuaW8NCj4gQ2M6IEFyZCBCaWVzaGV1dmVsIDxhcmRiK3RpYW5v Y29yZUBrZXJuZWwub3JnPjsgQWt0YXMsIEVyZGVtDQo+IDxlcmRlbWFrdGFzQGdvb2dsZS5jb20+ OyBHZXJkIEhvZmZtYW5uIDxrcmF4ZWxAcmVkaGF0LmNvbT47IFlhbywNCj4gSmlld2VuIDxqaWV3 ZW4ueWFvQGludGVsLmNvbT47IExhc3psb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