From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 47DBED81164 for ; Fri, 17 May 2024 09:47:19 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=W1XnfQKLh2rsdcKrBg1IVnBJkAukLooStINu2mxFVGQ=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1715939237; v=1; b=X4yiDnVhCnxXiPM6xWLiQislzMW1Qf8hOoyjxPHF0rFMD1GY6AKqEKpJ5lvm1oyXqfScPmCw VAlaoiYVfwFC8NRzsAFL5N+IiIXiW8ULN3xoBZgWcSQzlecMUBYQppQqrdmG+Xjtz/3P/gvq70X K3rr0VGHf8yNEDQRHVPSMWJhB9/o/5wg+jOp6Gdc+YGnQ3QvDReft2hb9a3krMe+gN2RDeeeBfT RnJ2L0rhKzY9TTOZXcka1p5V3cLaG2rt5VRXLM3Czy4aDZWwRhVnprnOMa7upCgEy5bs+zmoVuJ mVl3ybPvYHGEjY3SBaEMHTF6loHqjq6JCDDJIk0BSsIcw== X-Received: by 127.0.0.2 with SMTP id nZzZYY7687511xq41L4c2a6Y; Fri, 17 May 2024 02:47:17 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mx.groups.io with SMTP id smtpd.web10.35981.1715939207425420009 for ; Fri, 17 May 2024 02:47:17 -0700 X-CSE-ConnectionGUID: NAngBcdgQxuKTn2GXTPSFA== X-CSE-MsgGUID: NRc/okdyTHaKzM6UKYkV6w== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="12318858" X-IronPort-AV: E=Sophos;i="6.08,167,1712646000"; d="scan'208";a="12318858" X-Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 02:47:17 -0700 X-CSE-ConnectionGUID: 5p8adtNGSvmeK1hnNn5D3w== X-CSE-MsgGUID: HCF0EQ7vSdOKpp8miBFvJQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,167,1712646000"; d="scan'208";a="36646926" X-Received: from unknown (HELO shwdeopenlab702.ccr.corp.intel.com) ([10.239.55.43]) by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 02:47:15 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Ray Ni , Jian J Wang , Liming Gao Subject: [edk2-devel] [Patch V2 17/18] MdeModulePkg:Remove MpService2Ppi field in SMM_S3_RESUME_STATE Date: Fri, 17 May 2024 17:46:09 +0800 Message-Id: <20240517094610.533-18-dun.tan@intel.com> In-Reply-To: <20240517094610.533-1-dun.tan@intel.com> References: <20240517094610.533-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 Resent-Date: Fri, 17 May 2024 02:47:17 -0700 Resent-From: dun.tan@intel.com Reply-To: devel@edk2.groups.io,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: cbf37nnYxZMXdfS0hiim4oA1x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=X4yiDnVh; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 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) This MpService2Ppi field in SMM_S3_RESUME_STATE is used to wakeup AP to do the CPU initialization during smm s3 boot when the execution mode of PEI and DXE are the same. Currently, in CpuS3.c of smm cpu driver, BSP doesn't need to wakeup AP anymore. The initialization for AP will be done in S3Resume.c before transfer to CpuS3.c of smm cpu driver. So we can remove the MpService2Ppi field in SMM_S3_RESUME_STATE. Signed-off-by: Dun Tan Reviewed-by: Ray Ni Cc: Jian J Wang Cc: Liming Gao --- MdeModulePkg/Include/Guid/AcpiS3Context.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MdeModulePkg/Include/Guid/AcpiS3Context.h b/MdeModulePkg/Include/Guid/AcpiS3Context.h index 72d173c4fd..6c7237727e 100644 --- a/MdeModulePkg/Include/Guid/AcpiS3Context.h +++ b/MdeModulePkg/Include/Guid/AcpiS3Context.h @@ -1,7 +1,7 @@ /** @file Definitions for data structures used in S3 resume. -Copyright (c) 2011 - 2023, Intel Corporation. All rights reserved.
+Copyright (c) 2011 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -30,7 +30,6 @@ typedef struct { EFI_PHYSICAL_ADDRESS ReturnContext1; EFI_PHYSICAL_ADDRESS ReturnContext2; EFI_PHYSICAL_ADDRESS ReturnStackPointer; - EFI_PHYSICAL_ADDRESS MpService2Ppi; EFI_PHYSICAL_ADDRESS Smst; } SMM_S3_RESUME_STATE; -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119013): https://edk2.groups.io/g/devel/message/119013 Mute This Topic: https://groups.io/mt/106150778/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-