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 20B567803D7 for ; Fri, 10 May 2024 10:09:24 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=varmrQNNjaVTkiV67qJJVfkeX6IqiA9CABzobP97mrE=; 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=1715335763; v=1; b=o93p1FxqXpQQiSRkLAVY/6W8NZZviLYL0QCiChzwibKHyjry1fGpi+D3xLTA559bWIzAN7m4 to+ZsblYqmPNY/0RgqznwG2ydvITHvP1FNBoqIn8sratLvXzBmM68nS9INh5Inf38axH2zyUbLa k1tfPX/jv+ATLAdRYoX0X5Ap9GlDp0Uvs58kdGyh/KqWwer/u8X0mfdJv7TuQXi0xXKzODuNu8v 7WBGqKoymIzXB9sTNdcuv0A/5n3vvvTRS+pQqZFbKY/pZGb6Xet/h8G09gEVRd/J7NrGiTV4ExI Q6nVBTLnI7d/4U/dnj0TCZQgZTRlW8/D6YZMlHjJ4qU0g== X-Received: by 127.0.0.2 with SMTP id 3B6hYY7687511x93IiKlnuI8; Fri, 10 May 2024 03:09:23 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by mx.groups.io with SMTP id smtpd.web10.9485.1715335727366928454 for ; Fri, 10 May 2024 03:09:23 -0700 X-CSE-ConnectionGUID: UFGzkWwkQTqw5vuZH9bGeQ== X-CSE-MsgGUID: PGEsVHlvQoSnW9WKCW4qoA== X-IronPort-AV: E=McAfee;i="6600,9927,11068"; a="28819210" X-IronPort-AV: E=Sophos;i="6.08,150,1712646000"; d="scan'208";a="28819210" X-Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 03:09:23 -0700 X-CSE-ConnectionGUID: HLLBmgGPROe1XJ/lhSFjsA== X-CSE-MsgGUID: AiWiRzaFS4ijbFvhwTOqYw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,150,1712646000"; d="scan'208";a="60424317" X-Received: from unknown (HELO shwdeopenlab702.ccr.corp.intel.com) ([10.239.55.43]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 03:09:21 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Ray Ni , Laszlo Ersek , Rahul Kumar , Gerd Hoffmann , Jiaxin Wu Subject: [edk2-devel] [PATCH 13/18] UefiCpuPkg:Set PcdCpuFeaturesInitOnS3Resume to TRUE Date: Fri, 10 May 2024 18:08:22 +0800 Message-Id: <20240510100827.1903-14-dun.tan@intel.com> In-Reply-To: <20240510100827.1903-1-dun.tan@intel.com> References: <20240510100827.1903-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, 10 May 2024 03:09:23 -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: HJuyIeL0xuMHfSJ3kIm8UjkTx7686176AA= 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=o93p1Fxq; 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 Cc: Ray Ni Cc: Laszlo Ersek Cc: Rahul Kumar Cc: Gerd Hoffmann Cc: Jiaxin Wu --- UefiCpuPkg/UefiCpuPkg.dec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index f86a6d2bcb..45384d725c 100644 --- a/UefiCpuPkg/UefiCpuPkg.dec +++ b/UefiCpuPkg/UefiCpuPkg.dec @@ -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 (#118805): https://edk2.groups.io/g/devel/message/118805 Mute This Topic: https://groups.io/mt/106018138/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-