PCI Express Gen 2 Deep Dive on Power Architecture Based Products



Similar documents
PCI Express Basics Ravi Budruk Senior Staff Engineer and Partner MindShare, Inc.

3 Address Spaces & Transaction Routing. The Previous Chapter. This Chapter. The Next Chapter

MSC8156 and MSC8157 PCI Express Performance

PCI Express Overview. And, by the way, they need to do it in less time.

Appendix A. by Gordon Getty, Agilent Technologies

Hardware Level IO Benchmarking of PCI Express*

2. THE PCI EXPRESS BUS

PEX 8748, PCI Express Gen 3 Switch, 48 Lanes, 12 Ports

PCI Express: The Evolution to 8.0 GT/s. Navraj Nandra, Director of Marketing Mixed-Signal and Analog IP, Synopsys

PCI Express Impact on Storage Architectures and Future Data Centers. Ron Emerick, Oracle Corporation

Successfully negotiating the PCI EXPRESS 2.0 Super Highway Towards Full Compliance

Technology Note. PCI Express

Creating a PCI Express Interconnect AJAY V. BHATT, TECHNOLOGY AND RESEARCH LABS, INTEL CORPORATION

Arria 10 Avalon-MM DMA Interface for PCIe Solutions

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

Computer Systems Structure Input/Output

An Introduction to PCI Express

PCI Express Impact on Storage Architectures and Future Data Centers. Ron Emerick, Oracle Corporation

PCI-SIG ENGINEERING CHANGE NOTICE

Explore Efficient Test Approaches for PCIe at 16GT/s Kalev Sepp Principal Engineer Tektronix, Inc

PCI Express* Ethernet Networking

Pericom PCI Express 1.0 & PCI Express 2.0 Advanced Clock Solutions

PCI Express and Storage. Ron Emerick, Sun Microsystems

PCI Express Base Specification Revision 1.0

Maximizing Server Storage Performance with PCI Express and Serial Attached SCSI. Article for InfoStor November 2003 Paul Griffith Adaptec, Inc.

Storage Architectures. Ron Emerick, Oracle Corporation

PCI Express High Performance Reference Design

The Bus (PCI and PCI-Express)

The new frontier of the DATA acquisition using 1 and 10 Gb/s Ethernet links. Filippo Costa on behalf of the ALICE DAQ group

PCI Express IO Virtualization Overview

Errata for the PCI Express Base Specification Revision 3.0

The changes in each specification and how they compare is shown in the table below. Following the table is a discussion of each of these changes.

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

PCI Express Impact on Storage Architectures. Ron Emerick, Sun Microsystems

Agenda. Context. System Power Management Issues. Power Capping Overview. Power capping participants. Recommendations

SmartFusion2 SoC FPGA High Speed Serial and DDR Interfaces. User s Guide

PCI Express Impact on Storage Architectures and Future Data Centers

Software User Guide UG-461

Welcome to Pericom s PCIe and USB3 ReDriver/Repeater Product Training Module.

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

Local Interconnect Network Training. Local Interconnect Network Training. Overview

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

LatticeECP3 High-Speed I/O Interface

Applying the Benefits of Network on a Chip Architecture to FPGA System Design

How PCI Express Works (by Tracy V. Wilson)

EDUCATION. PCI Express, InfiniBand and Storage Ron Emerick, Sun Microsystems Paul Millard, Xyratex Corporation

Introduction to PCI Express Positioning Information

Production Flash Programming Best Practices for Kinetis K- and L-series MCUs

PCI Express: Interconnect of the future

Are your company s technical training needs being addressed in the most effective manner?

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

How To Design A Layered Network In A Computer Network

Eureka Technology. Understanding SD, SDIO and MMC Interface. by Eureka Technology Inc. May 26th, Copyright (C) All Rights Reserved

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Serial Communications

PCI Express Supersedes SAS and SATA in Storage

Computer Organization & Architecture Lecture #19

Intel PCI and PCI Express*

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Integrating PCI Express into the PXI Backplane

PE310G4BPi40-T Quad port Copper 10 Gigabit Ethernet PCI Express Bypass Server Intel based

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Methode Electronics. DM-338-GG-XXXX Up to 120 Gbps CXP Passive Cable Assembly.

TCIS007. PCI Express* 3.0 Technology: PHY Implementation Considerations for Intel Platforms

The proliferation of the raw processing

PCI EXPRESS TECHNOLOGY. Jim Brewer, Dell Business and Technology Development Joe Sekel, Dell Server Architecture and Technology

Serial ATA technology

Fibre Channel over Ethernet in the Data Center: An Introduction

PCIe Over Cable Provides Greater Performance for Less Cost for High Performance Computing (HPC) Clusters. from One Stop Systems (OSS)

Using FPGAs to Design Gigabit Serial Backplanes. April 17, 2002

Using a Generic Plug and Play Performance Monitor for SoC Verification

An Introduction to the Intel QuickPath Interconnect January 2009

A PCI Express communication interface for DMP camera arrays

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: wireless embedded network

PCI Hot-Plug Specification

High-Level Data Link Control

PCI-to-PCI Bridge Architecture Specification. Revision 1.1

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

NVM Express TM Infrastructure - Exploring Data Center PCIe Topologies

Overview of Computer Networks

High-Speed SERDES Interfaces In High Value FPGAs

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

PCIeBPMC (PCI/PCI-X Bus Compatible) Bridge based PCIe and PMC Compatible Adapter Carrier Front View shown with 1 installed fans model # PCIeBPMC-FAN2

Arbitration and Switching Between Bus Masters

AMD Opteron Quad-Core

11. High-Speed Differential Interfaces in Cyclone II Devices

DS1621 Digital Thermometer and Thermostat

Booting from NAND Flash Memory

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin

Intel Server Board S5000PALR Intel Server System SR1500ALR

A Comparison of NVMe and AHCI

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

Overview of Routing between Virtual LANs

Hello, and welcome to this presentation of the STM32 SDMMC controller module. It covers the main features of the controller which is used to connect

Serial Communications

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Intel Ethernet and Configuring Single Root I/O Virtualization (SR-IOV) on Microsoft* Windows* Server 2012 Hyper-V. Technical Brief v1.

OpenSPARC T1 Processor

IP Compiler for PCI Express User Guide

Transcription:

June, 2010 PCI Express Gen 2 Deep Dive on Power Architecture Based Products FTF-NET-F0685 Richard Nie Sr. Systems and Application Engineer, NMG, NSD and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc.

Agenda Legacy PCI and PCI Express Technology Overview PCI Express Gen2 vs. Gen1 Highlights PCI Express Gen2 on Freescale P4080 and P4040 and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 2

The Legacy PCI Bus Quick Overview Parallel shared bus 32-/64-bit multiplexed bus Defined in early 1990s (Rev.2.0 Spec released in 1993) CPU Local Bus Bridge/ Memory Ctrl Memory PCI Bus 0 Bridge Periph Periph PCI Bus 1 Periph Periph and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 3

PCI Bus Commands C/BE#[3:0] PCI Bus Command 0000 Interrupt Acknowledge 0001 Special Cycle 0010 I/O Read 0011 I/O Write 0110 Memory Read 0111 Memory Write 1010 Configuration Read 1011 Configuration Write 1100 Memory Read Multiple 1101 Dual Address Cycle 1110 Memory Read Line 1111 Memory Write and Invalidate and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 4

PCI Read Transaction and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 5

PCI Write Transaction and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 6

PCI Bus Transaction Termination Master-initiated Completion normal termination Timeout controlled by latency timer Master-abort no target device claimed the transaction Target-initiated Disconnect target is temporarily unable to continue the transaction With or without data transfer Retry target is temporarily unable to begin the transaction Target-abort target will never be able to service the transaction Fatal error Target does not want the transaction retried and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 7

Limitation of PCI Architecture Slow device arbitration consumed bandwidth due to wait state insertion Transfer size unknown Delayed transactions are inefficient Retries use up bus time No transfer count Bus master doesn t identify itself Interrupt handling is inefficient Since INT# is wired OR together, it takes quite a lot of time to figure out which device caused interrupt Slow clock speed The reflection nature makes it slow, reaching the ceiling limit of its bandwidth To increase performance, increase speed to 66 MHz, which lowers load to 1 to 2 slots If you want to connect more devices, you would see more and more hub-link interface (most likely 64-bit width) on the system... causing board routing: a headache. Detected error results in system shutdown and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 8

PCI Express Architecture Overview CPU RCRB Memory Bus# 0 Virtual PCI Bridge Virtual PCI Bridge Virtual PCI Bridge Bus# 1 PCIe Root Complex (RC) Bus# 6 Bus# 7 PCIe Endpoint Bus# 3 Bus# 2 Switch PCIe Endpoint PCIe-PCI/PCI-X Bridge Bus# 8 Bus# 4 Bus# 5 PCIe Endpoint PCIe Legacy Endpoint and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 9

PCI Express Topology-Related Terminology Root Complex Device Downstream Port Upstream Port Links Switch Downstream Port Endpoint Endpoint Upstream Port Endpoint and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 10

PCI Express Physical Layer Terminology Link Collection of two ports and their interconnecting lanes Upstream Device Lane TX0 P N RX0 P N TXn P N RXn P N Downstream Port A set of differential signal pairs: one pair for Tx and another for Rx. Lane 0 Lane n Port Link Physically, a group of transmitters and receivers located on the same chip that define a link Logically, an interface between a component and a PCI Express Link Channel (P-N Pair) P N RX0 P N TX0 Downstream Device P N P N RXn TXn Upstream Port x1, x2, x4, x8, x16,.. xn (Link) A by-n link is composed of N lanes and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 11

PCI Express Layered Architecture (Software and Hardware) Config/OS PCI PnP Model (init, enum, config) No OS Impact Software/Driver PCI Software/Driver Model Transaction Packet-based Protocol Data Link Data Integrity Physical Point-to-point, serial, differential, hot-plug, configurable width, inter-op form factors Future speeds and encoding techniques only impact the physical layer and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 12

PCI Express Data Transmission Model Point-to-point connection Serial bus significantly reduces number of pins requires only 4 pins for a x1 link Scalable: x1, x2, x4, x8, x16, x32 Dual simplex connection 2.5 Gbits/s per direction (Gen 1) Packet based transaction protocol Link Width x1 x2 x4 x8 x12 x16 x32 Aggregate Raw Bandwidth (Gbits/sec) - Pair(s) of lane (Rx & Tx) 5 10 20 40 60 80 160 Packet PCI Express RC Link (x1, x2, x4, x8, x12, x16, or x32) PCI Express EP Packet and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 13

PCI Express Architecture Highlights Extension of PCI architecture for PCs and servers Maintains BIOS-level compatibility with PCI Load-store architecture 128-4096 bytes maximum payload size Layered protocol divided into three layers Transaction (TL) Fulfill the data transaction goal of many types: (Memory, configure, I/O) read/write Data link (DLL) Ensures data integrity with the ack/nack, retry, flow control DLLPs Physical (PL) Establish and maintain the link and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 14

PCI Express Architecture Highlights (Cont.) Serial differential interface 2.5 Gbits/sec per lane (Gen 1) Scalable width: x1, x2, x4, x8, x12, x16, x32 Embedded clocking; 8B/10B encoding Lane reversal and polarity inversion New features over PCI Message transactions Configuration address space extended from 256B to 4KB Improved error handling and data transfer robustness (LCRC, ECRC) Power management and hot plug/swap support QoS support and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 15

Transaction Layer Highlights Packet-based split transaction protocol Provides R/W logical transactions to software 4 basic transaction types: memory, I/O, configuration and message 32-bit and 64-bit memory addressing Three routing methods Address routing (memory and I/O) ID routing (configuration) Implicit routing (messages) Transactions are carried by Transaction Layer Packets (TLPs) Root Complex or Switch Ack Req D DLLP FC Update DLLP Req 4 TLP Req C TLP Ack Req C DLLP Ack Req 3 DLLP Req 3 TLP Req D TLP FC Update DLLP Ack Req 4 DLLP End point and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 16

PCI Express Transaction Types Transaction Completion Request Type Request TLP Non-Posted or Posted Required Packet Type Memory Read MRd Non-Posted Yes CplD, Cpl (error) Memory Write MWr Posted NO Memory Read Lock MRdLk Non-Posted Yes CplD, Cpl (error) IO Read IORd Non-Posted Yes CplD, Cpl (error) IO Write IOWr Non-Posted Yes Cpl Configuration Read CfgRd0, CfgRd1 Non-Posted Yes CplD, Cpl (error) Configuration Write CfgWr0, CfgWr1 Message w/o Data Msg Posted Message w/data MsgD Posted Non-Posted Yes Cpl and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 17

PCI Express TLP (Transaction Layer Packet) Assembly Data to be transferred comes from device s Internal HW or SW Serial bit transmit direction Framing (Start) Sequencer Number Header Data ECRC LCRC Framing (End) 1B 2B 3-4 DW 0-1024 DW 1DW 1DW 1B Created by Transaction Layer Appended by Data Link Layer Appended by Physical Layer and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 18

Serial bit transmit direction toward receiver Data to be received will be sent to device s Internal HW or SW PCI Express TLP Disassembly Framing (Start) Sequencer Number Header Data ECRC LCRC Framing (End) Stripped by Transaction Layer Stripped by Data Link Layer Stripped by Physical Layer and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 19

PCI Express TLP Generic Header Fields Transaction Layer Packet (TLP) Framing (Start) Sequencer Number Header Data Digest LCRC Framing (End) +0 +1 +2 +3 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 Byte 0 R Fmt Type R TC R T D E P Attr R Length DW0 Byte 4 (Fields in bytes 4 7 vary with TLP type) Last DW BE 1 st DW BE DW1 Byte 8 (Fields in bytes 8 11 vary with TLP type) DW2 Byte 12 (Fields in bytes 12 15 vary with TLP type)* DW3 * Only applicable for 4 DW TLP headers and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 20

PCI Express TLP Fmt[1:0] and Type Encoding and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 21

Gen2 base spec was publicly released on Jan. 15, 2007 Higher speed (5.0 GT/s) supported: Selectable de-emphasis levels Selectable transmitter voltage swing Runtime bandwidth changes Power savings and flexible bandwidth Software notification of changes IO virtualization support Access control services Function level reset Other new features Completion timeout control Modified compliance pattern for testing PCI Express Gen2 vs. Gen1 and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 22

PCI Express Gen2 vs. Gen1 (continued) Improved performance, reduced pin count Bandwidth based on 8b/10b encoding, aggregate bandwidth will be: Gen1: 0.5 GB/s per lane Gen2: 1.0 GB/s per lane and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 23

Brief De-Emphasis Review Higher frequency means greater sensitivity to jitter De-emphasis helps by reducing transmitter power during repeated bits Goals: Reduced data-dependent jitter Alleviate ISI (inter-symbol interference) and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 24

ISI (Inter-Symbol Interference) and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 25

Selectable De-Emphasis Gen1 de-emphasis was always -3.5dB Gen2 de-emphasis is selectable: At 2.5 GT/s: -3.5 db At 5.0 GT/s: -6.0 db (-3.5 db optional) and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 26

PCIe Gen2 Support on Freescale QorIQ Products P4080 and P4040 and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 27

P4080 and P4040 PCI Express Gen2 Feature Highlights Three PCI express controllers: Support both 2.5 GT/s and 5.0 GT/s speed Support up to x4 5.0 GT/s maximum bandwidth for each controller 5.0 GT/s per lane x4 lanes = 20 GT/s per direction for each controller Initial flow control credit advertisement increased for PH and PD Now up to 6 posted credits (header and corresponding data credits) for inbound posted transactions, when SRIO is not used Other major changes: Only one change in transaction layer good news for software folks! Few changes in PCIe controller registers Some change in POR SerDes and clock ratio setup Major change in electrical area challenge for board guys! and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 28

Register Change #1: PEX_CONFIG 2-bit Fields Added PCI Express Configuration Register (PEX_CONFIG) Posted credit 100: 4 posted credits (default). 110: 6 posted credits, only if SRIO is not used! Good for Gen1 x8 or Gen2 x4 Outbound transaction address checking against base/limit register setup 0 : Default, same as Gen1 parts, no checking. 1 : Enable checking. If no hit flag error! and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 29

Register Change #2: Dedicated MSI Inbound Window in RC Add a dedicated inbound window for MSI in RC Mode Added 4 registers: PEXMSIITAR, PEXMSIIWBAR, PEXMSIIWBEAR, PEXMSIIWAR Old usage model MSI is handled by one of the P4080 core Translation Address must be configured to point to one of the three registers (MSIIRA, MSIIRB, MSIIRC) in MPIC New usage model MSI can be handled by other device Set the translation address and target interface to route inbound MSI to a device connected to one of the SRIO port or a different PCIe port on P4080 and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 30

Register Change #3: PCIe Capabilities Register PCI Express Capabilities Register The Version bit field = 0010b = 0x2h this is a PCIe Gen2 device But, this doesn t necessary mean it supports 5 GT/s Gen2 speed Check the Link Capabilities Register to confirm! and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 31

Register Change #4: PCIe Link Capabilities Register PCI Express Link Capabilities Register The MAX_LINK_SP bit field = 0010b = 0x2h Yes! This PCIe Gen2 device supports both 2.5 GT/s and 5 GT/s speed But, this doesn t necessary mean it actually operates at 5 GT/s speed Check the Link Status Register to confirm! Link bandwidth notification capable (LBWN) LBWN=1 indicates P4080 supports Link Bandwidth Notification status and interrupt mechanisms and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 32

Register Change #5: PCIe Link Control Register PCI Express Link Control Register Hardware autonomous width disable (HWAWD) When set, disables HW from changing the link width for reasons other than attempting to correct unreliable link operation by reducing link width Link bandwidth management interrupt enable (LBMIE) Only applicable for RC or switch downstream port When set, enables interrupt generation if Link Status Register [LBMS] is set Link autonomous bandwidth interrupt enable (LABIE) Only applicable for RC or Switch downstream port When set, enables interrupt generation if Link Status Register [LABS] is set and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 33

PCI Express Link Status Register Negotiated link speed (LINK_SP) 0001 : Default, 2.5 GT/s Register Change #6: PCIe Link Status Register 0010 : 5.0 GT/s (final proof that the link is operating at Gen2 speed) Negotiated link width (NEG_LINK_W) Link bandwidth management status (LBMS) for RC/Switch downstream port Set by hardware to indicate either of following occurred on downstream port without transitioning through DL_Down status: A link training has completed following a write of 1b to Retrain Link bit HW has changed link speed or width to attempt to correct unreliable link Link autonomous bandwidth status (LABS) for RC/Switch downstream port Set by HW to indicate that HW has autonomously changed link speed or width on downstream port without transitioning through DL_Down status, for reasons other than attempt to correct unreliable link operation and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 34

Register Change #7: PCIe Device Capabilities 2 Register PCI Express Device Capabilities 2 Register (Read-Only) Completion timeout range supported (CPL_TO_RS) Value reflects completion timeout programmability supported by this device Purpose Allows system software to modify completion timeout value Completion timeout disable supported (CPL_TO_DS) 1: indicates this device supports completion timeout disabling mechanism and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 35

Register Change #8: PCIe Device Control 2 Register PCI Express Device Control 2 Register Completion timeout value (CPL_TO_VAL) Completion timeout disable (CPL_TOD) Purpose: Allows software to dynamically disable or enable completion timeout detection mechanism 0 : Default, Completion timeout detection is enabled 1 : Completion timeout detection is disabled and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 36

PCI Express Link Control 2 Register Target link speed (T_LS) Register Change #9: PCIe Link Control 2 Register Operation mode: used to set downstream port s link operation speed upper limit Compliance mode: used to set both upstream and downstream ports target compliance mode speed when software uses EC to force a link into compliance mode Enter compliance (EC) Software can set this bit to force a link to enter compliance mode at the speed indicated in T_LS Hardware autonomous speed disable (HWASD) When set, disables HW from changing link speed for device specific reason other than attempting to correct unreliable link operation by reducing link speed Selectable de-emphasis (SDE) applicable for downstream port of RC/Switch Selects downstream port s de-emphasis level when link is operating at 5 GT/s 1 : -3.5 db 0 : -6 db and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 37

Register Change #10: PCIe Link Status 2 Register PCI Express Link Status 2 Register (Read-Only) Current de-emphasis level (DE_LVL) Applicable only when the link is operating at 5 GT/s 1 : -3.5 db 0 : -6 db and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 38

P4080 PCI Express Major Steps for Bring-up Brief POR pin configuration Most POR configuration is stored in RCW now POR configuration pins to be configured: RCW source, DRAM type, flash ECC Configure all other proper POR values in RCW HOST_AGT_B1, HOST_AGT_B2 set PCIe RC or EP mode for Bank 1 & 2 SRDS_PRTCL select SerDes lane/protocol usage based on allowed mapping SRDS_RATIO_Bn select SerDes clock ratio for Bank 1 & 2 SRDS_DIV_Bn select SerDes PLL clock divider for Bank 1 & 2 SRDS_EN set to 1 to enable SerDes and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 39

P4080 PCI Express Major Steps for Bring-up (continue) Configure all SerDes registers in RCW s PBI section Please only touch those that really need to be changed and leave as much in default as possible! SerDes registers you might need to touch: SRDSBnPLLCR0 selects ref. CLK frequency other than 100 MHz SRDSGR0 selects the DDR supply voltage that the SerDes uses Other registers called out by the workaround section of the errata document Configure LAW and AU windows P4080 offers 32 LAWs Each PCIe controller offers: 4 AU outbound windows in addition to OW#0, and 3 AU inbound windows in addition to the dedicated one for MSI Configure major registers required for the PCIe controller Both configuration space and memory-mapped space and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2010 Freescale Semiconductor, Inc. 40