From nobody Thu Apr 25 01:43:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73347+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73347+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616744203; cv=none; d=zohomail.com; s=zohoarc; b=F5xV/uwJ+lAuCRf11Ao4aixYx62833ZId2/L3V87bpE5o25abTI/bkUsq2BKm38oY/TKGNr6Z+eyCK6otz6kdLFHYnKtm5z1iOyT447c48PekKqs9ES17ECmUqskphaO+dVZGE2XtqKxefOPxJTPP2j6olNtdYv6kzLYKGcSnIY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616744203; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=9LumPd5EOKSvmg3Q3iDFHLfxu7yvfO7bNz2yMdl6qPg=; b=LwjncXJU42yU6Mff1CyUcBXLQmKcDqRj51TCn2qfagqJT7QnTj2SWrqYZgEzogP1iX6v25y4L3N2hhIEF5dFU3DU59nEWRPZ3U9zm8rW4m3weXZbrdpEEUfeD+GIEGB0Nwm2CAqf5W5VwA/5pG3cpQ0qkSTxs7QH2OsEviEvdz4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73347+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616744203560868.053834955067; Fri, 26 Mar 2021 00:36:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id cQteYY1788612xdKBGZ6lPiG; Fri, 26 Mar 2021 00:36:43 -0700 X-Received: from mga06.intel.com (mga06.intel.com []) by mx.groups.io with SMTP id smtpd.web11.9363.1616744201579061561 for ; Fri, 26 Mar 2021 00:36:42 -0700 IronPort-SDR: E2bdjhp3jLt1AkDc3tNPRM0xEfOtqzK2rdt8juDYzou3v3v/gJ5Fql7byL42QcWbiCaud1Qghw u/MKXEP7bgSw== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="252453112" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="252453112" X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:36:41 -0700 IronPort-SDR: 8NoLXMzaFKa4i0NX7nnroTJgl6IQdFxhkJSnn8X2NxX4x/VD8taUUvNveiQiuSL0vjwbhpWiNh 6AeRaxAiKsbA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="608800406" X-Received: from ray-dev.ccr.corp.intel.com ([10.239.158.87]) by fmsmga005.fm.intel.com with ESMTP; 26 Mar 2021 00:36:40 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Rangasai V Chaganty Subject: [edk2-devel] [PATCH 1/3] IntelSiliconPkg: Define PCDs for microcode location in flash Date: Fri, 26 Mar 2021 15:36:27 +0800 Message-Id: <20210326073629.1383-2-ray.ni@intel.com> In-Reply-To: <20210326073629.1383-1-ray.ni@intel.com> References: <20210326073629.1383-1-ray.ni@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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 X-Gm-Message-State: OrvB8ZvTcjvV7AxVgP6U0DBzx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616744203; bh=WLA37teA0DnKP0VZqdpzvhZVu+3jw8JA+3Kp0am1h/U=; h=Cc:Date:From:Reply-To:Subject:To; b=KSz1fE3zYVCT9kwyJ17YXjJw+JEASj8fWMY6kwUsj5xXfWPIZyc3nV5ifMQPgvVCNYt qD0qDkg5RfnaVAVajyKXS+dhyzX2AYpKnAPl4vCEn3FDyoFYMojJ/WRAjhaDxDgqZioaj OKf5ETo6ccgl1n304F+yp0SnBy5pCmgSdIg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" 3 PCDs are defined assuming that microcode is put in the end of a FV: PcdFlashFvMicrocodeBase: The base address of the microcode FV PcdFlashFvMicrocodeSize: The size of the microcode FV PcdFlashMicrocodeOffset: The microcode offset relative to the FV base address The 3 new PCDs are to replace the following existing PCDs in MinPlatformPkg and IntelFsp2WrapperPkg. The ones in MinPlatformPkg will be removed in a separate patch. The ones in IntelFsp2WrapperPkg will be re-positioned as only using inside IntelFsp2WrapperPkg\Library\SecFspWrapperPlatformSecLibSample. Defining PCDs in IntelSiliconPkg is because certain close-source silicon code depends on these PCDs but the silicon code cannot depend on MinPlatformPkg. MinPlatformPkg contains the below 3 PCDs: PcdFlashFvMicrocodeBase: Same meaning as IntelSiliconPkg.PcdFlashFvMicrocodeBase PcdFlashFvMicrocodeSize: Same meaning as IntelSiliconPkg.PcdFlashFvMicrocodeSize PcdFlashFvMicrocodeOffset: The FV offset relative to the firmware base address. Note: MinPlatformPkg doesn't contain the PCD that tells the microcode offset relative to the FV base address. IntelFsp2WrapperPkg contains the below 3 PCDs: PcdCpuMicrocodePatchAddress: Same meaning as IntelSiliconPkg.PcdFlashFvMicrocodeBase PcdCpuMicrocodePatchRegionSize: Same meaning as IntelSiliconPkg.PcdFlashFvMicrocodeSize PcdFlashMicrocodeOffset: Same meaning as IntelSiliconPkg.PcdFlashMicrocodeOffset Signed-off-by: Ray Ni Cc: Rangasai V Chaganty Reviewed-by: Sai Chaganty =20 --- Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec b/Silicon/In= tel/IntelSiliconPkg/IntelSiliconPkg.dec index 4a2cbca5..6611c3af 100644 --- a/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec +++ b/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dec @@ -3,7 +3,7 @@ # # This package provides common open source Intel silicon modules. # -# Copyright (c) 2016 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -90,6 +90,13 @@ # @Prompt Error code for VTd error. gIntelSiliconPkgTokenSpaceGuid.PcdErrorCodeVTdError|0x02008000|UINT32|0x= 00000005 =20 + gIntelSiliconPkgTokenSpaceGuid.PcdFlashFvMicrocodeBase|0|UINT32|0x000000= 07 + gIntelSiliconPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize|0|UINT32|0x000000= 08 + + ## This is the microcode offset relative to the FV base address. + # Microcode address equals to PcdFlashFvMicrocodeBase + PcdFlashMicroco= deOffset. + gIntelSiliconPkgTokenSpaceGuid.PcdFlashMicrocodeOffset|0|UINT32|0x000000= 0A + [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] ## This is the GUID of the FFS which contains the Graphics Video BIOS Ta= ble (VBT) # The VBT content is stored as a RAW section which is consumed by GOP PE= I/UEFI driver. --=20 2.27.0.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 (#73347): https://edk2.groups.io/g/devel/message/73347 Mute This Topic: https://groups.io/mt/81622872/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Thu Apr 25 01:43:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73348+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73348+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616744206; cv=none; d=zohomail.com; s=zohoarc; b=k7bacl70SaOHg7x8EctWAU6Cb6BZa78ijof/JmqbPh4b8uJ/NuNWGcU4HsbCya0sVye23yA0uKtR/RE5pcFwVVRdhh0u5abFfRy2ndLYaAy36wEZ29hmdesqI+hUGNnMu3PqIWQtn04YMfRb7Z2vIEej7/pPHG6U1RrIIiplVto= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616744206; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=+Azkvy06rUpEx8woqbFwcAz/tjJOVR1UOGOj342Wicg=; b=du6l2625GIiwFSbkTEdFqnDNjuwG42CC6p9sNUB0Sh58fRoc0iJioTMS2KxEbVNBA+pSyv48eFDbUCmAI0o65sBaBitwXGRN1f5FyPgmfwaOhi48q4AqPcYY+wKIhMISVe0biDQ6ABwEXuDvduWHfvbdzU4SE7Y/BYYOrUbXJQM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73348+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616744206424442.87607000532455; Fri, 26 Mar 2021 00:36:46 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id UwmyYY1788612xCBR0ozUZ0c; Fri, 26 Mar 2021 00:36:46 -0700 X-Received: from mga06.intel.com (mga06.intel.com []) by mx.groups.io with SMTP id smtpd.web11.9363.1616744201579061561 for ; Fri, 26 Mar 2021 00:36:45 -0700 IronPort-SDR: UoJas344sp09085wuZztFeG/TlDEAvIZ5Is7EqYC4cjuEAgFWHMw0i33R2WEeWHByzzg9uiaU7 WoGcVS+0h3aA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="252453133" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="252453133" X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:36:43 -0700 IronPort-SDR: VYIP7ysQhV/LZX/RdT5U6WCiS6E1BFnT2GAcZAOCD/RbN2Ttb13Q48ir+KHFEd/5OQVFvG5tD/ 9UqJFzXTmy0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="608800412" X-Received: from ray-dev.ccr.corp.intel.com ([10.239.158.87]) by fmsmga005.fm.intel.com with ESMTP; 26 Mar 2021 00:36:41 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [PATCH 2/3] MinPlatformPkg: Use the microcode PCDs defined in IntelSiliconPkg Date: Fri, 26 Mar 2021 15:36:28 +0800 Message-Id: <20210326073629.1383-3-ray.ni@intel.com> In-Reply-To: <20210326073629.1383-1-ray.ni@intel.com> References: <20210326073629.1383-1-ray.ni@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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 X-Gm-Message-State: A2SsxWgAtfI0sDx677iSxubox1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616744206; bh=IwjdBUDkk+vCVBqnhDyANgmrWYQvWxg9NRTR8C/3G2o=; h=Cc:Date:From:Reply-To:Subject:To; b=WJk0MomfZTLRDdoBu9hx242qjllL+qRIv6mdBQmVdb75iYTP4HW9GotTM+RZkfsqN+p AFBMqJVf74nD/OgdUygCNOUhRKtN1DItQ2c4MZjYIlpsWndv9me+4bN8XkEElj/w+Dwvl cg3+qEyOSJLLN8l1k4SxnSKymHTr7ElL7NI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" The microcode PCDs in MinPlatformPkg will be removed in a separate patch. Signed-off-by: Ray Ni Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong --- .../Flash/SpiFvbService/SpiFvbServiceSmm.inf | 7 ++++--- .../Flash/SpiFvbService/SpiFvbServiceStandaloneMm.inf | 7 ++++--- .../SecFspWrapperPlatformSecLib.inf | 9 +++++---- .../Library/SecFspWrapperPlatformSecLib/SecRamInitData.c | 6 +++--- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServic= eSmm.inf b/Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceS= mm.inf index 10e51e11..0028cc99 100644 --- a/Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceSmm.inf +++ b/Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceSmm.inf @@ -1,7 +1,7 @@ ### @file # Component description file for the Serial Flash device Runtime driver. # -# Copyright (c) 2017-2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017-2021, Intel Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -38,6 +38,7 @@ [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec + IntelSiliconPkg/IntelSiliconPkg.dec MinPlatformPkg/MinPlatformPkg.dec =20 [Pcd] @@ -45,8 +46,8 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUM= ES gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUM= ES gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUM= ES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeBase ## CONSUM= ES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize ## CONSUM= ES + gIntelSiliconPkgTokenSpaceGuid.PcdFlashFvMicrocodeBase ## CONSUM= ES + gIntelSiliconPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize ## CONSUM= ES =20 [Sources] FvbInfo.c diff --git a/Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServic= eStandaloneMm.inf b/Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFv= bServiceStandaloneMm.inf index 9f08d367..8071c6b7 100644 --- a/Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceStanda= loneMm.inf +++ b/Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceStanda= loneMm.inf @@ -1,7 +1,7 @@ ### @file # Component description file for the Serial Flash device Standalone MM dri= ver. # -# Copyright (c) 2017-2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017-2021, Intel Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -37,6 +37,7 @@ [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec + IntelSiliconPkg/IntelSiliconPkg.dec MinPlatformPkg/MinPlatformPkg.dec =20 [Pcd] @@ -44,8 +45,8 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUM= ES gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUM= ES gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUM= ES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeBase ## CONSUM= ES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize ## CONSUM= ES + gIntelSiliconPkgTokenSpaceGuid.PcdFlashFvMicrocodeBase ## CONSUM= ES + gIntelSiliconPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize ## CONSUM= ES =20 [Sources] FvbInfo.c diff --git a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/SecFspWrapper= PlatformSecLib/SecFspWrapperPlatformSecLib.inf b/Platform/Intel/MinPlatform= Pkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSec= Lib.inf index 4f3fa9fa..9fe5960b 100644 --- a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/SecFspWrapperPlatfor= mSecLib/SecFspWrapperPlatformSecLib.inf +++ b/Platform/Intel/MinPlatformPkg/FspWrapper/Library/SecFspWrapperPlatfor= mSecLib/SecFspWrapperPlatformSecLib.inf @@ -1,7 +1,7 @@ ## @file # Provide FSP wrapper platform sec related function. # -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -62,6 +62,7 @@ UefiCpuPkg/UefiCpuPkg.dec IntelFsp2Pkg/IntelFsp2Pkg.dec IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec + IntelSiliconPkg/IntelSiliconPkg.dec MinPlatformPkg/MinPlatformPkg.dec =20 [LibraryClasses] @@ -88,9 +89,9 @@ gMinPlatformPkgTokenSpaceGuid.PcdSecSerialPortDebugEnable ## C= ONSUMES =20 [FixedPcd] - gIntelFsp2WrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress ## C= ONSUMES - gIntelFsp2WrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize ## C= ONSUMES - gIntelFsp2WrapperTokenSpaceGuid.PcdFlashMicrocodeOffset ## C= ONSUMES + gIntelSiliconPkgTokenSpaceGuid.PcdFlashFvMicrocodeBase ## C= ONSUMES + gIntelSiliconPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize ## C= ONSUMES + gIntelSiliconPkgTokenSpaceGuid.PcdFlashMicrocodeOffset ## C= ONSUMES gIntelFsp2WrapperTokenSpaceGuid.PcdFlashCodeCacheAddress ## C= ONSUMES gIntelFsp2WrapperTokenSpaceGuid.PcdFlashCodeCacheSize ## C= ONSUMES gIntelFsp2WrapperTokenSpaceGuid.PcdFspmBaseAddress ## C= ONSUMES diff --git a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/SecFspWrapper= PlatformSecLib/SecRamInitData.c b/Platform/Intel/MinPlatformPkg/FspWrapper/= Library/SecFspWrapperPlatformSecLib/SecRamInitData.c index b356327b..b4e10cca 100644 --- a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/SecFspWrapperPlatfor= mSecLib/SecRamInitData.c +++ b/Platform/Intel/MinPlatformPkg/FspWrapper/Library/SecFspWrapperPlatfor= mSecLib/SecRamInitData.c @@ -1,7 +1,7 @@ /** @file Provide TempRamInitParams data. =20 -Copyright (c) 2017, Intel Corporation. All rights reserved.
+Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -24,8 +24,8 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST FSPT_UPD_CORE_DATA Fs= ptUpdDataPtr =3D { } }, { - ((UINT32)FixedPcdGet64 (PcdCpuMicrocodePatchAddress) + FixedPcdGet32 (= PcdFlashMicrocodeOffset)), - ((UINT32)FixedPcdGet64 (PcdCpuMicrocodePatchRegionSize) - FixedPcdGet3= 2 (PcdFlashMicrocodeOffset)), + FixedPcdGet32 (PcdFlashFvMicrocodeBase) + FixedPcdGet32 (PcdFlashMicro= codeOffset), + FixedPcdGet32 (PcdFlashFvMicrocodeSize) - FixedPcdGet32 (PcdFlashMicro= codeOffset), 0, // Set CodeRegionBase as 0, so that caching will be 4GB-(C= odeRegionSize > LLCSize ? LLCSize : CodeRegionSize) will be used. FixedPcdGet32 (PcdFlashCodeCacheSize), { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, --=20 2.27.0.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 (#73348): https://edk2.groups.io/g/devel/message/73348 Mute This Topic: https://groups.io/mt/81622873/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Thu Apr 25 01:43:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73349+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73349+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616744209; cv=none; d=zohomail.com; s=zohoarc; b=kYKFvXNCJ4fVc0LCH2d0fm7MaVjB67DkcwdNQDmFJ/VUkRRc0eedrSYnxh9P6VJZso27fxV5yykEuT7hGKwaDLFCp4B+nRX9kG/czSm/ZjHeEoMoOZOKCvyP412jT+a+5Hj682Ah+W/yLkVN9KnLt/pfnWqRZ3Dt+oaoR5CcTcw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616744209; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=+ju+LakScqgG3Cbm7ELSuDs/UjA8jBGzMDl5pePFQQc=; b=UCG2iQFDrutuec5oN+0XokeRCwen5zI+dSJvPQOIwYZbEsoKWsKpTc7cqrJ14aTlVNVM2gCMLoo3wtkL4i0kxEk8V6lb3hrVpESDkJSapqM5xFWHY3uctdySSdthIfmOmgLgVzevVoxgFoCoKmPDQ0y7qoWAlS4fLuL/JG6thxY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73349+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616744209042818.7414245066974; Fri, 26 Mar 2021 00:36:49 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id PQX0YY1788612xRbp9UE3jSB; Fri, 26 Mar 2021 00:36:48 -0700 X-Received: from mga06.intel.com (mga06.intel.com []) by mx.groups.io with SMTP id smtpd.web11.9363.1616744201579061561 for ; Fri, 26 Mar 2021 00:36:45 -0700 IronPort-SDR: 8740rCvJtK7ZdiO/F2zmhZwyQJx7pnTdfyzBimg5t0CIxjax4gq41l3xSiKOtLEENhfx7Db/nl 8jbJG7NtX3MQ== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="252453136" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="252453136" X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:36:44 -0700 IronPort-SDR: fVcEfAM+MomuchoDmQ2JzjMOjIGNFrRUac0Mpt+7TpVWGsV7LbTsOPtao8PBRRwdoZJcZO6PmB 3VbM2f4Ge9Yw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="608800418" X-Received: from ray-dev.ccr.corp.intel.com ([10.239.158.87]) by fmsmga005.fm.intel.com with ESMTP; 26 Mar 2021 00:36:43 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [PATCH 3/3] MinPlatformPkg: Remove the microcode location PCDs Date: Fri, 26 Mar 2021 15:36:29 +0800 Message-Id: <20210326073629.1383-4-ray.ni@intel.com> In-Reply-To: <20210326073629.1383-1-ray.ni@intel.com> References: <20210326073629.1383-1-ray.ni@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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 X-Gm-Message-State: OXOKVuoaVmbgdMM9paCDBiDax1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616744208; bh=BHnQ784yZCUD2XhKA0pUk7usfUzIFu7vDyVV49AJ6sg=; h=Cc:Date:From:Reply-To:Subject:To; b=CaXsGrZlpGOxOtDCFBoFQUvps9QJ7X7vl9v82oZmn3V9Up1UGfKwKjlTnQr06djbhFR KydOEdlgNVlZJeyq4QMQXXlOG9X6qnfEBRnZdQnScf/fKqVhduCeKSMc+18OqukwE7StK FPgzOre/KvvSQMcgHZR0mQrCNpvfjtZHPYE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Signed-off-by: Ray Ni Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong --- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec b/Platform/In= tel/MinPlatformPkg/MinPlatformPkg.dec index 2b246cf0..72d37d88 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec @@ -6,7 +6,7 @@ # INF files to generate AutoGen.c and AutoGen.h files # for the build infrastructure. # -# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -162,10 +162,6 @@ gMinPlatformPkgTokenSpaceGuid.PcdFlashAreaBaseAddress|0xFF800000|UINT32|= 0x10000001 gMinPlatformPkgTokenSpaceGuid.PcdFlashAreaSize|0x00800000|UINT32|0x10000= 002 =20 - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeBase|0xFFE60000|UINT32|= 0x30000004 - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize|0x000A0000|UINT32|= 0x30000005 - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeOffset|0x00660000|UINT3= 2|0x30000006 - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemoryBase|0x00000000|UINT32|= 0x20000004 gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemorySize|0x00000000|UINT32|= 0x20000005 gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemoryOffset|0x00000000|UINT3= 2|0x20000006 --=20 2.27.0.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 (#73349): https://edk2.groups.io/g/devel/message/73349 Mute This Topic: https://groups.io/mt/81622874/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-