coreboot/src/device
Furquan Shaikh dcbf6454b6 pciexp_device: Add option to allocate prefetch memory above 4G boundary
This change adds a Kconfig option to request allocation of prefetch
memory for hotplug devices above the 4G boundary. In order to
select this option by default and still allow users to disable this if
required, another option is added to request allocation of prefetch
memory below 4G boundary which defaults to n but can be overriden
by mainboards.

Without this change, if the number of pciexp bridges supporting
hot-plug is more than 4 or if the reserved prefetch memory size for
hot-plug cases was increased, then the resource allocator would fail
to satisfy the resource requirement below 4G boundary.

BUG=b:149186922
TEST=Enabled resource allocation above 4G for prefetch memory on volteer
and verified that it gets allocated above 4G boundary.

Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: I061d935eef9fcda352230b03b5cf14e467924e50
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39489
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-12 19:44:29 +00:00
..
dram treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
oprom treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
azalia_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cardbus_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
device.c device: Enable resource allocation above 4G boundary 2020-05-12 19:43:52 +00:00
device_const.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
device_util.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
hypertransport.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c_bus.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig pciexp_device: Add option to allocate prefetch memory above 4G boundary 2020-05-12 19:44:29 +00:00
Makefile.inc Add buffer_to/from_fifo32(_prefix) helpers 2019-08-22 10:36:22 +00:00
mmio.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_class.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_device.c pci_device: Extend PCI domain limit to 64-bit 2020-05-12 19:44:03 +00:00
pci_early.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_ops.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_rom.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pciexp_device.c pciexp_device: Add option to allocate prefetch memory above 4G boundary 2020-05-12 19:44:29 +00:00
pcix_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pnp_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
root_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smbus_ops.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
software_i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00