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 0F1A5780091 for ; Mon, 19 Feb 2024 03:02:30 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=dRkzDQAuLTbf9mAmwdMJT4xZG0JO9gaPcpzo2SG290I=; 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=1708311749; v=1; b=oi5Z5sVPcTgYnLnmukjUPKZdE6fwHRu6cYC9+62LhdI8t5XPfqjs5qich7LXXpBXeUa97QdV nJqvkXEaUqpyW3BY92Ae4gIo40GPC7BMzDOsF9m4a0r+Q6HX7Sn0N3CKCVNFY0hAr9wtxn4eyBS wlTOOp8EY8vIQCXejrPHT8Gc= X-Received: by 127.0.0.2 with SMTP id ntbpYY7687511xg9Q9y2LQX7; Sun, 18 Feb 2024 19:02:29 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mx.groups.io with SMTP id smtpd.web10.33482.1708311748965499963 for ; Sun, 18 Feb 2024 19:02:29 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10988"; a="2280419" X-IronPort-AV: E=Sophos;i="6.06,170,1705392000"; d="scan'208";a="2280419" X-Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2024 19:02:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,170,1705392000"; d="scan'208";a="8979029" X-Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmviesa005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Feb 2024 19:02:28 -0800 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 18 Feb 2024 19:02:26 -0800 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) 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, 18 Feb 2024 19:02:26 -0800 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sun, 18 Feb 2024 19:02:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KJuJry0xdWU7+yFQ9Z1ZZcv7jpkMQaSeuTn6VnbEoDhbM9MJ2IkFUe557ofU/NG/x2yPyhvgAHjSCN54ecE7m5mzFR+u49bAWz7Jfu6pIh+nZgUjlMi0Z2UsyjozhjMV/h/cSpsjTgb1y74yKHnDdP7Mf9wvZ3uXMffDoUf/GvC78IKwDHeTzetH/TL+VRBdPh/xUBNZP4tAVtGF8JWmlSUcYNIQV1MjLxl6SebmvU5Wym+x3uozkr3ImzP8SP7tsAUyxaLKuugypvAHl9hYEGWsb/98vI2+TimkXJZMw/jTzo675Mh1wGYt1SiuAXSYCK3vFRtpC/MsyFBIV6pjrQ== 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=QcgGG366cYqLIpegZEvlYQt01ONMqRgzAusyEvIrCtQ=; b=k5RkAFyvkLbcEDzcZdpA6IHlxmzg5+SzmulhlDZNTa2+pXBqvAMg5cGIyCbyfZ5Cws6e+cyNYdzcgAWT6LgX3l3nE8MGhfUt3cI4pMnEgWPxeo2VTDjTJvVfg8xbWD4qvP7ZyzkdQwSc4rF3MesKv3VxsRsszZY/kPRYUOdHexllggWETsEo5TVRu7UT8YrwTQqwVB3z7/Na4areG1y2J86C5hz6V/bJi1OEKYhsOF87HNywutNoviPUEcCyL5/LHbiV8eTJc3ELLrTSgUGYoW9q5Q0QZEj4fG0PzEkoHu+p6My0hm7UP6ot+etc7zLIbVaCccaqMpl/n/DPZmochQ== 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 CH3PR11MB7866.namprd11.prod.outlook.com (2603:10b6:610:124::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.38; Mon, 19 Feb 2024 03:02:25 +0000 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::8985:d1bc:9df6:61cf]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::8985:d1bc:9df6:61cf%7]) with mapi id 15.20.7292.036; Mon, 19 Feb 2024 03:02:24 +0000 From: "Ni, Ray" To: Gerd Hoffmann , "devel@edk2.groups.io" CC: Oliver Steffen , Laszlo Ersek , "Kumar, Rahul R" Subject: Re: [edk2-devel] [PATCH 5/5] UefiCpuPkg/MpInitLib: Add support for multiple HOBs to SaveCpuMpData() Thread-Topic: [PATCH 5/5] UefiCpuPkg/MpInitLib: Add support for multiple HOBs to SaveCpuMpData() Thread-Index: AQHaX/Hg+S/MXUjHUUqYOMWFc0G/FrEQ/v3Q Date: Mon, 19 Feb 2024 03:02:24 +0000 Message-ID: References: <20240215093149.251319-1-kraxel@redhat.com> <20240215093149.251319-6-kraxel@redhat.com> In-Reply-To: <20240215093149.251319-6-kraxel@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|CH3PR11MB7866:EE_ x-ms-office365-filtering-correlation-id: aae8055a-591f-48fe-d3bf-08dc30f732dd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: Hnr5zpWd1NXFov6CL207XKGvU/d4Dqg6Jp0pbf/v3jeYt9BujJHBc4dbZU1tfyJ0cchQAVPFTyrx79cxp+qDQm1elQ13j/+PidMG/AxXuVClNgsxiGlL3SA1EZ+LCp+EmEvlcyZ4geSi+SQCI/rPxz8o1pzXzLWszrdtNlHAF+EKMmnZ4zvmWlp/nRUo8QuizOB92DXx/tc61zBFwrjyZP9diO3NJ9u0ffudzMseXAparxlAuy9gpPrCcOvQQYdG0ZeeTnrIO8kxUEhUHHwYrcIZTxWAE+avdAtvW3pesg6cygp/NHJjuwu67Am0XkE61WDJQB8mi6OttezM6Cfn9Baho9mFCYeIJIY7Zz/dRCAuzbItgYBBoG6Y4qYHnFqvXPsRofAsrNsGLBxSDHLcB4eRzbd71T/VGXYwvdkg1envPmK13XXr4avrD/6I2hft7kHB1t1RWzgXtbBDaMIAheyWz4cLn3NRmT7J+GY7/ucAOtIX2LwubgvP7UJdthcSqODbZRjIGLrT0rdOTQzOAsnY7kCVtCO7yd/NLuJSxw6CUHX5F0GUy4hyZKD88t3CZ+uvvtEJijx7xHmCrMtEzNJ2tZFE/L4xeR7B6cvk3Hg= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vQlPHOQ/WQc8xxP0zm3kinc/LgD+wRJRAf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-ascii?Q?aqbFTEIdFIxQzzFBrYnVovYvW5iwc99f6tSDNKi6ahFPR9bYallB1hKDL4bI?= =?us-ascii?Q?6p9QjlvYyBE6lWZJUN/VXb9mBzkiJoRyoc9PTgMK3FQitiNnsBE0rotFA60N?= =?us-ascii?Q?6YzOVOOZwVW/5lryBP4FvfeLytJF5KvAynNiyL7ZAjGgUdH1TKQkkO9R1dko?= =?us-ascii?Q?Y52t+fTo1/GjsEBm63J8dG/wiGKVVqehneFmdnJD3PfipYe4ei7yFlqoYSYB?= =?us-ascii?Q?m75FtRAw/2IA6FTGWdDUKsA+Z3pdviUvCOoCHthf3dIQUOBGOu1TfWZ6ZrJG?= =?us-ascii?Q?yDWBdVBF/K78ii4U6rjnwkq0zV5hUM23p/qKKYGNpCN3eyd0j77gIL66UUJN?= =?us-ascii?Q?LoDmX5e95/8tKUlBDYWDvkiGrMLPpUTOl5ZeC8kOP/AYZGuf3emwoS6jUPag?= =?us-ascii?Q?WMqV+0Mfqhn4US7LI0aQEI3nVAWPLpdccJlOH05jH0xpn1Fwcyh3cXBsCWLQ?= =?us-ascii?Q?srHHp5V9tNL5fES936bkiu9nOksYOilATmHfv7rZrTFMhzAGlVGzOw2sJIZq?= =?us-ascii?Q?DRwpqTIoJAAFEM+DYxK+x0SnxQ3T6s6EK3sVIQFmkUxLVOMHXpdDF+rrEbUq?= =?us-ascii?Q?bUugSSh6jgio2fwsZQ/YBlTe4Bch3DGHy5sjeOE3FJdrW+8xwAlte3nDP2Vf?= =?us-ascii?Q?CK01QWmjeaXSr6FC34Y=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: aae8055a-591f-48fe-d3bf-08dc30f732dd X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2024 03:02:24.7969 (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: W7wNdRPVw+62RFZ/rUfYMhIM62eDMuTw8QwYXKAunCqmmb/DjZQ3UKHqhCXuoq1DLEr+OUVJUpybd9oRkH4y0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB7866 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: NZn4kZWINHMzgBtqXkuXbeBCx7686176AA= 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=oi5Z5sVP; 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 > + STATIC CONST UINT32 CpusPerHob =3D 128; 1. Can you refer to https://github.com/tianocore/edk2/blob/9979c887ef54023c= 9e262242db02c92d11b7f1e5/UefiCpuPkg/CpuMpPei/CpuMpPei.c#L572 to avoid hardcode 128? The MP_HAND_OFF structure change may cause 128 an invalid value. -=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 (#115580): https://edk2.groups.io/g/devel/message/115580 Mute This Topic: https://groups.io/mt/104369848/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-