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 5341ED802DF for ; Wed, 21 Feb 2024 03:36:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=0tA+1GbFHVB8o1cA+btNroCq2RLb1Iaz9lzmU1E/Oqk=; 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=1708486565; v=1; b=P1L3nxZBWzYu303JGp4IhAyqMEgHsbAn2KDuEHlEI8zFSpiDaVJWoWKgDj+e5rIdbt+ETnoZ zvmCLzmqKUvl+OQnBI2v13SPv7zQ8Lh4TJMuYRHt25dAnGxjGwSzUDn6h5yKEj6KTU5ZCy3g0xQ Emrpyzih5m5b9mFjc+2RSJXI= X-Received: by 127.0.0.2 with SMTP id 8bzZYY7687511xVSvk8Yx5Ce; Tue, 20 Feb 2024 19:36:05 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mx.groups.io with SMTP id smtpd.web10.5528.1708486564266568288 for ; Tue, 20 Feb 2024 19:36:04 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10990"; a="25090693" X-IronPort-AV: E=Sophos;i="6.06,174,1705392000"; d="scan'208";a="25090693" X-Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 19:36:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,174,1705392000"; d="scan'208";a="42474088" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Feb 2024 19:36:04 -0800 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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; Tue, 20 Feb 2024 19:36:03 -0800 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 20 Feb 2024 19:36:02 -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; Tue, 20 Feb 2024 19:36:02 -0800 X-Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.40) 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; Tue, 20 Feb 2024 19:36:02 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jqhndn7ljOOc4y1OFqwCQ9giiNYYE0ZlOG4jWQpL3cXI9BpGjDppBlFoK70l9iHgAmGhs2w75LIY8QYSNELpMUDGdO8AwhqNne2uQbZczL2O3gUJxvGizhMB/tKpwgQkMJU1QfQxKUVTTRwnisLb5NfztvVRlPMqrixfQRkNrPU/K2WypwCA4xbq4DnxNxjDfnTvbrVgwexGoWdu6x5y41WaGYUXQnCMOajeqgmMTIAY57vTGJMf5yxmrxNV8vSksFG1ezJyNFY4i4Kqt0ke90XOGsd02xzez2FFFauccyB45/221xLZWvTng6HOulQYR9nyv+uJDyTAJtZQTBLcHg== 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=+8Mx6XrMIQKyz4Q18kKoMXAn0zwhrlfU9lCxr6ag/Xs=; b=hkslUFixZ96fhZeV9h0/MvBLls6ega3b29hYuLdFPmczllLT3zJuh7hQyTg43f1dIWOJE/7V5dTiEB8QNnvWpYYFene0JKr02uAFrFTiqDB3F0iXRnRvCW6hlpCvC1H3qLZZ1p1LrbhBhJPPAMdLfLZeCkb1UicJt5dvudW8SfQPXnTGBZ0bEQmY+XR0WhWUhLw+fXGehSESR8KVbTLTeudCuILUIrsM8lMoZfNEk1Y/+4j2IBwZXEFM86uNYFaL5c49Jwiynb2by5HCeJ+ToT19Hdv/TYDOGKFGjzr4M88dZRah8tbRde88fOH6EZ5HmW64q4+0bgs/TZrrEEpKjg== 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 CY8PR11MB6937.namprd11.prod.outlook.com (2603:10b6:930:5b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.38; Wed, 21 Feb 2024 03:35:55 +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; Wed, 21 Feb 2024 03:35:54 +0000 From: "Ni, Ray" To: Gerd Hoffmann , "devel@edk2.groups.io" CC: Oliver Steffen , Laszlo Ersek , "Kumar, Rahul R" Subject: Re: [edk2-devel] [PATCH v2 1/5] UefiCpuPkg/MpInitLib: Add support for multiple HOBs to GetMpHandOffHob Thread-Topic: [PATCH v2 1/5] UefiCpuPkg/MpInitLib: Add support for multiple HOBs to GetMpHandOffHob Thread-Index: AQHaZCU126seBZw0FEiRM9n00r0KurEUJSbQ Date: Wed, 21 Feb 2024 03:35:54 +0000 Message-ID: References: <20240220174939.1288689-1-kraxel@redhat.com> <20240220174939.1288689-2-kraxel@redhat.com> In-Reply-To: <20240220174939.1288689-2-kraxel@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|CY8PR11MB6937:EE_ x-ms-office365-filtering-correlation-id: a77d725e-0bc3-4f9b-06b2-08dc328e35d1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: ZYHMatc4LJofESRpUv2mM+LsuYUMAhULghwItl8iSA4hY7U9Tf2sNgjTTzXI4VIIJxVAxBkNLLG1YadzW4kdXrAUb7mxLOMDxDAQ9im+Ix/TkU18XjlBZPFrYx3atPwGspTO0Cu2lRCkMyxtGwP5qctX7qzbgcggsrLFnvBOhGGvUSRcXi//r1Oaubq3rhHresduAjSRMaRAoA0o8RjMzSyC8ZbqbtAoGe/SUTM6HBK82rWgvnZpbUWzn2sq4hFhPukM/auHG0gs88LLwASPWPzKaLssolAJ6RuCeLeUy/G5BgV/igh3lXdlqd2Pn/fxdEh9tpOaDHIlqlMyQrpQoMl9v0oYz2CIXvjYt/YbJDYlY1HR+h2qk2jyGEIWAcczjOTwxUJ+GQQMBXaAUL8lTQ4exLMVFnBTAhFHq+nn526Nt8ujEPri1whih/3eNbnaMWDucHSlocfwNF96zWf9ZlTOPBZI0q1dS5dWirMNny53IKBn6LecUWBJJo1WvuPEtv7RrG4yai4v1nYdtBIFenjyxD2vEcilCy4XxkZoIatdykNywulqa1PW7Fa5nDHjTG5b6f5pI7Z6iZ35j9Zlp/ST41AG2nPE1aZOki722/80UsxfJLAYmjrwXejm6fzF x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?M0k4jI3bS0aN7tlx1LuuTUcrVLhuFEKxCyxmjC6CA9RPKMMs9d3JplupfSPO?= =?us-ascii?Q?r/9220lVrA4uv8glVm9T7Vp+Y1hpQqC896Ity85z8mhBNPGN3AUBFARsJ0Ch?= =?us-ascii?Q?WqE/gfleG2swlYikxE+q4tpcW/5UnCYFk3CTYcXSNPDJZaWFZfbu0L3Du+ru?= =?us-ascii?Q?ad+HgG97l7XA3aWWSKWHM40GEgh0T0NFNdJsVMx9ZLAIGRL7xFN6JRMwUSSR?= =?us-ascii?Q?tAcZjdXICYE1KscOaFP3faBfrUOnmHRVedTzEyTIDj0iKuCs0+kvClq0nisl?= =?us-ascii?Q?Lhe4lp/p8jUf4HoRXqnrkXAbo6cGnzeoM2ZRJKsOQAzTmuhSp8srE6HDASiH?= =?us-ascii?Q?mHxwKrY1wuvdsKCNOuLT9spC0uLZUOBbBAf4xs0W1Wbxt/xqjg7gzmLUwThz?= =?us-ascii?Q?S1yrwnPKG0ZhO72IgYb0OB0KC5UDDrvySawuQCS2kvKH7i7vFBIWSXTfbH7j?= =?us-ascii?Q?I1oDcvr+swQf0KI60ZsqD1VbY86Vi3FL9paORkK83pTGdxwJ+JOHRu410ZU2?= =?us-ascii?Q?gQtgkw4RPtlJjABG5xsfEpFWpA9imoCH0e2FWGpsoluyC76xcHdQJPuVn9YP?= =?us-ascii?Q?4ZA5Xs70eCP2SR2dmmxUFktHErjRdS077P9eht/OQ57CQHJP0EG2qldH5vuw?= =?us-ascii?Q?wzpbYQLBfrMa9GNN24WCVwg+iv6uz+Obz5BoQU7Zp6a7/INGQZey+YP3u6u+?= =?us-ascii?Q?s9PwNNhFV+VpimeOsNz5H2vm7MB7WIt/MfsjhmVBbH9YovTqpteTeIFROVPE?= =?us-ascii?Q?Cror88wpihSy18A1MsQ1xPZYpw2quWn5tOgFMtcieOVUinuGljPrvQ3AlDgL?= =?us-ascii?Q?lTVi0tjcDSx8zg5t3OzYpDtrTlDfXt33G8e/paTROipFRvjLpu+21xkB/zK+?= =?us-ascii?Q?06RDnxK41nhUX1B9PperRkMYDchGUl3W+GN1QT/jMeOceOts54KJE/p9LAtx?= =?us-ascii?Q?li3PNjeUJMonFbUZ2RSo89g/mARjibimLpixizjR0VIxmxDAertw2GpDgG1J?= =?us-ascii?Q?ro8RUkNhepg6lLgqRHR3LOjepRfCvR3mPWXJDtvgFJ0kMPEJPGZkwI3qinuK?= =?us-ascii?Q?+j/Ehtj/Al4NwRzrQT0iome0i2U0RcgoT6nHfixg6gmfi23vuo/rYdkevlNH?= =?us-ascii?Q?7b+RhIPeT6c2cUIx1jrtG5LqK32gw/5AGrvlqFidZ2CwCjXIgYr6VXhmpdZV?= =?us-ascii?Q?T5MPjdkYisPTQXVlDVUlGwf8h77Gb3iPNQt6of7iXYhoVgAXH23NJR0AJ+W8?= =?us-ascii?Q?RvOo0i8w/eD3h2szT8RF5l04u+3bgeDRdpdSXvWU9ZdVHFlAKOvib41Jq41l?= =?us-ascii?Q?L9Si6JF68sMKAaKAtAx/DvG2KO2MOhcgQMUZ4eofkMckSiUn5hyGs0UmuMLo?= =?us-ascii?Q?IlCtfvAcH8B1Tvm+qhx01dXYSOicv6oK9ULa4g6ksZcVQlpAWsRN7X4YDDcJ?= =?us-ascii?Q?xWTRzshO4FQRxZ+Ck3Nb/ejCuKWhLNruwKF/99hdyEHXAnemT015Ae3szYwX?= =?us-ascii?Q?Wvjb1gBvCgjzCdcJB8DWwcuRqhTE48jKEE18pd8nboh7iHoG3Nrd9vj3jIB7?= =?us-ascii?Q?x2MQm3p7wXky7734thQ=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: a77d725e-0bc3-4f9b-06b2-08dc328e35d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2024 03:35:54.9031 (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: H9xQh8Um7/DI3qFzAjfTR6L6pUNmCaQlOjQ6TyxR+vEQ65Y7tI3ydNmI7VjzC8GUvCl8oyt+z5M8fK8jhpo0aQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB6937 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: 75moYk1ZLKz1VDVGHTORN1PUx7686176AA= 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=P1L3nxZB; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") > -----Original Message----- > From: Gerd Hoffmann > Sent: Wednesday, February 21, 2024 1:50 AM > To: devel@edk2.groups.io > Cc: Oliver Steffen ; Laszlo Ersek > ; Kumar, Rahul R ; Ni, Ray > ; Gerd Hoffmann > Subject: [PATCH v2 1/5] UefiCpuPkg/MpInitLib: Add support for multiple > HOBs to GetMpHandOffHob >=20 > Rename the function to GetNextMpHandOffHob(), add MP_HAND_OFF > parameter. > When called with NULL pointer return the first HOB, otherwise return the > next in the chain. >=20 > Also add the function prototype to the MpLib.h header file. >=20 > Signed-off-by: Gerd Hoffmann > --- > UefiCpuPkg/Library/MpInitLib/MpLib.h | 12 ++++++++++++ > UefiCpuPkg/Library/MpInitLib/MpLib.c | 26 ++++++++++++++++---------- > 2 files changed, 28 insertions(+), 10 deletions(-) >=20 > diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.h > b/UefiCpuPkg/Library/MpInitLib/MpLib.h > index a96a6389c17d..bc2a0232291d 100644 > --- a/UefiCpuPkg/Library/MpInitLib/MpLib.h > +++ b/UefiCpuPkg/Library/MpInitLib/MpLib.h > @@ -485,6 +485,18 @@ SwitchApContext ( > IN MP_HAND_OFF *MpHandOff > ); >=20 > +/** > + Get pointer to next MP_HAND_OFF GUIDed HOB. > + > + @param[in] MpHandOff Previous HOB. Pass NULL to get the first > HOB. Can you please emphasize in above comments that MpHandOff points to the GUI= Ded HOB data? The function implementation assumes that. -=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 (#115703): https://edk2.groups.io/g/devel/message/115703 Mute This Topic: https://groups.io/mt/104472308/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-