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 treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
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: Drop unused function dev_find_matching_device_on_bus 2021-09-24 21:20:07 +00:00
device_util.c device: Skip not assigned resources during global resource search 2022-08-13 16:39:33 +00:00
gpio.c device + util/sconfig: introduce new device gpio 2020-12-28 17:47:04 +00:00
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 device/mipi: Move to drivers/mipi 2021-08-26 15:18:45 +00:00
mmio.c device/mmio: Make buffer_to_fifo32() take a const buffer 2021-09-20 12:07:51 +00:00
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 src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
pci_ops.c Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
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 treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
resource_allocator_common.c src/device: Remove unused <console/console.h> 2021-02-15 10:48:28 +00:00
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 device/xhci.c: Remove repeated word 2021-01-18 07:33:25 +00:00