Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamicTablesPkg: Generates X64 MADT and CPU SSDT Topology Table #6443

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

abdattar
Copy link
Contributor

@abdattar abdattar commented Nov 15, 2024

Introduce support for generating ACPI CPU SSDT table for the X64 architecture.

Cc: Sami Mujawar [email protected]
Cc: Pierre Gondois [email protected]

Description

This PR contains two patches
Patch 1) Adds ACPI MADT generator library for X64 platform.
which handles various APIC structures within a system,
including Local APIC, IO APIC, Interrupt Source Override, and Local APIC NMI.
Patch 2) Implements the X64 support for existing ACPI CPU SSDT topology generator library.
Adds X64 related supporting functions.
Creates the ACPI cpu device object.

  • Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

Tested on AMD platform.

Integration Instructions

N/A

@abdattar abdattar force-pushed the CpuTopo branch 2 times, most recently from 60d29dc to 879eeaf Compare November 18, 2024 13:48
@mgamal
Copy link

mgamal commented Nov 18, 2024

Code looks pretty straightforward implementing building the local APIC data for x86_64 MADT tables. Looks pretty good to me.

@abdattar The only thing I'd suggest is adding a bit more explanatory message in the commit messages. For example to briefly explain what the PR and each commit does, just to provide some context to the reviewers.

@samimujawar @pierregondois any other thoughts?

@abdattar abdattar changed the title DynamicTablesPkg: Generate X64 CPU SSDT Topology DynamicTablesPkg: Generates X64 MADT and CPU SSDT Topology Table Nov 21, 2024
@abdattar abdattar marked this pull request as ready for review November 21, 2024 06:14
@abdattar
Copy link
Contributor Author

Hi @pierregondois and @samimujawar,
Could you please review the patch.
Thanks
AbduL

@pierregondois
Copy link
Contributor

Hi @pierregondois and @samimujawar, Could you please review the patch. Thanks AbduL

Sorry for the delay. I just have one minor comment. Otherwise LGTM

@abdattar abdattar force-pushed the CpuTopo branch 2 times, most recently from 8b858aa to bf418f5 Compare November 28, 2024 11:45
Abdul Lateef Attar added 2 commits November 28, 2024 12:08
Updates X64 namespace object.
Updates the object parser.
Updates the Readme.

Cc: Sami Mujawar <[email protected]>
Cc: Pierre Gondois <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Introduce support for generating ACPI CPU SSDT table
for the X64 architecture.

Creates processor objects based on configuration data.

Cc: Sami Mujawar <[email protected]>
Cc: Pierre Gondois <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
Copy link
Contributor

@samimujawar samimujawar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this patch.
These changes look good to me.

@samimujawar samimujawar added the push Auto push patch series in PR if all checks pass label Nov 28, 2024
@pierregondois pierregondois merged commit 5158b59 into tianocore:master Nov 28, 2024
125 of 126 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants