Nick Graves
1668fd54aa
DynamicTablesPkg: Add CXL CEDT namespace objects
...
- Add objects for CEDT CHBS and CEDT CFMWS. These describe CXL host
bridges and CXL fixed memory windows, respectively.
Signed-off-by: Nick Graves <nicholasgraves@google.com >
2025-05-25 08:58:41 +00:00
Jeff Brasen
d8d47a0ae6
DynamicTablesPkg: Add support for non-serial DBG2 devices
...
This commit adds support for building non-serial DBG2 devices
1. Add new common namespace objects:
- EArchCommonObjMemoryRangeDescriptor
- EArchCommonObjDbg2DeviceInfo
2. Enhance DBG2 table generator:
- Add support for non-serial DBG2 devices
- Support multiple debug devices
- Improve memory handling with proper allocation checks
- Add better cleanup in error paths
3. Update configuration manager:
- Add parsers for new common namespace objects
Signed-off-by: Jeff Brasen <jbrasen@nvidia.com >
2025-04-24 09:01:22 +02:00
Abdul Lateef Attar
0f136602fd
DynamicTablesPkg: Add _STA method to CPU object
...
Implement the _STA method for the CPU object based on
the value provided by the configuration manager.
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2025-02-25 10:52:23 +01:00
Abdul Lateef Attar
565a458adc
DynamicTablesPkg: Add _PSD and _CPC support for X64
...
Introduce _PSD and _CPC ACPI objects for X64 platforms.
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2025-02-25 10:52:23 +01:00
Abdul Lateef Attar
70f53a1b32
DynamicTablesPkg: Add _CST, _CSD, _PCT, and _PSS objects
...
This patch adds several ACPI objects to the X64 CPU SSDT table
to enhance power and performance management.
The new objects include:
- _CST: Defines CPU idle states for power saving.
- _CSD: Specifies dependencies between CPU idle states.
- _PCT: Provides an interface for controlling CPU performance states.
- _PSS: Lists supported CPU performance states.
- _PPC: Indicates current CPU performance capabilities.
These additions help improve power efficiency and thermal management in X64 systems.
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2025-02-25 10:52:23 +01:00
Abdul Lateef Attar
704eaf5cda
DynamicTablesPkg: Adds C-state and P-state namespace objects
...
This update adds new configuration manager objects for C-State and P-State.
The C-State objects manage processor idle states,
while the P-State objects handle processor performance states.
This enhancement improves power management and performance
tuning within the DynamicTablesPkg.
Changes include:
- Added C-State and P-State namespace objects in ArchCommonNameSpaceObjects.h.
- Updated ConfigurationManagerObjectParser.c to support the new objects.
- Revised Readme.md to document these changes.
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2025-02-25 10:52:23 +01:00
Abdul Lateef Attar
2b3ea9334f
DynamicTablesPkg: Adds X64 support to SRAT table generator
...
Adds X64 support to the SRAT table generator library.
Adds EX64ObjLocalApicX2ApicAffinity CM object to get
platform configuration information.
Update the parser with newly added CM object.
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2025-02-07 15:24:03 +00:00
Abdul Lateef Attar
eda58c143c
DynamicTablesPkg: Adds X64 FACS generator library
...
Adds a library to generate the ACPI FACS table for X64 architecture.
It gathers the necessary FACS information from the configuration manager.
Additionally, it includes an event to update the hardware signature
in the FACS table, where the hardware signature is the
CRC of all ACPI table's CRC
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2025-01-24 09:38:40 +01:00
Abdul Lateef Attar
95972f966e
DynamicTablesPkg: Correct parser for X64 architecture objects
...
- Add array size to CmArchCommonSpmiInterfaceInfoParser
to correctly parse the SPMI interface object.
- Use the size of enum values instead of fixed sizes.
- Apply #pragma pack to the X64 object structure
to ensure the total size of the structure matches
the parser's combined individual field sizes without padding.
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2024-12-11 13:17:04 +00:00
Abdul Lateef Attar
e89ff68110
DynamicTablesPkg: Add X64 MADT table generator
...
Updates X64 namespace object.
Updates the object parser.
Updates the Readme.
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2024-11-28 16:46:34 +01:00
Abdul Lateef Attar
f962adc8a0
DynamicTablesPkg: Adds SPMI table generator
...
Adds ACPI SPMI table generator library.
Updates acpi standard table enum with spmi.
Updates arch common namespace object and parser.
Updates the Readme.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Zhiguang Liu <zhiguang.liu@intel.com >
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2024-10-03 08:58:50 +00:00
Abdul Lateef Attar
fada1cea46
DynamicTablesPkg: Adds ACPI HPET table generator
...
Adds X64 ACPI HPET table generator library.
Updates acpi standard table enum with hpet.
Updates X64 namespace object.
Updates the object parser.
Updates the Readme.
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2024-09-18 07:53:07 +00:00
Abdul Lateef Attar
5dafa13d62
DynamicTablesPkg: Adds WSMT generator for X64
...
Adds ACPI WSMT table generator library.
Updates acpi standard table enum with wsmt.
Updates X64 namespace object.
Updates the object parser.
Updates the Readme.
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2024-09-02 14:23:41 +00:00
Dat Mach
b0f43dd3fd
DynamicTablesPkg: Add parser for Tpm2 CM object
...
Update the CM Object parser to add support for parsing the
CM_ARM_TPM2_INTERFACE_INFO object.
Signed-off-by: Dat Mach <dmach@nvidia.com >
2024-08-08 01:52:47 +00:00
Dat Mach
d24df10cee
DynamicTablesPkg: Add HexDump for CM Object parser
...
Add helper function HexDump for printing hex dump of CM Object fields.
Also merge multiple flavors of PrintCharX into one function PrintChars
by using the field length.
Signed-off-by: Dat Mach <dmach@nvidia.com >
2024-08-08 01:52:47 +00:00
Abdul Lateef Attar
bc0fc75637
DynamicTablesPkg/AcpiFadtLib: Adds FADT X64 generator
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4781
Updates FADT X64 generator to collect below configuration
information and update the table accordingly.
- SCI interrupt
- SCI command
- PM Block
- GPE Block
- PM Block 64-bit
- GPE Block 64-bit
- Sleep block
- Reset block
- Miscellaneous legacy information
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2024-08-02 08:05:57 +00:00
Abdul Lateef Attar
967cbd87b7
DynamicTablesPkg: Adds X64 namespace object
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4781
Adds empty X64 namespace object for future use.
Cc: Sami Mujawar <Sami.Mujawar@arm.com >
Cc: Pierre Gondois <pierre.gondois@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
2024-08-02 08:05:57 +00:00
Sami Mujawar
fb6a7147f3
DynamicTablesPkg: Move PSD info to Arch Common
...
Move the PSD info object from Arm Namespace to the Arch Common
namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SSDT CPU topology generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
6466a6e63e
DynamicTablesPkg: Move PCC Type 5 info to Arch Common
...
Move the PCC Subspace Type 5 info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- PCCT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
e8119798b1
DynamicTablesPkg: Move PCC Type 3 & 4 info to Arch Common
...
Move the PCC Subspace Type 3 & 4 info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- PCCT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
78b77d9ec4
DynamicTablesPkg: Move PCC Type2 info to Arch Common
...
Move the PCC Subspace Type2 info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- PCCT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
870cf728ef
DynamicTablesPkg: Move PCC Type1 info to Arch Common
...
Move the PCC Subspace Type1 info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- PCCT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
db4496d30a
DynamicTablesPkg: Move PCC Type0 info to Arch Common
...
Move the PCC Subspace Type0 info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- PCCT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
ff249c62e3
DynamicTablesPkg: Move Continuous perf control info to Arch Common
...
Move the Continuous perfformance control info object from Arm
Namespace to the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SSDT CPU topology generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
afa7f8a6b1
DynamicTablesPkg: Move Cache info to Arch Common
...
Move the Cache info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- PPTT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
79dd25848e
DynamicTablesPkg: Move Processor hierarchy info to Arch Common
...
Move the Processor hierarchy info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- PPTT generator
- SSDT CPU topology generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
d7a47297cd
DynamicTablesPkg: Rename GicCToken field in Processor Hierarchy Info
...
The GicCToken field in the CM_ARM_PROC_HIERARCHY_INFO structure is
a reference to the associated object which has the corresponding
ACPI Processor ID, e.g. for Arm systems this is a reference to the
CM_ARM_GICC_INFO object.
For other architecture this may be a reference to a similar object
that has the ACPI Processor ID.
Therefore, rename the GicCToken field to a more generic name like
AcpiIdObjectToken.
Correspondingly also update the following modules to reflect the
changes introduced by this renaming:
- PPTT generator
- SSDT CPu topology generator
- ConfigurationManagerObjectParser.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
ead3b42391
DynamicTablesPkg: Move LPI info object to Arch Common
...
Move the LPI info object from Arm Namespace to the
Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SSDT Cpu Topology generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
0b5abcb90e
DynamicTablesPkg: Move Generic Initiator affinity info to Arch Common
...
Move the Generic Initiator affinity info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SRAT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
3a644f4a43
DynamicTablesPkg: Move PCI device Handle object to Arch Common
...
Move the PCI device Handle object from Arm Namespace to the
Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SRAT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
0ca10ddc0f
DynamicTablesPkg: Move ACPI device Handle object to Arch Common
...
Move the ACPI device Handle object from Arm Namespace to the
Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SRAT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
71b0e9decb
DynamicTablesPkg: Move Mem Affinity Info to Arch Common
...
Move the Memory Affinity Info object from Arm Namespace to the
Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SRAT generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
11dcf74d42
DynamicTablesPkg: Move Pci Interrupt Map Info to Arch Common
...
Move Pci Interrupt Map Info object from Arm Namespace to the
Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SSDT PCIe library
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map
- FdtHwInfoParserLib/Pci/ArmPciConfigSpaceParser.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
4333f5c316
DynamicTablesPkg: Move CM_ARM_GENERIC_INTERRUPT struct to Arch Common
...
The CM_ARM_GENERIC_INTERRUPT struct describes a standard interrupt and
is generic. Therefore move it to the Arch Common namespace header file
and rename it as CM_ARCH_COMMON_GENERIC_INTERRUPT.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SSDT CMN600 generator
- ConfigurationManagerObjectParser
- FdtHwInfoParserLib/Pci/ArmPciConfigSpaceParser.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
83b01dc5cc
DynamicTablesPkg: Move Pci Address Map Info to Arch Common
...
Move Pci Address Map Info object from Arm Namespace to the
Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- SSDT PCIe generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map
- FdtHwInfoParserLib/Pci/ArmPciConfigSpaceParser.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
93bb65dcfc
DynamicTablesPkg: Move Pci Config Space Info to Arm namespace
...
Move Pci Config Space Info object from Arm Namespace to the
Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- MCFG generator
- SSDT PCIe generator
- SSDT PCIe support library
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map
- FdtHwInfoParserLib/Pci/ArmPciConfigSpaceParser
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
4f29b082e8
DynamicTablesPkg: Move Cm Reference object to Arch Common
...
Move Cm Reference object from Arm Namespace to the Arch
Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- PPTT generator
- SSDT CPU topology generator
- SSDT PCIe generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo, the Token Mapper and the TokenFixer map.
- FdtHwInfoParser library
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
8e9ece1234
DynamicTablesPkg: Move FADT Fixed Features Flags to Arch Common
...
Move FADT Fixed Features Flags object from Arm Namespace to the
Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- FADT Generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
87a53216e7
DynamicTablesPkg: Move Hypervisor Vendor Id to Arch Common
...
Move Hypervisor Vendor Id info object from Arm Namespace to
the Arch Common namespace.
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- FADT Generator
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
e5d8bd476c
DynamicTablesPkg: Move Serial Port Info Objects to Arch Common
...
Move Serial port info objects like the generic serial port info,
Serial console port info and Serial debug port info from Arm
Namespace to the Arch Common namespace.
i.e.
EArmObjSerialPortInfo -> EArchCommonObjSerialPortInfo
EArmObjConsolePortInfo -> EArchCommonObjConsolePortInfo
EArmObjSerialDebugPortInfo -> EArchCommonObjSerialDebugPortInfo
CM_ARM_SERIAL_PORT_INFO -> CM_ARCH_COMMON_SERIAL_PORT_INFO
Correspondingly also update the following modules to reflect the
changes introduced by the move:
- DBG2 Generator
- SPCR Generator
- SSDT Serial Port Fixup Lib
- SSDT Serial Port Generator
- FdtHwInfoParserLib/ArmSerialPortParser
- ConfigurationManagerObjectParser
- Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
4362ddea7f
DynamicTablesPkg: Move Power Mgmt Profile Info Object
...
Move PowerManagementProfileInfo Object from Arm Namespace to the
Arch Common namespace.
The following updates are also done to reflect the changes introduced
by the move:
- Update the FADT Generator to migrate to use the Power Management
Profile Info object CM_ARCH_COMMON_POWER_MANAGEMENT_PROFILE_INFO
and EArchCommonObjPowerManagementProfileInfo.
- Update the Configuration manager object parser to parse Arch
Common namespace objects and update the parsing of the Power
Management Profile information object from Arm namespace to
the Arch Common namespace.
- Update the Dynamic Plat Repo TokenFixer map
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
58c36ce09f
DynamicTablesPkg: Drop Reserved29 object ID from Arm Namespace
...
The Arm Namespace Object ID Reserved29 was a reserved ID
that was never used. Therefore, drop the EArmObjReserved29
object ID also update the Dynamic Plat Repo TokenFixer map
and the Configuration Manager Object Parser.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
b0b0812a6e
DynamicTablesPkg: Drop Cpu Info object ID from Arm Namespace
...
The Arm Namespace Object ID for CPU info was not used.
Therefore, drop the EArmObjCpuInfo object ID. Also remove
- the partial listing of the Arm Namespace object IDs from
ConfigurationManagerObject.h and add a reference to the
location where they are defined.
- the parsing code in Configuration Manager ObjectParser.
- update the Dynamic Plat Repo TokenFixer map.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
af337d1291
DynamicTablesPkg: Add support for ArchCommon objects in CmObjParser
...
Update the Cm Object Parser to support parsing of Arch Common
namespace objects.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
cb3c2362cd
DynamicTablesPkg: Introduce ObjectId to validate CmObject Parser Array
...
Add ObjectId to CM_OBJ_PARSER_ARRAY so that the code can validate
the entries in the Cm object parser array. Also introduce helper
macros to populate the Cm Object Parser Arrays.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Sami Mujawar
991b70c0da
DynamicTablesPkg: Replace ProcNodeIdInfo with EArmObjReserved29
...
The CM_ARM_PROC_NODE_ID_INFO was dropped by the patch at
"b2bbe3df5470 DynamicTablesPkg: Remove PPTT ID structure
from ACPI 6.4 generator" and the EArmObjProcNodeIdInfo was
made EArmObjReserved29.
Since ProcNodeIdInfo is no longer used drop the CM object
parser code from EArmObjProcNodeIdInfo and specify a null
entry for EArmObjReserved29.
Cc: Pierre Gondois <Pierre.Gondois@arm.com >
Cc: Yeo Reum Yun <YeoReum.Yun@arm.com >
Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com >
Cc: Jeshua Smith <jeshuas@nvidia.com >
Cc: Jeff Brasen <jbrasen@nvidia.com >
Cc: Girish Mahadevan <gmahadevan@nvidia.com >
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com >
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2024-07-29 13:44:55 +00:00
Pierre Gondois
0a9060b259
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 <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
2024-01-29 16:47:03 +00:00
Pierre Gondois
71ec5d3415
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 <pierre.gondois@arm.com >
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com >
2024-01-29 16:47:03 +00:00
Abdul Lateef Attar
16c8cfc810
DynamicTablesPkg: Fix IA32 compilation errors
...
Add the support for X64 compilation to the CI.
- Fix the signed and unsigned variable comparision.
warning C4018: '>': signed/unsigned mismatch
- Fix the NOOPT build error for IA32 by replacing
64bit shift operator with LShiftU64.
Cc: Pierre Gondois <pierre.gondois@arm.com >
Cc: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com >
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com >
2024-01-03 14:30:45 +00:00
Sami Mujawar
fbbbd98499
DynamicTablesPkg: Fix assert in CmObject parser
...
The patch "f81ee47513e5 DynamicTablesPkg: Add an ET info
object parser" updates the Configuration Manager object
parser to add support for parsing CM_ARM_ET_INFO object.
However, the GicC info structure also has an ET Reference
token that points to the CM_ARM_ET_INFO object. Therefore,
update the GICC info object parser to add an entry to parse
the ET reference token. Without this change an assert
stating that the RemainingSize != 0 will be triggered.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com >
Reviewed-by: levi.yun <yeoreum.yun@arm.com >
2023-11-01 15:17:37 +00:00