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 E86D2941436 for ; Fri, 10 May 2024 10:09:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=nkn8vwm2TIK7SNU37nx0wI3VJlsQzl/yj3DDQr7Vex4=; 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=1715335776; v=1; b=hyih2fgvHF3u/Z148nljwL4zcSzMSIZh5Zw4Bru1XBIqHBo0gCoymnCAjSoA+VknRpx/auvf zTgZeLPA+Kl9DoRmM6iPibwpRKd3D4Vdfc6jbWvI9gZlpT00yoSnz/8fZ+W/6HfSKx9p34t1Hd7 ysItWJhgE7y6d3fAKDnX5Z4sJvdJBTX7k2sCTXOQrVDvqN/Gqjo0+o2wRHJyKK6AZBMYVgy9R4S I+IGCh2a5kJesu46Z+7ScrWuUz2aPhCAV1XONt937g2dS9XnBvo0Oigds0BW0nIzQRzzEO7ohkv IY1PbeH3Ub5Zlc1ke8qLmriC6OQgqEFxma6Bg6e7ys5fg== X-Received: by 127.0.0.2 with SMTP id z9zNYY7687511xTz1RsFmo4c; Fri, 10 May 2024 03:09:36 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by mx.groups.io with SMTP id smtpd.web10.9485.1715335727366928454 for ; Fri, 10 May 2024 03:09:35 -0700 X-CSE-ConnectionGUID: /FXWfcEuTguUQ+4OzK5ctA== X-CSE-MsgGUID: m00pOC42TPqKBHfCy4bb7Q== X-IronPort-AV: E=McAfee;i="6600,9927,11068"; a="28819243" X-IronPort-AV: E=Sophos;i="6.08,150,1712646000"; d="scan'208";a="28819243" X-Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 03:09:36 -0700 X-CSE-ConnectionGUID: dc0LosyPQ5Ki8aMS/sSXug== X-CSE-MsgGUID: TsNHiFrOQEm3mH+PHbLYUw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,150,1712646000"; d="scan'208";a="60424359" X-Received: from unknown (HELO shwdeopenlab702.ccr.corp.intel.com) ([10.239.55.43]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 03:09:35 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Ray Ni , Jian J Wang , Liming Gao Subject: [edk2-devel] [PATCH 18/18] MdeModulePkg:Remove MpService2Ppi field in SMM_S3_RESUME_STATE Date: Fri, 10 May 2024 18:08:27 +0800 Message-Id: <20240510100827.1903-19-dun.tan@intel.com> In-Reply-To: <20240510100827.1903-1-dun.tan@intel.com> References: <20240510100827.1903-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, 10 May 2024 03:09:36 -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: KMWvsNFT9OlTO63LK3La1sFCx7686176AA= 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=hyih2fgv; 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 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io 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 Cc: Ray Ni Cc: Jian J Wang Cc: Liming Gao --- MdeModulePkg/Include/Guid/AcpiS3Context.h | 1 - 1 file changed, 1 deletion(-) diff --git a/MdeModulePkg/Include/Guid/AcpiS3Context.h b/MdeModulePkg/Include/Guid/AcpiS3Context.h index 72d173c4fd..0cfc81b49b 100644 --- a/MdeModulePkg/Include/Guid/AcpiS3Context.h +++ b/MdeModulePkg/Include/Guid/AcpiS3Context.h @@ -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 (#118810): https://edk2.groups.io/g/devel/message/118810 Mute This Topic: https://groups.io/mt/106018145/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-