public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Leif Lindholm" <leif@nuviainc.com>
To: Tanmay Jagdale <tanmay.jagdale@linaro.org>
Cc: graeme@nuviainc.com, devel@edk2.groups.io, shashi.mallela@linaro.org
Subject: Re: [PATCH v3 edk2-platforms 0/8] Add ACPI tables support for SbsaQemu
Date: Tue, 25 Aug 2020 14:57:44 +0100	[thread overview]
Message-ID: <20200825135744.GQ1191@vanye> (raw)
In-Reply-To: <20200825133958.17372-1-tanmay.jagdale@linaro.org>

On Tue, Aug 25, 2020 at 19:09:50 +0530, Tanmay Jagdale wrote:
> This patch series adds ACPI tables support for the SbsaQemu platform.
> We are using a pseudo static approach to create the ACPI tables.
> 
> The ACPI tables namely DBG2, DSDT, MCFG, SPCR, GTDT are created in a
> static way at compile time because they hold a fixed configuration
> and there are no changes at runtime.
> 
> The MADT, SSDT and PPTT tables are dependant on the number of CPUs and
> hence they are created at runtime based on the number of CPUs the user
> has requested
> 
> Changes in v3:
>   - Dropped ASSERT() in CountCpusFromFdt() function in patch 4.
>   - Changed EFI_D_ERROR to DEBUG_ERROR
> 
> Changes in v2:
>   - Moved PcdCoreCount and Fdtlib related changes in SbsaQemu.dsc to a
>     separate patch (Patch 3).
>   - Removed Acpi6x.h header file includes and used IndustryStandard/Acpi.h
>   - Whitespace cleanups
>   - Added proper code comments

Thanks for quick respin.
For the series:
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Pushed as 23863e9e9d40..90c3b3bc0c3e.

> Tanmay Jagdale (8):
>   SbsaQemu: Initial support for static ACPI tables
>   SbsaQemu: AcpiTables: Add PCI support and MCFG Table
>   SbsaQemu: SbsaQemu.dsc: Move CoreCount and Fdtlib
>   SbsaQemu: Add new ACPI driver and FDT parser to count CPUs
>   SbsaQemu: AcpiDxe: Create MADT table at runtime
>   SbsaQemu: AcpiDxe: Create SSDT table at runtime
>   SbsaQemu: AcpiDxe: Create PPTT table at runtime
>   SbsaQemu: AcpiTables: Add DBG2 Table
> 
>  Silicon/Qemu/SbsaQemu/SbsaQemu.dec                                |   8 +-
>  Silicon/Qemu/SbsaQemu/Acpi.dsc.inc                                |  36 ++
>  Platform/Qemu/SbsaQemu/SbsaQemu.dsc                               |  12 +-
>  Platform/Qemu/SbsaQemu/SbsaQemu.fdf                               |   9 +
>  Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf                   |  47 ++
>  Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf |  67 +++
>  Silicon/Qemu/SbsaQemu/Include/IndustryStandard/SbsaQemuAcpi.h     | 199 ++++++++
>  Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c   | 485 ++++++++++++++++++++
>  Silicon/Qemu/SbsaQemu/AcpiTables/Dbg2.aslc                        |  67 +++
>  Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl                         | 449 ++++++++++++++++++
>  Silicon/Qemu/SbsaQemu/AcpiTables/Fadt.aslc                        |  80 ++++
>  Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc                        |  67 +++
>  Silicon/Qemu/SbsaQemu/AcpiTables/Mcfg.aslc                        |  43 ++
>  Silicon/Qemu/SbsaQemu/AcpiTables/Spcr.aslc                        |  53 +++
>  14 files changed, 1618 insertions(+), 4 deletions(-)
>  create mode 100644 Silicon/Qemu/SbsaQemu/Acpi.dsc.inc
>  create mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf
>  create mode 100644 Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf
>  create mode 100644 Silicon/Qemu/SbsaQemu/Include/IndustryStandard/SbsaQemuAcpi.h
>  create mode 100644 Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c
>  create mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Dbg2.aslc
>  create mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl
>  create mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Fadt.aslc
>  create mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Gtdt.aslc
>  create mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Mcfg.aslc
>  create mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Spcr.aslc
> 
> -- 
> 2.28.0
> 

      parent reply	other threads:[~2020-08-25 13:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-25 13:39 [PATCH v3 edk2-platforms 0/8] Add ACPI tables support for SbsaQemu Tanmay Jagdale
2020-08-25 13:39 ` [PATCH v3 edk2-platforms 1/8] SbsaQemu: Initial support for static ACPI tables Tanmay Jagdale
2020-08-25 13:39 ` [PATCH v3 edk2-platforms 2/8] SbsaQemu: AcpiTables: Add PCI support and MCFG Table Tanmay Jagdale
2020-08-25 13:39 ` [PATCH v3 edk2-platforms 3/8] SbsaQemu: SbsaQemu.dsc: Move CoreCount and Fdtlib Tanmay Jagdale
2020-08-25 13:39 ` [PATCH v3 edk2-platforms 4/8] SbsaQemu: Add new ACPI driver and FDT parser to count CPUs Tanmay Jagdale
2020-08-25 13:39 ` [PATCH v3 edk2-platforms 5/8] SbsaQemu: AcpiDxe: Create MADT table at runtime Tanmay Jagdale
2020-08-26 15:35   ` graeme
2020-08-26 22:48     ` Graeme Gregory
2020-08-27  2:56       ` Tanmay Jagdale
2020-08-27  9:41         ` Graeme Gregory
2020-08-25 13:39 ` [PATCH v3 edk2-platforms 6/8] SbsaQemu: AcpiDxe: Create SSDT " Tanmay Jagdale
2020-08-25 13:39 ` [PATCH v3 edk2-platforms 7/8] SbsaQemu: AcpiDxe: Create PPTT " Tanmay Jagdale
2020-08-25 13:39 ` [PATCH v3 edk2-platforms 8/8] SbsaQemu: AcpiTables: Add DBG2 Table Tanmay Jagdale
2020-08-25 13:57 ` Leif Lindholm [this message]

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=20200825135744.GQ1191@vanye \
    --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