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 9A04374003A for ; Wed, 6 Sep 2023 05:37:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=u2eqnSAL82SPaWXNlQTAhrQdOAbHeHqYXbHuK9HHQuk=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20140610; t=1693978666; v=1; b=RSa+AUeXEjc0PVM82Jps/7z1qaNGjajuNisiHZdewubGTJ09aGoNTsCtXU1YJAW4OIjcy+oL ETIyod0YBRRyHlfJA9jQEwM08akGxV68uhks0wE9XN04EVYITTj/vgBsVroBTzjEQeaB7eMWRlh FWbkeb5rMuo2bRvNKYCBmRAg= X-Received: by 127.0.0.2 with SMTP id rcM5YY7687511xsYHMadLGdu; Tue, 05 Sep 2023 22:37:46 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.2136.1693978665473364434 for ; Tue, 05 Sep 2023 22:37:45 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="375879540" X-IronPort-AV: E=Sophos;i="6.02,231,1688454000"; d="scan'208,217";a="375879540" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2023 22:37:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="811524158" X-IronPort-AV: E=Sophos;i="6.02,231,1688454000"; d="scan'208,217";a="811524158" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 05 Sep 2023 22:37:44 -0700 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Tue, 5 Sep 2023 22:37:44 -0700 X-Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 5 Sep 2023 22:37:44 -0700 X-Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Tue, 5 Sep 2023 22:37:44 -0700 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Tue, 5 Sep 2023 22:37:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kYGId/Dcwee7pp1EoNIL9l+54Sx0JSXLmFVCgCLghErAAqMMPbxvp8IMzpP2wLrclSs2JH+vMhQIZ98O5vdoik1l3MNmwPGNI3lCe+Ra8K7lDSa2BwUvGHmh99ofa+lVKLbGqThn54HV7/CF0pqNwD+7Dl/+74Or/B6hOH4hEvwrPi/JIJp92pM2dt+DAU3aB85gRS82VnNFnxc/aAslZ1K+3mV9gP4QKrMrCNY91MEJSo+5tDJ/Afwocc0rmbnDd4gJvYJuOAilfD2bMFgNzc3YZ/5x/Qip552+nU6x3mU8ImHaVcLkWzf5Xnexwb7oDphGNCynHx2ejaf3txm/HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GX7XFwGmyr3BJQj1htNvDHltY7pWspLK4ewsb/4Rn0U=; b=GVmBmwnwh8uxVXxtDkeMqwFqi5cORsKowYWEUn/6LOWE2OWDWrCR6HtJqIIlYsmZQUaXwGErLReZDPDkfqFj5OfLKZWdtaMRtiE+HRBo/6w8/fDWQVCRP3XbIwx6yMAHADU3Z9zxi0KZf+n/IlSV3HXglBd/M75DnCVGuhOsqFZDICE1kBF/cVPFO5uyc8XJQhmtRE5Qt98sLeu3BMnJNTX6P7VIqtG2e2QyW8by0dp3ioZdMJmE4cmkjXeCv1HRb2cmQlueZeaOCVZ7GrV7BpDnGCO8sAJe2BVUaKZX9PL7IekgmikIXwWnRUE1dlC1pIXARJiMBshOCO43MJL8CQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by PH7PR11MB8477.namprd11.prod.outlook.com (2603:10b6:510:30d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.34; Wed, 6 Sep 2023 05:37:41 +0000 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::bf9a:54ca:d270:59b]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::bf9a:54ca:d270:59b%5]) with mapi id 15.20.6745.030; Wed, 6 Sep 2023 05:37:41 +0000 From: "Ni, Ray" To: "Tan, Dun" , "devel@edk2.groups.io" CC: "Wang, Jian J" , "Gao, Liming" Subject: Re: [edk2-devel] [Patch V2 1/5] MdeModulePkg: add MpService2Ppi field in SMM_S3_RESUME_STATE Thread-Topic: [edk2-devel] [Patch V2 1/5] MdeModulePkg: add MpService2Ppi field in SMM_S3_RESUME_STATE Thread-Index: AQHZ4HFQMbGYlHFyHUagTeCw8pMEVLANR4e5 Date: Wed, 6 Sep 2023 05:37:40 +0000 Message-ID: References: <20230821020947.346-1-dun.tan@intel.com> <177D440115CF68CB.15959@groups.io> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|PH7PR11MB8477:EE_ x-ms-office365-filtering-correlation-id: 137a4f65-abdc-4e27-97d1-08dbae9b62cd x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: HnQFyVuXql5C8AHzhxHuJ1RQ3mBz/wU3DDdj8NwJlcnwNmj/WgG0vm5CXD4ZUFpCJlxEFdbWLmNwhwaRs3GJtC5DquFmtJPxtW/YkxAGH9hv4uoSoU2jJc/s9JqmtEvfYEKCdkA0NmHnxmzAIkwBc4U5XriGqSsN+UyEIkC9MQJXtLwLUQuMLeVvBz2novGhuRVJqYL+Um5yL1NpaHMC1anLZ6xejyEZOz9ZLuRC+Jv6KqZoZPvzmAD8HbnODG63ubgyFcC98aj2Sn7wP6M7XbRa8cxDlimCehn3QhIsQNUwByPG503SL1nWrleYrrDs2SYFtAWhooin6oB8t38vDBupuNohmnfEG17lhSv7T9cs7QZ8zOr6lVHYsr1KFfQrT1EJEaUPjG7M1/Dbjqwb6/he+69ZKy6t/PlIGQ3zNxg6bK4XUo8BtIGdFtMFfwww40qm7h8CNwXFU+pZOZY2ucgAoC/WDWSo7vM8c6OBuC1vgSq8fQHmim7ogthq5D9JGvS1dbccKrXC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T2dWk4R8MU8ELU=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 137a4f65-abdc-4e27-97d1-08dbae9b62cd X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2023 05:37:40.3621 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: G8m93dvHMGECrEMLIYVpqS42lBcz/e/H3TdiGe66Gae5dPASgKOh25+5wNV2mYH9/l9Z19fWEVCskM3HsZOUeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB8477 X-OriginatorOrg: intel.com 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,ray.ni@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: BFutzKivki800F3UHmiZyM0hx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MN6PR11MB8244822C577D5286D2E27DC78CEFAMN6PR11MB8244namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=RSa+AUeX; 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; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") --_000_MN6PR11MB8244822C577D5286D2E27DC78CEFAMN6PR11MB8244namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni Thanks, Ray ________________________________ From: Tan, Dun Sent: Wednesday, September 6, 2023 11:22 AM To: devel@edk2.groups.io ; Tan, Dun Cc: Ni, Ray ; Wang, Jian J ; Gao, = Liming Subject: RE: [edk2-devel] [Patch V2 1/5] MdeModulePkg: add MpService2Ppi fi= eld in SMM_S3_RESUME_STATE Hi Jian and Liming, Could you please help to review this patch? Thanks, Dun -----Original Message----- From: devel@edk2.groups.io On Behalf Of duntan Sent: Monday, August 21, 2023 10:10 AM To: devel@edk2.groups.io Cc: Ni, Ray ; Wang, Jian J ; Gao, = Liming Subject: [edk2-devel] [Patch V2 1/5] MdeModulePkg: add MpService2Ppi field = in SMM_S3_RESUME_STATE 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 i= n 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/Inclu= de/Guid/AcpiS3Context.h index 645496d191..72d173c4fd 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 @@ -30,6 +30,7 @@ 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 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108305): https://edk2.groups.io/g/devel/message/108305 Mute This Topic: https://groups.io/mt/101186185/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/19134562= 12/xyzzy [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_MN6PR11MB8244822C577D5286D2E27DC78CEFAMN6PR11MB8244namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Reviewed-by: Ray Ni <ray.ni@intel.com>

Thanks,
Ray

From: Tan, Dun <dun.tan@= intel.com>
Sent: Wednesday, September 6, 2023 11:22 AM
To: devel@edk2.groups.io <devel@edk2.groups.io>; Tan, Dun <= dun.tan@intel.com>
Cc: Ni, Ray <ray.ni@intel.com>; Wang, Jian J <jian.j.wang@i= ntel.com>; Gao, Liming <gaoliming@byosoft.com.cn>
Subject: RE: [edk2-devel] [Patch V2 1/5] MdeModulePkg: add MpService= 2Ppi field in SMM_S3_RESUME_STATE
 
Hi Jian and Liming,

Could you please help to review this patch?

Thanks,
Dun
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of duntan=
Sent: Monday, August 21, 2023 10:10 AM
To: devel@edk2.groups.io
Cc: Ni, Ray <ray.ni@intel.com>; Wang, Jian J <jian.j.wang@intel.co= m>; Gao, Liming <gaoliming@byosoft.com.cn>
Subject: [edk2-devel] [Patch V2 1/5] MdeModulePkg: add MpService2Ppi field = in SMM_S3_RESUME_STATE

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 i= n following patches.
With this field, we can avoid sending InitSipiSipi to wakeup AP.

Signed-off-by: Dun Tan <dun.tan@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
---
 MdeModulePkg/Include/Guid/AcpiS3Context.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MdeModulePkg/Include/Guid/AcpiS3Context.h b/MdeModulePkg/Inclu= de/Guid/AcpiS3Context.h
index 645496d191..72d173c4fd 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.<BR&g= t;
+Copyright (c) 2011 - 2023, Intel Corporation. All rights reserved.<BR&g= t;
 
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
@@ -30,6 +30,7 @@ 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:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#108305) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_MN6PR11MB8244822C577D5286D2E27DC78CEFAMN6PR11MB8244namp_--