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 0F01D740035 for ; Tue, 20 Feb 2024 03:42:13 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=1YIjx78umpAY/0SeUjx2ogOds6eAi8D/eDgeYldj8C8=; 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=1708400532; v=1; b=Z1DLCK4FXcQ5HgnNN9NftgHVuQTi5RttL3eGzcluE6zekCTKVirU7x9+a0yG/HgHK7DmU/Fx aOc53WqYPOqcj2u6qZM6kLWm4hTIh01Lce/P1LNAq+4qEyzobsBYRHvWRdLs1bHS11ws0FaHBpV f79RFOmX1kAHcO2b4fv8/yhs= X-Received: by 127.0.0.2 with SMTP id UEm5YY7687511xNzCDb4CKoy; Mon, 19 Feb 2024 19:42:12 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mx.groups.io with SMTP id smtpd.web10.5855.1708400532269219051 for ; Mon, 19 Feb 2024 19:42:12 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10989"; a="2633360" X-IronPort-AV: E=Sophos;i="6.06,171,1705392000"; d="scan'208";a="2633360" X-Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2024 19:42:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,171,1705392000"; d="scan'208";a="4624320" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 19 Feb 2024 19:42:12 -0800 X-Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 19 Feb 2024 19:42:11 -0800 X-Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 19 Feb 2024 19:42:11 -0800 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 19 Feb 2024 19:42:11 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lo8MQUKcf6XS8LgfPxMZKAzJAFWNLi6rXtG1qrj+rWImH4UmVpW2qtqWgDhP/FVI094tMJWfZBphkJCGGSv1cI1W9q3eiYfEExzfyZSUzGgSrYJ3Lsd5zjXwdj7DrziYBNv9qKTqnMrmokXEsuzSlUIiW6CbHfp2zZV3KGIGYVIpKlSfbT65xgrfExKlVWU6l/S2D7qFXzVLJUo0xtDUfR/+k6yjMYQmYxgFP0xlz/SAZma5t2J+Mq1A+bVQrnTy08LOfoFvECtbdSQ+2AnSbBwCvuD5MZRtbLs/dxfLB/xfWN+Ys86CVV6UZOo5ZfxJQsdEWuEteR/l2mOpOPqDLg== 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=+QcI0zXZjJ0py+DU2RKitBVP6zF+eizimnlkQCQJoC0=; b=DoGOM4fyDnaAgVh/W39rc6SLpNmDNtr+rKvkO4gWHgwUVHvPHi1Zx3CEsdJQIfTFB2ued57NDzCYucFtOLP8VNK5oTTRzYI4lIW1+Yhd9Tl7L3tI3Ek7ZCQVve2ugXW442F5cFLsCL/kUDAWWcgxn4PZyFa+KhozhOmWEpsZs7MNw1mNIaj+MubMSN5mQ7j7L1EVGqaqJFIDIqoMML7WLyaSn6Y/MZgaw2NiM0es2xEjRp1Pgd/f1tfRMLP3sC4fkrJtrv78UxZ1IPzY9/aOiPu+uec38taxUSCZDjp+3fHO1//qOaHm0EO8rfLHtzAmnI1uoJ+CjXl6j9WLY/XRyQ== 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 CO1PR11MB5123.namprd11.prod.outlook.com (2603:10b6:303:94::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Tue, 20 Feb 2024 03:42:09 +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; Tue, 20 Feb 2024 03:42:09 +0000 From: "Ni, Ray" To: Gerd Hoffmann CC: "devel@edk2.groups.io" , Oliver Steffen , Laszlo Ersek , "Kumar, Rahul R" Subject: Re: [edk2-devel] [PATCH 1/5] UefiCpuPkg/MpInitLib: Add ProcessorIndex argument to GetMpHandOffHob() Thread-Topic: [PATCH 1/5] UefiCpuPkg/MpInitLib: Add ProcessorIndex argument to GetMpHandOffHob() Thread-Index: AQHaX/HUOvBHfKVOKU6qyemGRb93RLEQ9fVQgAB8egCAASengA== Date: Tue, 20 Feb 2024 03:42:08 +0000 Message-ID: References: <20240215093149.251319-1-kraxel@redhat.com> <20240215093149.251319-2-kraxel@redhat.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|CO1PR11MB5123:EE_ x-ms-office365-filtering-correlation-id: 9eb1628b-e433-4f50-ffa3-08dc31c5e9eb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: 86yYnIE/GNrhEzXu6JLGUHre7mHHikvHSnuPSrjPPlgjrZ389SMsqQKShezlDFJgTpieHPVUkcjvD6bpAEPS0lkZQbLI7iTwasITrumgBedtyV/3MuAUd436BRScQ+0/SpjhxzUERY9VNwTh1c8aAr9+L0lkD+waWsXt6/vIfZvksQxvqD6Gg61zqfguTcGXIZos/r8hLa3z0j/hJbJ83TDnhbBeNSZA/XwW8yi5nnJUHPFWuX3ADSRCYirGrc6mKeCNaMruo3XDsuKCdypRKeajQrGKKjxAEwUV3xQo01b9EpaZQFzyYq1Ub92cg1B6Ql+9jnQLTTtFSye710Y+2z0CgOOd1IcDHFT9xAzGhJc4EIVhcNyeYqP8AdvZ3/kUM3606lb3ZUkWSuvYDyzaWOfUp1+v+Cow0CTe2pp8tN4Ad8d7w570J4TaHRgvvWTUeRR/4p+9pTzihxVcxSuhIybW75V+Py4UlActDIeWjTvhys1o3GarMHFvARt9bRMks0csYnYm34QaJEEX8iM8LXAwGRIzsInjA6ns9aH7VqmmYIiiWaPQPkq5nDvghqcfptR6aKtXuQUM0v/u1r/iwtNuC0ojAX5tZdjsDAVjk01XcwL3PinJOCxWQJTVdwNl x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+IZgQAdTYK+qiPC37YjGiI1ZhoGgYEip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8T/97+vcEJOSr+76uKFty41qOKk6z7Phww2uRiCy3+rQY8Wk9?= =?us-ascii?Q?hQi89qm+zqsW2cImzW5yUWhenUWcf3ePc09M7Jwk9Y6LSZoy+WA4P3u+Dfgb?= =?us-ascii?Q?xhagbqh79S697rprvXPqQcHE8aFf64hlxoD0N2SdUIsJowsR6iRHfX3YBCxC?= =?us-ascii?Q?HyoxoxUQd4ImxSRn8rwXhlGuzxJ3jDcgQk7VR/nYVLUwtNoOsgKgeKZYrUUh?= =?us-ascii?Q?0XZEwANydpPlPinTP5FSgtAfhNp81l+7cG1xYytA3t93YHGL4dBgGmecNapr?= =?us-ascii?Q?cRGIQQ36Vd2GorgbUwFq6z57CdbDAYVEX+s64Eg9isSuSRMi64SpmIDwP/6x?= =?us-ascii?Q?S5Bnh0XlyJ2nFY+Jq3U4uJfij9fcVSa1KBrNZ4osn5auu734xq3Ruz1mDb6r?= =?us-ascii?Q?lYozPH08y+c1pHNDjb9JmV0r68lr5L66WcQkYma4xMpGIJDWGJHz5UzMq1Yq?= =?us-ascii?Q?4XFRbGRyZvqicI/tVtiqpNw4DatIGnJQvR7ifeo6zmcIEihWKcCIeK96gjMt?= =?us-ascii?Q?kfB7qowZK9b7vg+s8bxwq1WhvCSB1DWkRfnw4izULbQQ0cd5kguSTgAPpAUP?= =?us-ascii?Q?2OFVfVqQlHNbAqgv3R/gObqlgwW+7aZHcpJE0vBSo0euQWWgpccNDtTPJXqr?= =?us-ascii?Q?slNbOrdlYWHEXNQkQXI=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: 9eb1628b-e433-4f50-ffa3-08dc31c5e9eb X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2024 03:42:08.2392 (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: WU58eV81Kj5qJlBM7YgO9s4Z1JOwT/Qa7PoXS9xfQAP5dWC2lbE+PI073kUE4pecn2D2fB83KZn8hFMSr5iB3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5123 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: Ayx8ni3xr4vKIijZF26QGxT4x7686176AA= 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=Z1DLCK4F; 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; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") >=20 > That will only work if the HOBs are returned in ProcessorIndex order. >=20 > That happens to be the case in my testing; the HOBs are returned in the > same order they are created by patch #5 of this series. >=20 > Is that behavior guaranteed? MdePkg/Include/Library/HobLib.h doesn't > say anything about the ordering. The HOB item order follows when it's created. The HOB structure implicitly guarantees it. I am aware that in a production server UEFI firmware, the number of HOB ite= ms is huge. Enumerating the HOB list multiple times is a big cost. -=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 (#115619): https://edk2.groups.io/g/devel/message/115619 Mute This Topic: https://groups.io/mt/104369841/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-