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.web10.26972.1683292717409602189 for ; Fri, 05 May 2023 06:18:37 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@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 6A7D31FB; Fri, 5 May 2023 06:19:21 -0700 (PDT) Received: from e126645.arm.com (e126645.nice.arm.com [10.34.100.110]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4D9333F64C; Fri, 5 May 2023 06:18:36 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar Subject: [PATCH v1 0/3] Platform/ARM: Enable _CPC/_PSD generation on Juno-r2 Date: Fri, 5 May 2023 15:18:27 +0200 Message-Id: <20230505131830.1310792-1-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Pierre Gondois A recent patchset [1] allows the generation of _PSD/_CPC ACPI objects by querying the relevant information through the SCMI protocol. - The _PSD object describes to which performance domain a CPU belongs. CPUs in the same performance domain have the same frequency. - The _CPC object describes an interface to control the performance level of a CPU (i.e. its frequency). Demonstrate the _PSD/_CPC generation functionality on Juno-r2 platforms. In order to work, the SCP must describe performance levels on a unified scale (i.e. not as frequencies). The following performance level values where used for testing: - little CPUs OPPs: [181, 322, 383] * 1000 - big CPUs OPPs: [512, 833, 1024] * 1024 [1] https://edk2.groups.io/g/devel/message/104115 Pierre Gondois (3): Platform/ARM: Juno: Fix typo Platform/ARM: Juno: Generate _PSD objects Platform/ARM: Juno: Generate _CPC objects for JunoR2 .../ConfigurationManager.c | 339 +++++++++++++++++- .../ConfigurationManager.h | 34 +- .../ConfigurationManagerDxe.inf | 1 + 3 files changed, 359 insertions(+), 15 deletions(-) --=20 2.25.1