From nobody Sun May 19 10:01:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+75381+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+75381+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1621431327; cv=none; d=zohomail.com; s=zohoarc; b=Wn50prB7kAUKRUtBoHa5Y/FakZekUJWgrj3TCoLlSXyt56FH26ux4U4vFwC1VUP+3kf2etHOFVvLQqwuShGzJtfCawb/d4sY51fC7gmE45PHNUAqjJRWPFq9WnxX1dNJzIfMFL4n/pAFtdRfmqskYaZBS9RHINQPWxOEPxFOGss= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621431327; h=Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To; bh=+OU+pYLH14z0/Hd6Lj7GwMkDXSX3KYUddPSSQhBAGgI=; b=cvzmuRMuWM7MpHJtHgUtegfxnxWPTWnUUfEMiO6PhEirzokRq6XQW9d+AMEu3IRnK90mb+M70vgu6aGPK1JPD+dQ+V72sbEd+0M+CVl6LnWWfAuSQ+UGKAC+87iLL4VgIOxGBjBUvggS7A6Ru0yW5gn1rQkCRqHgOeualRKufMI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+75381+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1621431327579684.1374478688697; Wed, 19 May 2021 06:35:27 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id PiQVYY1788612x2UPaNDNuAD; Wed, 19 May 2021 06:35:25 -0700 X-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 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 E87BA31B; Wed, 19 May 2021 06:35:18 -0700 (PDT) X-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: [edk2-devel] [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> Precedence: Bulk List-Unsubscribe: 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,chandni.cherukuri@arm.com X-Gm-Message-State: 5foJ8UlefQLFHLMF01uTqfZ1x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1621431325; bh=tLKTuSShqMUe55y8QPh0xgeAlc/EZX20NWlo7PKaAQI=; h=Cc:Date:From:Reply-To:Subject:To; b=LlDfKwSvrLaAONkw4fxbKOXHtZ9ObpjpZI4m3WV3A7bVfa3bBJZu7HT2BAHPXygrVw3 MiBV5OJRoUJNIupa7Etb92YabukegI0+QghkKc+0AJM3nj3dkMbgr4MuZ4MlCwRRCbcaX ohSfYcPEVKx3OHCHbT59SDsKV9c7qGZN7D4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Chris Jones < christopher. jones @arm.com> --- Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/Configur= ationManager.c | 3 +-- Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/Configur= ationManager.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.c b/Platform/ARM/Morello/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.c index 89fadbcb03..7c949812ec 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c @@ -389,8 +389,7 @@ EDKII_COMMON_PLATFORM_REPOSITORY_INFO CommonPlatformInf= o =3D { // 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 }, =20 // Resources private to the SoC diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.h b/Platform/ARM/Morello/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.h index fea4a0efd2..09ebc9a842 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.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 =20 /** The number of resources private to SoC - slc cache --=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 (#75381): https://edk2.groups.io/g/devel/message/75381 Mute This Topic: https://groups.io/mt/82936146/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-