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 C078FD801B1 for ; Thu, 27 Jul 2023 02:21:00 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=kgFpalIX89BBdi617Nn7PuysVBSJfIbVCcbjpdhg5KY=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-IronPort-AV:X-IronPort-AV:X-Received:X-ExtLoop1:X-IronPort-AV:X-IronPort-AV:X-Received: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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:X-Gm-Message-State:Content-Transfer-Encoding; s=20140610; t=1690424459; v=1; b=HQ98cE6j1sg8kv8CRhKjsEUuvueU7FMLUXT6BTmhK2nDf1bEHKM1moyWZ6GKVaa6dpkIH5Qd Ma/MUvUpyNe+JKpRekbd28cXHsYOMDgvLQXh6TU4OuTgPQcErs1ls4+S1gR8Ekhhl5xhQZLXdGm ThxmrO7T+aeQv2MnRmnVhQHc= X-Received: by 127.0.0.2 with SMTP id Y5UQYY7687511xMnrNNjdkRj; Wed, 26 Jul 2023 19:20:59 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.4235.1690424456424173367 for ; Wed, 26 Jul 2023 19:20:58 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10783"; a="399122585" X-IronPort-AV: E=Sophos;i="6.01,233,1684825200"; d="scan'208";a="399122585" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2023 19:20:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10783"; a="756460957" X-IronPort-AV: E=Sophos;i="6.01,233,1684825200"; d="scan'208";a="756460957" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.55.158]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2023 19:20:57 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Ray Ni , Jian J Wang , Liming Gao Subject: [edk2-devel] [PATCH 1/5] MdeModulePkg: add MpService2Ppi field in SMM_S3_RESUME_STATE Date: Thu, 27 Jul 2023 10:20:36 +0800 Message-Id: <20230727022040.1910-2-dun.tan@intel.com> In-Reply-To: <20230727022040.1910-1-dun.tan@intel.com> References: <20230727022040.1910-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: NmaDKJ8VFPgYXvPLDt76yWtpx7686176AA= 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=HQ98cE6j; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 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) Add MpService2Ppi field in SMM_S3_RESUME_STATE of AcpiS3Context.h. It will be used to wakeup AP to do the CPU initialization during smm s3 boot flow in following patches. With this field, we can avoid sending InitSipiSipi to wakeup AP. Signed-off-by: Dun Tan Cc: Ray Ni Cc: Jian J Wang Cc: Liming Gao --- MdeModulePkg/Include/Guid/AcpiS3Context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Include/Guid/AcpiS3Context.h b/MdeModulePkg/Include/Guid/AcpiS3Context.h index 645496d191..b1c177e072 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 - 2018, Intel Corporation. All rights reserved.
+Copyright (c) 2011 - 2023, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -20,6 +20,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent typedef struct { UINT64 Signature; EFI_PHYSICAL_ADDRESS SmmS3ResumeEntryPoint; + EFI_PHYSICAL_ADDRESS MpService2Ppi; EFI_PHYSICAL_ADDRESS SmmS3StackBase; UINT64 SmmS3StackSize; UINT64 SmmS3Cr0; -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107279): https://edk2.groups.io/g/devel/message/107279 Mute This Topic: https://groups.io/mt/100383957/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-