From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.10887.1619613400123051865 for ; Wed, 28 Apr 2021 05:36:40 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pranav.madhu@arm.com) 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 C61D01FB; Wed, 28 Apr 2021 05:36:39 -0700 (PDT) Received: from usa.arm.com (a074742.blr.arm.com [10.162.16.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 972253F694; Wed, 28 Apr 2021 05:36:38 -0700 (PDT) From: "Pranav Madhu" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar Subject: [edk2-platforms][PATCH V1 15/17] Platform/Sgi: Add CPU container for RD-N2 platform Date: Wed, 28 Apr 2021 18:05:58 +0530 Message-Id: <20210428123600.2385-16-pranav.madhu@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210428123600.2385-1-pranav.madhu@arm.com> References: <20210428123600.2385-1-pranav.madhu@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The RD-N2 platform is a sixteen core platform with each core contained in a minimal cluster logic. Update the processor device entries accordingly in the DSDT ACPI table by moving each of the processor device entries into a separate processor container devices. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl | 176 ++++++++++++++------ 1 file changed, 128 insertions(+), 48 deletions(-) diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl b/Platform/ARM/= SgiPkg/AcpiTables/RdN2/Dsdt.asl index 42cb8655b4fb..c5d6f44b3e44 100644 --- a/Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl +++ b/Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl @@ -13,100 +13,180 @@ DefinitionBlock ("DsdtTable.aml", "DSDT", 2, "ARMLTD", "ARMSGI", EFI_ACPI_ARM_OEM_REVISION) { Scope (_SB) { - Device (CP00) { // Neoverse N2 core 0 - Name (_HID, "ACPI0007") + Device (CL00) { // Cluster 0 + Name (_HID, "ACPI0010") Name (_UID, 0) - Name (_STA, 0xF) + + Device (CP00) { // Neoverse N2 core 0 + Name (_HID, "ACPI0007") + Name (_UID, 0) + Name (_STA, 0xF) + } } =20 - Device (CP01) { // Neoverse N2 core 1 - Name (_HID, "ACPI0007") + Device (CL01) { // Cluster 1 + Name (_HID, "ACPI0010") Name (_UID, 1) - Name (_STA, 0xF) + + Device (CP01) { // Neoverse N2 core 1 + Name (_HID, "ACPI0007") + Name (_UID, 1) + Name (_STA, 0xF) + } } =20 - Device (CP02) { // Neoverse N2 core 2 - Name (_HID, "ACPI0007") + Device (CL02) { // Cluster 2 + Name (_HID, "ACPI0010") Name (_UID, 2) - Name (_STA, 0xF) + + Device (CP02) { // Neoverse N2 core 2 + Name (_HID, "ACPI0007") + Name (_UID, 2) + Name (_STA, 0xF) + } } =20 - Device (CP03) { // Neoverse N2 core 3 - Name (_HID, "ACPI0007") + Device (CL03) { // Cluster 3 + Name (_HID, "ACPI0010") Name (_UID, 3) - Name (_STA, 0xF) + + Device (CP03) { // Neoverse N2 core 3 + Name (_HID, "ACPI0007") + Name (_UID, 3) + Name (_STA, 0xF) + } } =20 - Device (CP04) { // Neoverse N2 core 4 - Name (_HID, "ACPI0007") + Device (CL04) { // Cluster 4 + Name (_HID, "ACPI0010") Name (_UID, 4) - Name (_STA, 0xF) + + Device (CP04) { // Neoverse N2 core 4 + Name (_HID, "ACPI0007") + Name (_UID, 4) + Name (_STA, 0xF) + } } =20 - Device (CP05) { // Neoverse N2 core 5 - Name (_HID, "ACPI0007") + Device (CL05) { // Cluster 5 + Name (_HID, "ACPI0010") Name (_UID, 5) - Name (_STA, 0xF) + + Device (CP05) { // Neoverse N2 core 5 + Name (_HID, "ACPI0007") + Name (_UID, 5) + Name (_STA, 0xF) + } } =20 - Device (CP06) { // Neoverse N2 core 6 - Name (_HID, "ACPI0007") + Device (CL06) { // Cluster 6 + Name (_HID, "ACPI0010") Name (_UID, 6) - Name (_STA, 0xF) + + Device (CP06) { // Neoverse N2 core 6 + Name (_HID, "ACPI0007") + Name (_UID, 6) + Name (_STA, 0xF) + } } =20 - Device (CP07) { // Neoverse N2 core 7 - Name (_HID, "ACPI0007") + Device (CL07) { // Cluster 7 + Name (_HID, "ACPI0010") Name (_UID, 7) - Name (_STA, 0xF) + + Device (CP07) { // Neoverse N2 core 7 + Name (_HID, "ACPI0007") + Name (_UID, 7) + Name (_STA, 0xF) + } } =20 - Device (CP08) { // Neoverse N2 core 8 - Name (_HID, "ACPI0007") + Device (CL08) { // Cluster 8 + Name (_HID, "ACPI0010") Name (_UID, 8) - Name (_STA, 0xF) + + Device (CP08) { // Neoverse N2 core 8 + Name (_HID, "ACPI0007") + Name (_UID, 8) + Name (_STA, 0xF) + } } =20 - Device (CP09) { // Neoverse N2 core 9 - Name (_HID, "ACPI0007") + Device (CL09) { // Cluster 9 + Name (_HID, "ACPI0010") Name (_UID, 9) - Name (_STA, 0xF) + + Device (CP09) { // Neoverse N2 core 9 + Name (_HID, "ACPI0007") + Name (_UID, 9) + Name (_STA, 0xF) + } } =20 - Device (CP10) { // Neoverse N2 core 10 - Name (_HID, "ACPI0007") + Device (CL10) { // Cluster 10 + Name (_HID, "ACPI0010") Name (_UID, 10) - Name (_STA, 0xF) + + Device (CP10) { // Neoverse N2 core 10 + Name (_HID, "ACPI0007") + Name (_UID, 10) + Name (_STA, 0xF) + } } =20 - Device (CP11) { // Neoverse N2 core 11 - Name (_HID, "ACPI0007") + Device (CL11) { // Cluster 11 + Name (_HID, "ACPI0010") Name (_UID, 11) - Name (_STA, 0xF) + + Device (CP11) { // Neoverse N2 core 11 + Name (_HID, "ACPI0007") + Name (_UID, 11) + Name (_STA, 0xF) + } } =20 - Device (CP12) { // Neoverse N2 core 12 - Name (_HID, "ACPI0007") + Device (CL12) { // Cluster 12 + Name (_HID, "ACPI0010") Name (_UID, 12) - Name (_STA, 0xF) + + Device (CP12) { // Neoverse N2 core 12 + Name (_HID, "ACPI0007") + Name (_UID, 12) + Name (_STA, 0xF) + } } =20 - Device (CP13) { // Neoverse N2 core 13 - Name (_HID, "ACPI0007") + Device (CL13) { // Cluster 13 + Name (_HID, "ACPI0010") Name (_UID, 13) - Name (_STA, 0xF) + + Device (CP13) { // Neoverse N2 core 13 + Name (_HID, "ACPI0007") + Name (_UID, 13) + Name (_STA, 0xF) + } } =20 - Device (CP14) { // Neoverse N2 core 14 - Name (_HID, "ACPI0007") + Device (CL14) { // Cluster 14 + Name (_HID, "ACPI0010") Name (_UID, 14) - Name (_STA, 0xF) + + Device (CP14) { // Neoverse N2 core 14 + Name (_HID, "ACPI0007") + Name (_UID, 14) + Name (_STA, 0xF) + } } =20 - Device (CP15) { // Neoverse N2 core 15 - Name (_HID, "ACPI0007") + Device (CL15) { // Cluster 15 + Name (_HID, "ACPI0010") Name (_UID, 15) - Name (_STA, 0xF) + + Device (CP15) { // Neoverse N2 core 15 + Name (_HID, "ACPI0007") + Name (_UID, 15) + Name (_STA, 0xF) + } } } // Scope(_SB) } --=20 2.17.1