[edk2-devel] [PATCH v1 3/3] OvmfPkg/BhyvePkg: enable bus enumeration

Corvin Köhne corvink at FreeBSD.org
Mon Jul 3 11:34:32 UTC 2023


On Mon, 2023-06-12 at 11:20 +0200, Corvin Köhne wrote:
> bhyve supports adding a ROM to PCI devices. It was added to support
> GPU
> passthrough of dedicated AMD GPUs. At the moment, this ROM file is
> mostly useless as it's not shadowed and executed by firmware. Change
> that by enabling bus enumeration.
> 
> Signed-off-by: Corvin Köhne <corvink at FreeBSD.org>
> Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
> Cc: Jiewen Yao <jiewen.yao at intel.com>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: Rebecca Cran <rebecca at bsdio.com>
> Cc: Peter Grehan <grehan at freebsd.org>
> ---
>  OvmfPkg/Bhyve/BhyveX64.dsc | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc
> index e5167daa20a7..df7508d7c36d 100644
> --- a/OvmfPkg/Bhyve/BhyveX64.dsc
> +++ b/OvmfPkg/Bhyve/BhyveX64.dsc
> @@ -427,7 +427,6 @@ [PcdsFeatureFlag]
>  !endif
>  
>  [PcdsFixedAtBuild]
> -  gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
>    gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
>    gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
>    gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1

Hi,

any comments on this?


-- 
Kind regards,
Corvin


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106600): https://edk2.groups.io/g/devel/message/106600
Mute This Topic: https://groups.io/mt/99479265/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20230703/6f02ccaa/attachment.sig>


More information about the edk2-devel-archive mailing list