From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.freebsd.org (mx2.freebsd.org [96.47.72.81]) by mx.groups.io with SMTP id smtpd.web10.7144.1687180390379775747 for ; Mon, 19 Jun 2023 06:13:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@freebsd.org header.s=dkim header.b=HIxmcKiU; spf=pass (domain: freebsd.org, ip: 96.47.72.81, mailfrom: corvink@freebsd.org) Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "R3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 4Ql9Dj5TrVz3LJ4; Mon, 19 Jun 2023 13:13:09 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ql9Dj4hLKz3v9b; Mon, 19 Jun 2023 13:13:09 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687180389; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/VOmxePrvMsiNqraP9Tm1MTiUlaUpRqS9z0/bTQVdS0=; b=HIxmcKiUV3pmwXkQWAyP0n73gtoHWODsWbvrnEEOyQdwo4Z/KWelqEd5Pg2UwbsrWESQqh nV9Y3MHlV/O5fQixR9DD/FKrn4rKYZQXIOOOTQiiLfEYXU9nBXxHyniO9GJBUMFDQDB7TC EmHqqkJCviX6hS6yog2iptV9mXzberdBu0EcXmzRL9bbH4voSfubQJp9P9FEPIR14tvkaT OSs2moBO+WJCr0CUQZZJcW66kLUQunYtvKCIdcIPTcIj7Cmt5NennfHC8m12+4xJpc/iYW NpOFzw9KT+yC7CW8046NOTG73fWYNbhi66xpXpOyjvKUuBQDs2IFbmau6uod5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687180389; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/VOmxePrvMsiNqraP9Tm1MTiUlaUpRqS9z0/bTQVdS0=; b=k6PLtbytUGXP7Ec1K6RtRtCElsd/UMg9H45glypx5AxxY29P3K5Ccja2STxs/NskzL90bB ZmhQffPOn60c+pmgFVSSs25caZEahxnztY1h8xqNKv22l3OKgiNm+JQWOO5zFLF5n1TlBc EQqqRnovx71bzwTTALq07FouiyN7czz+GKA3VUvy05wKOUd0EjKqOY9dAwcL3jCVMtHMsS DU2JQLxrlmq7Oa4w/KeWbVhbUSGWIePmce5TBZCFNRAL5MDgGdiebf6X80pZvCXFddN57I nq7CFPN4gidr8YfzsFfhYYdFblgN6Doguo46DxdUegASa7JZAYLNEm+NWPR0ig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687180389; a=rsa-sha256; cv=none; b=sJuXjJDpBZeEQ7a1JScnhuDwnQmNJxjUXUMHj7so6ZP7EIyQc/A3FrvB/C2qVPjpyGMpSK gDCpvHa7SRpDBMU3N3dhshG+400kIjt2JaVI5pU99JPjwxrSLR0K+BOTkVLbSuwUqKcVzK MMw3YIVUUfUtkTMOVYKEb5sO2QliuF2HgEhK5E2yF88x/lJ1usRraudYDykYNOLsuRs+9V 7mgN6ODiNsVYQhNjCJ4Z0M5JoW0JDcITmXAM3hQ5kIXD1QCeZxs1U0LrkN0ft+wIHOebMV DOn9zLVpNzxRA1IeEnea262O0j8WAUUg+HILzMYi/ekcPnxfvW9x2zpC7V3fBA== Received: from corvink-nb.fritz.box (unknown [IPv6:2001:9e8:da5e:c500:c216:138:c907:f83b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: corvink) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Ql9Dh3zHlzVfs; Mon, 19 Jun 2023 13:13:08 +0000 (UTC) (envelope-from corvink@FreeBSD.org) From: =?UTF-8?B?Q29ydmluIEvDtmhuZQ==?= To: devel@edk2.groups.io Cc: Ard Biesheuvel , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Peter Grehan , Rebecca Cran , Sami Mujawar Subject: [PATCH v2 6/6] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg Date: Mon, 19 Jun 2023 15:12:28 +0200 Message-ID: <20230619131255.364358-7-corvink@FreeBSD.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230619131255.364358-1-corvink@FreeBSD.org> References: <20230619131255.364358-1-corvink@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Signed-off-by: Corvin K=C3=B6hne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/Bhyve= /AcpiPlatformDxe/AcpiPlatform.c index 1e1c90614ea1..fb926a8bd803 100644 --- a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c +++ b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c @@ -249,6 +249,11 @@ InstallAcpiTables ( EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER *Rsdp; EFI_STATUS Status; =20 + Status =3D InstallQemuFwCfgTables (AcpiTable); + if (!EFI_ERROR (Status)) { + return EFI_SUCCESS; + } + Status =3D GetAcpiRsdpFromMemory ( BHYVE_ACPI_PHYSICAL_ADDRESS, BHYVE_BIOS_PHYSICAL_END, --=20 2.41.0