Page MenuHomeFreeBSD

D56846.diff
No OneTemporary

D56846.diff

diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c
--- a/usr.sbin/bhyve/pci_emul.c
+++ b/usr.sbin/bhyve/pci_emul.c
@@ -154,7 +154,13 @@
#endif
#define PCI_EMUL_MEMLIMIT32 PCI_EMUL_ECFG_BASE
-#define PCI_EMUL_MEMSIZE64 (32*GB)
+/*
+ * The 64-bit PCI MMIO hole. Sized to accommodate 4x NVIDIA H100 SXM5 GPUs
+ * (each with a 128 GiB BAR1 HBM aperture) with headroom for larger GPUs such
+ * as H200 (192 GiB BAR1). The original 32 GiB sizing came from an era where
+ * no single-device BAR exceeded a few GiB.
+ */
+#define PCI_EMUL_MEMSIZE64 (1024UL * GB)
static void pci_lintr_route(struct pci_devinst *pi);
static void pci_lintr_update(struct pci_devinst *pi);

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 16, 7:25 AM (11 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32740374
Default Alt Text
D56846.diff (689 B)

Event Timeline