From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 422BB780091 for ; Thu, 4 Jan 2024 13:16:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=wlIDZtZ6a0oMQlUASDN5dEXpuKu/RGQ/K270SCm6sio=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1704374187; v=1; b=fK707J5mByRPFDJkihmPo9tzHq4KYmO9W8u1L02/JDeNbYCwMgYKl4daUrJ5A2Jjt25sN4yt GDSTYoQWFEti8Pck3558EF2lUvJsDhAQ6/RvFqU2o1dCGdRwEv3T6RDjYVGDR9CxBcBLqn8MAkI O7MGBVOFHf93dyumT/J7LIz4= X-Received: by 127.0.0.2 with SMTP id mK53YY7687511xIZfaW6bZaZ; Thu, 04 Jan 2024 05:16:27 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.53377.1704374186160399229 for ; Thu, 04 Jan 2024 05:16:26 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 30250C15; Thu, 4 Jan 2024 05:17:11 -0800 (PST) X-Received: from usa.arm.com (a077434.blr.arm.com [10.162.17.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A3C5B3F64C; Thu, 4 Jan 2024 05:16:23 -0800 (PST) From: "sahil" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Sahil Kaushal Subject: [edk2-devel] [edk2-platforms][PATCH V4 0/4] Add support to parse NT_FW_CONFIG Date: Thu, 4 Jan 2024 18:46:12 +0530 Message-Id: <20240104131616.474492-1-sahil@arm.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 Reply-To: devel@edk2.groups.io,sahil@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: McJwnKEzv0iSHLpsKzBwBwEqx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=fK707J5m; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io NT_FW_CONFIG DTB contains platform information passed by Tf-A boot stage. This information is used for Virtual memory map generation during PEI pha= se and passed on to DXE phase as a HOB, where it is used in ConfigurationManagerDxe. This patch adds a PEI to parse NT_FW_CONFIG and pass it to other PEI modules(as PPI) and DXE modules(as HOB). v4: - Fixed code review comments - Split the patch into four patches sahil (4): Silicon/ARM/NeoverseN1Soc: Extract NT_FW_CONFIG address passed by TF-A Platform/ARM/N1Sdp: Add N1SdpNtFwConfigPei PEI module Platform/ARM/N1Sdp: Enable N1SdpNtFwConfigPei PEI module for N1Sdp Silicon/ARM/NeoverseN1Soc: Consume N1SdpNtFwConfigPei supplied data Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec = | 8 +- Platform/ARM/N1Sdp/N1SdpPlatform.dsc = | 5 +- Platform/ARM/N1Sdp/N1SdpPlatform.fdf = | 3 +- Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Configur= ationManagerDxe.inf | 6 +- Platform/ARM/N1Sdp/Drivers/N1SdpNtFwConfigPei/NtFwConfigPei.inf = | 41 ++++++ Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.inf = | 4 +- Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Configur= ationManager.h | 5 +- Silicon/ARM/NeoverseN1Soc/Include/NeoverseN1Soc.h = | 14 +-- Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Configur= ationManager.c | 33 ++--- Platform/ARM/N1Sdp/Drivers/N1SdpNtFwConfigPei/NtFwConfigPei.c = | 132 ++++++++++++++++++++ Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.c = | 12 +- Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLibMem.c = | 35 ++++-- Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/AArch64/Helper.S = | 4 +- 13 files changed, 263 insertions(+), 39 deletions(-) create mode 100644 Platform/ARM/N1Sdp/Drivers/N1SdpNtFwConfigPei/NtFwCon= figPei.inf create mode 100644 Platform/ARM/N1Sdp/Drivers/N1SdpNtFwConfigPei/NtFwCon= figPei.c --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113163): https://edk2.groups.io/g/devel/message/113163 Mute This Topic: https://groups.io/mt/103521642/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-