Resizable BAR Support Being Prepared For Coreboot
Thanks to Google engineers there is Resizable BAR "ReBAR" support being worked on for the open-source Coreboot.
The new code merged yesterday for Coreboot adds the necessary changes to be in compliant with the PCI Express specification around Resizable BAR for being able to determine the BAR size from the given device. Resizable BAR allows for more efficient access to the video memory by the CPU rather than being limited to small BAR sizes (256MB), now for many graphics cards the entire vRAM is mapped and accessible. Newer desktop motherboards with supported chipsets have been quick to advertise ReBAR (or also known as AMD Smart Access Memory) while finally ReBAR support is being added to Coreboot.
The Coreboot support can be enabled via the PCIEXP_SUPPORT_RESIZABLE_BARS Kconfig switch. While the core device code has been added to Coreboot, as of writing there isn't yet any mainline Coreboot motherboard ports able to make use of ReBAR besides a follow-up commit for Google's "Agah" board board having "a peripheral that will require the use of the PCI Resizable BAR feature."
The Resizable BAR support for Coreboot was added as part of this commit. Of course, this is just part of the puzzle with the actual motherboard and chipset needing to support this PCIe feature as well as the particular PCI Express device itself.
The new code merged yesterday for Coreboot adds the necessary changes to be in compliant with the PCI Express specification around Resizable BAR for being able to determine the BAR size from the given device. Resizable BAR allows for more efficient access to the video memory by the CPU rather than being limited to small BAR sizes (256MB), now for many graphics cards the entire vRAM is mapped and accessible. Newer desktop motherboards with supported chipsets have been quick to advertise ReBAR (or also known as AMD Smart Access Memory) while finally ReBAR support is being added to Coreboot.
The Coreboot support can be enabled via the PCIEXP_SUPPORT_RESIZABLE_BARS Kconfig switch. While the core device code has been added to Coreboot, as of writing there isn't yet any mainline Coreboot motherboard ports able to make use of ReBAR besides a follow-up commit for Google's "Agah" board board having "a peripheral that will require the use of the PCI Resizable BAR feature."
The Resizable BAR support for Coreboot was added as part of this commit. Of course, this is just part of the puzzle with the actual motherboard and chipset needing to support this PCIe feature as well as the particular PCI Express device itself.
15 Comments