[edk2-devel] [edk2-platforms][PATCH V1 00/17] Enable idle state and CPPC support for RD platform

Pranav Madhu posted 17 patches 2 weeks, 5 days ago
Failed in applying to current master (apply log)
.../AcpiTables/RdN1EdgeX2AcpiTables.inf       |   2 +-
Platform/ARM/SgiPkg/Include/SgiAcpiHeader.h   |  69 +++
.../ARM/SgiPkg/AcpiTables/RdN1Edge/Dsdt.asl   | 218 +++++--
.../ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Dsdt.asl | 298 ++++++++++
Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl  | 540 ++++++++++++++++--
Platform/ARM/SgiPkg/AcpiTables/RdV1/Dsdt.asl  | 470 +++++++++++++--
.../ARM/SgiPkg/AcpiTables/RdV1Mc/Dsdt.asl     | 481 ++++++++++++++--
.../ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl     | 215 +++++--
8 files changed, 2072 insertions(+), 221 deletions(-)
create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Dsdt.asl

[edk2-devel] [edk2-platforms][PATCH V1 00/17] Enable idle state and CPPC support for RD platform

Posted by Pranav Madhu 2 weeks, 5 days ago
Low Power Idle (LPI) and Collaborative Processor Performance Control
(CPPC) are two power management mechanisms described in ACPI 6.4
specification. OSPM uses the _LPI object to select a local power state
for each level of processor hierarchy in the system. Collaborative
processor performance control (CPPC) defines an abstracted and flexible
mechanism for OSPM to collaborate with an entity in the platform to
manage the performance of a processor. In this patch series, CPPC
support depends on the availability of Activity Monitor Unit (AMU)
extension for CPU performance monitoring as defined in the Arm v8.4
architecture reference manuals. So CPPC is supported for RD-V1 and
RD-N2 platforms.

This patch series adds LPI support for all the Neoverse reference
design platforms. CPPC support is added for RD-V1, RD-V1-MC and
RD-N2 platforms.

This patch series should be applied on top of the patch series
https://edk2.groups.io/g/devel/message/74539

Link to github branch with the patches in this series -
https://github.com/Pranav-Madhu/edk2-platforms/tree/topics/rd_power_management

Pranav Madhu (17):
  Platform/Sgi: Macro definitions for ACPI _OSC
  Platform/Sgi: Add CPU container for SGI-575
  Platform/Sgi: Low Power Idle states for SGI-575
  Platform/Sgi: Add CPU container for RD-N1-Edge
  Platform/Sgi: Low Power Idle states for RD-N1-Edge
  Platform/Sgi: Add DSDT ACPI table for RD-N1-Edge dual-chip platform
  Platform/Sgi: Low Power Idle States for RD-N1-Edge dual-chip
  Platform/Sgi: Add CPU container for RD-V1 platform
  Platform/Sgi: Low Power Idle states for RD-V1 platform
  Platform/Sgi: Macro definitions for ACPI CPPC
  Platform/Sgi: ACPI CPPC support for RD-V1
  Platform/Sgi: Add CPU container for RD-V1 quad-chip platform
  Platform/Sgi: Low Power Idle States for RD-V1 quad-chip platform
  Platform/Sgi: ACPI CPPC support for RD-V1 quad-chip platform
  Platform/Sgi: Add CPU container for RD-N2 platform
  Platform/Sgi: Low Power Idle States for RD-N2
  Platform/Sgi: ACPI CPPC support for RD-N2

 .../AcpiTables/RdN1EdgeX2AcpiTables.inf       |   2 +-
 Platform/ARM/SgiPkg/Include/SgiAcpiHeader.h   |  69 +++
 .../ARM/SgiPkg/AcpiTables/RdN1Edge/Dsdt.asl   | 218 +++++--
 .../ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Dsdt.asl | 298 ++++++++++
 Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl  | 540 ++++++++++++++++--
 Platform/ARM/SgiPkg/AcpiTables/RdV1/Dsdt.asl  | 470 +++++++++++++--
 .../ARM/SgiPkg/AcpiTables/RdV1Mc/Dsdt.asl     | 481 ++++++++++++++--
 .../ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl     | 215 +++++--
 8 files changed, 2072 insertions(+), 221 deletions(-)
 create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Dsdt.asl

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74541): https://edk2.groups.io/g/devel/message/74541
Mute This Topic: https://groups.io/mt/82428254/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [edk2-platforms][PATCH V1 00/17] Enable idle state and CPPC support for RD platform

Posted by Thomas Abraham 2 weeks ago
On 4/28/21 6:05 PM, Pranav Madhu via groups.io wrote:
> Low Power Idle (LPI) and Collaborative Processor Performance Control
> (CPPC) are two power management mechanisms described in ACPI 6.4
> specification. OSPM uses the _LPI object to select a local power state
> for each level of processor hierarchy in the system. Collaborative
> processor performance control (CPPC) defines an abstracted and flexible
> mechanism for OSPM to collaborate with an entity in the platform to
> manage the performance of a processor. In this patch series, CPPC
> support depends on the availability of Activity Monitor Unit (AMU)
> extension for CPU performance monitoring as defined in the Arm v8.4
> architecture reference manuals. So CPPC is supported for RD-V1 and
> RD-N2 platforms.
> 
> This patch series adds LPI support for all the Neoverse reference
> design platforms. CPPC support is added for RD-V1, RD-V1-MC and
> RD-N2 platforms.
> 
> This patch series should be applied on top of the patch series
> https://edk2.groups.io/g/devel/message/74539
> 
> Link to github branch with the patches in this series -
> https://github.com/Pranav-Madhu/edk2-
> platforms/tree/topics/rd_power_management

For this series:
Reviewed-by: Thomas Abraham <thomas.abraham@arm.com>

> 
> Pranav Madhu (17):
>   Platform/Sgi: Macro definitions for ACPI _OSC
>   Platform/Sgi: Add CPU container for SGI-575
>   Platform/Sgi: Low Power Idle states for SGI-575
>   Platform/Sgi: Add CPU container for RD-N1-Edge
>   Platform/Sgi: Low Power Idle states for RD-N1-Edge
>   Platform/Sgi: Add DSDT ACPI table for RD-N1-Edge dual-chip platform
>   Platform/Sgi: Low Power Idle States for RD-N1-Edge dual-chip
>   Platform/Sgi: Add CPU container for RD-V1 platform
>   Platform/Sgi: Low Power Idle states for RD-V1 platform
>   Platform/Sgi: Macro definitions for ACPI CPPC
>   Platform/Sgi: ACPI CPPC support for RD-V1
>   Platform/Sgi: Add CPU container for RD-V1 quad-chip platform
>   Platform/Sgi: Low Power Idle States for RD-V1 quad-chip platform
>   Platform/Sgi: ACPI CPPC support for RD-V1 quad-chip platform
>   Platform/Sgi: Add CPU container for RD-N2 platform
>   Platform/Sgi: Low Power Idle States for RD-N2
>   Platform/Sgi: ACPI CPPC support for RD-N2
> 
>  .../AcpiTables/RdN1EdgeX2AcpiTables.inf       |   2 +-
>  Platform/ARM/SgiPkg/Include/SgiAcpiHeader.h   |  69 +++
>  .../ARM/SgiPkg/AcpiTables/RdN1Edge/Dsdt.asl   | 218 +++++--
>  .../ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Dsdt.asl | 298 ++++++++++
>  Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl  | 540 ++++++++++++++++--
>  Platform/ARM/SgiPkg/AcpiTables/RdV1/Dsdt.asl  | 470 +++++++++++++--
>  .../ARM/SgiPkg/AcpiTables/RdV1Mc/Dsdt.asl     | 481 ++++++++++++++--
>  .../ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl     | 215 +++++--
>  8 files changed, 2072 insertions(+), 221 deletions(-)
>  create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Dsdt.asl
> 
> --
> 2.17.1
> 
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#74541): https://edk2.groups.io/g/devel/message/74541
> Mute This Topic: https://groups.io/mt/82428254/1785010
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [thomas.abraham@arm.com]
> -=-=-=-=-=-=
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74709): https://edk2.groups.io/g/devel/message/74709
Mute This Topic: https://groups.io/mt/82428254/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-