From nobody Fri May 17 05:50:02 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+86419+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+86419+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1644258902; cv=none; d=zohomail.com; s=zohoarc; b=X37ZwWT56gGi8rGLeVYoHqo2kKdBg/jxcMH1hbM3UcK7+5T1YtYYR4byf491m6PlDn8iCxA6AvCZWn5hWQHQtSCgQUtZS5cClWNDU1iwkavdZHMfzs6bi+QL/NOfm3sDgJDEcxiiVGcssRzrE/HuVrZgqO9KwDPcTUFpUAOdch8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644258902; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=cznKNzFEvabgc7q0Cl0BS2zwKPPa1FgAN3i1M4GpApI=; b=kK6bVQPGlnPDSKSvJkeT7GXtWCsoEKQ29UBdzotOve7M67OGyY3ojOb9gsbNQJXZ8dRugKbFVgU8mlRPRAO9+xhw6ES76wti2UiHKM9EiJhyu4UNLzffnIel7Z1Bjk0JrcPxvoH79pWw2KiiwXua/U50rlBcoGqg/TI0D9kWZdA= 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+86419+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1644258902701193.90218784674164; Mon, 7 Feb 2022 10:35:02 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id PSVlYY1788612xlhvpBlkmGB; Mon, 07 Feb 2022 10:35:02 -0800 X-Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web08.19549.1644221496280934535 for ; Mon, 07 Feb 2022 00:11:36 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10250"; a="232233569" X-IronPort-AV: E=Sophos;i="5.88,349,1635231600"; d="scan'208";a="232233569" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2022 00:11:35 -0800 X-IronPort-AV: E=Sophos;i="5.88,349,1635231600"; d="scan'208";a="539996399" X-Received: from xzhang-desk.ccr.corp.intel.com ([10.240.80.51]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2022 00:11:32 -0800 From: Xiaoqiang Zhang To: devel@edk2.groups.io Cc: Xiaoqiang Zhang , Chasel Chiu , Nate DeSimone , Isaac Oram Subject: [edk2-devel] [PATCH v1] MinPlatformPkg: Install memory relating PPIs Date: Mon, 7 Feb 2022 16:11:09 +0800 Message-Id: <20220207081109.1094-1-xiaoqiang.zhang@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,xiaoqiang.zhang@intel.com X-Gm-Message-State: 3ZHQ8qxU0eGdThBynFFRA8A6x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1644258902; bh=vBFb3UGrhIRgO4y621DkdYr3U+VwmduUmcyDTGhEFVs=; h=Cc:Date:From:Reply-To:Subject:To; b=wRx0iVA1duy8WTPfexuDTYyZW905qeH/EAucyaWy8Fy1+hrXKygRwP6jQQaUyaHEABm Ich6gB8rLnzCaBNW9eANy9+2TFWsJfnXJ56Rl7HA4q6VOeUQsQb5E7xsymex7BBGzkZSI SIscJNN3u4EBgbNTlbOtCA65CyNC+5CoMJA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1644258905338100001 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3824 Install memory relating PPIs for EDKII native build and FSP dispatch mode Signed-off-by: Xiaoqiang Zhang Cc: Chasel Chiu Cc: Nate DeSimone Cc: Isaac Oram Reviewed-by: Chasel Chiu > Reviewed-by: Chasel Chiu Reviewed-by: Nate DeSimone --- Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPre= Mem.c | 5 ++++- Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPre= Mem.inf | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/Pla= tformInitPreMem.c b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInit= Pei/PlatformInitPreMem.c index 6519fdd042..d8c96b52f4 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformIn= itPreMem.c +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformIn= itPreMem.c @@ -481,7 +481,10 @@ PlatformInitPreMem ( =20 BuildMemoryTypeInformation (); =20 - if (!PcdGetBool(PcdFspWrapperBootMode)) { + if ((!PcdGetBool (PcdFspWrapperBootMode)) || (PcdGet8 (PcdFspModeSelecti= on) =3D=3D 0)) { + // + // Install memory relating PPIs for EDKII native build and FSP dispatc= h mode + // Status =3D PeiServicesInstallPpi (mMemPpiList); ASSERT_EFI_ERROR (Status); } diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/Pla= tformInitPreMem.inf b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformIn= itPei/PlatformInitPreMem.inf index fb997838ef..86d8246f02 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformIn= itPreMem.inf +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformIn= itPreMem.inf @@ -34,11 +34,13 @@ MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec IntelSiliconPkg/IntelSiliconPkg.dec + IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec =20 [Pcd] gMinPlatformPkgTokenSpaceGuid.PcdFspWrapperBootMode ## CONSUMES gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit ## CONSUMES gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit ## CONSUMES + gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection ## CONSUMES =20 [FixedPcd] gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiAcpiReclaimMemorySize ## CO= NSUMES --=20 2.32.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 (#86419): https://edk2.groups.io/g/devel/message/86419 Mute This Topic: https://groups.io/mt/88967939/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-