coreboot/src/device
Arthur Heymans 20d25779c8 device/pci_device.c: Add way to limit max bus numbers
By default this limits PCI buses to CONFIG_MMCONF_BUS_NUMBER.
Some platforms have multiple PCI root busses (e.g. xeon_sp), where bus
numbers are limited. This provides a basic check. On some platforms it
looks like programming 0xff to the subordinate bus number confuses and
hangs the hardware.

Change-Id: I0582b156df1a5f76119a3687886c4d58f2d3ad6f
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59395
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
2023-02-06 00:22:46 +00:00
..
dram spd.h: Move enum ddr3_module_type to ddr3.h 2023-01-04 12:39:32 +00:00
oprom device/oprom/yabel/io: use __fallthrough instead of comment 2022-12-17 16:45:44 +00:00
azalia_device.c treewide: Get rid of CONFIG_AZALIA_MAX_CODECS 2022-02-22 17:40:30 +00:00
cardbus_device.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
cpu_device.c device/cpu_device.c: Zero initialize struct 2022-12-14 13:52:00 +00:00
device.c arch/x86/ebda.c: Move setting up ebda to a BS hook 2022-05-17 11:24:12 +00:00
device_const.c src/device + util/sconfig: Introduce new device 'mdio' 2022-11-24 05:53:55 +00:00
device_util.c src/device + util/sconfig: Introduce new device 'mdio' 2022-11-24 05:53:55 +00:00
gpio.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c_bus.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
Kconfig device/Kconfig: Fix selection of software connection manager 2023-01-11 16:53:59 +00:00
Makefile.inc src/device + util/sconfig: Introduce new device 'mdio' 2022-11-24 05:53:55 +00:00
mdio.c device/mdio: Provide helper functions for read and write 2022-11-24 05:58:28 +00:00
mmio.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
pci_class.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
pci_device.c device/pci_device.c: Add way to limit max bus numbers 2023-02-06 00:22:46 +00:00
pci_early.c treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
pci_ops.c treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
pci_rom.c src/device/pci_: Remove unnecessary space after casts 2022-11-22 13:41:26 +00:00
pciexp_device.c device/pciexp: add pcie_find_dsn() 2022-11-20 17:37:09 +00:00
pcix_device.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
pnp_device.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
resource_allocator_common.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
resource_allocator_v4.c src/device: Clean up includes 2022-10-26 16:38:11 +00:00
root_device.c device: Export enable_static_device() function 2020-10-21 15:35:24 +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
xhci.c treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00