public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ard.biesheuvel@arm.com>
To: Andrei Warkentin <andrey.warkentin@gmail.com>, devel@edk2.groups.io
Cc: leif@nuviainc.com, pete@akeo.ie, philmd@redhat.com
Subject: Re: [edk2-platforms][PATCH 0/2] RPi - add DT-only mode
Date: Mon, 11 May 2020 13:28:41 +0200	[thread overview]
Message-ID: <e344609f-49ee-6a04-a31c-647196b2b276@arm.com> (raw)
In-Reply-To: <20200510213450.12642-1-andrey.warkentin@gmail.com>

On 5/10/20 11:34 PM, Andrei Warkentin wrote:
> Today the Pies can be booted in a way where only ACPI is exposed,
> or both ACPI and DT are exposed.
> 
> This patch set adds one more mode - DT only, no ACPI. The target
> audience is developers. When both are exposed, it's up to the OS
> to decide which gets used, and that choice can differ between OSes.
> 
> Note: this does _not_ change defaults. Pi 3 still defaults to
> ACPI + DT, while Pi 4 still defaults to ACPI only.
> 
> We don't really want to remove DT + ACPI mode - it is the default
> on Pi 3, and removing it is bound to just annoy users - WoA and
> NetBSD (voa UEFI) on Pi 3 only work with ACPI, while everything
> else (Linux, FreeBSD) only work with DT. I'd make an analogy of
> MPS and ACPI being exposed for the longest time ever together on
> PCs.
> 
> Andrei Warkentin (2):
>    RPi: move varstore structure defs to ConfigVars.h
>    RPi: allow selecting DT-only mode
> 

Pushed as 51da3c318e3d..d492639638ee (with Pete's R-b and his remark 
addressed)

Thanks!


>   .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c |  21 ++-
>   .../Drivers/ConfigDxe/ConfigDxe.inf           |   2 +-
>   .../Drivers/ConfigDxe/ConfigDxeHii.uni        |   9 +-
>   .../Drivers/ConfigDxe/ConfigDxeHii.vfr        | 146 ++----------------
>   Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.c  |   6 +-
>   .../RaspberryPi/Drivers/FdtDxe/FdtDxe.inf     |   2 +-
>   Platform/RaspberryPi/Include/ConfigVars.h     | 131 ++++++++++++++++
>   Platform/RaspberryPi/RPi3/RPi3.dsc            |   8 +-
>   Platform/RaspberryPi/RPi4/RPi4.dsc            |   8 +-
>   Platform/RaspberryPi/RaspberryPi.dec          |   2 +-
>   10 files changed, 180 insertions(+), 155 deletions(-)
>   create mode 100644 Platform/RaspberryPi/Include/ConfigVars.h
> 


      parent reply	other threads:[~2020-05-11 11:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-10 21:34 [edk2-platforms][PATCH 0/2] RPi - add DT-only mode Andrei Warkentin
2020-05-10 21:34 ` [edk2-platforms][PATCH 1/2] RPi: move varstore structure defs to ConfigVars.h Andrei Warkentin
2020-05-11 10:57   ` Pete Batard
2020-05-10 21:34 ` [edk2-platforms][PATCH 2/2] RPi: allow selecting DT-only mode Andrei Warkentin
2020-05-11 10:58   ` Pete Batard
2020-05-11 11:25     ` Ard Biesheuvel
2020-05-11 11:28 ` Ard Biesheuvel [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=e344609f-49ee-6a04-a31c-647196b2b276@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