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 51DF8D800FD for ; Thu, 9 Nov 2023 02:51:27 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=V3+T9XgffT53RIJmJZQYoVIxopLXtTlRa8FRgOhGGKY=; c=relaxed/simple; d=groups.io; h=From:To:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1699498285; v=1; b=enHUb9bp8+FeEir5NFoGaYJXye4KenOsmdDs+n6AgajGCoeWV+LqP6VRPzV4Afw43oKYvoiW Qw/P2fKuoKkR6G7Eg/TcQWCKNeAI12R0brXv8lVT+AOh8Uw/A/ZL6sPv9KMQz52bsqwUfKAIB6S Ticc8IbX/oFPLthQXybz0lAw= X-Received: by 127.0.0.2 with SMTP id ch07YY7687511xLXTxzL5Sta; Wed, 08 Nov 2023 18:51:25 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mx.groups.io with SMTP id smtpd.web11.113520.1699498285216011977 for ; Wed, 08 Nov 2023 18:51:25 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="8554188" X-IronPort-AV: E=Sophos;i="6.03,288,1694761200"; d="scan'208";a="8554188" X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2023 18:51:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="936706126" X-IronPort-AV: E=Sophos;i="6.03,288,1694761200"; d="scan'208";a="936706126" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.55.43]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2023 18:51:23 -0800 From: "duntan" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH 0/3] Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. Date: Thu, 9 Nov 2023 10:51:04 +0800 Message-Id: <20231109025107.1787-1-dun.tan@intel.com> MIME-Version: 1.0 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: KYuO3jcb1qnxRW0Qy3WeX97dx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=enHUb9bp; 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) Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. Previously, the HOB is defined, created and consumed only in StandaloneMmPkg. The HOB contains the number of processors and EFI_PROCESSOR_INFORMATION structure. This is the same as the information that PiSmmCpuDxeSmm uses EfiMpServiceProtocolGuid to get. The incoming plan is to create gMpInformationHobGuid for both StandaloneMm and legacy DXE_SMM in early phase(for example in CpuMpPei). Then PiSmmCpuDxeSmm can consume the hob, which can simplify code logic in PiSmmCpuDxeSmm driver. So move this HOB definition to UefiCpuPkg in this patch series. Dun Tan (3): UefiCpuPkg: Create MpInformation.h in UefiCpuPkg StandaloneMmPkg:Add UefiCpuPkg.dec in DependencyCheck StandaloneMmPkg:Remove MpInformation.h StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf | 1 + StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 1 + StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 3 ++- StandaloneMmPkg/StandaloneMmPkg.dec | 1 - {StandaloneMmPkg => UefiCpuPkg}/Include/Guid/MpInformation.h | 2 +- UefiCpuPkg/UefiCpuPkg.dec | 3 +++ 6 files changed, 8 insertions(+), 3 deletions(-) rename {StandaloneMmPkg => UefiCpuPkg}/Include/Guid/MpInformation.h (88%) -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110941): https://edk2.groups.io/g/devel/message/110941 Mute This Topic: https://groups.io/mt/102479007/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-