Exit latency, Acceptable latency – Altera IP Compiler for PCI Express User Manual

Page 186

Advertising
background image

9–4

Chapter 9: Optional Features

Active State Power Management (ASPM)

IP Compiler for PCI Express User Guide

August 2014

Altera Corporation

Exit Latency

A component’s exit latency is defined as the time it takes for the component to awake
from a low-power state to L0, and depends on the SERDES PLL synchronization time
and the common clock configuration programmed by software. A SERDES generally
has one transmit PLL for all lanes and one receive PLL per lane.

Transmit PLL—When transmitting, the transmit PLL must be locked.

Receive PLL—Receive PLLs train on the reference clock. When a lane exits electrical
idle, each receive PLL synchronizes on the receive data (clock data recovery
operation). If receive data has been generated on the reference clock of the slot,
and if each receive PLL trains on the same reference clock, the synchronization
time of the receive PLL is lower than if the reference clock is not the same for all
slots.

Each component must report in the configuration space if they use the slot’s reference
clock. Software then programs the common clock register, depending on the reference
clock of each component. Software also retrains the link after changing the common
clock register value to update each exit latency.

Table 9–3

describes the L0s and L1 exit

latency. Each component maintains two values for L0s and L1 exit latencies; one for
the common clock configuration and the other for the separate clock configuration.

Acceptable Latency

The acceptable latency is defined as the maximum latency permitted for a component
to transition from a low power state to L0 without compromising system
performance. Acceptable latency values depend on a component’s internal buffering
and are maintained in a configuration space registry. Software compares the link exit
latency with the endpoint’s acceptable latency to determine whether the component is
permitted to use a particular power state.

Table 9–3. L0s and L1 Exit Latency

Power

State

Description

L0s

L0s exit latency is calculated by the IP core based on the number of fast training sequences specified on the
Power Management page of the parameter editor. It is maintained in a configuration space registry. Main
power and the reference clock remain present and the PHY should resynchronize quickly for receive data.

Resynchronization is performed through fast training order sets, which are sent by the connected component.
A component knows how many sets to send because of the initialization process, at which time the required
number of sets is determined through training sequence ordered sets (TS1 and TS2).

L1

L1 exit latency is specified on the Power Management page of the parameter editor. It is maintained in a
configuration space registry. Both components across a link must transition to L1 low-power state together.
When in L1, a component’s PHY is also in P1 low-power state for additional power savings. Main power and
the reference clock are still present, but the PHY can shut down all PLLs to save additional power. However,
shutting down PLLs causes a longer transition time to L0.

L1 exit latency is higher than L0s exit latency. When the transmit PLL is locked, the LTSSM moves to recovery,
and back to L0 after both components have correctly negotiated the recovery state. Thus, the exact L1 exit
latency depends on the exit latency of each component (the higher value of the two components). All
calculations are performed by software; however, each component reports its own L1 exit latency.

Advertising