public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Laszlo Ersek" <lersek@redhat.com>
To: devel@edk2.groups.io, afish@apple.com
Cc: "Ard Biesheuvel (TianoCore)" <ardb+tianocore@kernel.org>
Subject: Re: [edk2-devel] Is there an ACPI solution for ARM (or other) platforms that don't have DRAM under 4 GiB?
Date: Fri, 19 Mar 2021 20:41:10 +0100	[thread overview]
Message-ID: <ca0dc3ea-0538-daaa-356e-2366efac2bce@redhat.com> (raw)
In-Reply-To: <814F375B-BF55-44E3-8E11-8C322ACA26C6@apple.com>

adding Ard, comment below

On 03/19/21 02:47, Andrew Fish via groups.io wrote:
> Some one was asking me this question and I did not know the answer?
> It looks like the stock ACPI stack needs memory under 4 GiB to fill
> in 32-bits as it was the 1990’s when that got written down. Is there
> support on TianoCore to implement ACPI on a platform that does not
> have memory < 4 GiB in its address map?

Yes, I think so. The most relevant commits seem to be:

  f9bbb8d9c3f0 MdeModulePkg: AcpiTableDxe: make 4 GB table allocation limit optional

  f859c6796f40 MdeModulePkg/AcpiTableDxe: consider version mask when removing tables
  09da11081915 MdeModulePkg/BootGraphicsResourceTableDxe: don't allocate below 4 GB

  0e0ae47da6bd MdeModulePkg/AcpiTableDxe: use pool allocations when possible
  cf299745ae66 MdeModulePkg/AcpiTableDxe: use pool allocation for RSDT/XSDT if possible
  8ead7af22bc5 MdeModulePkg/AcpiTableDxe: use pool allocation for RSDP if possible

This should be possible to control through PcdAcpiExposedTableVersions.

Thanks
Laszlo


  reply	other threads:[~2021-03-19 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19  1:47 Is there an ACPI solution for ARM (or other) platforms that don't have DRAM under 4 GiB? Andrew Fish
2021-03-19 19:41 ` Laszlo Ersek [this message]
2021-03-21 13:23   ` [edk2-devel] " Ard Biesheuvel

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=ca0dc3ea-0538-daaa-356e-2366efac2bce@redhat.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