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.6151.1686729565351208856 for ; Wed, 14 Jun 2023 00:59:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@freebsd.org header.s=dkim header.b=bJ8f9Huu; spf=pass (domain: freebsd.org, ip: 96.47.72.81, mailfrom: corvink@freebsd.org) Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (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 4QgyVz5x33z44fS for ; Wed, 14 Jun 2023 07:59:23 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4QgyVz51h3z3JjH for ; Wed, 14 Jun 2023 07:59:23 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686729563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NjR9Dr6HU+0xah0GPA/bW6sybQHam1HLQ+9KVz3yrg4=; b=bJ8f9HuuU5QThbOZBaa9oneTNTBEYzWi3TXK9DZOtFdghF7/BLGTyYgKi5pFpPmB1VfIa0 XG4hWbcfbLNCL/YEFQSz11u6oty5zWzgez3Lox9inH7AJbtSbpR7zMfCwjZShyhSj4LI/b FQZ093bw9e2yYw9C+mq8uR2AT9cUkY4Ib1FHASXvO9v1+LDLUYJQLH++K5DFe67OMm867d LoCb8WVeAxT7vNK5Cf4mqSJL8gsiS35C6RSgvrHE5L5gohEW3bxa2e4Ei3fJxwSyHzPu/f ZQ8ORHLGBU+/kqYYUSlspeRTYz5O9yWfUSsx0IbRQBibDC2SweGyqHcQvIoo5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686729563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NjR9Dr6HU+0xah0GPA/bW6sybQHam1HLQ+9KVz3yrg4=; b=sjoVwvZCQTr+yQ2btLThvKjcHfNu9eLqZ5S2mDxRAkbspLjIBf3szqiw6/dTb+TeC/q1t0 QDm0O98qKTKQq+oCOHDkIYXNrg+s7XhKYMwEg94r4qTDKUk5nsba42g4jkw3RO+mFGQwNi Quq8FDVMtlr5HJRwIIZTKoVp3zspK2s/2zZJKLPn2/5nmsRMzAlheAE5ZQ05As0XZ5bCwV ds+7mvdd0X/MI77CEWl59JHYVm0/rs4ySENVlmfE1C/ILY98Su49sWpJnJpXk6MydxgvWX NvANenf/x6k7YmegaUm012HQTEtfPdrdl69rmtWLmQrMJUpUbI9nLB3rQLN5xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686729563; a=rsa-sha256; cv=none; b=DeXpt7zmOkvkUXPV6jpr92EHSIQgAFawXmQes/fTHigiobGxRmbxqN/2KQje0fq5ATChGN Euoc757HhWt70uRLPhKNgu8i3uw8F4uFpyxcu0V1O1MTpOj1hKIgCj+Q9Co0aIVThW8TxU s4EdqPG5jALO/FI5pJqU2I+/C+BZj4EwYE1r+L8uf+NtPYMAF+hx5iQM0wvNqYoB7+6jsn HQcqNWfNxc/aoo22DdBXRar+zsL6zVPdtuCqETB70k3ifAKbe1urHmoUWBr5DgUHxPS1IZ e4Nw50TA2zBMCSEVpXvwq0RrOqhLtdTFFHWndN6d2L/2RlrxBJxC36WprqVvjw== Received: from corvink-nb.beckhoff.com (unknown [195.226.174.194]) (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 4QgyVz1BJfzGYn for ; Wed, 14 Jun 2023 07:59:22 +0000 (UTC) (envelope-from corvink@FreeBSD.org) From: =?UTF-8?B?Q29ydmluIEvDtmhuZQ==?= To: devel@edk2.groups.io Subject: [PATCH 0/5] OvmfPkg/Bhyve: install Acpi tables by FwCfg Date: Wed, 14 Jun 2023 09:55:42 +0200 Message-ID: <20230614075915.141380-1-corvink@FreeBSD.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, latest Bhyve exposes it's Acpi tables by FwCfg. This patch series reuses the Acpi Install method of Qemu for Bhyve. CI: https://github.com/tianocore/edk2/pull/4545 Kind regards, Corvin Corvin K=C3=B6hne (5): OvmfPkg: avoid including AcpiPlatformLib twice OvmfPkg: move PciEncoding into AcpiPlatformLib OvmfPkg: move BootScript into AcpiPlatformLib OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib OvmfPkg/Bhyve: install Acpi tables provided by FwCfg ArmVirtPkg/ArmVirtQemu.dsc | 1 + ArmVirtPkg/ArmVirtQemuKernel.dsc | 1 + OvmfPkg/AmdSev/AmdSevX64.dsc | 1 + OvmfPkg/CloudHv/CloudHvX64.dsc | 1 + OvmfPkg/IntelTdx/IntelTdxX64.dsc | 1 + OvmfPkg/Microvm/MicrovmX64.dsc | 1 + OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc | 1 + OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 10 +- .../Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf | 1 - .../AcpiPlatformLib/DxeAcpiPlatformLib.inf | 14 ++ OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 51 ---- OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.h | 17 -- OvmfPkg/Include/Library/AcpiPlatformLib.h | 56 +++++ OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 3 + OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 + OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c | 232 ------------------ .../AcpiPlatformLib}/BootScript.c | 3 +- .../AcpiPlatformLib}/PciDecoding.c | 3 +- .../AcpiPlatformLib}/QemuFwCfgAcpi.c | 3 +- 22 files changed, 92 insertions(+), 316 deletions(-) delete mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c rename OvmfPkg/{AcpiPlatformDxe =3D> Library/AcpiPlatformLib}/BootScript= .c (96%) rename OvmfPkg/{AcpiPlatformDxe =3D> Library/AcpiPlatformLib}/PciDecodin= g.c (96%) rename OvmfPkg/{AcpiPlatformDxe =3D> Library/AcpiPlatformLib}/QemuFwCfgA= cpi.c (96%) --=20 2.41.0