Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 3630cdf6e7ffc9d93868f52a3bcddb3d2715c74c
      
https://github.com/tianocore/edk2/commit/3630cdf6e7ffc9d93868f52a3bcddb3d2715c74c
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M ArmPkg/Include/Protocol/ArmScmiPerformanceProtocol.h

  Log Message:
  -----------
  ArmPkg/ArmScmiDxe: Rename PERFORMANCE_PROTOCOL_VERSION

Rename PERFORMANCE_PROTOCOL_VERSION to reflect the different
versions of the protocol. The macro is neither used in edk2 nor
in edk2-platforms.

Reviewed-by: Leif Lindholm <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Sami Mujawar <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>


  Commit: 9f0ebabb57cc9c0f34ab5d3bb879e97a1d431b7d
      
https://github.com/tianocore/edk2/commit/9f0ebabb57cc9c0f34ab5d3bb879e97a1d431b7d
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M ArmPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c
    M ArmPkg/Include/Protocol/ArmScmiPerformanceProtocol.h

  Log Message:
  -----------
  ArmPkg/ArmScmiDxe: Add PERFORMANCE_DESCRIBE_FASTCHANNEL support

The PERFORMANCE_DESCRIBE_FASTCHANNEL Scmi command is available
since SCMI v2.0 and allows to query information about the supported
fast-channels of the Scmi performance protocol.
Add support for this command.

Also move SCMI_MESSAGE_ID_PERFORMANCE enum definition up in the file
to use it in SCMI_PERFORMANCE_DESCRIBE_FASTCHANNEL function
declaration.

Reviewed-by: Leif Lindholm <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Sami Mujawar <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>


  Commit: ec15e345ae1b9e98d49e8aa1219d103a93e47d03
      
https://github.com/tianocore/edk2/commit/ec15e345ae1b9e98d49e8aa1219d103a93e47d03
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c

  Log Message:
  -----------
  DynamicTablesPkg: Use new CPC revision macro

Make use of the newly added CPC revision macro.

Reviewed-by: Sami Mujawar <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>


  Commit: e3992e40c7d79f27fa8f923e8a1b0251eb69d7d7
      
https://github.com/tianocore/edk2/commit/e3992e40c7d79f27fa8f923e8a1b0251eb69d7d7
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    A DynamicTablesPkg/Include/AcpiObjects.h
    R DynamicTablesPkg/Include/AmlCpcInfo.h
    M DynamicTablesPkg/Include/ArmNameSpaceObjects.h
    M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h
    M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c

  Log Message:
  -----------
  DynamicTablesPkg: Rename AmlCpcInfo.h to AcpiObjects.h

The DynamicTables framework uses the AmlLib to generate some
Aml objects. It is done by using structured known by both
frameworks, e.g. the AML_CPC_INFO/CM_ARM_CPC_INFO structures.

To prepare adding similar structures (e.g. representing _PSD
information), rename AmlCpcInfo.h to AcpiObjects.h. This new
file will contain all the structures used by the AmlLib and
the DynamicTables framework.

Reviewed-by: Sami Mujawar <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>


  Commit: 71ec5d3415c9c012d9dc08a5073c20380eb5d17b
      
https://github.com/tianocore/edk2/commit/71ec5d3415c9c012d9dc08a5073c20380eb5d17b
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M DynamicTablesPkg/Include/AcpiObjects.h
    M DynamicTablesPkg/Include/ArmNameSpaceObjects.h
    M 
DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c

  Log Message:
  -----------
  DynamicTablesPkg: Add CM_ARM_PSD_INFO object

Add an object describing _PSD information, cf. ACPI 6.5,
s8.4.5.5 _PSD (P-State Dependency).
Also add the corresponding CmObjParser.

Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Sami Mujawar <[email protected]>


  Commit: 0a9060b259edf43a4d94294ccda9987be3316228
      
https://github.com/tianocore/edk2/commit/0a9060b259edf43a4d94294ccda9987be3316228
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M DynamicTablesPkg/Include/ArmNameSpaceObjects.h
    M 
DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c

  Log Message:
  -----------
  DynamicTablesPkg: Add PsdToken field to CM_ARM_GICC_INFO object

The _PSD object (cf. ACPI 6.5, s8.4.5.5 _PSD (P-State Dependency)
allows to describe CPU's power state dependencies. Add a PsdToken
field to the CM_ARM_GICC_INFO object so that interdependent CPUs
can reference the same CM_ARM_PSD_INFO object.

Reviewed-by: Sami Mujawar <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>


  Commit: 3344495489d8c6b49d16fd6ec4b5a226ac21ac22
      
https://github.com/tianocore/edk2/commit/3344495489d8c6b49d16fd6ec4b5a226ac21ac22
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h
    M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c

  Log Message:
  -----------
  DynamicTablesPkg: Add AmlCreatePsdNode() to generate _PSD

Add AmlCreatePsdNode() to the AmlLib to generate _PSD objects.
_PSD objects allow to describe 'performance control, P-state
or CPPC, logical processor dependency', Cf. ACPI 6.5,
s8.4.5.5 _PSD (P-State Dependency).

Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Sami Mujawar <[email protected]>


  Commit: fc04cfd119783323752e17467060350fabbf4766
      
https://github.com/tianocore/edk2/commit/fc04cfd119783323752e17467060350fabbf4766
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M 
DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCpuTopologyLibArm/SsdtCpuTopologyGenerator.c

  Log Message:
  -----------
  DynamicTablesPkg: Generate _PSD in SsdtCpuTopologyGenerator

Make use of the newly added AmlCreatePsdNode() to generate
_PSD objects.

_PSD objects allow to describe 'performance control, P-state
or CPPC, logical processor dependency', Cf. ACPI 6.4,
s8.4.5.5 _PSD (P-State Dependency).

Reviewed-by: Sami Mujawar <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>


  Commit: b2c49163440805913644d022cdd06bfe28caf216
      
https://github.com/tianocore/edk2/commit/b2c49163440805913644d022cdd06bfe28caf216
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M DynamicTablesPkg/DynamicTables.dsc.inc
    M DynamicTablesPkg/DynamicTablesPkg.dec
    M DynamicTablesPkg/DynamicTablesPkg.dsc
    A DynamicTablesPkg/Include/Library/DynamicTablesScmiInfoLib.h
    A 
DynamicTablesPkg/Library/DynamicTablesScmiInfoLib/DynamicTablesScmiInfoLib.c
    A 
DynamicTablesPkg/Library/DynamicTablesScmiInfoLib/DynamicTablesScmiInfoLib.inf

  Log Message:
  -----------
  DynamicTablesPkg: Add DynamicTablesScmiInfoLib

The SCP holds some power information that could be advertised
through the _CPC object. The communication with the SCP is done
through SCMI protocols (c.f. ArmScmiDxe).

Use the SCMI protocols to query information and feed it to
the DynamicTablesPkg.

Acked-by: Leif Lindholm <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Sami Mujawar <[email protected]>


  Commit: dec9d3573829ac020e34d19a4f39d3154f066379
      
https://github.com/tianocore/edk2/commit/dec9d3573829ac020e34d19a4f39d3154f066379
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M DynamicTablesPkg/DynamicTablesPkg.dec

  Log Message:
  -----------
  DynamicTablesPkg: Add PcdDevelopmentPlatformRelaxations Pcd

Some development platforms might not be compliant on some
points of some specifications. In order to have a generic code
accurately checking against specifications while still allowing
some relaxation on specific points for the platforms that desire
it, add a Pcd acting as a bitfield to warn instead of returning
an error in case of non-compliance.

Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Sami Mujawar <[email protected]>


  Commit: dc3339470166884197e9be5a6b3e7afe13104f1f
      
https://github.com/tianocore/edk2/commit/dc3339470166884197e9be5a6b3e7afe13104f1f
  Author: Pierre Gondois <[email protected]>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M DynamicTablesPkg/Library/Common/AmlLib/AmlLib.inf
    M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c

  Log Message:
  -----------
  DynamicTablesPkg: Exempt some _CPC field from checks

When generating _CPC objects, some fields are mandatory by spec [1].
Some fields cannot be supported by a the Juno platform, which is used
to test the _CPC generation. Therefore, rely on the
PcdDevelopmentPlatformRelaxations Pcd to either:
- warn about the missing fields and and let the OS handle the
  missing information
- consider the missing fields as an error

_CPC fields that are exempted from checks when the Pcd is set:
- PerformanceLimitedRegister
- ReferencePerformanceCounterRegister
- DeliveredPerformanceCounterRegister

[1] Cf. non-optional fields in:
    ACPI 6.5, s8.4.6.1 '_CPC (Continuous Performance Control)'

Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Sami Mujawar <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/4c43209a740d...dc3339470166


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to