coreboot-kgpe-d16/src/device
Nico Huber 5f7cfb388e pciexp_device: Fix offset handling for extended capabilities
The PCIe spec explicitly states that the bottom-two bits of the next
offset are reserved for future use and should be masked. We can also
change the loop condition to avoid wrong offsets below 0x100 (exten-
ded capabilities always reside in the extended config space).

The whole patch series was tested on Google Samus and keeps the L1ss
configuration of the WiFi device in tact.

Change-Id: I0b622a0ce0a4a1127d266226ade0ec1e66e9fb79
Signed-off-by: Nico Huber <nico.h@gmx.de>
Tested-by: Patrick Georgi <patrick@coreboot.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66459
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-08-17 19:09:05 +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_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 pciexp_device: Join pciexp_find_(next_)extended_cap() APIs 2022-08-17 16:29:39 +00:00
pci_early.c
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: Fix offset handling for extended capabilities 2022-08-17 19:09:05 +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
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