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