A deep dive into PERST# — The Signal That Decides Whether Your PCIe Link Ever Trains

This article is part of a three-part series on PCIe PERST#.


Most PCIe bring-up debug efforts eventually trace back to one net: PERST#. Beginners take it as an unassuming active-low signal that is driven from the RC side to indicate it is ready for link training. As one gains more experience working with PCIe, it becomes clear that PERST#’s role is way beyond that initial take — it plays a vital role in power sequencing, clock domain design, PHY architecture, and system firmware. Getting it wrong either in the SoC design or in the board design gets you a link that trains intermittently, a device that enumerates only on cold boot, or only on a set of host machines, or a controller that hangs waiting for a PHY that never came out of reset cleanly. This is the first part of an article series that walks you through PERST# from the protocol definition down to the physical pin, aimed at engineers who already are familiar with LTSSM and configuration space, and have a fair understanding of PCIe controllers, PHYs, and the interconnects used in SoC designs as well as board designs. The author sincerely hopes that this article series would be helpful in throwing some light on the reasons this signal is treated with so much reverence in both the CEM specification and real SoC integration guides.

List of PCIe resets

  • Cold reset (or power down reset): Clears everything in the EP.
  • Fundamental reset (via PERST#): PERST# triggers the fundamental reset of the EP which resets almost everything in the EP — LTSSM, PHY, configuration space, and any non-sticky state information. One exception is that any state explicitly kept sticky via Vaux backed power (e.g., PME context on AUX_PWR-capable devices), which can survive PERST# assertion as long as 3.3Vaux remains applied.
  • Warm reset: A conceptual reset applied when main power remains applied but a reset event has occurred (often overlaps with hot reset or PERST# depending on platform implementation).
  • Function Level Reset (FLR): A software-initiated, per-function reset via the Device Control register, scoped to a single function’s internal state, leaving the link itself intact.
  • Hot reset: An in-band mechanism, signaled by sending TS1 ordered sets with the Hot Reset bit set. This is used to reset a downstream device without cycling power or toggling PERST#.
  • Secondary Bus Reset (SBR): A software triggered reset mechanism to reset all devices on the secondary side of a PCIe switch. SBR uses hot reset as the mechanism of implementation.

PERST#: What It Is and Why It Exists

PERST# (PCI Express Reset, active low) is the signal controlling the fundamental reset of the PCI Express hierarchy, defined in the PCI Express Card Electromechanical (CEM) Specification and referenced throughout the PCIe Base Specification as the mechanism that forces every downstream component into a known, deterministic state. Please note that this is not the fundamental reset signal, but one that triggers the fundamental reset. It is distinct from every other reset mechanism listed previously, for PERST# is the only one of these that is a physical, sideband, asynchronous signal. Hence its significance: it doesn’t depend on the link being trained, doesn’t depend on REFCLK being valid, and doesn’t depend on any prior protocol state. It exists specifically so that the system can guarantee a clean, known starting point regardless of what state the device or the link was previously in — including states where the LTSSM itself might be wedged.

In such contexts, PERST# needs to be treated as the synchronization boundary between the power/clock domain and the protocol domain. Nothing in the LTSSM, DLLP, or TLP layer is deemed to be valid until PERST# has been properly sequenced relative to power rails and REFCLK.

Who Drives PERST#

PERST# is unambiguously a Root Complex (host)-driven, downstream signal. In a conventional topology — whether that’s a CEM add-in card, an M.2 SSD, or an SoC-to-SoC embedded link — the Root Complex side (or, more precisely, the platform reset logic associated with the RC) drives PERST# to every downstream port it owns. The endpoint never drives its own PERST# input; it only observes it.

In practice, “the RC drives it” is a simplification worth unpacking for board/SoC and firmware designs, because the actual driver is rarely the PCIe controller IP itself:

  • On a CEM-compliant motherboard, PERST# is generated by platform power sequencing logic (a PMIC, CPLD, or dedicated power sequencer) that watches the 12V/3.3V rail power-good signals and asserts/deasserts PERST# as part of the slot power sequence.
  • On an SoC that instantiates an embedded RC (e.g., driving a PCIe endpoint SoC), PERST# is typically a GPIO under firmware or hardware sequencer control — driven low at power-up, held low across the platform’s boot/power-good handshake, then released by boot firmware once REFCLK and rails are confirmed stable.
  • On multi-role SoCs that can operate as either an RC or an EP on the same physical PCIe controller (common in embedded and automotive SoCs), the PERST# pin’s direction itself is configurable — this is precisely the “MUX to GPIO” requirement discussed later: the pin needs to be an output when the SoC acts as RC and an input when the SoC acts as EP.

PERST# on a host board: one or many?

One point worth calling out explicitly for multi-slot hosts: PERST# is generally wired exclusive to a slot, even when the upstream rails and clock feeding those slots are shared or commonly-derived. 12V and 3.3V main power are typically sourced from common system rails but gated per slot through individual power switches; 3.3Vaux is generally a shared standby rail; and REFCLK is usually distributed from a single oscillator through a clock buffer/fanout IC into electrically separate, per-slot outputs (a “common clock” architecture), or in SRNS/SRIS designs, as fully independent per-slot oscillators. PERST#, by contrast, is recommended to be allocated per slot and driven by dedicated platform sequencing or hot-plug controller logic, because each slot needs to be independently populatable, sequenced, and resettable without disturbing devices already running in neighboring slots — a shared PERST# line would trigger every device on it into fundamental reset whenever any one slot was hot-plugged or reset.

RC/Host Control of the Sequence

Because PERST# deassertion timing has a minimum but no maximum, the actual moment PERST# is released is entirely a host/platform policy decision, not a protocol-mandated one. In practice this means:

  • On general-purpose platforms, UEFI/BIOS (or, in server platforms, the BMC/platform firmware working with UEFI) owns the PERST# sequencing as part of the broader power-on sequence — it typically holds PERST# asserted through rail power-good confirmation and REFCLK-stable confirmation, then releases it as part of PCIe root port initialization, well before OS handoff, so that by the time the OS’s PCIe enumeration runs, links are already trained (or at least eligible to train).
  • On embedded/SoC platforms, this role is played by boot firmware — a first-stage bootloader (FSBL), a dedicated power-sequencing microcontroller, or an early boot-ROM. Often FSBL is followed by the execution of a Secondary Boot Loader (SBL) stage that drives the PERST# GPIO according to the platform’s documented power-up sequence, in co-ordination with regulator enable signals and REFCLK source enable, before handing control to the main OS kernel’s PCIe driver stack.

The practical takeaway for anyone debugging enumeration failures: if a device isn’t training reliably, the first two things to interrogate are —

(1) was PERST# actually held long enough relative to rail stability and REFCLK stability, and

(2) is the deassertion edge itself clean (no glitching from a marginal GPIO driver or a poorly-terminated long trace) — because the spec’s permissiveness on maximum timing means platform firmware bugs, not protocol ambiguity, are the usual root cause of PERST#-related bring-up issues.

PERST#’s Role in a PCIe Endpoint

From the endpoint’s point of view, PERST# is the master signal that holds the entire PCIe subsystem — controller, PHY, and often parts of the interconnect bridge logic — in a defined reset state while platform configures and stabilizes the electrical and clocking environment. Specifically, while PERST# is asserted, a compliant endpoint must:

  • Hold its LTSSM in a reset-equivalent state (implementation-specific, but functionally equivalent to Detect.Quiet with all transmitters in electrical idle) — it must not attempt link training.
  • Tri-state or hold in electrical idle its transmit differential pairs — no signaling activity on TX until PERST# deasserts and REFCLK/PHY are confirmed valid.
  • Reset the entirety of its PCIe configuration space to defined default/reset values (excluding certain Vaux-backed sticky bits such as some AER/PME bits).
  • Not depend on REFCLK being valid or even present until instructed otherwise — REFCLK validity is established during the PERST#-controlled sequencing window, not assumed.

Thus, PERST# is not “just a reset” but serves as the gating signal for the entire endpoint bring-up state machine. The rest of this article series follows PERST# down through the core, the PHY, and the PIPE interface.

PERST# Timing: CEM Specification Requirements

The CEM specification defines the PERST# related timing for add-in cards. Every embedded implementation modeling itself on CEM AIC behavior must comply with these timings. The three timing parameters that matter most are:

  • Minimum PERST# assertion time relative to power rail stability: PERST# must remain asserted for a defined minimum period after the power rails (12V/3.3V) have reached and stabilized within specification, before it is permitted to deassert. This gives downstream voltage regulators, PLLs, and analog bias circuits time to settle. This is denoted as TPVPERL in the following diagram.
  • Minimum REFCLK-stable-to-PERST#-inactive time: REFCLK must be stable and within spec for a defined minimum duration before PERST# is deasserted, because the endpoint’s PHY PLL will begin attempting to lock the moment reset is released, and locking against an unstable or not-yet-running reference clock produces unpredictable, non-repeatable PHY behavior. This is denoted as TPERST-CLK in the following diagram
  • LTSSM entry to Detect: the PCIe Base Specification requires a component to enter Detect within 20 ms of the end of Fundamental Reset (PERST# deassertion).

Critically, there is no maximum time specified for PERST# deassertion. That means, PERST# may remain asserted indefinitely with no protocol-level consequence — a system can sit with PERST# held low for milliseconds, seconds, or (in some low-power/standby platform states) far longer, and the endpoint is required to simply continue waiting in its reset state. This “no max” property is what makes PERST# usable as a general-purpose platform sequencing tool rather than a narrowly-timed protocol signal. This lets platform designers freely gate PERST# release behind arbitrarily long board-level or firmware-level sequencing without violating the spec.

PERST# power-up timing: +3.3V/+12V rails, CLKREQ#, PERST# and REFCLK, showing TPVPERL and TPERST-CLK
PERST# power-up timing (adapted from the PCI Express CEM Specification)
  • TPVPERL (power stable to PERST# deassertion) ≥ 100 ms
  • TPERST-CLK (REFCLK stable to PERST# deassertion) ≥ 100 µs

In the next part of this article series, we delve deep into the relevance of PERST# in an Endpoint — from the design stage of the SoC all the way up to board bring up.


Fighting a PCIe bring-up, link-training or PCI-SIG compliance issue? Bluehatsoft helps teams bring up PCIe endpoints and pass compliance. Get in touch with us or email us at contact(at-the-rate)bluehatsoft(dot)com.