Transcription of PCI Express Base Specification Revision 2
1 PCI Express Base Specification Revision December 20, 2006 2 Revision Revision History DATE Initial release. 07/22/02 Incorporated Errata C1-C66 and 04/15/03 Incorporated approved Errata and ECNs. 03/28/05 Added GT/s data rate and incorporated approved Errata and ECNs. 12/20/06 PCI-SIG disclaims all warranties and liability for the use of this document and the information contained herein and assumes no responsibility for any errors that may appear in this document, nor does PCI-SIG make a commitment to update the information contained herein.
2 Contact the PCI-SIG office to obtain the latest Revision of this Specification . Questions regarding the PCI Express Base Specification or membership in PCI-SIG may be forwarded to: Membership Services E-mail: Phone: 503-619-0569 Fax: 503-644-6708 Technical Support DISCLAIMER This PCI Express Base Specification is provided as is with no warranties whatsoever, including any warranty of merchantability, noninfringement, fitness for any particular purpose, or any warranty otherwise arising out of any proposal, Specification , or sample. PCI-SIG disclaims all liability for infringement of proprietary rights, relating to use of information in this Specification .
3 No license, Express or implied, by estoppel or otherwise, to any intellectual property rights is granted herein. PCI, PCI Express , PCIe, and PCI-SIG are trademarks or registered trademarks of PCI-SIG. All other product names are trademarks, registered trademarks, or servicemarks of their respective owners. Copyright 2002-2006 PCI-SIG PCI Express BASE Specification , REV. 3 Contents OBJECTIVE OF THE 21 DOCUMENT ORGANIZATION .. 21 DOCUMENTATION CONVENTIONS .. 22 TERMS AND ACRONYMS .. 23 REFERENCE 29 1. INTRODUCTION ..31 A THIRD GENERATION I/O 31 PCI Express 33 PCI Express FABRIC 35 Root 35 Endpoints.
4 36 Switch .. 39 Root Complex Event 40 PCI Express to PCI/PCI-X 40 PCI Express FABRIC TOPOLOGY 40 PCI Express LAYERING 41 Transaction Layer .. 42 Data Link Layer .. 42 Physical Layer .. 43 Layer Functions and Services .. 43 2. TRANSACTION LAYER Specification .. 47 TRANSACTION LAYER 47 Address Spaces, Transaction Types, and 48 Packet Format Overview .. 50 TRANSACTION LAYER PROTOCOL - PACKET 51 Common Packet Header Fields .. 51 TLPs with Data Payloads - Rules .. 54 TLP Digest Rules .. 56 Routing and Addressing Rules .. 56 First/Last DW Byte Enables 59 Transaction Descriptor.
5 61 Memory, I/O, and Configuration Request 66 Message Request Rules .. 69 Completion Rules .. 80 HANDLING OF RECEIVED 82 Request Handling Rules .. 85 PCI Express BASE Specification , REV. 4 Completion Handling Rules .. 98 TRANSACTION 100 Transaction Ordering Rules .. 100 Update Ordering and Granularity Observed by a Read Transaction .. 104 Update Ordering and Granularity Provided by a Write Transaction .. 105 VIRTUAL CHANNEL (VC) 105 Virtual Channel Identification (VC ID) .. 108 TC to VC Mapping .. 109 VC and TC 110 ORDERING AND RECEIVE BUFFER FLOW 111 Flow Control Rules.
6 112 DATA 122 ECRC Rules .. 123 Error Forwarding .. 127 COMPLETION TIMEOUT 129 LINK STATUS 130 Transaction Layer Behavior in DL_Down 130 Transaction Layer Behavior in DL_Up Status .. 131 3. DATA LINK LAYER Specification .. 133 DATA LINK LAYER 133 DATA LINK CONTROL AND MANAGEMENT STATE 135 Data Link Control and Management State Machine Rules .. 136 FLOW CONTROL INITIALIZATION 138 Flow Control Initialization State Machine Rules .. 138 DATA LINK LAYER PACKETS (DLLPS) .. 142 Data Link Layer Packet Rules .. 142 DATA 147 147 LCRC, Sequence Number, and Retry Management (TLP Transmitter).
7 147 LCRC and Sequence Number (TLP Receiver) .. 159 4. PHYSICAL LAYER Specification .. 167 167 LOGICAL 167 Symbol Encoding .. 168 Framing and Application of Symbols to 171 Data Scrambling .. 174 Link Initialization and 176 Link Training and Status State Machine (LTSSM) 188 Link Training and Status State 192 Clock Tolerance Compensation .. 237 Compliance Pattern .. 239 Modified Compliance 240 ELECTRICAL 241 Maintaining Backwards Compatibility .. 241 Jitter Budgeting and Measurement .. 243 PCI Express BASE Specification , REV. 5 Transmitter 244 Receiver 259 Transmitter and Receiver DC 273 Channel 278 Reference Clock 285 5.
8 POWER 293 293 Statement of 294 LINK STATE POWER 294 PCI-PM SOFTWARE COMPATIBLE 299 Device Power Management States (D-States) of a 299 PM Software Control of the Link Power Management 303 Power Management Event Mechanisms .. 308 NATIVE PCI Express POWER MANAGEMENT 315 Active State Power Management (ASPM) .. 315 AUXILIARY POWER 331 Auxiliary Power 331 POWER MANAGEMENT SYSTEM MESSAGES AND 332 6. SYSTEM ARCHITECTURE .. 335 INTERRUPT AND PME 335 Rationale for PCI Express Interrupt 335 PCI Compatible INTx 336 INTx Emulation Software Model.
9 336 Message Signaled Interrupt (MSI/MSI-X) 336 PME 338 Native PME Software Model .. 338 Legacy PME Software Model .. 339 Operating System Power Management 339 PME Routing Between PCI Express and PCI Hierarchies .. 339 ERROR SIGNALING AND 340 Scope .. 340 Error Classification .. 340 Error Signaling .. 342 Error Logging .. 349 Sequence of Device Error Signaling and Logging Operations .. 352 Error Message Controls .. 354 Error Listing and Rules .. 355 Virtual PCI Bridge Error 359 VIRTUAL CHANNEL 360 Introduction and Scope .. 360 TC/VC Mapping and Example 361 VC Arbitration.
10 363 Isochronous Support .. 371 DEVICE 374 LOCKED 375 PCI Express BASE Specification , REV. 6 375 Initiation and Propagation of Locked Transactions - 376 Switches and Lock - 377 PCI Express /PCI Bridges and Lock - Rules .. 377 Root Complex and Lock - 378 Legacy 378 PCI Express Endpoints .. 378 PCI Express RESET - 378 Conventional Reset .. 378 Function-Level Reset (FLR).. 381 PCI Express HOT-PLUG 384 Elements of Hot-Plug .. 385 Registers Grouped by Hot-Plug Element Association .. 391 PCI Express Hot-Plug Events .. 393 Firmware Support for Hot-Plug.