4.2.7.5 L0译文 TODO

本文为对PCIE协议的翻译,一方面是为了鞭策自己完成协议学习,一方面是为了让大家检查我理解不对的地方。这样的翻译不确定直接翻译会不会导致侵权,如涉及侵权,请联系我删除

4.2.7.5 L0 译文

This is the normal operational state. It includes the L0p state, where some Lanes can be in idle state.
这是正常的运行状态。它包括L0p状态,其中一些lanes可以处于空闲状态。

  • LinkUp = 1b (状态设置为true).
    • On receipt of an STP or SDP Symbol, the idle_to_rlock_transitioned variable is reset to 00h.
    • 在收到STP或SDP符号时,变量idle_to_rlock_transition被重置为00h。
  • 对于上游端口,如果自退出Detect状态以来,下游端口在Configuration.Complete或Recovery.RcvrCfg子状态中从未记录到超过2.5 GT/s的数据速率支持,则directed_speed_change变量不能设置为1b。
  • 对于下行端口,如果自退出检测状态以来,上游端口在Configuration.Complete或Recovery.RcvrCfg子状态中从未记录到超过2.5 GT/s的数据速率支持,则directed_speed_change变量不能设置为1b。如果注意到支持大于2.5 GT/s的数据速率,如果链路控制寄存器的Retrain Link位设置为1b,并且链路控制寄存器中的Target Link Speed字段不等于当前的链路速度,则Downstream Port必须将directed_speed_change变量设置为1b。
  • 支持大于2.5 GT/s数据速率的端口,如果对方通过TS Ordered Sets请求切速率,即使链路不是DL_Active状态,也必须参与速率变化。
  • 如果上层指定更改速度(directed_speed_change变量= 1b),且满足以下三个条件之一,则下一状态为Recovery:
    • 支持大于2.5 GT/s的数据速率,链路状态为DL_Active
    • 双方都支持8.0 GT/s或更高的数据速率,为了在双方支持的数据速率下执行发送器均衡,此时changed_speed_recovery位被重置为0b
    • 下行端口选择了备用协议,并且当前运行的数据速率不是协商的备用协议中的操作数据速率
  • 如果被指定改变链路宽度,则下一状态为Recovery。
    • 如果另一个端口没有在Configuration状态下通告配置链路宽度的能力、或者如果链路当前运行在初始进入L0状态时协商的最大可能宽度,则上层不能指示端口增加链路宽度。
    • 通常情况下,如果upconfigure_capable被重置为0b,除了出于可靠性原因,上层不会减少宽度,因为如果upconfigure_capable为0b,链路将无法返回到原始宽度。如果链路控制寄存器中的硬件自治宽度禁用位设置为1b,则端口不得出于可靠性以外的原因主动减小链路宽度。
    • 规范允许的增加或减少链路宽度的决定是特定于实现的。
  • 如果在任意已配置的Lane上收到TS1或TS2,或者在任意已配置的Lane上收到128b/130b或1b/1b编码的EIEOS,则下一状态为Recovery。
  • 如果指定到Recovery状态,则下一个状态为Recovery。如果在所有Lanes上检测到/推断出电气空闲,而没有在任何Lane上收到EIOS,则端口可能会跳转到Recovery状态或保持在L0状态。如果端口处于L0、并且在没有收到EIOS的情况下发生电气空闲情况,则可能发生错误、端口可能会被指定跳转到Recovery。
    • 如4.2.5.4部分所述,在以下任意条件之一的情况下,可能在所有lanes上推断出电气空闲状态:(i)在任意的128us的时间窗内没有Flow Control Update DLLP;(ii)在任意的128us的时间窗内任一已配置的lane上没有SKP;(iii)在任意的128us的时间窗内任一已配置的lane上没有Flow Control Update DLLP、Optimized_Update_FC、或者SKP。
    • 注意:“if directed”适用于一个端口,该端口由更高的层指示跳转到Recovery,包括在链路控制寄存器中设置的重训练链路位。
    • The Transmitter may complete any TLP or DLLP in progress.
    • 发送器可以完成任何正在进行的TLP或DLLP。
  • 如果被指定到L0s状态、且发送端实现了L0s,则下一状态为L0s。见4.2.7.6.2节。
    • 注意:“if directed”适用于一个端口,该端口由更高层指定发起L0s(见5.4.1.1.1节)。
    • 注意:在这一点上,TX和RX可能会分化成不同的LTSSM状态。
  • 如果在某条Lane上收到了EIOS、接收端实现了、且该端口没有由更高层指定跳转到L1或L2,则仅接收端下一状态为L0s。见4.2.7.6.1节。
    • 注意:在这一点上,TX和RX可能会分化成不同的LTSSM状态。
  • 如果某条Lane收到了个EIOS、接收端没有实现L0s、端口没有由任何上层指定跳转到L1或L2、且EIOS不是L0p跳转到低位宽所预期的,则下一状态为Recovery。见4.2.7.6.1节和4.2.6.7节。
  • Next state is L1:
    i. If directed
    and
    ii. an EIOS is received on any Lane
    and
    iii. an EIOSQ is transmitted on all Lanes.
    • Note: “if directed” is defined as both ends of the Link having agreed to enter L1 immediately after the condition of both the receipt and transmission of the EIOS(s) is met. A transition to L1 can be initiated by PCI-PM (see § Section 5.3.2.1 ) or by ASPM (see § Section 5.4.1.3.1 ).
    • Note: When directed by a higher Layer one side of the Link always initiates and exits to L1 by transmitting the EIOS(s) on all Lanes, followed by a transition to Electrical Idle. 85 The same Port then waits for the receipt of an EIOS on any Lane, and then immediately transitions to L1. Conversely, the side of the Link that first receives the EIOS(s) on any Lane must send an EIOSQ on all Lanes and immediately transition to L1.
  • Next state is L2:
    i. If directed
    and
    ii. an EIOS is received on any Lane
    and
    iii. an EIOSQ is transmitted on all Lanes.
    • Note: “if directed” is defined as both ends of the Link having agreed to enter L2 immediately after the condition of both the receipt and transmission of the EIOS(s) is met (see § Section 5.3.2.3 for more details).
    • Note: When directed by a higher Layer, one side of the Link always initiates and exits to L2 by transmitting EIOS on all Lanes followed by a transition to Electrical Idle. 86 The same Port then waits for the receipt of EIOS on any Lane, and then immediately transitions to L2. Conversely, the side of the Link that first receives an EIOS on any Lane must send an EIOSQ on all Lanes and immediately transition to L2.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值