summaryrefslogtreecommitdiffstats
path: root/src/device/Kconfig
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-04-26 09:41:54 +0200
committerLean Sheng Tan <sheng.tan@9elements.com>2023-05-19 08:29:53 +0000
commitcaf27adb1b35cafd44003a40b9304358a171aa84 (patch)
tree5bb0d0f84381610ecdc8330aa856a5c071516c6c /src/device/Kconfig
parent3553a16003255009df6c090e8a4959d0b9fb2864 (diff)
downloadcoreboot-caf27adb1b35cafd44003a40b9304358a171aa84.tar.gz
coreboot-caf27adb1b35cafd44003a40b9304358a171aa84.tar.bz2
coreboot-caf27adb1b35cafd44003a40b9304358a171aa84.zip
device/Kconfig: Reduce PCIe hotplug bus numbers and IO resources
The rationale behind this change is that multiple nested bridges using a lot of bus numbers and IO resources is not likely to be a common hotplug setup. When there is a large amount of hotplug ports using 32 subordinate busses results in boot failures (e.g. make qemu). 8K IO busses for hotplug devices is also excessive in most use cases when only 64K is available in total (again make qemu results in failure to allocate resources but does boot to payload). Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I8371958037d479e7d2053f49814735e15461ca6e Reviewed-on: https://review.coreboot.org/c/coreboot/+/74774 Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r--src/device/Kconfig10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index cdd843c3d7c9..71292e8f154b 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -703,12 +703,10 @@ if PCIEXP_HOTPLUG
config PCIEXP_HOTPLUG_BUSES
int "PCI Express Hotplug Buses"
- default 8 if ECAM_MMCONF_SUPPORT && ECAM_MMCONF_BUS_NUMBER <= 64
- default 16 if ECAM_MMCONF_SUPPORT && ECAM_MMCONF_BUS_NUMBER <= 128
- default 32
+ default 8
help
This is the number of buses allocated for hotplug PCI express
- bridges, for use by hotplugged child devices. The default is 32
+ bridges, for use by hotplugged child devices. The default is 8
buses.
config PCIEXP_HOTPLUG_MEM
@@ -745,11 +743,11 @@ config PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G
config PCIEXP_HOTPLUG_IO
hex "PCI Express Hotplug I/O Space"
- default 0x2000
+ default 0x800
help
This is the amount of I/O space to allocate to hot-plug PCI
express bridges, for use by hotplugged child devices. The default
- is 8 KiB.
+ is 2 KiB.
endif # PCIEXP_HOTPLUG