From nobody Tue Feb 10 01:35:18 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+58622+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+58622+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588683839; cv=none; d=zohomail.com; s=zohoarc; b=OBSmBt3hezYXk0Y1eCx87n6cK33Krtr3TofG/Wni/xICi8ywduNj7ylitXb4wUqmF5Qu4nYrKGV58NPLI0qDPtfp2sumIXQkeFFwaHBtjp7nxpzeWWEI+xBmLqkYtXptTUuhJGuxLfffFfSwjNSQI2ylLXcFZ2jnBW4Dyco7RFQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588683839; 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=xunUaF6auAj17QwIjm/JljCm2TM6x3Sy6YoeVtxm9/s=; b=Z2aUAN1RqiZS0TpNUKzHjcIjAlEhcYSheYjIBDRI/HaKxDSq8Dz4flrN8MYhdd/IZ1irC61O3+Kt7loPYSo8T0VmAngTDBAg25/2YUnKlnOIsMe9wOBpzh17GQtPwgi1uR8Szex2UAnaqEzuDpNLZ2zDw9A1aHWAzrV4l+qHHpc= 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+58622+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588683839261274.207056385183; Tue, 5 May 2020 06:03:59 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id MvQLYY1788612xXUzl3wh5fd; Tue, 05 May 2020 06:03:58 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.7123.1588683837866018458 for ; Tue, 05 May 2020 06:03:57 -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 96F2A30E; Tue, 5 May 2020 06:03:57 -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 A8D293F68F; Tue, 5 May 2020 06:03:55 -0700 (PDT) From: "Aditya Angadi" To: devel@edk2.groups.io Cc: thomas.abraham@arm.com, ard.biesheuvel@arm.com, vijayenthiran.subramaniam@arm.com, leif@nuviainc.com, Aditya Angadi Subject: [edk2-devel] [PATCH v5][edk2-platforms 13/17] Platform/ARM/SgiPkg: Use chip count constant on rdn1edgex2 platform Date: Tue, 5 May 2020 18:32:10 +0530 Message-Id: <20200505130214.25592-14-aditya.angadi@arm.com> In-Reply-To: <20200505130214.25592-1-aditya.angadi@arm.com> References: <20200505130214.25592-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: Xlk5sYNVSOvyjOBzm9IxjDkcx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588683838; bh=QaLhZs/lbFpX/LMkBEIzQKfMp216ZUVg945lF8fFBrY=; h=Cc:Date:From:Reply-To:Subject:To; b=PvKV/HDPNN9kNHNQMT/EUiYHjZBYBTG7SgRBe7Bko6Q8zN1HuINvjXSVFz53LMFvMUR NB6JKSLsO075H1aEdZFTiYUaAdVpI/wSmEGHDQ4BSmIoSVHJ5AtanzoVpC4BSU7p4bKou 39Gw7Dfh5Y952eLDvSYCJk2rxhzcX0LJizI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Use the PcdChipCount constant to define the maximum number of chips included in the multi-chip package. In addition to this, remove the hardcoded value of the chip count in the MADT ACPI table of RD-N1-EdgeX2 platform and replace it with the number of chips specified by 'PcdChipCount'. Signed-off-by: Aditya Angadi --- Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Madt.aslc | 2 +- Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Madt.aslc b/Platform= /ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Madt.aslc index 47368931e367..f9210cc6226a 100644 --- a/Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Madt.aslc +++ b/Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Madt.aslc @@ -17,7 +17,7 @@ #define CORE_CNT (FixedPcdGet32 (PcdClusterCount) * \ FixedPcdGet32 (PcdCoreCount)) =20 -#define CHIP_CNT 2 +#define CHIP_CNT (FixedPcdGet32 (PcdChipCount)) =20 // Multiple APIC Description Table #pragma pack (1) diff --git a/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc b/Platform/ARM/S= giPkg/RdN1EdgeX2/RdN1EdgeX2.dsc index 6c9e30eadb95..1cb41d119e3e 100644 --- a/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc +++ b/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc @@ -41,6 +41,9 @@ [PcdsFixedAtBuild.common] gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x300C0000 gArmSgiTokenSpaceGuid.PcdGicSize|0x100000 =20 + # Number of chips in the multi-chip package + gArmSgiTokenSpaceGuid.PcdChipCount|2 + ##########################################################################= ###### # # Components Section - list of all EDK II Modules needed by this Platform --=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 (#58622): https://edk2.groups.io/g/devel/message/58622 Mute This Topic: https://groups.io/mt/73997076/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-