public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Tomas Pilar (tpilar)" <tomas@nuviateam.com>
To: devel@edk2.groups.io
Cc: Leif Lindholm <leif@nuviainc.com>,
	Ard Biesheuvel <ard.biesheuvel@arm.com>,
	Tanmay Jagdale <tanmay.jagdale@linaro.org>
Subject: [edk2-platform][PATCH 0/3] Silicon/Qemu: Use PCDs in AcpiTables.inf
Date: Thu, 22 Oct 2020 16:50:13 +0100	[thread overview]
Message-ID: <20201022155016.228362-1-tomas@nuviateam.com> (raw)

The AcpiTable.inf library provides basic ACPI tables for the SbsaQemu
platform. This platform aims to be the standard SBSA compliant
platform.

This patchset generalises the AcpiTables library using the information
provided by PCDs rather than hardcoded values. This extends the use of
the library to other platforms that can redefine the PCDs without having
to fork the library and change the hardcoded values.

Additional PCDs describing the upper limits of various memory map windows
are defined as the limits are required by the ACPI tables and ASL
syntax precludes doing the arithmetic at the compile time.

Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Tanmay Jagdale <tanmay.jagdale@linaro.org>
Signed-off-by: Tomas Pilar <tomas@nuviateam.com>
--
Tomas Pilar (3):
  Silicon/Qemu: Renumber Dynamic PCDs to leave a gap
  Platform,Silicon/Qemu: Define PcdPcie*Limit variables
  Silicon/Qemu: Use PCDs to AcpiTables lib

 Platform/Qemu/SbsaQemu/SbsaQemu.dsc           |  6 ++
 .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf   | 29 ++++++++++
 Silicon/Qemu/SbsaQemu/AcpiTables/Dbg2.aslc    |  6 +-
 Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl     | 58 ++++++++++---------
 Silicon/Qemu/SbsaQemu/AcpiTables/Mcfg.aslc    |  6 +-
 Silicon/Qemu/SbsaQemu/AcpiTables/Spcr.aslc    |  2 +-
 .../Include/IndustryStandard/SbsaQemuAcpi.h   |  6 --
 Silicon/Qemu/SbsaQemu/SbsaQemu.dec            | 15 ++++-
 8 files changed, 87 insertions(+), 41 deletions(-)

-- 
2.25.1


             reply	other threads:[~2020-10-22 15:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22 15:50 Tomas Pilar (tpilar) [this message]
2020-10-22 15:50 ` [edk2-platform][PATCH 1/3] Silicon/Qemu: Renumber Dynamic PCDs to leave a gap Tomas Pilar (tpilar)
2020-10-22 15:50 ` [edk2-platform][PATCH 2/3] Platform,Silicon/Qemu: Define PcdPcie*Limit variables Tomas Pilar (tpilar)
2020-10-22 15:50 ` [edk2-platform][PATCH 3/3] Silicon/Qemu: Use PCDs to AcpiTables lib Tomas Pilar (tpilar)
2020-10-27 12:52 ` [edk2-platform][PATCH 0/3] Silicon/Qemu: Use PCDs in AcpiTables.inf Leif Lindholm

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=20201022155016.228362-1-tomas@nuviateam.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