Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 238690a30d02d3f95f0355c88c35dc0e4232342a
https://github.com/tianocore/edk2/commit/238690a30d02d3f95f0355c88c35dc0e4232342a
Author: Corvin Köhne <[email protected]>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M OvmfPkg/Bhyve/PlatformPei/Platform.c
Log Message:
-----------
OvmfPkg/Bhyve: use a proper PCI IO range
Bhyve uses an io port range of [ 0x2000, 0x10000 ] [1]. At the moment,
EDKII is using a subset of this range [ 0xC000, 0x10000 ] [2]. Even
though the EDKII range doesn't exceed the bhyve range, it's causing
issues on some guests like OpenBSD [3]. We don't know why it's causing
issues yet. However, using the same IO port range in EDKII fixes the
issue and is a good idea anyway.
[1]
https://github.com/freebsd/freebsd-src/blob/82ea0132c8b17a7a6067c8a36c6434e587ede6de/usr.sbin/bhyve/pci_emul.c#L133-L134
[2]
https://github.com/tianocore/edk2/blob/fb044b7fe893a4545995bfe2701fd38e593355d9/OvmfPkg/Bhyve/PlatformPei/Platform.c#L156-L157
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274389
Signed-off-by: Corvin Köhne <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Rebecca Cran <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Jiewen Yao <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits