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.11518.1621431319743221523 for ; Wed, 19 May 2021 06:35:20 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: chandni.cherukuri@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 E87BA31B; Wed, 19 May 2021 06:35:18 -0700 (PDT) Received: from usa.arm.com (a074744.blr.arm.com [10.162.17.16]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4D70B3F73B; Wed, 19 May 2021 06:35:17 -0700 (PDT) From: "chandni cherukuri" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Chandni Cherukuri Subject: [PATCH] Platform/ARM/Morello: Correct the private resources in PPTT Date: Wed, 19 May 2021 19:04:38 +0530 Message-Id: <20210519133438.28355-1-chandni.cherukuri@arm.com> X-Mailer: git-send-email 2.17.1 As per ACPI specification, only the head of the list needs to be listed as a resources by a processore node, as cache node itself contains a link to the next level of cache. Signed-off-by: Chandni Cherukuri --- Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c | 3 +-- Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c index 89fadbcb03..7c949812ec 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c @@ -389,8 +389,7 @@ EDKII_COMMON_PLATFORM_REPOSITORY_INFO CommonPlatformInfo = { // Resources private to each individual 'core instance in Cluster { { REFERENCE_TOKEN (CacheInfo[1]) }, // -> 'core's L1 I-cache in Cluster - { REFERENCE_TOKEN (CacheInfo[2]) }, // -> 'core's L1 D-cache in Cluster - { REFERENCE_TOKEN (CacheInfo[3]) } // -> 'core's L2 cache in Cluster + { REFERENCE_TOKEN (CacheInfo[2]) } // -> 'core's L1 D-cache in Cluster }, // Resources private to the SoC diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h index fea4a0efd2..09ebc9a842 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h @@ -205,9 +205,8 @@ HandleCmObjectRefByToken ( /** The number of resources private to 'core instance - L1 data cache - L1 instruction cache - - L2 cache */ -#define CORE_RESOURCE_COUNT 3 +#define CORE_RESOURCE_COUNT 2 /** The number of resources private to SoC - slc cache -- 2.17.1