public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH v2 0/3] Platform/ARM: Enable _CPC/_PSD generation on Juno-r2
@ 2023-10-25 11:28 PierreGondois
  2023-10-25 11:28 ` [edk2-devel] [PATCH v2 1/3] Platform/ARM: Juno: Fix typo PierreGondois
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: PierreGondois @ 2023-10-25 11:28 UTC (permalink / raw)
  To: devel; +Cc: Sami Mujawar, Ard Biesheuvel, Thomas Abraham

From: Pierre Gondois <pierre.gondois@arm.com>

v1:
- https://edk2.groups.io/g/devel/message/104127
v2:
- Rebase patches on latest version.
- Correct frequency values which were advertised in KHz
  when CPPC spec require them to be in MHz.

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

The SCP should also:
- have fast channel enabled
- set the `approximate_level` feature to allow performance level requests
  in between OPP leveles.

[1] https://edk2.groups.io/g/devel/message/110036

Pierre Gondois (3):
  Platform/ARM: Juno: Fix typo
  Platform/ARM: Juno: Generate _PSD objects
  Platform/ARM: Juno: Generate _CPC objects for JunoR2

 .../ConfigurationManager.c                    | 333 +++++++++++++++++-
 .../ConfigurationManager.h                    |  25 +-
 .../ConfigurationManagerDxe.inf               |   1 +
 3 files changed, 346 insertions(+), 13 deletions(-)

-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#110048): https://edk2.groups.io/g/devel/message/110048
Mute This Topic: https://groups.io/mt/102175861/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-25 11:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-25 11:28 [edk2-devel] [PATCH v2 0/3] Platform/ARM: Enable _CPC/_PSD generation on Juno-r2 PierreGondois
2023-10-25 11:28 ` [edk2-devel] [PATCH v2 1/3] Platform/ARM: Juno: Fix typo PierreGondois
2023-10-25 11:28 ` [edk2-devel] [PATCH v2 2/3] Platform/ARM: Juno: Generate _PSD objects PierreGondois
2023-10-25 11:28 ` [edk2-devel] [PATCH v2 3/3] Platform/ARM: Juno: Generate _CPC objects for JunoR2 PierreGondois

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox