public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "PierreGondois" <pierre.gondois@arm.com>
To: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>, devel@edk2.groups.io
Cc: Sami Mujawar <Sami.Mujawar@arm.com>
Subject: Re: [edk2-devel] [RESEND PATCH v4 0/5] DynamicTablesPkg: Adds FADT, HPET, WSMT and MADT Table generators
Date: Thu, 2 May 2024 18:35:51 +0200	[thread overview]
Message-ID: <783a23af-5eec-48c9-bcbd-be1c40518e54@arm.com> (raw)
In-Reply-To: <cover.1714369949.git.AbdulLateef.Attar@amd.com>

Hello Abdul,
I added some comments.
I think that:
a. patches related to HPET/WSMT should require little work
b. MADT patch needs to redefine the CmObjects it uses,
    but it seems ok otherwise (just need to have the right properties
    in the right objects),
c. FADT patch is re-defining CmObjects that are already existing
    in ArmNameSpaceObjects.h. So there is going to be a clash with
    ongoing DynamicTables objects reorganization...

I think that a. could be sent separately and should quickly go in,
b. might require a bit more checking/reviewing, and c. might need
to wait for the re-org to be finished, unless Sami thinks it's ok
to take the patch,

Regards,
Pierre


On 4/29/24 08:03, Abdul Lateef Attar wrote:
> PR: https://github.com/tianocore/edk2/pull/5500/
> V4: delta changes
>    Added X64 arch specific MADT table generator.
> V3: delta changes
>    Restructure the code as the review comments.
>    Added sanity check for WSMT flags.
>    Added CM object for HPET base address.
> V2: delta changes
>    Addressed review comments
>    Adds ACPI HPET table to add HPET to ACPI namespace
> V1:
> Adds new space for ArchNameSpaceObjects.
> Adds generic FADT table generator.
> Adds generic HPET table generator.
> Adds generic WSMT table generator.
> 
> Cc: Sami Mujawar <Sami.Mujawar@arm.com>
> Cc: Pierre Gondois <pierre.gondois@arm.com>
> Cc: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
> 
> Abdul Lateef Attar (5):
>    DynamicTablesPkg: Adds ACPI FADT Table generator
>    DynamicTablesPkg: Adds ACPI HPET Table generator
>    DynamicTablesPkg: Adds ACPI WSMT Table generator
>    DynamicTablesPkg: Adds ACPI SSDT HPET Table generator
>    DynamicTablesPkg: Adds X64 arch MADT Table generator
> 
>   DynamicTablesPkg/DynamicTables.dsc.inc        |  22 +-
>   DynamicTablesPkg/DynamicTablesPkg.ci.yaml     |   4 +-
>   DynamicTablesPkg/Include/AcpiTableGenerator.h |   4 +
>   .../Include/ArchNameSpaceObjects.h            | 237 ++++++
>   .../Include/ConfigurationManagerObject.h      |   7 +
>   .../Include/X64NameSpaceObjects.h             |  48 ++
>   .../Library/Acpi/AcpiFadtLib/AcpiFadtLib.inf  |  36 +
>   .../Library/Acpi/AcpiFadtLib/Arm/FadtUpdate.c |  39 +
>   .../Library/Acpi/AcpiFadtLib/FadtGenerator.c  | 745 ++++++++++++++++++
>   .../Library/Acpi/AcpiFadtLib/FadtUpdate.h     |  26 +
>   .../Library/Acpi/AcpiFadtLib/X64/FadtUpdate.c |  32 +
>   .../Library/Acpi/AcpiHpetLib/AcpiHpetLib.inf  |  31 +
>   .../Library/Acpi/AcpiHpetLib/HpetGenerator.c  | 246 ++++++
>   .../Acpi/AcpiSsdtHpetLib/AcpiSsdtHpetLib.inf  |  32 +
>   .../Acpi/AcpiSsdtHpetLib/SsdtHpetGenerator.c  | 295 +++++++
>   .../Library/Acpi/AcpiWsmtLib/AcpiWsmtLib.inf  |  30 +
>   .../Library/Acpi/AcpiWsmtLib/WsmtGenerator.c  | 243 ++++++
>   .../X64/AcpiMadtLibX64/AcpiMadtLibX64.inf     |  27 +
>   .../Acpi/X64/AcpiMadtLibX64/MadtGenerator.c   | 375 +++++++++
>   19 files changed, 2477 insertions(+), 2 deletions(-)
>   create mode 100644 DynamicTablesPkg/Include/ArchNameSpaceObjects.h
>   create mode 100644 DynamicTablesPkg/Include/X64NameSpaceObjects.h
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/AcpiFadtLib.inf
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/Arm/FadtUpdate.c
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/FadtGenerator.c
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/FadtUpdate.h
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/X64/FadtUpdate.c
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiHpetLib/AcpiHpetLib.inf
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiHpetLib/HpetGenerator.c
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiSsdtHpetLib/AcpiSsdtHpetLib.inf
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiSsdtHpetLib/SsdtHpetGenerator.c
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiWsmtLib/AcpiWsmtLib.inf
>   create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiWsmtLib/WsmtGenerator.c
>   create mode 100644 DynamicTablesPkg/Library/Acpi/X64/AcpiMadtLibX64/AcpiMadtLibX64.inf
>   create mode 100644 DynamicTablesPkg/Library/Acpi/X64/AcpiMadtLibX64/MadtGenerator.c
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#118528): https://edk2.groups.io/g/devel/message/118528
Mute This Topic: https://groups.io/mt/105796049/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  parent reply	other threads:[~2024-05-02 16:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29  6:03 [edk2-devel] [RESEND PATCH v4 0/5] DynamicTablesPkg: Adds FADT, HPET, WSMT and MADT Table generators Abdul Lateef Attar via groups.io
2024-04-29  6:03 ` [edk2-devel] [RESEND PATCH v4 1/5] DynamicTablesPkg: Adds ACPI FADT Table generator Abdul Lateef Attar via groups.io
2024-04-29  6:03 ` [edk2-devel] [RESEND PATCH v4 2/5] DynamicTablesPkg: Adds ACPI HPET " Abdul Lateef Attar via groups.io
2024-05-02 16:36   ` PierreGondois
2024-04-29  6:03 ` [edk2-devel] [RESEND PATCH v4 3/5] DynamicTablesPkg: Adds ACPI WSMT " Abdul Lateef Attar via groups.io
2024-05-02 16:36   ` PierreGondois
2024-04-29  6:03 ` [edk2-devel] [RESEND PATCH v4 4/5] DynamicTablesPkg: Adds ACPI SSDT HPET " Abdul Lateef Attar via groups.io
2024-05-02 16:37   ` PierreGondois
2024-04-29  6:03 ` [edk2-devel] [RESEND PATCH v4 5/5] DynamicTablesPkg: Adds X64 arch MADT " Abdul Lateef Attar via groups.io
2024-05-02 16:37   ` PierreGondois
2024-05-02  7:21 ` [edk2-devel] [RESEND PATCH v4 0/5] DynamicTablesPkg: Adds FADT, HPET, WSMT and MADT Table generators Abdul Lateef Attar via groups.io
2024-05-02 16:35 ` PierreGondois [this message]
2024-05-03  7:41   ` Sami Mujawar
2024-05-13  4:08     ` Abdul Lateef Attar via groups.io

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=783a23af-5eec-48c9-bcbd-be1c40518e54@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox