sb/intel/bd82x6x: Warn about slow PCIe downstream devices
commit2fcef78ff84c184f7a9dd0e007c95b56cda552f5
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Mon, 2 Oct 2023 06:55:52 +0000 (2 08:55 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 12 Oct 2023 12:39:42 +0000 (12 12:39 +0000)
tree8d70116da99863027a0df44d707202bb820314b7
parentf94a522086acb7ce2d4b9483953f73caad5c38d8
sb/intel/bd82x6x: Warn about slow PCIe downstream devices

Warn when a device took longer than usual to appear.
Use the PDS bit to detect if a root port has a downstream
device connected and warn if enumeration failed.

Test: On Lenovo X220 all PCIe device are visible, thus the
      added code path is never taken.

Change-Id: I86b498b89d672b239d9951e116dc3680030666a6
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78229
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/southbridge/intel/bd82x6x/pcie.c