Hi,
I made a BIOS modification for the Gigabyte GA-Z270-HD3P Rev. 1.0, based on the official F9d BIOS.
The main purpose of this mod is to enable proper Above 4G MMIO allocation, which is useful for systems using GPUs with large BARs, such as the Tesla P100, and can also provide a useful starting point for further ReBAR / ReBarUEFI modifications.
Hardware tested
-
Gigabyte GA-Z270-HD3P Rev. 1.0
-
BIOS F9d modded
-
NVIDIA Tesla P100 16 GB
-
Debian 13
What has been modified
The relevant Setup IFR variables were identified and modified.
Aperture Size
VarStoreId: 0x0001
VarOffset: 0x070D
Original: 0x01 (256 MB)
Modified: 0x0F (2048 MB)
Above 4GB MMIO BIOS assignment
VarStoreId: 0x0001
VarOffset: 0x07AF
Original: 0x00
Modified: 0x01
CSM Support
VarStoreId: 0x0001
VarOffset: 0x1486
Original: 0x01 (Enabled)
Modified: 0x00 (Disabled)
These values were present in three mirrored Setup NVAR copies, so all three were modified.
Result
The mod has been successfully tested on real hardware.
Linux now reports a large PCI MMIO window above 4 GB:
pci_bus 0000:00: root bus resource [mem 0x2000000000-0x2fffffffff window]
The Tesla P100 receives its 16 GB BAR above 4 GB:
Region 0: Memory at f6000000 [size=16M]
Region 1: Memory at 2800000000 [size=16G]
Region 3: Memory at 2c00000000 [size=32M]
The Intel HD Graphics 630 also receives 64-bit MMIO allocations above 4 GB.
Therefore, Above 4G / large MMIO allocation is confirmed working on this board with this mod.
Files
Modified BIOS – Q-Flash
GA-Z270-HD3P_F9d_Above4G_QFlash.patched
This version contain the Q-Flash validation bypass.
It was successfully flashed using Q-Flash, using the Fast option when asked.
Important
This is an experimental modified BIOS.
I have personally tested it on a GA-Z270-HD3P Rev. 1.0 and confirmed that the Above 4G/MMIO modification works, but I cannot guarantee compatibility with every hardware configuration.
Do not flash this on another motherboard model or revision.
If anyone wants to continue the work and implement ReBarUEFI / full ReBAR support, feel free to use this as a starting point.
Hopefully this is useful to other GA-Z270-HD3P owners. ![]()
Edit by Fernando: Thread title shortened (details can be found within the initial post)