From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.13458.1671198783339691514 for ; Fri, 16 Dec 2022 05:53:03 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=A5qCO5bc; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: ted.kuo@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671198783; x=1702734783; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=FQHUI5ZrCYBHS7PznGsS9iNcI0XzUNm5ylEjyBNoNMs=; b=A5qCO5bc+SMS8d/w+Q4+XiFPX/rVBNErhSFD9d9682lbH+pUMKWPYKfS 1/VsR3nDWgdxKLBiTBYBncZ7rvmE9hfTaXh+yq0IEYhVPexybNbqNmv8q LzTfrQeoeTrTYQkOyEVcnha1utXMeqif/9BGe+DsjlGW18SyPOTnr51aF MJ968pbhsd6FayCZyGTbCirIxHzFnePoP/gOVyO/rwWu+rEoyLCvmXQet TULHfkSsx0hbmrBEMfOQJJqztSwV6XM+OsTy6KXqkxORBcLgCkmobStOT Hv28q+QcP7z3p0/7CvzVrrtR4JFnmvcWB7S9ki6NU+pV813t4Oe9CYqzq A==; X-IronPort-AV: E=McAfee;i="6500,9779,10563"; a="316609016" X-IronPort-AV: E=Sophos;i="5.96,249,1665471600"; d="scan'208";a="316609016" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Dec 2022 05:52:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10563"; a="713260576" X-IronPort-AV: E=Sophos;i="5.96,249,1665471600"; d="scan'208";a="713260576" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga008.fm.intel.com with ESMTP; 16 Dec 2022 05:52:52 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.16; Fri, 16 Dec 2022 05:52:51 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Fri, 16 Dec 2022 05:52:51 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Fri, 16 Dec 2022 05:52:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=grB4GrM2uCvKcZ5t5txhLdhJMb/zole7jHSLqr3c9ob2SlxR9tXTse6Ho3m4rj1G2LRd38p9FRasnC6+u7Aq9Q9PeYiiirpbOImFTMinEIewEsfsKUYmjDBAxJS6Ps7pKqbP5eexPDm1dDtyap8MeoxF3j/torRBvec3MvjDj+YKvc0oFx/gylfRxWuesYU5vEwUaz/IA5UXEtEJt8KiP6S9XThmXFLYEnjg25WYo/WQEIXUP0hsUowP9jKV/BCQnUNP00UkhO5fLeytUsnD1lfRm2i3D3NYHWfGboqOJWD4iE6SMUiPsKFGFmYXIXiNifgtvulsMDz7/Z+fKWtxww== 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=9G67FlmdJ5+Zyza3hHwmM1Ijyr4I7FcFVpWaKI74viQ=; b=VXWAx8akMiK++RVzUuRlO0WajGJXmVamrFJ0HeLKWDtBVA/YGEhE5bixSvCqnXDFCaXARodQYCOlH6eK85+xuY70ckqsB3f506RjBHiQ/BeruCRfaJD4jKpRaWhD3Fqp+oC2gdAcOFtssQSlwgyWdDcdfNlcTMf8watVBHvxAECLidYC2YJma+zMsraA1k8ShS0LxOl5Kgrp9q7B0Qd5e/9ZTGo4fQnOEajlL+FihjE/h9SwT5J//nYs7F/BvJlrp2zkuoVve0CZFys2RFRbLlK2J8zvO+EoV+iCaUlGjVwYvRHChIlb1F5tp00CeK/V0IJvEVXg2ABtePdVYUIheg== 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 Received: from DM5PR11MB1929.namprd11.prod.outlook.com (2603:10b6:3:10a::22) by IA1PR11MB7270.namprd11.prod.outlook.com (2603:10b6:208:42a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.11; Fri, 16 Dec 2022 13:52:50 +0000 Received: from DM5PR11MB1929.namprd11.prod.outlook.com ([fe80::63be:6a9f:b1bf:64ac]) by DM5PR11MB1929.namprd11.prod.outlook.com ([fe80::63be:6a9f:b1bf:64ac%9]) with mapi id 15.20.5924.016; Fri, 16 Dec 2022 13:52:50 +0000 From: "Kuo, Ted" To: "devel@edk2.groups.io" , "Kuo, Ted" Subject: Re: [edk2-devel][PATCH v2 0/2] Supporting S3 in 64bit PEI Thread-Topic: [edk2-devel][PATCH v2 0/2] Supporting S3 in 64bit PEI Thread-Index: AQHZEUyQlBfQAtSPSECFxz6db8+Oja5wiDiQ Date: Fri, 16 Dec 2022 13:52:50 +0000 Message-ID: References: <173146D6B33874E2.22470@groups.io> In-Reply-To: <173146D6B33874E2.22470@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM5PR11MB1929:EE_|IA1PR11MB7270:EE_ x-ms-office365-filtering-correlation-id: 75978286-889c-4c59-3a06-08dadf6cd232 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H5kJKhV1GPi+si2ynenzwei6mUV7NKdQy+RaxR+pVVXsOkmbPIG7U0H9AaaM3OXquSnBC9ifBXcUZHPDoWA8yLodjIl1qPC0Fj2NH7f7kT/D+JcheCVVOl3zaFol6GudeAxYL8kbXvXz8e0cE5wQu93+5zDnbMkdKzhCc0Bmh7qOIvbPAlQwc/dsEvPRDVbZu3fOL7vwbQ4zaJTXK0zLjjaSAdBoMNayHvLUGPry2KK6gq5R3cHm3YNjL3+N7vglmMC5NN6Zy0PW9Ns5UHp5SiOsOvaMfM3XkObarG3jeozPGdttJwIlYqpDZFqpu11rpfD8IONz1gOje12nO+em7WWLi3wKcH5bAt4/G4pkRyXoDC2HVqRSN4DEQxpUJly59LqxvSjsPbiknU5hS5wnJe5iZk8x6GOGQyx3vgRYNiMyOVZgt8iGYepBqPexbIw6MGcJ1vFrBfoOVjB1JDykoRi4iVP0KjtdTVO87l93ccMxmSPaWLqBUB9nZbkUVdEE3ebKvfDLfpmzKZQ4WvAfKEWDmYLPXf+JJnlxhRoNEgLWqqucrq830sUyYeZnrWswsKbuOM+8fJSfuY1BOtBQBskT3Ha6/CXBlfRrx4NfuUyPpFpV7muGP1Vwrg9uo4BBr+LOSyu9zrcENDtbpy8KoetB39VmvpRgFs4y1hw0t7V9ScQn+CrtsN0NnK6smQk9287smIRry+YgsRBBgKdNmanH+akpGoPJzBSGMYjxTrFBLoJZYa/IJ0pIvreEs+TUk9/2kpaspAekPKEgtMTjjQcjSejlrTwTqZ9/XVRq6Us= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR11MB1929.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199015)(122000001)(7696005)(53546011)(6506007)(33656002)(86362001)(2906002)(55016003)(26005)(66899015)(38070700005)(110136005)(316002)(478600001)(83380400001)(76116006)(66446008)(41300700001)(66476007)(9686003)(66946007)(66556008)(186003)(8676002)(38100700002)(966005)(71200400001)(82960400001)(5660300002)(8936002)(19627235002)(64756008)(52536014)(11716005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?W/18dAf+T9zCiJgXhDDqrxCqSwSbMTZe4O4fN98FDhoR5X9SwXch91KR228b?= =?us-ascii?Q?MtMGcTv0+SNfRqYui2reShQCpq4qgxztnTfNYwFA+tlXZsClYG2M/8MhKCs8?= =?us-ascii?Q?gtNkceVIKOeHsHdfm5zTQb+lTnfHnxgPMu8M3IwACFU5UcXkkG5rpNL3y0oi?= =?us-ascii?Q?4/G60NR9xxjENYHM8XCEc7ThGoSjQX7zuAkFRgcgpROg7ptMzX8wjBrHWAUi?= =?us-ascii?Q?IPzwYSDQC9Y1f7gP7bHcy69uK0Jz88kZthM7ySv6hHVhDWZFtMlUOpMcBB3I?= =?us-ascii?Q?IcXpjC7ouDQxCOXQhJl93U+RA5qSyTdg2lZPpVz/HwZVC6fNPhbyGg/MzPZp?= =?us-ascii?Q?nqW5gvbnMCIKniXvlHJZXL+zunKwFT51yruGtCMEvZrIdOajo2IEYIy2yxqS?= =?us-ascii?Q?Xrqb8qtwdwlSuZ0xVT+YM0DoVcHNz6vrwHG4yBrZvPEo/rsV+MaBVxBqSguM?= =?us-ascii?Q?k0lgNx188UUe8elGKYiJwSWx2mOxfm0CFN6NvXpySSLBSzxMewux7f0Bm2QF?= =?us-ascii?Q?xPhjiEI6Mx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KA?= =?us-ascii?Q?B8gAQxzQwPGF+c5jOodGk6OqQWtYz9Cdq2mA4cFZAN0Gi6BDXohhkaS4rH+K?= =?us-ascii?Q?3Bl+7ru+vQTKSKRgwYKDhZ68V4+G6H4xgLx5NggY3cyZtMKusONYVuDSmKiZ?= =?us-ascii?Q?n+qng2kjY4WO5SqOTbVAk5Gb4fviExYKZVfBnn8R?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR11MB1929.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75978286-889c-4c59-3a06-08dadf6cd232 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2022 13:52:50.2003 (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: aGU4fz9GsxLcJoKz3fLktzbFemhLHyz6LkDKPIfamS7+RATc2iAmrMsBsLuR5m5Gt47X+f93AUrAjyIVRpgELA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7270 Return-Path: ted.kuo@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Only S3Resume.c is updated in patch v2 for the failure in UncrustifyCheck. Thanks, Ted -----Original Message----- From: devel@edk2.groups.io On Behalf Of Kuo, Ted Sent: Friday, December 16, 2022 8:46 PM To: devel@edk2.groups.io Subject: [edk2-devel][PATCH v2 0/2] Supporting S3 in 64bit PEI This patch set enables S3 in 64bit PEI. Ted Kuo (2): UefiCpuPkg: Supporting S3 in 64bit PEI MdeModulePkg: Supporting S3 in 64bit PEI .../BootScriptExecutorDxe/ScriptExecute.c | 21 ++-- .../BootScriptExecutorDxe/X64/SetIdtEntry.c | 4 +- .../Acpi/S3SaveStateDxe/AcpiS3ContextSave.c | 10 +- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 13 ++- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 1 + .../ResetVector/Vtf0= /Ia16/Real16ToFlat32.asm | 63 ++++++++---- .../Universal/Acpi/S3Resume2Pei/S3Resume.c | 97 ++++++++++++------- 7 files changed, 139 insertions(+), 70 deletions(-) -- 2.35.3.windows.1