PCIe address allocation can fail despite enough total space
Doug Calobrisi traces failed GPU memory mappings to Linux sizing a PCIe bridge window without enough alignment gaps. Four 32 GB GPU mappings, each followed by a small register region, need more address space than the simple sum of their sizes. His workaround pads alignments before assignment; he also reports successfully testing an upstream fix that had not yet merged.
Doug Calobrisi · Nov 9, 2026
Why it matters
Resource allocation depends on placement constraints as well as the total number of bytes requested.
More context
The November 9 post was updated November 12. It describes a specific multi-GPU workstation and an early-boot kernel module. Read the linked kernel discussion first; the useful diagnostic is to inspect small register regions adjacent to large GPU mappings.
Keep in mind
Hardware-specific, out-of-tree workaround that relies on kernel internals. The author reports that rescanning after a GPU driver loaded locked up his machine; this is not a routine configuration recipe for arbitrary systems.
Original read