From nobody Mon Feb 9 16:01:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+57342+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+57342+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1586868784; cv=none; d=zohomail.com; s=zohoarc; b=icM6e0w9ihPTTNbiNCZ5WhJRZJlwhomuVCxRnXNhvGW5VHMi0+sxy8MMRKjd8Ldr1XVODAm0n5IYiLiEZrVHSVxKkZVFIhTz9cOAscLRh/2Vlf7p9Z6oL7wRbJEB7hBWcXz38RzeV+j5Mlf/l3Jc6Tx7EuqRBmrrpgnCRDxvcNc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586868784; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=XtGzaPhB/w9iFnFs2gMdk1lFUsC+niEgc73JkhYSWoE=; b=NCljTcOV5Hmu23mm82UB3VyqfeCawBxTmPJVBnNA/i44PEFpQ3EmqTzvuxGn3r3RINw8dC+pQ5OYIsji72uZ24QzjjmymsxEmC2UeUvJQtA3HEzME+oQslYHVZUv1cJsSnGOxrj2m38lDXV3+loiAWpFCq+NkMvQn1V3nnqOGI8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+57342+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 158686878424865.30824891180043; Tue, 14 Apr 2020 05:53:04 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id S5liYY1788612xcOhLac6ZYH; Tue, 14 Apr 2020 05:53:03 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.10417.1586868783382664448 for ; Tue, 14 Apr 2020 05:53:03 -0700 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 0CB2A30E; Tue, 14 Apr 2020 05:53:03 -0700 (PDT) X-Received: from usa.arm.com (a073440-lin.blr.arm.com [10.162.16.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 58F883F73D; Tue, 14 Apr 2020 05:53:01 -0700 (PDT) From: "Aditya Angadi" To: devel@edk2.groups.io Cc: thomas.abraham@arm.com, ard.biesheuvel@arm.com, leif@nuviainc.com, Aditya Angadi Subject: [edk2-devel] [edk2-platforms][PATCH v4 8/9] Platform/ARM/Sgi: Add initial support for RD-Daniel Config-XLR platform Date: Tue, 14 Apr 2020 18:22:07 +0530 Message-Id: <20200414125208.2878-9-aditya.angadi@arm.com> In-Reply-To: <20200414125208.2878-1-aditya.angadi@arm.com> References: <20200414125208.2878-1-aditya.angadi@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,aditya.angadi@arm.com X-Gm-Message-State: Z0niSOqQdzpu3qqJfJ3darUox1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1586868783; bh=iBYfVz1gMPGFdDH+HozEmr7i4U3jlp6vPIphITSEF7E=; h=Cc:Date:From:Reply-To:Subject:To; b=rLLNUmCVZlcaWzHLIAaOaTs51ryu4spzq64PCSubB0c/uGPGUA0NGaf/4v89ctTkhYe redbphVzWxdixcL1gOWiXhxBLlJvp2Mp2gqv5PJtB89DlDDDFD1FUZb2tnuQwrcNYOk1D NCFPWOoOXi8+xeFMWSUX7p+I0d718l061ug= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Arm's RD-Daniel Config-XLR platform is a quad chip platform with each chip having four Neoverse cores and 8GB of RAM attached to it. These chips are coherently connected over CCIX interface. Add initial support for this platform. Signed-off-by: Aditya Angadi --- Platform/ARM/SgiPkg/AcpiTables/RdDanielCfgXlrAcpiTables.inf | 3 + Platform/ARM/SgiPkg/Include/SgiPlatform.h | 1 + Platform/ARM/SgiPkg/RdDanielCfgXlr/RdDanielCfgXlr.dsc | 70 +++++++++= +++++++++++ Platform/ARM/SgiPkg/RdDanielCfgXlr/RdDanielCfgXlr.fdf.inc | 10 +++ 4 files changed, 84 insertions(+) diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdDanielCfgXlrAcpiTables.inf b/= Platform/ARM/SgiPkg/AcpiTables/RdDanielCfgXlrAcpiTables.inf index d05f025b108c..e6bd2039dd55 100644 --- a/Platform/ARM/SgiPkg/AcpiTables/RdDanielCfgXlrAcpiTables.inf +++ b/Platform/ARM/SgiPkg/AcpiTables/RdDanielCfgXlrAcpiTables.inf @@ -42,12 +42,15 @@ [Packages] [FixedPcd] gArmPlatformTokenSpaceGuid.PcdSerialDbgRegisterBase gArmPlatformTokenSpaceGuid.PL011UartInterrupt + gArmPlatformTokenSpaceGuid.PcdCoreCount + gArmPlatformTokenSpaceGuid.PcdClusterCount =20 gArmTokenSpaceGuid.PcdSystemMemoryBase gArmTokenSpaceGuid.PcdSystemMemorySize gArmSgiTokenSpaceGuid.PcdDramBlock2Base gArmSgiTokenSpaceGuid.PcdDramBlock2Size =20 + gArmSgiTokenSpaceGuid.PcdChipCount gArmSgiTokenSpaceGuid.PcdDramBlock1BaseRemote1 gArmSgiTokenSpaceGuid.PcdDramBlock1SizeRemote1 gArmSgiTokenSpaceGuid.PcdDramBlock2BaseRemote1 diff --git a/Platform/ARM/SgiPkg/Include/SgiPlatform.h b/Platform/ARM/SgiPk= g/Include/SgiPlatform.h index a9d8d70f8667..f371450023b3 100644 --- a/Platform/ARM/SgiPkg/Include/SgiPlatform.h +++ b/Platform/ARM/SgiPkg/Include/SgiPlatform.h @@ -73,6 +73,7 @@ // RD-Daniel Platform Identification values #define RD_DANIEL_PART_NUM 0x78A #define RD_DANIEL_CFGM_CONF_ID 0x1 +#define RD_DANIEL_CFGXLR_CONF_ID 0x2 =20 #define SGI_CONFIG_MASK 0x0F #define SGI_CONFIG_SHIFT 0x1C diff --git a/Platform/ARM/SgiPkg/RdDanielCfgXlr/RdDanielCfgXlr.dsc b/Platfo= rm/ARM/SgiPkg/RdDanielCfgXlr/RdDanielCfgXlr.dsc new file mode 100644 index 000000000000..e949fe46447e --- /dev/null +++ b/Platform/ARM/SgiPkg/RdDanielCfgXlr/RdDanielCfgXlr.dsc @@ -0,0 +1,70 @@ +# +# Copyright (c) 2020, ARM Limited. All rights reserved. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# + +##########################################################################= ###### +# +# Defines Section - statements that will be processed to create a Makefile. +# +##########################################################################= ###### +[Defines] + PLATFORM_NAME =3D RdDanielCfgXlr + PLATFORM_GUID =3D 082f1695-b92a-4761-a7e3-f577938cc9eb + PLATFORM_VERSION =3D 0.1 + DSC_SPECIFICATION =3D 0x0001001B + OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME) + SUPPORTED_ARCHITECTURES =3D AARCH64|ARM + BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE + SKUID_IDENTIFIER =3D DEFAULT + FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf + BOARD_DXE_FV_COMPONENTS =3D Platform/ARM/SgiPkg/RdDanielCfgXlr/Rd= DanielCfgXlr.fdf.inc + BUILD_NUMBER =3D 1 + +# include common definitions from SgiPlatform.dsc +!include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc + +##########################################################################= ###### +# +# Pcd Section - list of all EDK II PCD Entries defined by this Platform +# +##########################################################################= ###### + +[PcdsFixedAtBuild.common] + # GIC Base Addresses + gArmTokenSpaceGuid.PcdGicDistributorBase|0x30000000 + gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x30140000 + gArmSgiTokenSpaceGuid.PcdGicSize|0x200000 + + # ARM Cores and Clusters + gArmPlatformTokenSpaceGuid.PcdCoreCount|1 + gArmPlatformTokenSpaceGuid.PcdClusterCount|4 + + # Number of chips on the platform + gArmSgiTokenSpaceGuid.PcdChipCount|4 + + # Remote chip memory base and size + gArmSgiTokenSpaceGuid.PcdDramBlock1BaseRemote1|0x40080000000 + gArmSgiTokenSpaceGuid.PcdDramBlock1SizeRemote1|0x80000000 + gArmSgiTokenSpaceGuid.PcdDramBlock2BaseRemote1|0x48080000000 + gArmSgiTokenSpaceGuid.PcdDramBlock2SizeRemote1|0x180000000 + + gArmSgiTokenSpaceGuid.PcdDramBlock1BaseRemote2|0x80080000000 + gArmSgiTokenSpaceGuid.PcdDramBlock1SizeRemote2|0x80000000 + gArmSgiTokenSpaceGuid.PcdDramBlock2BaseRemote2|0x88080000000 + gArmSgiTokenSpaceGuid.PcdDramBlock2SizeRemote2|0x180000000 + + gArmSgiTokenSpaceGuid.PcdDramBlock1BaseRemote3|0xC0080000000 + gArmSgiTokenSpaceGuid.PcdDramBlock1SizeRemote3|0x80000000 + gArmSgiTokenSpaceGuid.PcdDramBlock2BaseRemote3|0xC8080000000 + gArmSgiTokenSpaceGuid.PcdDramBlock2SizeRemote3|0x180000000 + +##########################################################################= ###### +# +# Components Section - list of all EDK II Modules needed by this Platform +# +##########################################################################= ###### + +[Components.common] + Platform/ARM/SgiPkg/AcpiTables/RdDanielCfgXlrAcpiTables.inf diff --git a/Platform/ARM/SgiPkg/RdDanielCfgXlr/RdDanielCfgXlr.fdf.inc b/Pl= atform/ARM/SgiPkg/RdDanielCfgXlr/RdDanielCfgXlr.fdf.inc new file mode 100644 index 000000000000..0c50caf63860 --- /dev/null +++ b/Platform/ARM/SgiPkg/RdDanielCfgXlr/RdDanielCfgXlr.fdf.inc @@ -0,0 +1,10 @@ +# +# Copyright (c) 2020, ARM Limited. All rights reserved. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# + +# Per-platform additional content of the DXE phase firmware volume + + # ACPI support + INF RuleOverride=3DACPITABLE Platform/ARM/SgiPkg/AcpiTables/RdDanielCfgX= lrAcpiTables.inf --=20 2.17.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 (#57342): https://edk2.groups.io/g/devel/message/57342 Mute This Topic: https://groups.io/mt/73009402/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-