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 0163F7803CD for ; Mon, 8 Jan 2024 05:16:16 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=WjyQcExcvBQs6XHLIt7l0BjZiH4YN0MIYZeoT6L7osE=; 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=1704690975; v=1; b=KkdaxDpq2EXuYpN3YVhvAyD7oOgxv3864/i+/99mTpZRo4vFy58DpMnwJjedsZLYb2cV1T5W T+SZ5SjzJi/slq2me3EmUOIMO1ZMBf8YqrpQJ5S+G3ywPXSyW7oRJDUFbkdiJwf5Xn4Vau18D2m zLmjv3hw9WUwI/bYX+Thqj6o= X-Received: by 127.0.0.2 with SMTP id puBAYY7687511xChQ9q7MvaR; Sun, 07 Jan 2024 21:16:15 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mx.groups.io with SMTP id smtpd.web11.654.1704690975152308118 for ; Sun, 07 Jan 2024 21:16:15 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10946"; a="19295855" X-IronPort-AV: E=Sophos;i="6.04,340,1695711600"; d="scan'208";a="19295855" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2024 21:16:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10946"; a="774393306" X-IronPort-AV: E=Sophos;i="6.04,340,1695711600"; d="scan'208";a="774393306" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 07 Jan 2024 21:16:14 -0800 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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, 7 Jan 2024 21:16:13 -0800 X-Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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, 7 Jan 2024 21:16:13 -0800 X-Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) 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.35; Sun, 7 Jan 2024 21:16:13 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gy7A/lEZd8qh9Si/Vj2GPcZe4xZ4+KWIUvA4/j/xJNqlOyHAwzjUQSGzdPEgLtHIJUp1xn+P7dEmgLTUTBtiXf9mezgbpReyik/zWOgKEfV9DGptzvOgfBdrecAPt2PTDHVmPgbFDGqgCA14oXCNe7dAz2Q2+VnBtMqaUDT58zSPzhxGa9CmDozG7dcPnFZG0fVsYw0oic1rZLQOUiknrKACJ6ynEKQEeP7tDLfJD/S4Yq3gOQrIHbiqHTBJ5ad36Ldo0PK0awbnDF5ph3wdNYqFP1Eh0WbezORAQWkzDSaeRJ1F93LGfCFN6Qu+K8QSFc0xNqotM4NHhkLfcDA5EQ== 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=kumHffBpl8kyMIYq9YAAb6P81e1ip6GnwToEp/09QOA=; b=C6CnNXWcbBxihyevcLOss+4/ISAKUmjIvDzhognCL37p4Jp10wljiQswTQoqRO32IhtR1Rdej6El5Uhx2cybIk0rYdpD+fpuXGLInjQG5RGRI9CyGMk5qMhzetAlU+WzMR2QVoej5FTh6DWo3zZiQY62GDfnBQEBEX0vz3i8gGiutOXnfb/FSlxRxf3jQsRhVqrlZk0OGnGdveElg5jZFi1kxRSzj0vEwzM5PQ2IZhF2KNxJWBJhRf+YyIziS3Ie/oGnTqjgI5OYp6E0CHQpjRUGE8FcjyD9WNMzh6dGht1X3J9P1tJxd8O957c7Xzv5oRGa6yhkBQGdpkADj/sFFA== 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 BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by SA1PR11MB5779.namprd11.prod.outlook.com (2603:10b6:806:22b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Mon, 8 Jan 2024 05:16:10 +0000 X-Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::6da1:a4b7:4771:14e1]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::6da1:a4b7:4771:14e1%5]) with mapi id 15.20.7159.020; Mon, 8 Jan 2024 05:16:10 +0000 From: "duntan" To: "devel@edk2.groups.io" , "Tan, Dun" CC: "Ni, Ray" , Laszlo Ersek , "Kumar, Rahul R" , Gerd Hoffmann , "Xu, Min M" Subject: Re: [edk2-devel] [Patch V2 0/2] Change the usage of input parameter ProcessorNumber in MpInitLibGetProcessorInfo() of MpInitLibUp Thread-Topic: [edk2-devel] [Patch V2 0/2] Change the usage of input parameter ProcessorNumber in MpInitLibGetProcessorInfo() of MpInitLibUp Thread-Index: AQHaQebFeeH8r0rPTUWoEjkN+LYFOrDPXewg Date: Mon, 8 Jan 2024 05:16:10 +0000 Message-ID: References: <17A84312702919FE.1387@groups.io> In-Reply-To: <17A84312702919FE.1387@groups.io> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|SA1PR11MB5779:EE_ x-ms-office365-filtering-correlation-id: f93acf58-f6c1-48a4-9774-08dc1008ed3b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: YLMA1Gm3LfgI1ZJqKshue/QBL1fbXdS1BLivLh0kZeEShz25EcrbHIeIoB8AoN9ep04WkRDzytHOfRuajAMeUGd36kb4oHiAj6HdqdrVn4wy8ut7OWQccVN8kDwvZY1PvSnHYWThhNap9k3+PiwQyWzD8mB+G0IIqBIR/GZ5NwoocCnhcAScUEYMhEvz0zrn8ZPX8SKQnY6oLJcW6Zh3nAFfvuBn8Xzmq4/PSXU+l7SRXi5+auAXcmzd88MK9RwrL783EA0CswramjHCRRNcTpA6rWuOaZ0ff32STaeS90l3Du9AGWtkelyy4GEZihXWMcgRC5fBiAeKM/j6sW0t1TZO/6soJVP8gru/NUCX67a2m9D+vvAiVsMtb1un9wbcxqysWZeac1wZ375hLq7ue7bGErkqbQuAKdz6ZEo5SPlp0CabBLnj6F+r2/Qi2+4PGtc2OwAqJw2WXos+oXC53t2cn6s2taBs1W13Xfvz1WDxHyET6RiYwC2kLqRnxydEsqOmX/uTcJl/Wv7xk1BhakycIiOMbOwJUK5sqNWDDa9ODnFaYzCDp+CzjXp1z89d2JvPpkQOPsoLaLIn06DGzOCho8T+aOmtRT/ZettU2AfpFH5aJx3sS4q4oRkHYymJ x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EtALSKJk1wlZO22R+zULmvjRyTJTL16C5Dyy00adSDlTTlEYGYtUm+iuWxMV?= =?us-ascii?Q?LwV53spXESlJNF6ZeyAWoPrLDaEsJZmFNl1YycraNufsomlTSQDU6bKB9AUU?= =?us-ascii?Q?hJNGqEqo04wpoj5Gdit8ij6a4ECT5nj0/3/GJulxdbBSsqzHHWYvCgOeTb4W?= =?us-ascii?Q?zLxOSYehgwCMq6a7eS0XAVwraPW3slQLYF5t0CwO7zcHDqNDMKsGRv6j5rc0?= =?us-ascii?Q?AlN5nzzqvX4uf+k6yd72/bumxWsna2d82pP3jSquQpyj6lswG04YDXHcn7j5?= =?us-ascii?Q?bwrs9SWwn6oFWLBZ2BEj4TL/KeLdRF4XxpMvih+hEYCY77/x8JkPvIt175OM?= =?us-ascii?Q?VD+wYKY98RaQB9mzsdWl4ZEybR+wOEE3sV1IVnHxGS1vJBMFd4hX9L1j/28Y?= =?us-ascii?Q?25/ab+/9YWsNvcMpj1o4qKRFv4CwvMTBfLBtBJDv3tLTqagPW3yxM4quwnLs?= =?us-ascii?Q?i62J/kj95jyo+3P3Gz+KsIOPg15BbYKKytx4xiZBmxzD6c/+eaAppvH3FA/i?= =?us-ascii?Q?on64YhQTUBsu7gotrqon20uwWGuKun+7n28LD8GzMxQi3hgnuYGhT8i8zQ4T?= =?us-ascii?Q?MTm8oE3dObxSFFA+PqhIL6Wj8iDzKy+exiQvaipkxenJV7PN/t531NOMIano?= =?us-ascii?Q?UkHcSHk07ZpqeJH1hDqZLQqUZzO/46U8YWdakr9c+MSvGHdsDk78x3tr62HV?= =?us-ascii?Q?DIa2+JdgzDk7E3Ap84fNhextv2JS+3ezRAAZ2kc1uZd0CW6YNRcwMXtMqgKk?= =?us-ascii?Q?kHXg/YE//05h4+oTEvj/x1qQPGpZmQqyWxWuZlItEc4VK6jbzWzhAolrZkDM?= =?us-ascii?Q?mvUeBXeXvqNBC5t1m24K58HzGQwXqmUoN/Ospew8y3KCCzt9nE2/wg5kypJZ?= =?us-ascii?Q?UY/MN2zb1YQGv7QoSZiXkLzmfP8ZHoBKQRzWMcSBKusOZTEyoHjUBjWUkfI3?= =?us-ascii?Q?a6F+nFR4V1Ik/fzph7JLJPY3kjdcaqVkbCLiCD39G4XlaRH27On8xFOKHU9z?= =?us-ascii?Q?NxQLzpw+Ah6cA0iRlN77q6KuDahauTPoD5f7xNE3cFj3+hyMzDpQ+Vm7FZXV?= =?us-ascii?Q?zRYCj5hkWAqLzxsbK+kau6Qghv14t9rh1T8mepNDZJVEZFk7tYjLDhBUyuWW?= =?us-ascii?Q?tOaIx5wapoclusaLNeutyQOiXfinWdHX9qEMqQPAqrtsMZd481exVUkAlaTZ?= =?us-ascii?Q?+thFVxOb1ShA1kCMZoogXBkSSQ1s6e4xSnn+TH3pGstqucT3pPl0PZxeDSna?= =?us-ascii?Q?58mQHybZm2qkSWw57AsZU4nxz/GO32FV1fd2UI4z0UufWjMRHD4hgechCvhO?= =?us-ascii?Q?9KTO/1Xd/Eb/ksl3nRCkg+M2TgBhhUGv1tjnISzNCGfu0hsYdSGlRhYoKDQG?= =?us-ascii?Q?AE+CJiivx5ezHyDNv5EPNAfoC4u9DEDKtBui7rHfngWQKCuBdBF6VF/hAkZF?= =?us-ascii?Q?bElFBgfnYEvskBZnQ6NYgdFynJcgD6pSK/ptmjdAatCelBXhyQ6y2dHS1Jdl?= =?us-ascii?Q?PmIWWExxFZZx6fIWf4alXrUPsbQJTwCbq6vPHq0okvqlFeFADA6iWogGSL9n?= =?us-ascii?Q?bPEy4qqG3aEYf8NX9gs=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f93acf58-f6c1-48a4-9774-08dc1008ed3b X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2024 05:16:10.5594 (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: P2qnvFJNmsq8m/WxsKZ4oy+oBhBDBTR8Xu4O1m+ZkbuoKqubQ4fw4sQ4QAwdemtgdJE+Vu6zSke6fSw7eOI5EA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB5779 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,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: CUvSxstVuEdtkGQYiQNwBQuCx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=KkdaxDpq; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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 Please ignore the V2 patch set and help review the following V3 patch set.= =20 " [Patch V3 2/2] UefiCpuPkg: Check lower 24 bits of ProcessorNumber" " [Patch V3 1/2] UefiCpuPkg: set EXTENDED_PROCESSOR_INFORMATION to 0" There was build error in the v2 patch series and the error was fixed in V3= patch set. Thanks, Dun -----Original Message----- From: devel@edk2.groups.io On Behalf Of duntan Sent: Monday, January 8, 2024 11:56 AM To: devel@edk2.groups.io Subject: [edk2-devel] [Patch V2 0/2] Change the usage of input parameter Pr= ocessorNumber in MpInitLibGetProcessorInfo() of MpInitLibUp In the V2 patch set: In "set EXTENDED_PROCESSOR_INFORMATION to 0", set EXTENDED_PROCESSOR_INFORM= ATION to 0 in API MpInitLibGetProcessorInfo() of MpInitLibUp. This commit u= se ZeroMem() to set all fileds in output EFI_PROCESSOR_INFORMATION to 0 bef= ore StatusFlag field is reassigned. In "Check lower 24 bits of ProcessorNumber", use BIT24 instead of CPU_V2_EX= TENDED_TOPOLOGY to clearly tell that processor number only occupies the low= er 24 bits. Dun Tan (2): UefiCpuPkg: set EXTENDED_PROCESSOR_INFORMATION to 0 UefiCpuPkg: Check lower 24 bits of ProcessorNumber UefiCpuPkg/Include/Library/MpInitLib.h | 2 ++ UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 ++ UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.c | 19 +++++++++++-------- 3 files changed, 15 insertions(+), 8 deletions(-) --=20 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113357): https://edk2.groups.io/g/devel/message/113357 Mute This Topic: https://groups.io/mt/103591526/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-