public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Corvin Köhne" <c.koehne@beckhoff.com>
To: <devel@edk2.groups.io>
Cc: p.bruenn@beckhoff.com, "Corvin Köhne" <c.koehne@beckhoff.com>
Subject: [PATCH 1/4] OvmfPkg/Bhyve: enable bus enumeration
Date: Mon, 14 Jun 2021 11:00:57 +0200	[thread overview]
Message-ID: <20210614090100.7763-2-c.koehne@beckhoff.com> (raw)
In-Reply-To: <20210614090100.7763-1-c.koehne@beckhoff.com>

Neccessary for GPU Passthrough of dedicated AMD GPUs. For Linux
guests, AMD GPUs require that their PCI ROM is processed by UEFI.
Enable bus enumeration to process the PCI ROM of all devices.

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
---
 OvmfPkg/Bhyve/BhyveX64.dsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc
index d8792812ab..ef331d556e 100644
--- a/OvmfPkg/Bhyve/BhyveX64.dsc
+++ b/OvmfPkg/Bhyve/BhyveX64.dsc
@@ -431,7 +431,7 @@
   gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
 
 [PcdsFixedAtBuild]
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
-- 
2.11.0

Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff
Registered office: Verl, Germany | Register court: Guetersloh HRA 7075




  reply	other threads:[~2021-06-14  9:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-14  9:00 [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough c.koehne
2021-06-14  9:00 ` Corvin Köhne [this message]
2021-06-23 10:59   ` [edk2-devel] [PATCH 1/4] OvmfPkg/Bhyve: enable bus enumeration Laszlo Ersek
2021-06-14  9:00 ` [PATCH 2/4] Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan" Corvin Köhne
2021-06-14  9:00 ` [PATCH 3/4] OvmfPkg/Bhyve: add USB support Corvin Köhne
2021-06-14  9:01 ` [PATCH 4/4] OvmfPkg/Bhyve: use static PCI32Base address Corvin Köhne
2021-06-15  6:03 ` [edk2-devel] [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough Peter Grehan

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=20210614090100.7763-2-c.koehne@beckhoff.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