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 50B50AC0B6F for ; Mon, 21 Aug 2023 02:10:05 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=4wadw7McZdeEBZOa0ubEnpRmIwrMvSzV8w+t5TaXDzc=; 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=1692583803; v=1; b=bEUGVcx3oYU8cRfOl9bIyvbRMFsky/UPcEV4jSmp8jFPur2/8gqDSypkAn08cn2qRBd+JRfo mA+zLSJ0gJFxDCxIqyWe+KslDyVWSA76TODAcznLnw/QWK+wTp5VPGdqNkWYyRb8373pyd6rIxD qPim1uKMLUqmcMVtmGZvSPRA= X-Received: by 127.0.0.2 with SMTP id 3dWuYY7687511xiOgVH4cvd5; Sun, 20 Aug 2023 19:10:03 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.2394.1692583803192993573 for ; Sun, 20 Aug 2023 19:10:03 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10808"; a="377212439" X-IronPort-AV: E=Sophos;i="6.01,189,1684825200"; d="scan'208";a="377212439" X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2023 19:10:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10808"; a="909521881" X-IronPort-AV: E=Sophos;i="6.01,189,1684825200"; d="scan'208";a="909521881" X-Received: from shwdeppedeas070.ccr.corp.intel.com (HELO shwdeopenlab702.ccr.corp.intel.com) ([10.239.55.158]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2023 19:10:01 -0700 From: "duntan" To: devel@edk2.groups.io Subject: [edk2-devel] [Patch V2 0/5] Use MpService2Ppi to wakeup CPU in Smm CpuS3 Date: Mon, 21 Aug 2023 10:09:42 +0800 Message-Id: <20230821020947.346-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: 3eltPBPhZWkCHBeSJ7frav5Ex7686176AA= 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=bEUGVcx3; 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 V2 patch set: 1.Put MpService2Ppi together with other Return*** fields as they are a group of fields initialized in S3 boot path. 2.Use %lx print format for MpService2Ppi 3.Implemente InitializeAp and InitializeBsp as a single function InitializeCpuProcedure because they are doing almost the same thing *** BLURB HERE *** 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 | 298 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 25 ++++++++++++++++++++++++- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf | 3 ++- 4 files changed, 191 insertions(+), 138 deletions(-) -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107900): https://edk2.groups.io/g/devel/message/107900 Mute This Topic: https://groups.io/mt/100866127/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-