PCIe/CXL Deep Dive · All levels

Link Training and LTSSM

LTSSM states, equalization, speed/width negotiation, and recovery/retrain flows that establish reliable high-speed links.

Section goal

LTSSM states, equalization, speed/width negotiation, and recovery/retrain flows that establish reliable high-speed links.

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. detect-polling-config/ - Detect, Polling, and Configuration States

  2. equalization-phases/ - Equalization Phases and Preset Selection

  3. speed-width-negotiation/ - Speed and Width Negotiation

  4. recovery-and-retrain/ - Recovery, Retrain, and Hot Reset Flows

Related topics

PCIe/CXL deep dive

LTSSM and equalization determine whether high-speed links are stable under corner traffic and retimer paths.

Concept diagram

diagram
LTSSM + EQ

Detect -> Polling -> Config -> L0 <-> Recovery

Metric graph

diagram
LINK INSTABILITY SOURCES

EQ margin           ██████
retimer FW          ████
SI/cable plant      ███

Reports and artifacts

  • LTSSM state log

  • EQ coefficient dump

  • negotiated speed/width snapshot

  • recovery trigger timeline

Mini case study

Gen5 passed cold boot EQ but entered Recovery loops under DMA heat after retimer firmware update.

Debug branches

  • Capture ordered sets at failure boundary

  • Compare EQ presets across temperature corners

  • Bypass retimer to isolate segment faults

Senior review question

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