From: "Ard Biesheuvel" <ardb@kernel.org>
To: Rebecca Cran <rebecca@bsdio.com>
Cc: devel@edk2.groups.io, corvink@freebsd.org,
Ard Biesheuvel <ardb+tianocore@kernel.org>,
Jiewen Yao <jiewen.yao@intel.com>,
Jordan Justen <jordan.l.justen@intel.com>,
Gerd Hoffmann <kraxel@redhat.com>,
Peter Grehan <grehan@freebsd.org>
Subject: Re: [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory
Date: Fri, 8 Sep 2023 17:43:16 +0200 [thread overview]
Message-ID: <CAMj1kXF-bNCJnxnkAZWbikwYvT3Nv6+e8S5H+QhjZDHK5T9Cig@mail.gmail.com> (raw)
In-Reply-To: <6b76efe3-6376-f7b9-1638-eb148ba8fa2a@bsdio.com>
On Fri, 8 Sept 2023 at 15:58, Rebecca Cran <rebecca@bsdio.com> wrote:
>
> Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
>
> On 9/7/23 02:34, Corvin Köhne wrote:
> > If OVMF fails to find the RSDP in memory, it should fall back installing
> > the statically provided ACPI tables.
> >
> > Signed-off-by: Corvin Köhne <corvink@FreeBSD.org>
> > Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> > Cc: Jiewen Yao <jiewen.yao@intel.com>
> > Cc: Jordan Justen <jordan.l.justen@intel.com>
> > Cc: Gerd Hoffmann <kraxel@redhat.com>
> > Cc: Rebecca Cran <rebecca@bsdio.com>
> > Cc: Peter Grehan <grehan@freebsd.org>
Merged as #4810
> > ---
> > OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 19 ++++++++-----------
> > 1 file changed, 8 insertions(+), 11 deletions(-)
> >
> > diff --git a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
> > index fb926a8bd803..57b1e7a99666 100644
> > --- a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
> > +++ b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
> > @@ -259,19 +259,17 @@ InstallAcpiTables (
> > BHYVE_BIOS_PHYSICAL_END,
> > &Rsdp
> > );
> > - if (EFI_ERROR (Status)) {
> > - return Status;
> > - }
> > -
> > - Status = InstallAcpiTablesFromRsdp (
> > - AcpiTable,
> > - Rsdp
> > - );
> > if (!EFI_ERROR (Status)) {
> > - return EFI_SUCCESS;
> > + Status = InstallAcpiTablesFromRsdp (
> > + AcpiTable,
> > + Rsdp
> > + );
> > + if (!EFI_ERROR (Status)) {
> > + return EFI_SUCCESS;
> > + }
> > }
> >
> > - if (Status != EFI_NOT_FOUND) {
> > + if (EFI_ERROR (Status)) {
> > DEBUG (
> > (
> > DEBUG_WARN,
> > @@ -280,7 +278,6 @@ InstallAcpiTables (
> > Status
> > )
> > );
> > - return Status;
> > }
> >
> > Status = InstallOvmfFvTables (AcpiTable);
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108450): https://edk2.groups.io/g/devel/message/108450
Mute This Topic: https://groups.io/mt/101210702/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2023-09-08 15:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-07 8:33 [edk2-devel] [PATCH v1 0/1] OvmfPkg/Bhyve: properly fall back to static ACPI tables Corvin Köhne
2023-09-07 8:34 ` [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory Corvin Köhne
2023-09-07 9:54 ` Ard Biesheuvel
2023-09-08 13:58 ` Rebecca Cran
2023-09-08 15:43 ` 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=CAMj1kXF-bNCJnxnkAZWbikwYvT3Nv6+e8S5H+QhjZDHK5T9Cig@mail.gmail.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