PCIe/CXL Deep Dive · All levels

Enumeration and Configuration

Config space, BDF routing, capability structures, and firmware/OS enumeration flows that establish a working PCIe topology.

Section goal

Config space, BDF routing, capability structures, and firmware/OS enumeration flows that establish a working PCIe topology.

This section trains how to reason from symptoms to PCIe/CXL mechanism, then close with owner accountability, reliability gates, and release-safe decisions.

How to study this section

  1. Start with each topic hub and draw the mechanism path.

  2. Use reports and debug pages to prove causality before tuning.

  3. Practice worked examples and interview drills with explicit evidence chains.

  4. Close each topic with checklist and silicon impact pages.

Topics

  1. pci-config-space/ - PCI Configuration Space Layout

  2. bus-device-function/ - Bus-Device-Function Routing and Bridges

  3. capability-structures/ - PCIe Capability and Extended Capability Structures

  4. firmware-os-enumeration/ - Firmware and OS Enumeration Sequencing

Related topics

PCIe/CXL deep dive

Enumeration establishes decode windows and capability contracts; config mistakes create phantom devices and DMA hazards.

Concept diagram

diagram
ENUMERATION PATH

probe VID/DID -> size BARs -> assign bus numbers -> enable features -> driver bind

Metric graph

diagram
ENUM FAILURE MODES

BAR overlap        █████
bridge bus error   ████
cap walk miss      ███

Reports and artifacts

  • config space dump

  • BAR allocation map

  • capability inventory

  • ACPI resource diff

Mini case study

OS BAR reassignment collided with a CXL HDM window, leaving Type 3 memory invisible after install.

Debug branches

  • Compare UEFI vs OS resource maps

  • Validate bridge subordinate bus coverage

  • Walk extended capabilities including CXL DVSEC

Senior review question

Ask: which latency, bandwidth, and reliability evidence proves this PCIe/CXL topic is closed under real traffic?