IDT Link Operation
PES48T12G2 User Manual
6 - 10
April 5, 2013
Notes
Notification of link speed changes if provided through the link bandwidth notification mechanism
described in the PCIe specification. This mechanism is enabled by setting the Link Bandwidth Management
Interrupt Enable (LBWINTEN) bit in the PCIELCTL register of switch downstream ports. For downstream
ports, the Link Bandwidth Management Status (LBWSTS) bit in the PCIELSTS register is set when the link
speed is changed due to the following reasons:
–
Link speed downgrade initiated by a PES48T12G2 port when the PHY layer cannot achieve reli-
able operation at the higher speed. Note that this does not include link speed downgrading due to
failure to achieve symbol lock while trying to upgrade link speed via the Recovery state.
–
Link speed change initiated by the link partner that was not indicated as an autonomous change.
Also, the LBWSTS bit is set whenever software sets the LRET bit in the PCIELCTL register, even if the
link speed is not changed. Note that the LBWSTS bit is not set during the initial link speed change (i.e., the
speed change from Gen1 to Gen2 after fundamental reset or a full-link-retrain via the ‘Detect’ state). Soft-
ware can verify the link speed by reading the Current Link Speed (CLS) field of the port’s Link Status
Register (PCIELSTS).
Link Retraining
Per the PCI Express 2.0 specification, link retraining can be done autonomously in response to link
problems (i.e., repeated TLP replay attempts), or as a result of software setting the link retrain (LRET) bit in
the PCI Express Link Control (PCIELCTL) register.
Writing a one to the Full Link Retrain (FLRET) bit in the Phy Link State 0 (PHYLSTATE0) register of any
port forces that port’s PCIe link to retrain. When this occurs, the LTSSM transitions directly to the Detect
state.
Link retraining does not result in the link going down, unless the LTSSM transitions through the Detect
state in its retraining attempt. The speed of the link is not necessarily changed as a result of link retraining.
A link that operates at 5.0 GT/s will continue to operate at that speed if the link retraining attempt is
successful at that speed. Else, the link speed is changed to 2.5 GT/s.
When link retraining results in the speed of the link being downgraded from 5.0 GT/s to 2.5 GT/s, the
Link Bandwidth Management Status (LBWSTS) bit is set in the PCI Express Link Status (PCIELSTS)
register. Additionally, the PHY LTSSM remains at the downgraded speed until the link partner requests a
link speed upgrade, software sets the LRET bit in the PCIELCTL register, or the link is fully retained via the
FLRET bit in the PHYLSTATE0 register.
In addition to link retrain (via the Recovery state), the link may be fully retrained by writing a one to the
Full Link Retrain (FLRET) bit in a port’s Phy Link State 0 (PHYLSTATE0) register. When this occurs the
LTSSM transitions directly to the Detect state. This causes the data-link to go down (refer to the Link Down
section below).
Note that the LBWSTS bit in the PCIELSTS register is not affected by a full link retrain (i.e., since the
data-link transitioned to the DL_Down state).
Link Down
When an upstream port’s link goes down, it triggers a hot reset, as described in section Switch Funda-
mental Reset on page 5-2. In addition:
–
All TLPs queued in the port’s ingress frame buffer (IFB) are silently discarded.
–
All TLPs queued in the port’s replay buffer (EFB) are silently discarded.
When a downstream port’s link goes down (i.e., the data-link layer transitions to the DL_Down state), the
following occurs:
–
All TLPs queued in the port’s ingress frame buffer (IFB) are silently discarded.
–
All TLPs queued in the port’s replay buffer (EFB) are silently discarded.
–
Request TLPs received by other ports and destined to the logical bus number associated with the
link that is down are treated as Unsupported Requests (UR).
–
All other TLPs received by the other ports and destined to the logical bus number associated with
the link that is down are silently discarded.
Summary of Contents for 89HPES48T12G2
Page 14: ...IDT Table of Contents PES48T12G2 User Manual vi April 5 2013 Notes...
Page 22: ...IDT Register List PES48T12G2 User Manual xiv April 5 2013 Notes...
Page 38: ...IDT PES48T12G2 Device Overview PES48T12G2 User Manual 1 16 April 5 2013 Notes...
Page 64: ...IDT Reset and Initialization PES48T12G2 User Manual 5 8 April 5 2013 Notes...
Page 82: ...IDT Link Operation PES48T12G2 User Manual 6 18 April 5 2013 Notes...
Page 98: ...IDT SerDes PES48T12G2 User Manual 7 16 April 5 2013 Notes...
Page 118: ...IDT Theory of Operation PES48T12G2 User Manual 8 20 April 5 2013 Notes...
Page 152: ...IDT SMBus Interfaces PES48T12G2 User Manual 12 20 April 5 2013 Notes...
Page 158: ...IDT Multicast PES48T12G2 User Manual 13 6 April 5 2013 Notes...