From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 33CF57803DA for ; Fri, 17 May 2024 09:46:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=iikrzT+G1k2htr9xnJjw00MchrX3NFGA7GUwo2faSA4=; c=relaxed/simple; d=groups.io; h=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:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1715939212; v=1; b=xO0WqUk+EUL0Y+ei4C+ppoIfaczUjEKQ6IGtlG27TaonJ/EsA+WBVN3CG2YN1EuftgVZj3Wj inzOfSe8EF2PV+94TVM632FqoSHApm3HSFrg5pwmabOSdfpPZEbivD6DabOO9AV7FqyiZWYiICC Z9QHu/wD8jpepZHqM1eJjucUD2Jdtf/reGpTtHQCvgCeSSlAv9a7cHjpNLl6enm7qLqirnk4VtA sOITqoDT4tDoHqMZC1SNZMe/PLU6YBeMinO4IxqjTi2gLxd0sFtE8JQdIzpgXj2JMoavxUetN36 bnMzBu9wk+OLw17koHMhx0PQz0FdvRgOoJ+xLx1hwNWbw== X-Received: by 127.0.0.2 with SMTP id 7aEZYY7687511xRcgdBIBexr; Fri, 17 May 2024 02:46:52 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mx.groups.io with SMTP id smtpd.web10.35981.1715939207425420009 for ; Fri, 17 May 2024 02:46:51 -0700 X-CSE-ConnectionGUID: AKoyA3CFSIub/db8hLAo6A== X-CSE-MsgGUID: VNAAS7KnSZ6f8hXDZ0mmjA== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="12318755" X-IronPort-AV: E=Sophos;i="6.08,167,1712646000"; d="scan'208";a="12318755" X-Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 02:46:52 -0700 X-CSE-ConnectionGUID: JD95pKI4Q9aT7xVhskx+EQ== X-CSE-MsgGUID: K0rIQycbTR2Us0dNR0NfyQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,167,1712646000"; d="scan'208";a="36646817" X-Received: from unknown (HELO shwdeopenlab702.ccr.corp.intel.com) ([10.239.55.43]) by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 02:46:50 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Ray Ni , Rahul Kumar , Gerd Hoffmann , Jiaxin Wu Subject: [edk2-devel] [Patch V2 07/18] UefiCpuPkg:Set PcdCpuFeaturesInitOnS3Resume to TRUE Date: Fri, 17 May 2024 17:45:59 +0800 Message-Id: <20240517094610.533-8-dun.tan@intel.com> In-Reply-To: <20240517094610.533-1-dun.tan@intel.com> References: <20240517094610.533-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 Resent-Date: Fri, 17 May 2024 02:46:51 -0700 Resent-From: dun.tan@intel.com Reply-To: devel@edk2.groups.io,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 2bmR5dGzfFGiUE3Q29LeNBRBx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=xO0WqUk+; 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 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Set PcdCpuFeaturesInitOnS3Resume to TRUE. So that CpuFeaturesPei PEIM will initialize the CPU registers and perform CPU features initialization. Signed-off-by: Dun Tan Reviewed-by: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Cc: Jiaxin Wu --- UefiCpuPkg/UefiCpuPkg.dec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index f86a6d2bcb..73bae90ddb 100644 --- a/UefiCpuPkg/UefiCpuPkg.dec +++ b/UefiCpuPkg/UefiCpuPkg.dec @@ -1,7 +1,7 @@ ## @file UefiCpuPkg.dec # This Package provides UEFI compatible CPU modules and libraries. # -# Copyright (c) 2007 - 2023, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2024, Intel Corporation. All rights reserved.
# Copyright (C) 2023 - 2024, Advanced Micro Devices, Inc. All rights reserved.
# Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.
# @@ -310,7 +310,7 @@ ## Specifies if CPU features will be initialized during S3 resume. # @Prompt If CPU features will be initialized during S3 resume. - gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitOnS3Resume|FALSE|BOOLEAN|0x0000001D + gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitOnS3Resume|TRUE|BOOLEAN|0x0000001D ## Specifies CPUID Leaf 0x15 Time Stamp Counter and Nominal Core Crystal Clock Frequency. # TSC Frequency = ECX (core crystal clock frequency) * EBX/EAX. -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119004): https://edk2.groups.io/g/devel/message/119004 Mute This Topic: https://groups.io/mt/106150765/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-