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 981F7740032 for ; Wed, 30 Aug 2023 07:34:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=VjC4tMQc7yG7gO7rihk9mCxLZW1XA5aVMr28yQxAGRU=; 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=1693380894; v=1; b=EBzT9VagGKLhX9VvLEENC+avGFyIDz18M6uUqYejGbTX6wduKOqegPkIWwhMesP3qgwrZGmS 57Q/kJIpDBav/U7LoVy7ijJoEspyLYx6fXiZYZODXzIrFje5OZ73s5zaQQxNMahtqvs6ptB8LPt 7iVlsEr2Ejv1iYaAak0F7BwA= X-Received: by 127.0.0.2 with SMTP id 6buLYY7687511xczbhMv3MLw; Wed, 30 Aug 2023 00:34:54 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.8841.1693380893054315100 for ; Wed, 30 Aug 2023 00:34:53 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="372977040" X-IronPort-AV: E=Sophos;i="6.02,212,1688454000"; d="scan'208";a="372977040" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2023 00:34:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="768325797" X-IronPort-AV: E=Sophos;i="6.02,212,1688454000"; d="scan'208";a="768325797" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.55.43]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2023 00:34:49 -0700 From: "duntan" To: devel@edk2.groups.io Subject: [edk2-devel] [Patch V3 0/5] Use MpService2Ppi to wakeup CPU in Smm CpuS3 Date: Wed, 30 Aug 2023 15:34:16 +0800 Message-Id: <20230830073418.586-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: XhQePLlHfmZWOl6W14J2cCQDx7686176AA= 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=EBzT9Vag; 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 V3 patch set: 1.Adjusted the order of some code in InitializeCpuBeforeRebase/After to make the code easier to understand 2.Remove the function cast of InitializeCpuProcedure. Only the 'code refinement for CpuS3.c' and 'use MpService2Ppi to wakeup AP in s3' patches are modified in V3 patch set. Dun Tan (5): MdeModulePkg: add MpService2Ppi field in SMM_S3_RESUME_STATE UefiCpuPkg/S3Resume2Pei: prepare MpService2Ppi in S3Resume UefiCpuPkg/S3Resume2Pei: assert for invalid excution mode combo UefiCpuPkg/PiSmmCpuDxe: code refinement for CpuS3.c UefiCpuPkg/PiSmmCpuDxe: use MpService2Ppi to wakeup AP in s3 MdeModulePkg/Include/Guid/AcpiS3Context.h | 3 ++- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 292 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 25 ++++++++++++++++++++++++- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf | 3 ++- 4 files changed, 185 insertions(+), 138 deletions(-) -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108115): https://edk2.groups.io/g/devel/message/108115 Mute This Topic: https://groups.io/mt/101047980/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-