coreboot-kgpe-d16/src/device
Shuo Liu 0640c281c3 device: Skip not assigned resources during global resource search
It's possible that some BARs are not got their resource successfully
mapped, e.g. when these BARs are too large to fit into the available
MMIO window.

Not assigned resources might be with base address as 0x0. During
global resource search, these not assigned resources should not be
picked up.

One example is MTRR calculation. MTRR calculation is based on global
memory ranges. An unmapped BAR whose base is left as 0x0 will be
mistakenly picked up and recognized as an UC range starting from 0x0.

Change-Id: I9c3ea302058914f38a13a7739fc28d7f94527704
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66347
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
2022-08-13 16:39:33 +00:00
..
dram device: Remove unused <cbmem.h> 2022-04-22 21:40:07 +00:00
oprom
azalia_device.c treewide: Get rid of CONFIG_AZALIA_MAX_CODECS 2022-02-22 17:40:30 +00:00
cardbus_device.c
cpu_device.c
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
device_util.c device: Skip not assigned resources during global resource search 2022-08-13 16:39:33 +00:00
gpio.c
i2c.c
i2c_bus.c dev/i2c_bus: Fix count argument in i2c_dev_detect() 2022-08-03 20:55:14 +00:00
Kconfig payloads/tianocore: Rename TianoCore to edk2 2022-08-13 16:35:18 +00:00
Makefile.inc
mmio.c
pci_class.c
pci_device.c pci_device: Add a function to find PCI capability ID recursively 2022-08-07 19:41:38 +00:00
pci_early.c
pci_ops.c
pci_rom.c src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
pciexp_device.c pciexp_device: Handle unsupported requests in pciexp_get_ext_cap_offset() 2022-08-07 19:49:35 +00:00
pcix_device.c
pnp_device.c
resource_allocator_common.c
resource_allocator_v3.c
resource_allocator_v4.c allocator_v4: Make it explicit that we start with the highest alignment 2022-06-27 14:00:23 +00:00
root_device.c
smbus_ops.c
software_i2c.c
xhci.c