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 DF953940FD0 for ; Wed, 6 Sep 2023 03:22:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Cr90LAXfbcq7T2BgV75oInvymGRwUawa7VnhBRFyhrQ=; 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: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:Content-Transfer-Encoding; s=20140610; t=1693970544; v=1; b=M0JoVeQ79AMDjp0EXkW1g9IR5obEE1c4wIHebLWb1LEy4D616+9hjb7TCHbT0zJFTnuJsRIZ R3WCos/jLi8L/VcluCYXs69+wFw0vvmQwMF++0flOYHOOJb6QnnPd+h78QCwj3B/S8mv+tSs1Me IBRx+olpipuTCSXGyMjeWm6w= X-Received: by 127.0.0.2 with SMTP id qe5UYY7687511xsy7kM9jE7Q; Tue, 05 Sep 2023 20:22:24 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.809.1693970543897115950 for ; Tue, 05 Sep 2023 20:22:24 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="361987258" X-IronPort-AV: E=Sophos;i="6.02,230,1688454000"; d="scan'208";a="361987258" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2023 20:22:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="770576020" X-IronPort-AV: E=Sophos;i="6.02,230,1688454000"; d="scan'208";a="770576020" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 05 Sep 2023 20:22:14 -0700 X-Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX603.amr.corp.intel.com (10.22.229.16) 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 20:22:14 -0700 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Tue, 5 Sep 2023 20:22:14 -0700 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.102) 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 20:22:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fFLu7201+aijyDiPbGmJqXc6iz2suN8jH8/2w1F91hcdp5a20qLLK+CvE3mq3FSIKX4/MKBwYRc9iFAD30Vt19AO84z6+3O4IvU4GPpLMcXJTJHI+r0RSkd6DfLzHopV9k7dhr+g0/JguNxmmFBmP00F3F/UI/c0gVEitZKvOS4supVLvL0mwj8zEoGDaJGDlPCevRJcrQGNZp1OjvfcBGyXgfxi0exo8og2ZVp8ZQApIkkqoXglwIKjMXvtIaOZRwip+0IX4ALMgEoLzwkFxcfvQKFPFG8HNEvomL/boUdH5ph/2rVurc5FocZoUzOYJ0ToBCLBCt/eQRl0VaO1QA== 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=bV6TlX+UU45MxTZQy+10jOHF9h1lG7SoIWNKFhfnp5s=; b=WoGiojX1mfE8kIvbBNttAgXAa8rASP9y/5ltfZeNetcbMmp2m0ZS26kW/cL3wyvkO+C4rBUVS1XXE671YuBpLUtSCbZHe1qpIe6j3bps/4Mg5TdzalnEavThAkcWQrcEeMRyfKHV5eVhob2A/JMhTzDZxgjCEy4SdGlJ7qEIfz2mNc/WytLVK4ONoa6I9V7O18E3kKtoPVHfNDnEPCMWHuQ5utSE/2efD5eWj93FXjYpElq1D4KzwGIRFySrOPETQUZRJ7NP7iZz43IJALjChIKd7WZpUfldMJjYWjxi2vSatDv26eI5seU3CCZzI6x9DkHO9dlWamrXcSWzD57dvg== 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 BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by PH7PR11MB8479.namprd11.prod.outlook.com (2603:10b6:510:30c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.33; Wed, 6 Sep 2023 03:22:05 +0000 X-Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::c6cb:b52d:a8e2:8842]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::c6cb:b52d:a8e2:8842%4]) with mapi id 15.20.6745.030; Wed, 6 Sep 2023 03:22:05 +0000 From: "duntan" 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 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: AQHZ09SiinAnYtH8ik+j1tqTl+0enLANOUmw Date: Wed, 6 Sep 2023 03:22:05 +0000 Message-ID: References: <20230821020947.346-1-dun.tan@intel.com> <177D440115CF68CB.15959@groups.io> In-Reply-To: <177D440115CF68CB.15959@groups.io> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|PH7PR11MB8479:EE_ x-ms-office365-filtering-correlation-id: 6a88a5a5-442d-4954-d5d2-08dbae8871d3 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: lQNWpO157BEDDxNBZKPmZQpnWtWcmPmq3pltdEpJotlzPcgVmaHFqflQBViQljTgSzW1E70XGc6E1X5ORUGCoi3AvOMSLnMKurWJE4C7Vj8IAu9lUk1nlppzN+EV4YRtGPTkb12OIubOHr9bwcA+31+/60hlCPL730JllZwIUMr2B2SzqFNd1JF7qVVLkKKn4IOj14+yU5lk58v7ItGSzAQwPCt3r8J/YMknwOzOhm5YVQ4kqBL1/qba56ofSlVl1qFXP5tnSziGBE7xH4eo76rhM3zcZXjEt79UkzrtC0e70eZiA4TJ0SbXT1U9YdLlQehQzkkl0dirY4Yzy0bxbG3OXhlVcM40QAYyv3s42ICvnTi1BQ2m7WEy32xyjXRRsH/suKViAC+7Hr61rWEzj703uDkew5BiT1vhxAzmyG2UGiAf254QjDOys8aQ3VBNMvvz4MSZ+jCzFr68PK9EBADOgCWLCowWxquoDlazZvbxlqO9BV8mWsqaPbkJMn141t9UMHLPAbNWVIOaJD6Q+3SEwX5ALFRzC/5X/ybQr2WvbW9mEi395l/or3G0vYpRK6NEahgyPXFwYNb0w6AD7Ta++RmOGR8+G1tyo0sSnitnmk0l8ev/Las36GLvkCi2JaF7mR89bwjCDUmODtRLQw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?md4bqf208jAVDOqxK2ZwxJgd8vgHm5hfVJw+BfMCW49IE12TkDgjD3cakQnr?= =?us-ascii?Q?5WjxPuqzyADIwYRULP1MFMAzJsV+dVAUYCf/PMnm2majUqwarAFxJ9bhpgkC?= =?us-ascii?Q?kIV5MPnPLPZYi4pFAKknO9FqxFMpuga43G1sX5R8pdkJd2HFSIRD91py4otb?= =?us-ascii?Q?fGLXpIPiMnoJ99qxZfvhVRtBZvF9cipV7sHX/lj08vDkkU/0eBvPCGVN2xHK?= =?us-ascii?Q?gwNY1MPLuI2kIAuUoc4tgbTbxn5Uq5SfEmV+T4P7PfJFtsrv0okvbOTxqijP?= =?us-ascii?Q?MUoojrPi7QJNDLHz1vHi1d9P9urZNbrJKiDR1IK105DPK1VQpK39nxdkbxKI?= =?us-ascii?Q?kj47Ky65Sb86H8gFqpcMRg3h2tJza7e7e9TnLNkrF9lRyyMtskKU4/pzW//R?= =?us-ascii?Q?YduyOlQgNHxSvLJOXlwDe5E8wsCQnXrJSCwYVGjEdIopiBQqTf9GH1CsvYMD?= =?us-ascii?Q?v+fyYkieKGSpvekCsdqhrN8uV7VIqgn2lN/n/3YW+avxNRnFRWdctMf4zW8e?= =?us-ascii?Q?qYRzc1gLO4jywf+l9ZgLAMLOE9i7zDQ3vb44hblGlzoNlXtTmK26POCZxEf4?= =?us-ascii?Q?WW7L4Yimc616udTlUPlnfRANP+kkz0F2KIzvCy4j2KhlouWcGIz5aOBdQY/m?= =?us-ascii?Q?sKAuyugIfP3fWI8d+6a22JIGAXWkAw5CrJ4CeMCVZryGVqeZsl0kFXe6vJMK?= =?us-ascii?Q?jYg+eqC4mP+74dM0DSszZv/hE0E4x3WRwCVHvBEvxc+NWuJCOQnf3AO32tTA?= =?us-ascii?Q?41gfvo3Le1nyMMiIGjgK3oxrnPFRAxcGcnxpzqPehhRQDPMfZ8JAroqVJmP+?= =?us-ascii?Q?Vpoj7SBzRJK1cX5ntT50CuxafstFQmtc4uNqrveuxtI2mMwRLUKh2FsxauRS?= =?us-ascii?Q?lv+e/n54gP0DZWMubKdGF7RxfJYmGPu9bbB1hm1ysIAYZDpxSEarFSX6G+0N?= =?us-ascii?Q?KIqqAJmC7b1RBhi7LK3ZVAmeSZBUNt/pfbWHshSJmKYgVuGspRE3BOMCuvEU?= =?us-ascii?Q?3maof1h0Vl/AuFoXry4MTpRp7Xj9a6PaEh5KJIRyrxoP6ERuzPGVE+l78Abe?= =?us-ascii?Q?IjQs9FGNpNuad66zN3SycS+rZl5On8Vj+UouiYvBmh6Ixfzzv9VtxMF8UTfh?= =?us-ascii?Q?k2tM+aoVV7t17Lu5Dy5lfNySBSOMxIMMGQynJA/YQxGxbcE1nLuV9PToHK9I?= =?us-ascii?Q?eoaE/C+PIp5+mI8Vh5AzvnDqnPn4eHVx+f3mv5TnJZi6l1+3BSoGcg3cKBP/?= =?us-ascii?Q?OWo5FhUyuntTpW0HdRO3hEOAnMCwMhFBL3XEGGEVFDkuMVXCQkK7YUkPxkLx?= =?us-ascii?Q?fLRd1Qk4EboN/t21NW38ZfKIDp/b7x9ToVNB4g2XwNrOAeDXXwZd4edGgPHO?= =?us-ascii?Q?ig8zy4AsXCqpncrcLSr4ZAvm/XPc8qenCE+TN/6P6J7/rkenfdNRLmfqGB+H?= =?us-ascii?Q?SPGGHVWNkdKrU561yeQreAZYg2nuCvTwu4s0kEq87NKNYN26Oef+/Qyo2ujh?= =?us-ascii?Q?65ilyKeszds6YAI6194L1OAXj7qbJEZLmQnhwlVD5dIIM3tzm37Sa+ThXVFR?= =?us-ascii?Q?km6eEsQCtrPGFSwFFjU=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a88a5a5-442d-4954-d5d2-08dbae8871d3 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2023 03:22:05.1359 (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: EBxXxxQ46y4GFRQWQs4E56wpiHXCVd99rE2tP26P9Ic+5uDw+Bhd+1C7QrP0FDqpnSW97cLEA8sIpGHjypvbtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB8479 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,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ORQZY2Cm6Ns86GKcCUNQBLsjx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=M0JoVeQ7; 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 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. =20 -Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
+Copyright (c) 2011 - 2023, Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -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; =20 -- 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 (#108302): https://edk2.groups.io/g/devel/message/108302 Mute This Topic: https://groups.io/mt/101186185/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-