diff options
| author | ramkumar.s <ramkumar.s@nutanix.com> | 2026-08-21 07:52:36 +0300 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-08-23 16:00:31 +0300 |
| commit | 7735ed4f8eb3afaf1a97d27a8862f382c387f0bc (patch) | |
| tree | 46c2e15006ad8c644140aa796c233a3d3d8218c9 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h | |
| parent | d98a39d4ceeb7204b33fc330fdfee8cdb5ddbb43 (diff) | |
| download | edk2-7735ed4f8eb3afaf1a97d27a8862f382c387f0bc.tar.xz | |
OvmfPkg/PlatformInitLib: Set dynamic MMIO window size to 1/4
Large multi-GPU passthrough configurations can exhaust the current
MMIO window sizing rule (1/8 of guest physical address space),
especially with newer GPUs that have very large BAR requirements and
alignment overhead.
With 46-bit guest physical addressing, the 1/8 rule provides an 8TB
MMIO window. Newer GPUs with 512GB VRAM can exhaust an 8TB window
when passing through up to 8 devices.
Increase the MMIO window size to 1/4 of guest physical address space.
This provides a 16TB MMIO window on a 46-bit setup.
Tested with 8-GPU passthrough (512GB VRAM per GPU). With this
change, all GPUs are visible and functional in the VM; without it,
one GPU was unusable.
Signed-off-by: ramkumar.s <ramkumar.s@nutanix.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions
