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 C50BA9415E3 for ; Fri, 17 Nov 2023 09:40:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=VYxn1GyzjkCFmFscqASnTGToOgErGD/U5Ndif4FGO2M=; 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=1700214034; v=1; b=vW57rOj91BJZZE+HXQEGdTVPfVrXD8R9IquwgJQXNJ9Vur0uu+USt5WZ04rRg+3wY4tE2ALp 9AGDoc0fmx+GuwMHSsN1e+Z/biQHC6wfDfBt1ruANcNEP5gIJfg4opqDbWA7Ze5xekEqHCyhipE /aTDv4McvIeqxAOdx5d+e7xY= X-Received: by 127.0.0.2 with SMTP id 4TTAYY7687511xGBRTTIoJ7G; Fri, 17 Nov 2023 01:40:34 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.8460.1700214033363346575 for ; Fri, 17 Nov 2023 01:40:33 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="376319667" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="376319667" X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 01:40:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="800447587" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="800447587" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.55.43]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 01:40:14 -0800 From: "duntan" To: devel@edk2.groups.io Subject: [edk2-devel] [Patch V2 0/3] Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. Date: Fri, 17 Nov 2023 17:39:54 +0800 Message-Id: <20231117093957.621-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: rY673axgFNW0OUIUQ8Hbt8iKx7686176AA= 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=vW57rOj9; 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 In the V2 patch set: Added more comments in the new MpInformation.h to document that some fields in this HOB may be invalidated. 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 | 6 +++++- UefiCpuPkg/UefiCpuPkg.dec | 3 +++ 6 files changed, 12 insertions(+), 3 deletions(-) rename {StandaloneMmPkg => UefiCpuPkg}/Include/Guid/MpInformation.h (71%) -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111347): https://edk2.groups.io/g/devel/message/111347 Mute This Topic: https://groups.io/mt/102644629/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-