IDT 89HPES32NT8xG2 User Manual

Pci express switch
Table of Contents

Advertisement

Quick Links

®
®
IDT
89HPES32NT8xG2
®
PCI Express
Switch

User Manual

June 2012
6024 Silver Creek Valley Road, San Jose, California 95138
Telephone: (800) 345-7015 • (408) 284-8200 • FAX: (408) 284-2775
Printed in U.S.A.
©2012 Integrated Device Technology, Inc.

Advertisement

Table of Contents
loading

Summary of Contents for IDT 89HPES32NT8xG2

  • Page 1: User Manual

    ® ® 89HPES32NT8xG2 ® PCI Express Switch User Manual June 2012 6024 Silver Creek Valley Road, San Jose, California 95138 Telephone: (800) 345-7015 • (408) 284-8200 • FAX: (408) 284-2775 Printed in U.S.A. ©2012 Integrated Device Technology, Inc.
  • Page 2 Integrated Device Technology, Inc. reserves the right to make changes to its products or specifications at any time, without notice, in order to improve design or performance and to supply the best possible product. IDT does not assume any responsibility for use of any circuitry described other than the circuitry embodied in an IDT product. The Company makes no representations that circuitry described herein is free from patent infringement or other rights of third parties which may result from its use.
  • Page 3: About This Manual

    Information not included in this manual such as mechanicals, package pin-outs, and electrical character- istics can be found in the data sheet for this device, which is available from the IDT website (www.idt.com) as well as through your local IDT sales representative.
  • Page 4: Signal Nomenclature

    Notes Chapter 15, “DMA Controller,” describes how the PES32NT8xG2 supports two direct memory access controller (DMA) functions. Chapter 16, “Switch Events,” describes mechanisms provided by the PES32NT8xG2 to facilitate communication between roots associated with different partitions as well as for communication between these roots and a management agent.
  • Page 5: Numeric Representations

    Notes single clock cycle high-to-low transition low-to-high transition Figure 1 Signal Transitions Numeric Representations To represent numerical values, either decimal, binary, or hexadecimal formats will be used. The binary format is as follows: 0bDDD, where “D” represents either 0 or 1; the hexadecimal format is as follows: 0xDD, where “D”...
  • Page 6: Register Terminology

    Notes bit 31 bit 0 Address of Bytes within Words: Big Endian bit 31 bit 0 Address of Bytes within Words: Little Endian Figure 2 Example of Byte Ordering for “Big Endian” or “Little Endian” System Definition Register Terminology Software in the context of this register terminology refers to modifications made by PCI Express root configuration writes, writes to registers made through the slave SMBus interface, or serial EEPROM register initialization.
  • Page 7: Use Of Hypertext

    Notes Type Abbreviation Description Read and Write Software can both read and write bits with this attribute. Read and Write Clear RW1C Software can read and write to registers/bits with this attribute. However, writing a value of zero to a bit with this attribute has no effect.
  • Page 8 Notes July 14, 2009: Includes changes in several chapters based on recent updates in the functional specifi- cation. July 30, 2009: Includes changes in several chapters based on recent updates in the functional specifi- cation. August 28, 2009: Added Chapter 27, Usage Models. September 18, 2009: In Chapter 1, added explanation of differences between PES32NT8AG2 and PES32NT8BG2 devices.
  • Page 9 Notes March 8, 2010: Removed references to OUTDBELLCLR and OUTSBELLDBELLCLR registers in Chapter 14, Non-Transparent Switch Operation. March 17, 2010: In Chapter 8, updated Tables 8.6, 8.7, 8.8, 8.11, and 8.12. In Chapter 13, deleted refer- ence to multiple GPIOAFSEL registers; there is only one register. In Chapter 24, deleted “other” from ECRC Error name for bit 31 in the DMAC[1:0]ERRSTS register.
  • Page 10 Notes In Chapter 25, made the following changes: revised SESTS register, revised description for COUNT field in FCAP[3:0]TIMER register, added bits 20 and 21 and revised default value and/or description for bits 22 to 25 and changed name/value/description of bit 29 in SMBUSSTS register, removed default value for TEMP field in TMPSTS register.
  • Page 11 Notes June 27, 2012: In Chapter 12, changed BYTCNT=7 to BYTCNT=4 in Figure 12.14. In Chapter 24, changed type and default values for bits 16 and 20 in Switch Control register. PES32NT8xG2 User Manual June 27, 2012...
  • Page 12 Notes PES32NT8xG2 User Manual June 27, 2012...
  • Page 13: Table Of Contents

    Table of Contents ® About This Manual Notes Overview ............................1 Content Summary .......................... 1 Signal Nomenclature ........................2 Numeric Representations ......................3 Data Units ............................3 Register Terminology ........................4 Use of Hypertext ..........................5 Reference Documents ........................5 Revision History ..........................
  • Page 14 IDT Table of Contents Notes Partition Fundamental Reset ....................3-10 Partition Hot Reset ....................... 3-11 Partition Upstream Secondary Bus Reset ................3-12 Partition Downstream Secondary Bus Reset ............... 3-12 Port Mode Change Reset ......................3-13 Switch Core Overview............................4-1 Switch Core Architecture ........................ 4-1 Ingress Buffer .........................
  • Page 15 IDT Table of Contents Notes Link Operation Overview............................7-1 Port Merging ........................... 7-1 Port Maximum Link Width....................... 7-2 Polarity Inversion ..........................7-2 Lane Reversal..........................7-2 Link Width Negotiation........................7-4 Link Width Negotiation in the Presence of Bad Lanes ............7-5 Dynamic Link Width Reconfiguration....................
  • Page 16 IDT Table of Contents Notes Transparent Switch Operation Overview............................10-1 Transaction Routing........................10-1 Virtual Channel Support........................ 10-2 Maximum Payload Size ........................ 10-2 Upstream Port Device Number ..................... 10-2 Bus Locking ..........................10-2 Interrupts............................10-4 Downstream Port Interrupts....................10-4 Upstream Port Interrupts ...................... 10-4 Legacy Interrupt Aggregation ....................
  • Page 17 IDT Table of Contents Notes Non-Transparent Switch Operation Overview............................14-1 Base Address Registers (BARs)....................14-1 BAR Limit..........................14-2 Mapping NT Configuration Space to BAR 0 ................. 14-4 TLP Translation ..........................14-4 Direct Address Translation ....................14-4 Lookup Table Address Translation..................14-5 ID Translation ..........................
  • Page 18 IDT Table of Contents Notes DMA Multicast ........................15-23 Interrupts............................. 15-24 Virtual Channel (VC) Support ..................... 15-25 Access Control Services (ACS) Support ..................15-25 Power Management........................15-27 Bus Locking ..........................15-27 ECRC Support ..........................15-27 Error Handling..........................15-27 PCI Express Error Handling by the DMA Function............. 15-28 DMA Limitations and Usage Restrictions ...................
  • Page 19 IDT Table of Contents Notes PCI-to-PCI Bridge Registers Type 1 Configuration Header Registers32NT8................20-1 PCI Express Capability Structure ....................20-13 PCI Power Management Capability Structure ................20-35 Message Signaled Interrupt Capability Structure ............... 20-37 Subsystem ID and Subsystem Vendor ID .................. 20-38 Extended Configuration Space Access Registers ..............
  • Page 20 IDT Table of Contents Notes DMA Function Registers Type 0 Configuration Header Registers ..................23-1 PCI Express Capability Structure ....................23-9 PCI Power Management Capability Structure ................23-21 Message Signaled Interrupt Capability Structure ............... 23-23 Extended Configuration Space Access Registers ..............23-24 Advanced Error Reporting (AER) Extended Capability...............
  • Page 21 IDT Table of Contents Notes Switch Partitioning via serial EEPROM ................26-4 Switch Partitioning via PCI Express Configuration Requests..........26-5 Dynamic Port and Partition Reconfiguration................. 26-8 I/O Load Balancing: Downstream Port Migration ..............26-8 Non-Transparent Bridge (NTB) Usage Models................26-11 PES32NT8xG2 as a Multiprocessor System Interconnect ..........
  • Page 22 IDT Table of Contents Notes PES32NT8xG2 User Manual June 27, 2012...
  • Page 23 List of Tables ® Table 1.1 PES32NT8xG2 Device IDs....................1-1 Notes Table 1.2 PES32NT8xG2 Revision ID....................1-2 Table 1.3 Operating Modes Supported by Each Port................1-6 Table 2.1 PxCLK Usage When a Port Operates in Local Port Clocked Mode ........2-4 Table 2.2 GCLK and PxCLK frequencies when PxCLK has SSC ............
  • Page 24 IDT List of Tables Notes Table 10.10 Conditions Handled as Unsupported Requests (UR) by the PCI-to-PCI Bridge Function........................... 10-15 Table 10.11 Conditions Handled as Unexpected Completions (UC) by the PCI-to-PCI Bridge Function........................... 10-16 Table 10.12 Ingress TLP Formation Checks associated with the PCI-to-PCI Bridge Function... 10-17 Table 10.13 Egress Malformed TLP Error Checks................
  • Page 25 IDT List of Tables Notes Table 15.1 DMA Channel Addressing Parameters................15-4 Table 15.2 Linear Addressing DMA Example..................15-5 Table 15.3 Constant Addressing DMA Example ................. 15-6 Table 15.4 Stride Control DMA Descriptor Fields................15-8 Table 15.5 Data Transfer DMA Descriptor Fields................15-10 Table 15.6...
  • Page 26 IDT List of Tables Notes PES32NT8xG2 User Manual June 27, 2012...
  • Page 27 List of Figures ® Figure 1.1 PES32NT8xG2 Block Diagram ..................1-3 Notes Figure 1.2 Logical Representation of a Port with PCI-to-PCI bridge, NT, and DMA Functions ..1-5 Figure 1.3 Transparent PCI Express Switch ..................1-6 Figure 1.4 Partitionable PCI Express Switch ..................1-7 Figure 1.5 Non-Transparent Bridge ....................1-8 Figure 1.6...
  • Page 28 IDT List of Figures Notes Figure 10.2 ACS Source Validation Example ..................10-7 Figure 10.3 ACS Peer-to-Peer Request Re-direct at a Downstream Switch Port .......10-8 Figure 10.4 ACS Upstream Forwarding Example ................10-8 Figure 10.5 ACS Peer-to-Peer Request Re-direct by an Upstream PCI-to-PCI Bridge Function ..10-9 Figure 10.6...
  • Page 29 IDT List of Figures Notes Figure 15.10 Immediate Data Transfer DMA Descriptor Format ............15-13 Figure 15.11 DMA Chaining Example ....................15-17 Figure 15.12 Path Taken by a TLP Emitted by the DMA When it is Multicasted ........15-24 Figure 15.13 Path Taken by a TLP Emitted by the DMA When it is NT Multicasted ......15-24 Figure 15.14 Example of ACS Peer-to-Peer Request Redirect Applied by the DMA Function ...15-27...
  • Page 30 IDT List of Figures Notes PES32NT8xG2 User Manual xviii June 27, 2012...
  • Page 31 Register List ® ACSCAP - ACS Capability (0x324) ...................... 22-47 Notes ACSCAP - ACS Capability (0x324) ...................... 23-37 ACSCAP - ACS Capability Register (0x324)..................20-55 ACSCTL - ACS Control (0x326) ......................22-48 ACSCTL - ACS Control (0x326) ......................23-37 ACSCTL - ACS Control Register (0x326)..................... 20-57 ACSECAPH - ACS Extended Capability Header (0x320) ..............
  • Page 32 IDT Register List Notes BAR2 - Base Address Register 2 (0x018)....................22-7 BAR2 - Base Address Register 2 (0x018)....................23-6 BAR3 - Base Address Register 3 (0x01C) ....................22-8 BAR3 - Base Address Register 3 (0x01C) ....................23-6 BAR4 - Base Address Register 4 (0x020)....................22-9 BAR4 - Base Address Register 4 (0x020)....................23-6...
  • Page 33 IDT Register List Notes DMAC[1:0]DPTRL - DMA Channel Descriptor Pointer Low (0x528/628)..........23-56 DMAC[1:0]DSCTL - DMA Channel Destination Stride Control (0x520/620) .........23-55 DMAC[1:0]ERRMSK - DMA Channel Error Mask (0x514/614) .............23-53 DMAC[1:0]ERRSTS - DMA Channel Error Status (0x510/610) ............23-52 DMAC[1:0]MSK - DMA Channel Status Mask (0x50C/60C) ..............23-51 DMAC[1:0]NDPTRH - DMA Channel Next Descriptor Pointer High (0x534/634) .........23-57...
  • Page 34 IDT Register List Notes INDBELLMSK - NT Inbound Doorbell Mask (0x42C)................22-61 INDBELLSTS - NT Inbound Doorbell Status (0x428)................22-61 INMSG[3:0] - Inbound Message [3:0] (0x440-44C)................22-62 INMSGSRC[3:0] - Inbound Message Source [3:0] (0x450-45C)............22-62 INTRLINE - Interrupt Line (0x03C)......................22-12 INTRLINE - Interrupt Line (0x03C)......................23-8 INTRLINE - Interrupt Line Register (0x03C) ..................20-11...
  • Page 35 IDT Register List Notes MCRCVL- Multicast Receive Low (0x340) ....................20-61 MCRCVL- Multicast Receive Low (0x340) ....................22-51 MINGNT - Minimum Grant (0x03E).......................22-12 MINGNT - Minimum Grant (0x03E)......................23-8 MLIMIT - Memory Limit Register (0x022)....................20-8 MSGSTS - Message Status (0x460) .....................22-62 MSGSTSMSK - Message Status Mask (0x464)..................22-63 MSIADDR - Message Signaled Interrupt Address (0x0D4)..............20-37...
  • Page 36 IDT Register List Notes PCIEDCAP - PCI Express Device Capabilities (0x044) ................20-14 PCIEDCAP - PCI Express Device Capabilities (0x044) ................22-13 PCIEDCAP - PCI Express Device Capabilities (0x044) ................23-10 PCIEDCAP2 - PCI Express Device Capabilities 2 (0x064) ..............20-30 PCIEDCAP2 - PCI Express Device Capabilities 2 (0x064) ..............22-22 PCIEDCAP2 - PCI Express Device Capabilities 2 (0x064) ..............23-18...
  • Page 37 IDT Register List Notes PMCAP - PCI Power Management Capabilities (0x0C0)..............20-35 PMCAP - PCI Power Management Capabilities (0x0C0)..............22-27 PMCAP - PCI Power Management Capabilities (0x0C0)..............23-21 PMCSR - PCI Power Management Control and Status (0x0C4) ............20-36 PMCSR - PCI Power Management Control and Status (0x0C4) ............22-27 PMCSR - PCI Power Management Control and Status (0x0C4) ............23-22...
  • Page 38 IDT Register List Notes SNUMCAP - Serial Number Capabilities (0x180) .................20-50 SNUMCAP - Serial Number Capabilities (0x180) .................22-42 SNUMLDW - Serial Number Lower Doubleword (0x184) ..............20-50 SNUMLDW - Serial Number Lower Doubleword (0x184) ..............22-43 SNUMUDW - Serial Number Upper Doubleword (0x188)..............20-51 SNUMUDW - Serial Number Upper Doubleword (0x188)..............22-43...
  • Page 39: Pes32Nt8Xg2 Device Overview

    Overview Notes The 89HPES32NT8xG2 is a member of the IDT family of PCI Express® switching solutions. The PES32NT8xG2 is a 32-lane, 8-port system interconnect switch optimized for PCI Express Gen2 packet switching in high-performance applications, supporting multiple simultaneous peer-to-peer traffic flows.
  • Page 40: Jtag Id

    IDT PES32NT8xG2 Device Overview Notes Revision ID Description Corresponds to ZA silicon Corresponds to ZB silicon Corresponds to ZC silicon Table 1.2 PES32NT8xG2 Revision ID JTAG ID The JTAG ID is: – Version: Same value as Revision ID. See Table 1.2 –...
  • Page 41: Port Operating Modes

    IDT PES32NT8xG2 Device Overview Notes PCI Express Ports SerDes SerDes GPIO GPIO Controller Stack 0 Stack 1 Module Master Master SMBus SMBus Interface Switch Core Slave Slave SMBus SMBus Interface Stack 2 Stack 3 Module Reset and Boot Reset Configuration...
  • Page 42 IDT PES32NT8xG2 Device Overview Notes PES32NT8xG2 ports support the following port operating modes. – Disabled – Unattached – Upstream switch port (i.e., upstream PCI-to-PCI bridge) – Downstream switch port (i.e., downstream PCI-to-PCI bridge) – Upstream switch port with DMA function –...
  • Page 43 IDT PES32NT8xG2 Device Overview Notes PCI Express Link Port Physical Layer Data Link Layer Bridge Function Function Switch Virtual Bus Interconnect Figure 1.2 Logical Representation of a Port with PCI-to-PCI bridge, NT, and DMA Functions Not all ports support all port operating modes. The following applies.
  • Page 44: Switch Partitioning

    IDT PES32NT8xG2 Device Overview Notes Port Support Port Operating Mode 12 16 20 • • • • • • • • Disabled • • • • • • • • Unattached • • • • • • • • Upstream switch port •...
  • Page 45: Non-Transparent Operation

    IDT PES32NT8xG2 Device Overview Notes Partition 1 Partition 2 Partition 3 Upstream Port Upstream Port Upstream Port Bridge Bridge Bridge Partition 1 – Virtual PCI Bus Partition 2 – Virtual PCI Bus Partition 3 – Virtual PCI Bus Bridge Bridge...
  • Page 46: Figure 1.5 Non-Transparent Bridge

    IDT PES32NT8xG2 Device Overview Notes Although PCI Express switches support direct transfers between ports, the logical view seen by soft- ware remains that of a hierarchy of buses as defined by the PCI architecture and illustrated in Figure 1.3. The portion of a PCI domain emanating from a PCI Express root complex is referred to as the PCI Express domain.
  • Page 47: Figure 1.6 Generalized Multi-Port Non-Transparent Interconnect

    Figure 1.7(a) shows an architecture in which a non-transparent bridge is integrated below the PCI-to- PCI bridge associated with a downstream port. This architecture is used in IDT Gen 1 switches. A disad- vantage of this approach is that it leads to complex implementations when extended to direct non-trans- parent switching.
  • Page 48: Figure 1.7 Architectural Approaches For Integrating Non-Transparency Into A Pci Express Switch

    IDT PES32NT8xG2 Device Overview Notes Upstream Port Non-Transparent Upstream Upstream Bridge Port Port Port Virtual PCI Bus Non- Bridge Transparent Endpoint Bridge Endpoint Interconnect Bridge Bridge Virtual PCI Bus Virtual PCI Bus Bridge Bridge Endpoint Endpoint Non- Non- Transparent Transparent...
  • Page 49: Figure 1.8 Non-Transparent Switch With Non-Transparency Between Partitions

    IDT PES32NT8xG2 Device Overview Notes Upstream Upstream Port Port Non-Transparent Bridge Endpoint Endpoint Bridge Interconnect Partition 0 – Virtual PCI Bus Partition 1 – Virtual PCI Bus Bridge Bridge Bridge Bridge Downstream Ports Downstream Ports Figure 1.8 Non-Transparent Switch with Non-Transparency Between Partitions Figure 1.9 illustrates a basic non-transparent switch configuration with NT ports.
  • Page 50: Dma Operation

    IDT PES32NT8xG2 Device Overview Notes Port Port Port Port Port Port Port Endpoint Endpoint Endpoint Endpoint Endpoint Endpoint Endpoint Non-Transparent Interconnect Figure 1.10 Non-Transparent Switch with Non-Transparent Ports This section outlined several possible switch NTB configurations. The ability to configure ports to operate in a variety of modes together with support for switch partitioning provides the PES32NT8xG2 with the flexibility required for a wide variety of system applications.
  • Page 51: Figure 1.12 Switch Partition With Dma Function

    IDT PES32NT8xG2 Device Overview Notes A DMA function is associated with two DMA channels. A DMA channel is an engine that can be programmed to transfer data between two PCI Express functions in the hierarchy, including transfers across the non-transparent bridge (see section Non-Transparent Operation on page 1-7). DMA channels act independently and operate by processing descriptors.
  • Page 52: Figure 1.13 Two Switch Partitions Interconnected By An Ntb, With Dma In One Partition

    IDT PES32NT8xG2 Device Overview Notes either partition and write data to a memory address in the other partition. To read or write data from the partition across the NTB (i.e., partition 1 in this example), the DMA need only be programmed to issue the read/write transactions to addresses that map to one of the memory windows of the NT function in partition –...
  • Page 53: Dynamic Reconfiguration And Failover

    IDT PES32NT8xG2 Device Overview Notes Upstream Upstream Port Port Non-Transparent Function Bridge Endpoint Endpoint Bridge Function Interconnect Partition 0 – Virtual PCI Bus Partition 1 – Virtual PCI Bus Bridge Bridge Bridge Bridge Downstream Ports Downstream Ports Figure 1.14 Two Switch Partitions Interconnected by an NTB, with DMA in Both Partitions...
  • Page 54: Switch Events

    IDT PES32NT8xG2 Device Overview Notes Consider an application that utilizes a watchdog timer to initiate failover. When the watchdog timer expires, a failover event is initiated. The failover event initiates the following actions to take place in hard- ware. – The port associated with the primary upstream port is reconfigured to operate in NT function mode.
  • Page 55: Multicasting And Non-Transparent Multicasting

    IDT PES32NT8xG2 Device Overview Notes The following switch events in a partition may be notified to other partitions: – A switch port link going up (i.e., a transition from DL_Down to DL_Up) – A switch port link going down (i.e., a transition from DL_Up to DL_Down) –...
  • Page 56: Figure 1.17 Example Of Transparent Multicast

    IDT PES32NT8xG2 Device Overview Notes Using transparent multicast, a posted TLP (e.g., a memory write TLP) received by a port in a switch partition can be multicasted to other ports within that switch partition. Figure 1.17 shows an example of transparent multicast.
  • Page 57 IDT PES32NT8xG2 Device Overview Notes The programming model of NT multicast mimics that of transparent multicast, with a few exceptions. In particular, NT multicast has a proprietary address and requester ID overlay feature, that allows the TLP’s address and requester ID to be modified when emitted by the egress ports. Such modifications are neces- sary to ensure that TLP is routed correctly in the targeted partitions.
  • Page 58 IDT PES32NT8xG2 Device Overview Notes PES32NT8xG2 User Manual 1 - 20 June 27, 2012...
  • Page 59: Clocking

    Chapter 2 Clocking ® Overview Notes Figure 2.1 provides a logical representation of the PES32NT8xG2 clocking architecture. The switch has two differential global reference clock input (GCLK) pairs as well as several differential reference clock inputs (PxCLK) used for local port clocking. The differential global reference clock input (GCLK) is driven into the device on the GCLKP[1:0] and GCLKN[1:0] pins.
  • Page 60: Figure 2.1 Logical Representation Of Pes32Nt8Ag2 Clocking Architecture

    IDT Clocking SerDes SerDes SerDes SerDes SerDes SerDes SerDes SerDes Quad Quad Quad Quad Quad Quad Quad Quad Port 0 Port 2 Port 4 Port 8 Port 12 Port 16 Port 20 Port 6 Switch Core GCLK Figure 2.1 Logical Representation of PES32NT8AG2 Clocking Architecture...
  • Page 61: Port Clocking Modes

    IDT Clocking Port Clocking Modes Notes Port clocking refers to the clock that a port uses to receive and transmit serial data. The PES32NT8xG2 ports support two port clocking modes: Global Clocked and Local Port Clocked. These modes are described in section Global Clocked Mode on page 2-3 and section Local Port Clocked Mode on page 2-4.
  • Page 62: Local Port Clocked Mode

    IDT Clocking Local Port Clocked Mode Notes A port in local port clocked mode uses a dedicated port clock (PxCLK) input for receiving and transmit- ting serial data. Table 2.1 lists the ports and the PxCLK used by each. PxCLK used when port...
  • Page 63: Support For Spread Spectrum Clocking (Ssc)

    IDT Clocking Notes Figure 2.6 shows the clock connection between a PES32NT8xG2 port and it’s link partner, when the switch port operates in local port clocked mode with a non-common clock configuration. Switch GCLK Clock Generator Port PxCLK Clock Generator...
  • Page 64: Port Clocking Mode Selection

    IDT Clocking Notes Nominal PxCLK Effective Allowed PxCLK PxCLK GCLK Frequency Modulation Frequency Frequency 100 MHz + 300ppm +0 / - 5000ppm 100 Mhz +300 / - 100 Mhz + / - 4700ppm 300ppm 100 MHz - 300ppm +0 / - 5000ppm...
  • Page 65: Table 2.4 Initial Port Clocking Mode And Slot Clock Configuration State

    IDT Clocking Notes CLKMODE[1:0] Port 0 Other Ports Value in Boot Port 0 Other Ports Clocking Clocking Configuration SCLK SCLK Mode Mode Vector Global Clocked Global Clocked (non-common (non-common clocked) clocked) Global Clocked Global Clocked (common (non-common clocked) clocked) Global Clocked...
  • Page 66: System Clocking Configurations

    IDT Clocking System Clocking Configurations Based on the requirements outlined in the sections above, Table 2.6 summarizes valid system clocking configurations (highlighted in green). Invalid system configurations are highlighted in red. PES32NT8xG2 Port Configuration Link Valid Port Local Partner Notes Global Config.
  • Page 67: Reset And Initialization

    Chapter 3 Reset and Initialization ® Overview Notes This chapter describes the PES32NT8xG2 resets and initialization. There are two classes of switch resets. The first is a switch fundamental reset which is the reset used to initialize the entire device. The second class is referred to as partition resets.
  • Page 68: Switch Fundamental Reset

    IDT Reset and Initialization Switch Fundamental Reset Notes A switch fundamental reset may be cold or warm. A cold switch fundamental reset occurs following a device being powered-on and assertion of the global reset (PERSTN) signal. A warm switch fundamental reset occurs when a switch fundamental reset is initiated while power remains applied.
  • Page 69: Figure 3.1 Switch Fundamental Reset With Serial Eeprom Initialization

    IDT Reset and Initialization Notes – When serial EEPROM initialization completes, the EEPROM Done (EEPROMDONE) bit in the SMBUSSTS register is set and the switch’s ports start processing configuration requests normally, unless the RSTHALT bit in the SWCTL register is set. If serial EEPROM initialization completes with an error, the RSTHALT bit in the SWCTL register is set as described in section Initialization from Serial EEPROM on page 12-3.
  • Page 70: Boot Configuration Vector

    IDT Reset and Initialization Notes The operation of a switch fundamental reset using RSTHALT is illustrated in Figure 3.2. Stable Stable Power GCLK GCLK* > 100ns PERSTN < 100 ms ~285 μs ~2 μs Link Ready SerDes PLL Reset & Lock...
  • Page 71: Stack Configuration

    IDT Reset and Initialization Notes May Be Signal Name/Description Overridden GCLKFSEL Global Clock Frequency Select. These pins specify the frequency of the GCLKP and GCLKN sig- nals. CLKMODE[1:0] Clock Mode. These pins specify the clocking mode used by switch ports. See Table 2.4 for a definition of the encoding of these signals.
  • Page 72: Table 3.3 Ports In Each Stack

    IDT Reset and Initialization Notes Ports Associated with Stack the Stack Stack 0 0, 2 Stack 1 4, 6 Stack 2 8, 12 Stack 3 16, 20 Table 3.3 Ports in Each Stack Each stack may be configured as one x8 port or two x4 ports .
  • Page 73: Table 3.6 Possible Configurations For Stack 2

    IDT Reset and Initialization Notes STKCFG Field in the Stack STK2CFG Register Configuration Binary 0b00000 0b00001 Others Reserved Table 3.6 Possible Configurations for Stack 2 STKCFG Field in the Stack STK3CFG Register Configuration Binary 0b00000 0b00001 Reserved Others Table 3.7 Possible Configurations for Stack 3 Depending on the stack configuration, one port in the stack may be ‘activated’...
  • Page 74: Static Configuration Of A Stack

    IDT Reset and Initialization Static Configuration of a Stack Notes A stack may be configured statically using the corresponding Stack Configuration (STKxCFG) pins. These pins are sampled by the switch as part of the boot-configuration vector during switch fundamental reset. The STKxCFG pins determine the initial value of the STKCFG field in the corresponding STKxCFG register.
  • Page 75: Table 3.9 Switch Mode Dependent Register Initialization

    IDT Reset and Initialization Notes SWMODE[3:0] Switch Mode Pins Multi-partition with Unattached ports with I C Reset and Serial EEPROM initial- ization Multi-partition with Disabled ports Multi-partition with Disabled ports and Serial EEPROM initialization Table 3.8 Normal Switch Modes (Part 2 of 2) The PES32NT8xG2 has one functional operating mode.
  • Page 76: Partition Resets

    IDT Reset and Initialization Notes Single Partition Mode In single partition mode, the initial values outlined in Table 3.9 result in the following configuration. – All ports are members of partition zero. – Port 0 is configured as the upstream switch port of partition zero. All other ports are configured as downstream switch ports of partition zero.
  • Page 77: Partition Hot Reset

    IDT Reset and Initialization Notes Associated with each partition is a partition fundamental reset input (PARTxPERSTN). – The partition fundamental reset input for the first four partitions (i.e., partitions zero through three) are available as GPIO alternate functions. – The partition fundamental reset input for all partitions are available on external I/O expanders (refer to section I/O Expanders on page 12-11).
  • Page 78: Partition Upstream Secondary Bus Reset

    IDT Reset and Initialization Notes • TLPs received by the secondary side of the PCI-to-PCI bridge function, which are destined to the upstream port’s link, are treated as unsupported requests by the function. • TLPs received by an NT function in another partition, which are destined to the upstream link associated with the NT function in this partition, are treated as unsupported requests by the NT function that first received the TLP.
  • Page 79: Port Mode Change Reset

    IDT Reset and Initialization Notes When a downstream secondary bus reset occurs, the following sequence of actions take place on logic associated with the affected partition. – If the corresponding downstream switch port’s link is up, TS1 ordered sets with the hot reset bit set are transmitted.
  • Page 80 IDT Reset and Initialization Notes PES32NT8xG2 User Manual 3 - 14 June 27, 2012...
  • Page 81: Switch Core

    Chapter 4 Switch Core ® Overview Notes This chapter provides a detailed description of the PES32NT8xG2’s switch core. As shown in section Architectural Overview on page 1-2, the switch core interconnects four stacks and two DMA modules. The four stacks are numbered 0 to 3. Each stack may be configured with a maximum of two x4 ports. Thus, the switch-core interconnects up to 8 ports in the device plus the two DMA modules.
  • Page 82: Figure 4.1 High Level Diagram Of Switch Core

    IDT Switch Core Notes Switch Core Port IFB Port 0 EFB Stack 0 Stack 0 Ingress Egress Datapath Datapath Port 2 EFB Port 2 IFB Port 4 IFB Port 4 EFB Stack 1 Stack 1 Ingress Egress Datapath Datapath Port 6 IFB...
  • Page 83: Ingress Buffer

    IDT Switch Core Ingress Buffer Notes The switch core implements a per-port ingress buffer called the Ingress Frame Buffer (IFB). When a packet is received from the link, the ingress port determines the packet’s route and subjects it to TC/VC mapping.
  • Page 84: Crossbar Interconnect

    IDT Switch Core Notes Stack Total Size and Limitations Mode Queue (per-port) Posted 8192 Bytes and up to 128 TLPs Merged Non Posted 2048 Bytes and up to 128 TLPs Completion 8192 Bytes and up to 128 TLPs Posted 4096 Bytes and up to 64 TLPs...
  • Page 85: Virtual Channel Support

    IDT Switch Core Notes sustaining full bandwidth throughput on a x4 Gen2 link and may be shared by four x1 ports, two x2 ports, or one x4 port. Two memory modules are used for an x8 Gen2 port. The PES32NT8xG2 switch core contains eight ingress memory modules and eight egress memory modules as shown in Figure 4.1.
  • Page 86: Packet Ordering

    IDT Switch Core Packet Ordering Notes The PCI Express Base Specification 2.1 contains packet ordering rules to ensure the producer/ consumer model is honored across a PCI Express hierarchy and to prevent deadlocks. – The switch honors the strict and relaxed ordering rules defined in the PCI Express Base Specifi- cation.
  • Page 87: Figure 4.2 Architectural Model Of Arbitration

    (i.e., it must not be linked into the PCI-to-PCI bridge function’s capabilities list via the global address space). The DMA EFB contains packets to be processed by the DMA engine. For more information, contact IDT at ssdhelp@idt.com.
  • Page 88 IDT Switch Core Notes Switch ports in this device support port arbitration using hardware fixed round-robin. As such, the port’s VC Capability Structure indicates support for a hardware-fixed algorithm only (i.e., round-robin). Hardware Fixed Round-Robin Arbitration By default, all ports are programmed for hardware fixed round-robin port arbitration. A port operates in this mode unless it is configured for WRR arbitration as discussed in section Proprietary Weighted Round Robin (WRR) Arbitration below.
  • Page 89: Cut-Through Routing

    IDT Switch Core Notes As another example, if the DMA engine located in function 2 of port 0 is active, the P24IC field of all ports out of which a DMA may issue traffic must not be set to 0x0. This includes ports in the same logical partition as the DMA, or ports in other partitions (i.e., when the DMA transmits packets across the NT bridge...
  • Page 90: Table 4.5 Conditions For Cut-Through Transfers

    IDT Switch Core Notes Ingress Egress Ingress Egress Link Link Conditions for Link Link Speed Speed Cut-Through Width Width (GT/s) (GT/s) x8, x4, x2, x1 Always x4, x2, x1 Always At least 50% of packet is in IFB x4, x2, x1...
  • Page 91: Request Metering

    IDT Switch Core Notes Ingress Egress Ingress Egress Link Link Conditions for Link Link Speed Speed Cut-Through Width Width (GT/s) (GT/s) x8, x4, x2, x1 Always x8, x4, x2, x1 Always x8, x4, x2, x1 Always At least 50% of packet is in IFB...
  • Page 92: Figure 4.3 Pci Express Switch Static Rate Mismatch

    IDT Switch Core Notes Consider an example where endpoints A and B are injecting read request to the root at a high rate and the root is able to inject completion data into the fabric at a rate higher than which may be supported by endpoint A’s egress link.
  • Page 93: Operation

    IDT Switch Core Notes Request Request Request Time (a) Request Injection without Request Metering Estimate of Request 2 Estimate of Request 1 Completion Transfer Time Completion Transfer Time Request Request Request Time (b) Request Injection with Request Metering Figure 4.4 PCI Express Switch Static Rate Mismatch The request metering implementation in the switch makes a number of simplifying assumptions that may or may not be true in all systems.
  • Page 94: Completion Size Estimation

    IDT Switch Core Notes The Decrement Value Adjustment (DVADJ) field represents a 1:4:11 number (i.e., a sign-magnitude fixed-point number with 4 integer bits and 11 fractional bits). The signed nature of the DVADJ field provides fine grain programmable adjustment of the value by which the counter is decremented.
  • Page 95: Figure 4.6 Non-Posted Read Request Completion Size Estimate Computation

    IDT Switch Core Notes Non-Posted Reads The completion size estimate is based on the Length field in the read request header and is computed as shown in Figure 4.6. All arithmetic in this section is performed using an implicit 0:13:3 representation and all values are implicitly converted to this value.
  • Page 96: Internal Errors

    PCI Express interface itself or on behalf of transactions initiated on PCI Express. The PES32NT8xG2 classifies the following IDT proprietary switch errors as internal errors: – Switch core time-outs –...
  • Page 97: Switch Core Time-Outs

    IDT Switch Core Notes Each internal error status bit has an associated severity bit in the Internal Error Severity (IERRORSEV0/ 1) registers. When an unmasked internal error is detected, the error is reported as dictated by the corre- sponding severity bit (i.e., either an uncorrectable internal error or a correctable internal error). When an uncorrectable or correctable internal error is reported, the corresponding AER status bit is set and processed as dictated by the PCI Express Base Specification.
  • Page 98: Memory Secded Ecc Protection

    IDT Switch Core Notes set in the Internal Error Reporting Status 0 (IERRORSTS0) register. If during processing of a TLP with broadcast or multicast routing a switch core time-out occurs, then the switch core will abort processing of the TLP. This may result in the broadcast TLP being transmitted on some but not all destination ports. For ports that contain a DMA function, the DMA has separate switch time out controls.
  • Page 99: Reporting Of Port Aer Errors As Internal Errors

    IDT Switch Core Notes As the TLP flows through the switch, its alignment or contents may be modified. In all such cases, parity is updated and not recomputed. Hence, any error that occurs is propagated and not masked by a parity regeneration.
  • Page 100 IDT Switch Core Notes Each port is capable of notifying the detection of an AER error to other ports. Each port has an internal non-software visible register named Port AER Status (PAERSTS) which provides a gathering point for combined AER correctable and uncorrectable errors of all functions (e.g., PCI-to-PCI bridge, NT, and DMA) in the port.
  • Page 101: Figure 4.8 Reporting Of Port Aer Errors As Internal Errors

    IDT Switch Core Notes Switch Port 1 PCI-to-PCI Bridge Function Internal Error Detection Logic Port 0 PAERMSK Port 2 Port N PAERSTS (not exposed to software) Internal Error AER Error AER Error AER Error Detection Logic Detection Logic Detection Logic...
  • Page 102 IDT Switch Core Notes PES32NT8xG2 User Manual 4 - 22 June 27, 2012...
  • Page 103: Switch Partition And Port Configuration

    Chapter 5 Switch Partition and Port Configuration ® Overview Notes The PES32NT8xG2 supports up to 8 active switch partitions. Each switch partition represents an inde- pendent PCI Express hierarchy whose operation is independent of other switch partitions. A port may be configured to operate in one of the following modes.
  • Page 104: Partition Configuration

    IDT Switch Partition and Port Configuration Notes • NT with DMA function – A downstream switch port is a port configured to operate in downstream switch port mode and attached to a partition. – An upstream switch port is an upstream port with a PCI-to-PCI bridge function (i.e., a port in upstream switch port mode, upstream switch port with DMA function mode, upstream switch port with NT function mode, or upstream switch port with NT and DMA functions mode).
  • Page 105: Partition State

    IDT Switch Partition and Port Configuration Notes • The completion may be expected or unexpected depending on the configuration of the func- tion at the time the completion is received. – The upstream switch port is allowed to enter and exit L0s and L1 ASPM state without regard to the ASPM state of a downstream switch port (i.e., since there are no downstream switch ports,...
  • Page 106: Partition State Change

    IDT Switch Partition and Port Configuration Notes The partition fundamental reset condition is considered to persist as long as the STATE field in the SWPARTxCTL register remains in the fundamental reset state. No hardware-initiated hot reset is possible in the partition (e.g., a link-down in the partition’s upstream port (if any) does not cause a hot reset). See Table 3.1 for details on reset precedence.
  • Page 107: Switch Ports

    IDT Switch Partition and Port Configuration Notes Partition State Change via EEPROM When modifying the state of a partition via the serial EEPROM, the following recommendations and requirements apply. Prior to modifying the state of a partition, it is required that the following proprietary timer registers be set to 0x0.
  • Page 108: Figure 5.2 Logical Representation Of A Port With Pci-To-Pci Bridge, Nt, And Dma Functions

    IDT Switch Partition and Port Configuration Notes A port in an operational mode is associated to the partition specified by the Switch Partition (SWPART) field in the corresponding Switch Port Control (SWPORTxCTL) register. The following switch port modes are considered operational modes.
  • Page 109: Table 5.1 Port Functions For Each Port Operating Mode

    IDT Switch Partition and Port Configuration Notes Regardless of a port’s operating mode, all registers in all functions of the port remain accessible via the switch’s global address space, via the SMBus slave interface, or via serial EEPROM (see Chapter 19, Register Organization).
  • Page 110 IDT Switch Partition and Port Configuration Notes A port is not associated with any switch partition if the disabled port mode is due to the Port Mode (MODE) field in the Switch Port Control (SWPORTxCTL) register being set to Disabled. Since the port is not associated with a switch partition in this mode, the port is unaffected by the state of any switch partition, and vice-versa.
  • Page 111 IDT Switch Partition and Port Configuration Notes The port responds to received TLPs as follows: – All received PCI Express configuration requests that do not target function 0 are completed with a configuration-request-retry-status completion. The intent of this requirement is to prevent stan- dard enumeration software from detecting the existence of port functions which may not be present in the port after the partition is configured.
  • Page 112 IDT Switch Partition and Port Configuration Notes • Since the link operates as an upstream port (i.e., downstream component), an automatic speed change is not initiated when the link enters L0. Automatic speed change may be enabled by modifying the value of the Initial Link Speed Change Control (ILSCC) bit in the PCI-to-PCI bridge function’s Phy Link Configuration 0 (PHYLCFG0) register.
  • Page 113 IDT Switch Partition and Port Configuration Notes Since the link operates as an upstream port (i.e., downstream component), an automatic speed change is not initiated when the link enters L0. Automatic speed change may be enabled by modifying the value of the Initial Link Speed Change Control (ILSCC) bit in the PCI-to-PCI bridge function’s Phy Link Configuration 0...
  • Page 114 IDT Switch Partition and Port Configuration Notes • Automatic speed change may be enabled by modifying the value of the Initial Link Speed Change Control (ILSCC) bit in the PCI-to-PCI bridge function’s Phy Link Configuration 0 (PHYLCFG0) register. – PCI Express requests that do not target functions 0, 1, 2 are completed with unsupported request status by the port.
  • Page 115: Port Operating Mode Change

    IDT Switch Partition and Port Configuration Notes • The negated value of PxAIN, PxILOCKP, PxPEP, PxPIN, and PxRSTN is determined as shown in Table 11.2. PCI Express requests that do not target function 0 or function 2 are completed with unsupported request status by the port. The completion has a value of all zeroes in the function number field of the completer ID.
  • Page 116: Table 5.2 Port Operating Mode Changes Supported By The Switch

    IDT Switch Partition and Port Configuration Notes US + US + US + NT + NT + UNATTACHED (UN) DISABLED (DIS) UPSTREAM (US) US + NT FROM US + DMA NT + DMA US + NT + DMA Table 5.2 Port Operating Mode Changes Supported by the Switch Note that the port operating mode changes shown as not supported in Table 5.2 only apply for direct...
  • Page 117: Common Operating Mode Change Behavior

    IDT Switch Partition and Port Configuration Notes Port Operating Mode Change via EEPROM When modifying the operating mode of a port via the serial EEPROM, the following recommendations and requirements apply. – Prior to modifying the port operating mode, it is required that the following proprietary timer regis- ters be set to 0x0.
  • Page 118 IDT Switch Partition and Port Configuration Notes Mode Change Effect on Source Partition A port operating mode change that results in a port being removed from a partition has the following effect on that partition (i.e., the source partition). If the port being removed is an upstream port, the removal of the port results in the partition behaving as described in section Partition Configuration on page 5-2.
  • Page 119 IDT Switch Partition and Port Configuration Notes L0s ASPM A switch partition exhibits a correlation between the L0s ASPM state of its upstream switch port and its downstream switch port(s). Refer to section Link Active State Power Management (ASPM) on page 7-12 and to the PCI Express Base Specification 2.1 for details.
  • Page 120 IDT Switch Partition and Port Configuration Notes INTx Interrupt Signaling Removing an upstream port from a partition has no effect on the partition since the interrupt state is associated with the root located above the upstream port that is being removed. An INTx state change signaled by a downstream switch port in the source partition has no effect on the upstream port as the latter is no longer associated with the partition.
  • Page 121 IDT Switch Partition and Port Configuration Notes L0s ASPM A switch partition exhibits a correlation between the L0s ASPM state of its upstream and downstream switch port(s). Refer to section Link Active State Power Management (ASPM) on page 7-12 and to the PCI Express Base Specification 2.1 for details.
  • Page 122 IDT Switch Partition and Port Configuration Notes Upstream switch port addition Adding an upstream switch port to a partition causes it to affect the L1 ASPM state of downstream switch ports in the destination partition. For example, if an upstream switch port in L0 is added to a switch partition, then an exit from L1 is initiated on all downstream switch ports in L1 ASPM.
  • Page 123: No Action Mode Change Behavior

    IDT Switch Partition and Port Configuration Notes PME Synchronization Any PME synchronization state associated with the port is reset. If the port has completed PME synchronization, then the LTSSM transitions to the Detect state and then to the LTSSM state, if any, speci- fied by the OMA field value.
  • Page 124 IDT Switch Partition and Port Configuration Notes Partition reconfiguration may be initiated by software through modification of the operating mode of a port, or initiated automatically as the result of a failover. When the Failover Enable (FEN) bit is set in the Switch Port Control (SWPORTxCTL) register, automatic failover reconfiguration is enabled.
  • Page 125: Partition Reconfiguration Latency

    IDT Switch Partition and Port Configuration Partition Reconfiguration Latency Notes The amount of time that switch takes to do a partition reconfiguration depends on the reconfiguration actions. A partition reconfiguration action may involve partition state changes and/or port operating mode changes.
  • Page 126 IDT Switch Partition and Port Configuration Notes PES32NT8xG2 User Manual 5 - 24 June 27, 2012...
  • Page 127: Failover

    Chapter 6 Failover ® Overview Notes The PES32NT8xG2 supports a flexible failover mechanism that allows the construction of highly-avail- able systems. The failover mechanism can be used to automatically reconfigure switch partitions (as described in section Partition Reconfiguration and Failover on page 5-21) upon detection of a pre-defined trigger.As shown in Figure 6.1, there is a clear distinction in the switch between the policy used to trigger a failover and the reconfiguration.
  • Page 128: Software Initiated Failover

    IDT Failover Notes The following sections describe each of these policies. In most systems it is expected that a failover capability will only use one policy at a time. While enabling multiple policies in a single failover capability is not prohibited, care must be exercised to ensure that only one failover occurs at a time. If a second failover is triggered while an earlier failover is in progress, then the behavior is undefined.
  • Page 129 IDT Failover Notes When a failover is triggered, the type of failover is determined by the state of the Failover Mode (FMODE) field in the corresponding Failover Capability Status (FCAPxSTS) register. – If the current failover mode is primary, then a secondary failover is triggered.
  • Page 130 IDT Failover Notes PES32NT8xG2 User Manual 6 - 4 June 27, 2012...
  • Page 131: Notes

    Chapter 7 Link Operation ® Overview Notes Link operation in the PES32NT8xG2 switch adheres to the PCI Express Base Specification Revision 2.1, supporting speeds of 2.5 GT/s and 5.0 GT/s. This chapter does not describe the controls related to the Serializer-Deserializer (SerDes) block associated with each port.
  • Page 132: Port Maximum Link Width

    IDT Link Operation Port Maximum Link Width Notes The Maximum Link Width (MAXLNKWDTH) field in a port’s PCI Express Link Capabilities (PCIELCAP) register indicates the maximum link width of the port based on the stack configuration at the time. There- fore, when a stack is configured such that ports are merged, the MAXLNKWDTH field is automatically set by the hardware to correctly indicate a merged port’s maximum link width.
  • Page 133: Figure 7.2 Lane Reversal For Highest Achievable Link Width Of X4

    IDT Link Operation Notes PExRP[n] lane 0 PExRP[n] lane 3 PExRP[n+1] lane 1 PExRP[n+1] lane 2 Switch Switch PExRP[n+2] lane 2 PExRP[n+2] lane 1 PExRP[n+3] lane 3 PExRP[n+3] lane 0 (a) Port trains to x4 without lane reversal (b) Port trains to x4 with lane reversal...
  • Page 134: Link Width Negotiation

    IDT Link Operation Notes PExRP[n] lane 7 PExRP[n] lane 0 PExRP[n+1] lane 6 PExRP[n+1] lane 1 PExRP[n+2] lane 5 PExRP[n+2] lane 2 PExRP[n+3] lane 4 PExRP[n+3] lane 3 Switch Switch PExRP[n+4] lane 3 PExRP[n+4] lane 4 PExRP[n+5] lane 2 PExRP[n+5]...
  • Page 135: Link Width Negotiation In The Presence Of Bad Lanes

    IDT Link Operation Notes The actual link width is determined dynamically during link training. Ports limited to a maximum link width of x8 are capable of negotiating to a x8, x4, x2, or x1 link width. The actual negotiated width of a link may be determined from the Negotiated Link Width (NLW) field in the corresponding port’s PCI Express...
  • Page 136: Dynamic Link Width Reconfiguration In The Pes32Nt8Xg2

    IDT Link Operation Notes Software may be notified of link width reconfiguration via the link bandwidth notification mechanism described in the PCI Express Base Specification. This mechanism is enabled by setting the Link Bandwidth Management Interrupt Enable (LBWINTEN) bit in the PCIELCTL register of switch downstream switch ports.
  • Page 137: Link Speed Negotiation In The Pes32Nt8Xg2

    IDT Link Operation Notes It is the responsibility of the upstream component of the link (i.e., switch downstream switch ports) to keep the link at the target link speed or at the highest common speed supported by both components of the link, whichever is lower.
  • Page 138: Software Management Of Link Speed

    IDT Link Operation Notes When operating at 5.0 GT/s, a PES32NT8xG2 port initiates a link speed downgrade in the following cases: – When the PHY layer cannot achieve reliable operation at the higher speed. In this case, the PES32NT8xG2 port continues to support the higher speed in the training-sets it transmits during link training.
  • Page 139: Link Retraining

    IDT Link Operation Notes For downstream switch 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 switch port when the PHY layer cannot achieve reliable oper- ation at the higher speed.
  • Page 140: Link Down Handling

    IDT Link Operation Notes • May be automatically entered (i.e., ASPM) or directed by software by placing the device in the state – L2/L3 Ready • The L2/L3 state is entered after the acknowledgement of a Power Management Event Turn Off (PME_Turn_Off) Message.
  • Page 141: Slot Power Limit Support

    IDT Link Operation Notes When a downstream switch port’s data-link indicates a DL_Down status, 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.
  • Page 142: Downstream Switch Port

    IDT Link Operation Downstream Switch Port Notes A Set_Slot_Power_Limit message is generated and transmitted by downstream switch ports when either of the following events occur: – A configuration write is performed to the corresponding PCIESCAP register when the link associ- ated with the downstream switch port is up.
  • Page 143: L1 Aspm

    IDT Link Operation Notes A port configured in NT function mode or NT with DMA function mode initiates L0s entry when all of the conditions listed below are met: – L0s ASPM is enabled via the PCIELCTL register of all functions in the port.
  • Page 144 IDT Link Operation Notes The PES32NT8xG2 upstream ports request entry into L1 based on the criteria defined below. The L1 entry conditions must be met for 1 ms before the upstream port transitions the link to the L1 state. If these conditions are met and the link is in the L0 or L0s states, then the hardware will request a transition to the L1 state from its link partner.
  • Page 145 IDT Link Operation Notes A port configured in downstream switch port mode initiates exit from L1 when either of the conditions listed below is met: – The port has a TLP scheduled for transmission on the link. – The upstream port in the switch partition has initiated exit from L1. The latency between the upstream port’s initiated exit from L1 and the downstream switch port’s initiated exit from L1 must...
  • Page 146: Link Status

    IDT Link Operation Notes The L1ASPMRTC register is located in the proprietary port-specific registers located in the PCI-to-PCI bridge function’s configuration space (see section Proprietary Port-Specific Registers in the PCI-to-PCI Bridge Function on page 19-11). This timer may be programmed from the nano-second range (i.e., 100 ns) up to the micro-second range (i.e., 64 µ...
  • Page 147: Crosslink

    IDT Link Operation Crosslink Notes PES32NT8xG2 ports support the optional crosslink capability specified in the PCI Express Base Specifi- cation. Per this specification, a crosslink is established between two downstream switch ports or two upstream ports. The device’s ports are capable of establishing crosslink with any link partner, including another switch port.
  • Page 148: Link Disable Operation On A Crosslink

    IDT Link Operation Link Disable Operation on a Crosslink Notes When a port is crosslinked, link disable operates as follows. – For a port operating in downstream switch port mode: • Regardless of the port’s physical layer mode of operation (i.e., downstream lanes or upstream lanes): If a higher layer directs the port to disable the link (i.e., the Link Disable (LDIS) bit is set in...
  • Page 149 IDT Link Operation Notes A switch port exits Gen 1 Compatibility Mode by clearing the G1CME field in the PHYLCFG0 register and fully retraining the link (i.e., via the FLRET bit the PHYLSTATE0 register). When this occurs, the training set bits listed in Table 7.2 behave per the definition in the PCI Express Base Specification.
  • Page 150 IDT Link Operation Notes PES32NT8xG2 User Manual 7 - 20 June 27, 2012...
  • Page 151: Serdes

    Chapter 8 SerDes ® Overview Notes This chapter describes the controllability of the Serialiazer-Deserializer (SerDes) block associated with each PES32NT8xG2 port. A SerDes block is composed of the serializing/deserializing logic for four PCI Express lanes (i.e., a SerDes “quad”), plus a central unit that controls the quad as a whole. This central unit is called CMU, and contains functionality such as a PLL to generate a high-speed clock used by each lane, initialization of the quad, etc.
  • Page 152 IDT SerDes Notes SerDes Quad 1 SerDes Quad 0 Stack 0 Configuration Lane3 Lane 2 Lane 1 Lane 0 Lane3 Lane 2 Lane 1 Lane 0 Port 0 Lane 7 Lane 6 Lane 5 Lane 4 Lane 3 Lane 2...
  • Page 153: Serdes Transmitter Controls

    IDT SerDes SerDes Transmitter Controls Notes The PES32NT8xG2 allows programmability of SerDes transmitter voltage level and de-emphasis, including support for the PCI Express optional low-swing mode, as well as a proprietary “amplitude boost” feature to increase the drive strength above its normal operating level (e.g., for operation across long traces).
  • Page 154: Pci Express Low-Swing Mode

    Programming of SerDes Controls The SerDes controls described above may be programmed by accessing IDT proprietary registers within the switch. The registers may be programmed via any of the mechanisms allowed by the PES32NT8xG2 (i.e., via PCI Express configuration accesses from a root, via EEPROM loading at boot- time, or via the switch’s SMBus slave interface).
  • Page 155: Serdes Transmitter Control Registers

    IDT SerDes Notes The selection of which of the two mechanism controls the SerDes transmit voltage is based on the setting of the TM field in the associated port’s PCIELCTL2 register. When the Transmit Margin (TM) field in the port’s PCIELCTL2 register is set to ‘Normal Operating Range’, the transmitter voltage level for each SerDes lane of the port is controlled via the corresponding...
  • Page 156: Table 8.5 Serdes Transmit Level Controls In The S[X]Txlctl0 And S[X]Txlctl1 Registers

    IDT SerDes Notes Relevant Relevant fields in PHY Operation Mode fields in S[x]TXLCTL1 S[x]TXLCTL0 Fine De- Drive Level / Voltage Data emphasis Fine De-emphasis Swing Rate emphasis Control Control Full-Swing 2.5 GT/s -3.5 dB FDC_FS3DBG1 TDVL_FS3DBG1 / CDC_FS3DBG1 Full-Swing 5.0 GT/s -3.5 dB...
  • Page 157: Table 8.7 Serdes Transmit Driver Settings In Gen 2 Mode With -3.5 Db De-Emphasis

    IDT SerDes Notes Settings of Relevant Fields in the Transmit Levels S[x]TXLCTL0 & S[x]TXLCTL1 Registers Drive De-empha- De-empha- Level sized Drive TDVL_FS3DBG1 CDC_FS3DBG1 FDC_FS3DBG1 TX_SLEW_G1 sis (dB) (mV) Level (mV) -3.4 -3.4 -3.3 -3.4 -3.5 -3.6 -3.7 -3.6 -3.6 -3.6 -3.6...
  • Page 158 IDT SerDes Notes Settings of Relevant Fields in the Transmit Levels S[x]TXLCTL0 & S[x]TXLCTL1 Registers De-empha- Drive De-empha- sized Drive Level TDVL_FS3DBG2 CDC_FS3DBG2 FDC_FS3DBG2 TX_SLEW_G2 sis (dB) Level (mV) (mV) -3.1 0x15 -3.0 0x14 -3.0 0x13 -3.0 0x12 -3.0 0x11 -3.1...
  • Page 159: Table 8.8 Serdes Transmit Driver Settings In Gen 2 Mode With -6.0 Db De-Emphasis

    IDT SerDes Notes Settings of Relevant Fields in the Transmit Levels S[x]TXLCTL0 & S[x]TXLCTL1 Registers De-empha- Drive De-empha- sized Drive Level TDVL_FS6DBG2 CDC_FS6DBG2 FDC_FS6DBG2 TX_SLEW_G2 sis (dB) Level (mV) (mV) 0x19 -6.3 -6.4 0x18 -6.3 0x17 -6.1 0x16 -6.0 0x15 -5.9...
  • Page 160: Figure 8.1 Relationship Between Coarse And Fine De-Emphasis Controls

    IDT SerDes Notes In addition to the SerDes settings described above, the user may apply an amplitude boost to the drive swing by setting the TX_AMPBOOST field in the S[x]TXLCTL0 register. Amplitude boost may be applied on a per-lane basis. Amplitude boost may be applied to increase the drive swings above the values shown in Tables 8.6, 8.7, and 8.8.
  • Page 161: Transmit Margining Using The Pci Express Link Control 2 Register

    IDT SerDes Notes Express Base Specification. As shown in the tables, the coarse de-emphasis setting is dependent on the transmit drive swing setting. Therefore, modifying the transmit drive swing must be done in conjunction with modifying the coarse de-emphasis setting.
  • Page 162: Low-Swing Transmitter Voltage Mode

    IDT SerDes Notes Full Swing Low Swing Mode Mode (mV) (mV) Table 8.9 PCI Express Transmit Margining Levels Supported by the PES32NT8xG2 Note that in compliance mode (i.e., when the associated port’s PHY LTSSM is in the Polling.Compliance state), the SerDes transmit level is controlled by the TM field in the associated port’s PCIELCTL2 register, and the de-emphasis setting is controlled by the LTSSM based on the rules described in Section 4.2.6.2.2...
  • Page 163: Table 8.10 Serdes Transmit Drive Swing In Low Swing Mode At Gen 1 Speed

    IDT SerDes Notes Drive Level TDVL_LSG1 (mV) 0x0F 0x0E 0x0D 0x0C 0x0B 0x0A 0x09 0x08 0x07 0x06 0x05 0x04 0x03 0x02 0x01 0x00 Table 8.10 SerDes Transmit Drive Swing in Low Swing Mode at Gen 1 speed Drive Level TDVL_LSG2...
  • Page 164: Receiver Equalization Controls

    IDT SerDes Notes Drive Level TDVL_LSG2 (mV) 0x02 0x01 0x00 Table 8.11 SerDes Transmit Drive Swing in Low Swing Mode at Gen 2 Speed (Part 2 of 2) When the PHY enters the Polling.Compliance state and low-swing mode is enabled, the following occurs: –...
  • Page 165 IDT SerDes Notes It is possible to explicitly power-down a SerDes quad by setting the POWERDN bit in the corresponding SerDes Control (S[x]CTL) register. Refer to the definition of this field for further details. Powering-down a SerDes shared by multiple ports results in all such ports being affected. Refer to section SerDes Numbering and Port Association on page 8-1 for a list of port/SerDes associations.
  • Page 166 IDT SerDes Notes PES32NT8xG2 User Manual 8 - 16 June 27, 2012...
  • Page 167: Power Management

    Chapter 9 Power Management ® Overview Notes This chapter describes the PES32NT8xG2 device power management support. This chapter does not describe link active state power management (ASPM). For a description of this topic, refer to section Link Active State Power Management (ASPM) on page 7-12. Located in the configuration space of each function in the PES32NT8xG2 (i.e., PCI-to-PCI Bridge, NT, and DMA functions) is a power management capability structure.
  • Page 168: Table 9.1 Pes32Nt8Xg2 Power Management State Transition Diagram

    IDT Power Management Notes Partition Reset Uninitialized Active cold Figure 9.1 PES32NT8xG2 Power Management State Transition Diagram From State To State Description D0 Uninitialized Partition reset (any type). D0 Uninitialized D0 Active Function configured by software D0 Active The Power Management State (PMSTATE) field in the PCI Power...
  • Page 169 IDT Power Management Notes – Any error message resulting from the reception of a TLP is reported in the same manner as when the bridge is not in D3 (e.g, generation of an ERR_NONFATAL message to the root). • This requires transitioning the link to the L0 state when error reporting is enabled and the link is not in L0.
  • Page 170: Power Management Event (Pme) Messages

    IDT Power Management Notes • This requires transitioning the link to the L0 state when error reporting is enabled and the link is not in L0. – Error messages resulting from any event other than the receipt of a TLP are discarded (i.e., no error message is generated).
  • Page 171: Nt Function Mode Or Nt With Dma Function Mode

    IDT Power Management Notes – When PME_TO_Ack aggregation is abandoned, the PES32NT8xG2 makes no attempt to abandon the PME_Turn_Off and PME_TO_Ack protocol on downstream switch ports. Devices downstream of the switch are allowed to respond with a PME_TO_Ack and transition to L2/L3 Ready.
  • Page 172 IDT Power Management Notes PES32NT8xG2 User Manual 9 - 6 June 27, 2012...
  • Page 173: Notes

    Chapter 10 Transparent Switch Operation ® Overview Notes As noted in Chapter 1, each PES32NT8xG2 switch partition operates logically as a completely indepen- dent PCI Express switch that implements the behavior and capabilities required of a switch by the PCI Express Base Specification Revision 2.1.
  • Page 174: Virtual Channel Support

    IDT Transparent Switch Operation Virtual Channel Support Notes In section Virtual Channel Support on page 4-5 there is a description of virtual channel support in the PES32NT8xG2 ports. The PCI-to-PCI bridge function contains a VC Capability Structure that provides architected port arbitration and TC/VC mapping for VC0. For port operating modes in which the PCI-to-PCI bridge function is function 0 of the port, the VC Capability Structure in this function provides architected port arbitration and TC/VC mapping for all functions of the port.
  • Page 175 IDT Transparent Switch Operation Notes When a CplDLk is received by the locked downstream switch port, it forwards the CplDLk transaction to the upstream port and locks the upstream port so that all subsequent TLPs destined to the locked port from other ports (except the locked downstream switch port) are blocked until the lock is released.
  • Page 176: Interrupts

    IDT Transparent Switch Operation Interrupts Notes The switch’s PCI-to-PCI bridge functions may be configured to issue interrupts due to several condi- tions. The interrupt sources each have a corresponding status bit in the PCI-to-PCI bridge function’s Inter- rupt Status (P2PINTSTS) register.
  • Page 177: Legacy Interrupt Aggregation

    IDT Transparent Switch Operation Notes When a port is configured to generate INTx messages, only INTA is used. Note that the Interrupt Pin register (INTRPIN) must be programmed accordingly. The MSI capability structure associated with the upstream port’s PCI-to-PCI bridge function is not by default part of the PCI capability structure linked-list located in the function’s configuration space.
  • Page 178: Access Control Services

    IDT Transparent Switch Operation Notes An Assert_INTx message is sent to the root by the upstream port when the aggregated state of the corresponding interrupt in the upstream port transitions from a negated to an asserted state. A Deassert_INTx message is sent to the root by the upstream port when the aggregated state of the corre- sponding interrupt in the upstream port function transitions from an asserted to a negated state.
  • Page 179 IDT Transparent Switch Operation Notes – ACS Peer-to-Peer Completion Redirect – ACS Upstream Forwarding – ACS Peer-to-Peer Egress Control – ACS Direct Translated Peer-to-Peer When a port operates in one of the multi-function upstream port modes listed above, the PCI-to-PCI bridge function supports the following ACS operations –...
  • Page 180: Figure 10.4 Acs Upstream Forwarding Example

    IDT Transparent Switch Operation Notes Upstream Port Intended TLP Route ACS Re-directed Route Bridge Virtual PCI Bus ACS Peer-to- Peer Request Re-direct Bridge Bridge Downstream Ports Figure 10.3 ACS Peer-to-Peer Request Re-direct at a Downstream Switch Port Figure 10.4 shows an example of ACS upstream forwarding at a downstream switch port. As with ACS Peer-to-Peer forwarding, the offending TLP received by the downstream switch port is re-directed towards the root-complex.
  • Page 181: Table 10.4 Prioritization Of Acs Checks For Request Tlps

    IDT Transparent Switch Operation Notes Upstream Upstream Port Port ACS Peer-to- Peer Request Redirect Intended TLP Route ACS Re-directed Route Bridge Endpoint Endpoint Bridge Non Transparent Interconnect Partition 1 – Virtual PCI Bus Partition 2 – Virtual PCI Bus Bridge...
  • Page 182: Ecrc Support

    IDT Transparent Switch Operation Notes ACS Check Priority Comment ACS Upstream For- 2 (Highest) Applicable to request or completion TLPs warding received by the downstream switch port on its ingress link that target the port’s egress link. This is not considered a peer-to-peer transfer.
  • Page 183: Error Detection And Handling By The Pci-To-Pci Bridge Function

    IDT Transparent Switch Operation Error Detection and Handling by the PCI-to-PCI Bridge Notes Function This section describes error conditions detected by the PCI-to-PCI bridge function. This includes phys- ical, data-link, and transaction layer errors detected by the port, as well as routing errors associated with the PCI-to-PCI bridge function in the port.
  • Page 184: Data Link Layer Errors

    IDT Transparent Switch Operation Notes PCI Express Function- Base Error Condition Specific Action Taken Specification Error Section Link Errors (8b/10b, loss of symbol 4.2.4.6 Correctable error process- lock, elastic buffer overflow/underflow, lane-to-lane deskew) Any TLP or DLLP framing rule violation.
  • Page 185: Transaction Layer Errors

    IDT Transparent Switch Operation Transaction Layer Errors Notes Table 10.9 lists non-ACS error checks associated with a PCI-to-PCI bridge function and the action taken when an error is detected. ACS error checks and handling are discussed in section ACS Error Handling on page 10-18.
  • Page 186: Table 10.9 Transaction Layer Errors Associated With The Pci-To-Pci Bridge Function

    IDT Transparent Switch Operation Notes Role Express Based Function Error Base (Advisory) Specific Action Taken Condition Specifica- Error Error tion Reporting Section Condition Poisoned TLP 2.7.2.2 Advisory when Detected Parity Error (DPE) bit in the received the correspond- PCISTS or SECSTS register set ing error is con- appropriately.
  • Page 187: Table 10.10 Conditions Handled As Unsupported Requests (Ur) By The Pci-To-Pci Bridge Function

    IDT Transparent Switch Operation Notes Role Express Based Function Error Base (Advisory) Specific Action Taken Condition Specifica- Error Error tion Reporting Section Condition Unexpected comple- 2.3.2 Yes if a func- Advisory when Non-advisory case: uncorrectable tion received tion claims the correspond- error processing.
  • Page 188: Table 10.11 Conditions Handled As Unexpected Completions (Uc) By The Pci-To-Pci Bridge Function

    IDT Transparent Switch Operation Notes PCI Express Base Conditions Handled as UR Description Specification Section Poisoned IO request, memory write Reception of a poisoned IO request, memory 2.7.2.2 request, type 0 configuration write write request, type 0 configuration write request, or message with data targeting...
  • Page 189: Table 10.12 Ingress Tlp Formation Checks Associated With The Pci-To-Pci Bridge Function

    IDT Transparent Switch Operation Notes TLP Type Error Check TLP must have a valid FMT/TYPE combination Data payload length <= Max_Payload_Size (i.e., MPS field in PCIEDCTL register) All TLPs with data LENGTH field must match actual payload data (i.e., FMT[1]=1)
  • Page 190: Table 10.13 Egress Malformed Tlp Error Checks

    IDT Transparent Switch Operation Notes TLP Type Error Check TLP traffic class (TC) must be mapped to VC0. TC to VC mapping is controlled by the TC/VC Map (TCVCMAP) field in the egress port’s VC Resource 0 Control (VCR0CTL) register of the PCI-to-PCI bridge function.
  • Page 191: Table 10.14 Acs Violations For Ports Operating In Downstream Switch Port Mode

    IDT Transparent Switch Operation Notes Role Based PCI Express (Advisory) Base ACS Check Error Action Taken Specification Reporting Section Condition ACS Source Validation 6.12.1.1 Advisory when If TLP is a non-posted request, a completion the correspond- with ‘completer abort’ status is generated.
  • Page 192: Table 10.15 Prioritization Of Transaction Layer Errors

    IDT Transparent Switch Operation Notes Transaction Layer Error Pollution Per section 6.2.3.2.3 of PCI Express Base Specification 2.1, transaction layer errors may be prioritized to prevent error pollution in AER. Error pollution rules only apply to errors associated with the reception of a TLP.
  • Page 193: Figure 10.6 Error Checking And Logging On A Received Tlp

    IDT Transparent Switch Operation Notes TLP Received by Done Function Handle per Table 13.9 Receiver Overflow Error? Handle per Table 13.9 ECRC TLP Dropped? Error? If ECRC error detected, handle per Table 13.9 but do not log Malformed error; Else, Malformed TLP? handle per Table 13.9...
  • Page 194 IDT Transparent Switch Operation Notes Note the following: – Except for ECRC and Poisoned TLP errors, all other errors detected on the received TLP cause the detecting function to consume, drop, or nullify the TLP. – Receiver overflow errors are always checked and logged.
  • Page 195: Routing Errors

    IDT Transparent Switch Operation Routing Errors Notes This section lists TLP routing errors that are detected by the PCI-to-PCI bridge function in the PES32NT8xG2 ports. Except for completions (section Completions (Routed by ID) on page 10-24), all of these errors are treated as unsupported requests.
  • Page 196: Error Emulation Control In The Pci-To-Pci Bridge Function

    IDT Transparent Switch Operation Notes Completions (Routed by ID) Completions for which there is no valid route across the switch (i.e., the completion can’t be forwarded) are treated as unexpected completions. This includes the following cases: – Completions that attempt to route back onto the link on which they were received, if ACS Upstream Forwarding is disabled.
  • Page 197 IDT Transparent Switch Operation Notes • The severity of the error must be set to fatal in the AERUESV register. – To emulate the detection of an advisory uncorrectable non-fatal error: – The desired error bit must be set in the P2PUEEM register. The error bit selected must qualify for advisory handling as specified in the PCI Express 2.1 specification.
  • Page 198 IDT Transparent Switch Operation Notes PES32NT8xG2 User Manual 10 - 26 June 27, 2012...
  • Page 199: Hot-Plug And Hot-Swap

    Chapter 11 Hot-Plug and Hot-Swap ® Overview Notes As illustrated in Figures 11.1 through 11.3, a PCI Express switch may be used in one of three hot-plug configurations. Figure 11.1 illustrates the use of the PES32NT8xG2 switch in an application in which two downstream switch ports are connected to slots into which add-in cards may be hot-plugged.
  • Page 200: Figure 11.2 Hot-Plug With Switch On Add-In Card Application

    IDT Hot-Plug and Hot-Swap Notes Upstream Link Add-In Card Port 0 PES32NT8xG2 Port x Port y PCI Express PCI Express Device Device Figure 11.2 Hot-Plug with Switch on Add-In Card Application Upstream Link Carrier Card Port 0 PES32NT8xG2 Master SMBus...
  • Page 201: Hot-Plug Signals

    IDT Hot-Plug and Hot-Swap Notes Associated with all PES32NT8xG2 ports is a hot-plug controller. However, hot-plug is only supported when a port is configured to operate in downstream switch port mode. In all other port operating modes, hot-plug is not supported and the hot-plug signals associated with the port are placed in a negated state.
  • Page 202: Table 11.2 Negated Value Of Unused Hot-Plug Output Signals

    IDT Hot-Plug and Hot-Swap Notes Negated Output Negated Output Value with Non- Value with Signal Inverted Polarity Inverted Polarity (IPXxxx = 0) (IPXxxx = 1) PxAIN 1 (high) 0 (low) PxILOCKP 0 (low) 1 (high) PxPEP 0 (low) 1 (high)
  • Page 203: Port Reset Outputs

    IDT Hot-Plug and Hot-Swap Notes The default value of fields in the PCIESCTL register following any reset other than a switch fundamental reset (e.g., a partition fundamental reset, partition hot reset, partition upstream secondary bus, or partition downstream secondary bus reset) is determined by the value of the corresponding field in the port’s PCI Express Slot Control Initial Value (PCIESCTLIV) register when the corresponding hot-plug capability is enabled.
  • Page 204: Power Good Controlled Reset Output

    IDT Hot-Plug and Hot-Swap Notes PWR2RST RST2PWR PxPEP PxRSTN Figure 11.4 Power Enable Controlled Reset Output Mode Operation While slot power is disabled, the corresponding downstream switch port reset output is asserted. When slot power is enabled by writing a zero to the PCC bit, the Port x Power Enable Output (PxPEP) is asserted and then power to the slot is enabled and the corresponding downstream switch port reset output is negated.
  • Page 205: Hot-Plug Events

    IDT Hot-Plug and Hot-Swap Notes possible to meet a profile’s power level invalid to reset asserted timing specification (i.e., PxPWRGDN to PxRSTN). Systems that require a shorter time interval may implement this functionality external to the switch. Hot-Plug Events The hot-plug controller associated with a downstream switch port slot may generate an interrupt or wakeup event.
  • Page 206: Hot-Swap

    IDT Hot-Plug and Hot-Swap Notes GPEN is a GPIO alternate function. The GPIO pin will not be asserted when GPEN is asserted unless it is configured to operate as an alternate function. Whenever a port signals a hot-plug event through asser- tion of the GPEN signal, the corresponding port’s status bit is set in the General Purpose Event Status...
  • Page 207: Smbus Interfaces

    Chapter 12 SMBus Interfaces ® Overview Notes The PES32NT8xG2 has two SMBus interfaces. The slave SMBus interface provides full access to all software-visible registers, allowing every register in the device to be read or written by an external SMBus master. The slave SMBus may also be used to program the serial EEPROM used for initialization. The Master SMBus interface provides connection for an optional external serial EEPROM used for initialization and optional external I/O expanders.
  • Page 208: Serial Eeprom

    IDT SMBus Interfaces Notes The goal of the reset procedure is to ensure interoperability with serial EEPROM or IO expander devices that do not have a reset signal input. When the switch is reading from these devices and a fundamental reset is applied to the switch (e.g., via assertion of the PERSTN input signal), the I...
  • Page 209: Initialization From Serial Eeprom

    IDT SMBus Interfaces Initialization from Serial EEPROM Notes During initialization from the optional serial EEPROM, the master SMBus interface reads configuration blocks from the serial EEPROM and updates corresponding registers in the switch. Any software-visible register in the device may be initialized with values stored in the serial EEPROM. All software-visible regis- ters have a system address in the PES32NT8xG2’s global address space.
  • Page 210: Figure 12.2 Single Double-Word Initialization Sequence Format

    IDT SMBus Interfaces Notes There are five configuration block types that may be stored in the serial EEPROM. – Single double-word initialization sequence – Sequential double-word initialization sequence – Jump block – Wait block – Configuration done sequence The first type is a single double-word initialization sequence. A single double-word initialization sequence occupies seven bytes in the serial EEPROM and is used to initialize a single double-word register quantity.
  • Page 211: Figure 12.3 Sequential Double-Word Initialization Sequence Format

    IDT SMBus Interfaces Notes CFG TYPE Reserved Byte 0 (must be zero) Byte 1 SYSADDR[9:2] Byte 2 SYSADDR[17:10] Byte 3 NUMDW[7:0] Byte 4 NUMDW[15:8] Byte 5 DATA0[7:0] Byte 6 DATA0[15:8] Byte 7 DATA0[23:16] Byte 8 DATA0[31:24] Byte 4n+5 DATAn[7:0] Byte 4n+ 6...
  • Page 212: Figure 12.5 Execution Of A Jump Configuration Block

    IDT SMBus Interfaces Notes During serial EEPROM initialization, when the SMBus master interface reads a jump configuration block, it evaluates the switch mode to decide if the jump should be taken as shown in pseudo code in Figure 12.5. When the jump is not taken, sequential execution of the Serial EEPROM initialization continues at the address immediately following the jump configuration block.
  • Page 213: Figure 12.6 Example Of Multiple Configuration Images In Serial Eeprom

    IDT SMBus Interfaces Notes Serial EEPROM Jump 0 Block Jump 1 Block Configuration Image A Configuration Done Block Configuration Image B Configuration Done Block Configuration Image C Configuration Done Block 0xFFFF Figure 12.6 Example of Multiple Configuration Images in Serial EEPROM The PES32NT8xG2 imposes no limitations on the number of jump configuration blocks that may be executed while reading the serial EEPROM.
  • Page 214: Figure 12.7 Wait Configuration Block

    IDT SMBus Interfaces Notes CFG TYPE Reserved Byte 0 (must be zero) Byte 1 SYSADDR[9:2] Byte 2 SYSADDR[17:10] Byte 3 DATA[7:0] Byte 4 DATA[15:8] Byte 5 DATA[23:16] Byte 6 DATA[31:24] Byte 7 MASK[7:0] Byte 8 MASK[15:8] Byte 9 MASK[23:16] Byte 10 MASK[31:24] Figure 12.7 Wait Configuration Block...
  • Page 215: Figure 12.8 Configuration Done Sequence Format

    IDT SMBus Interfaces Notes CFG TYPE Reserved Byte 0 (must be zero) Byte 1 CHECKSUM[7:0] Figure 12.8 Configuration Done Sequence Format The checksum in the configuration done sequence enables the integrity of the serial EEPROM initializa- tion to be verified. The checksum is computed in the following manner. An 8-bit counter is initialized to zero and the 8-bit sum is computed over the configuration bytes stored in the serial EEPROM, including the entire contents of the configuration done sequence, with the checksum field initialized to zero.
  • Page 216: Programming The Serial Eeprom

    IDT SMBus Interfaces Notes Error Action Taken Configuration Done Sequence checksum - Set RSTHALT bit in SWCTL register mismatch with that computed - ICSERR bit is set in the SMBUSSTS register - EED bit is set in the SMBUSSTS register...
  • Page 217: I/O Expanders

    IDT SMBus Interfaces Notes To write a byte to the serial EEPROM, the root should configure the ADDR field with the byte address of the serial EEPROM location to be written and set the OP field to “write.” If the serial EEPROM is not busy (i.e., the BUSY bit is cleared), then the write operation may be initiated by writing the value to be written to...
  • Page 218 IDT SMBus Interfaces Notes During the PES32NT8xG2 initialization, the SMBus/I2C-bus address allocated to each I/O expander used in that system configuration should be written to the corresponding I/O Expander Address (IOE[20:0]ADDR) field. The IOExADDR fields are contained in the I/O Expander Address (IOEX- PADDR[5:0]) registers.
  • Page 219 IDT SMBus Interfaces Notes The following I/O expander configuration sequence is issued by the switch to I/O expanders 17, 18, and 19 (i.e., the one that contains link up and link activity status). 1. Write link up status for all ports to the lower eight I/O expander pins (i.e., I/O-0.0 through I/O-0.7) to I/O expander register 2.
  • Page 220: Table 12.5 Pin Mapping For I/O Expanders 0 Through 3

    IDT SMBus Interfaces Notes expander, the switch will not issue a master SMBus transaction to read the updated state of the I/O expander inputs more frequently than once every 40 milliseconds (i.e., the I/O expander update period). This delay in sampling may be used to eliminate external debounce circuitry.
  • Page 221: Table 12.6 I/O Expander 0 Through 3 Port Mapping

    IDT SMBus Interfaces Notes SMBus I/O Expander Type Signal Description 13 (I/O-1.5) PyPIN Port y power indicator output 14 (I/O-1.6) PyPEP Port y power enable output 15 (I/O-1.7) PyRSTN Port y reset output Table 12.5 Pin Mapping for I/O Expanders 0 through 3 (Part 2 of 2) I/O-x.y corresponds to the notation used for PCA9555 port x I/O pin y.
  • Page 222: Table 12.9 Pin Mapping Of I/O Expander 17

    IDT SMBus Interfaces Notes I/O-x.y corresponds to the notation used for PCA9555 port x I/O pin y. I/O Expander 14 SMBus I/O Expander Type Signal Description 0 (I/O-0.0) P0ILOCKST Port 0 electromechanical interlock state input 1 (I/O-0.1) P2ILOCKST Port 2 electromechanical interlock state input 2 (I/O-0.2)
  • Page 223 IDT SMBus Interfaces Notes SMBus I/O Expander Type Signal Description 8 (I/O-1.0) P8LINKUPN Port 8 link up status output 9 (I/O-1.1) Unused Reserved 10 (I/O-1.2) Unused Reserved 11 (I/O-1.3) Unused Reserved 12 (I/O-1.4) P12LINKUPN Port 12 link up status output 13 (I/O-1.5)
  • Page 224 IDT SMBus Interfaces Notes I/O Expander 19 SMBus I/O Expander Type Signal Description 0 (I/O-0.0) P16LINKUPN Port 16 link up status output 1 (I/O-0.1) Unused Reserved 2 (I/O-0.2) Unused Reserved 3 (I/O-0.3) Unused Reserved 4 (I/O-0.4) P20LINKUPN Port 20 link up status output 5 (I/O-0.5)
  • Page 225: Slave Smbus Interface

    IDT SMBus Interfaces Notes SMBus I/O Expander Type Signal Description 8 (I/O-1.0) PART0PERSTN Partition 0 Fundamental Reset Input 9 (I/O-1.1) PART1PERSTN Partition 1 Fundamental Reset Input 10 (I/O-1.2) PART2PERSTN Partition 2 Fundamental Reset Input 11 (I/O-1.3) PART3PERSTN Partition 3 Fundamental Reset Input 12 (I/O-1.4)
  • Page 226: Smbus Transactions

    IDT SMBus Interfaces SMBus Transactions Notes The slave SMBus interface responds to the following SMBus transactions initiated by an SMBus master. See the SMBus Specification Version 2.0, August 3, 2000, SBS Implementers Forum for a detailed descrip- tion of these transactions.
  • Page 227: Table 12.15 Csr Register Read Or Write Operation Byte Sequence

    IDT SMBus Interfaces Notes CSR Register Read or Write Operation Table 12.15 indicates the sequence of data as it is presented on the slave SMBus following the byte address of the Slave SMBus interface. Byte Field Description Position Name CCODE Command Code.
  • Page 228: Table 12.16 Csr Register Read Or Write Cmd Field Description

    IDT SMBus Interfaces Notes Name Type Description Field BELL Read/Write Byte Enable Lower. When set, the byte enable for bits [7:0] of the data word is enabled. BELM Read/Write Byte Enable Lower Middle. When set, the byte enable for bits [15:8] of the data word is enabled.
  • Page 229: Table 12.17 Serial Eeprom Read Or Write Operation Byte Sequence

    IDT SMBus Interfaces Notes Byte Field Description Position Name CCODE Command Code. Slave Command Code field described in Table 12.14. BYTECNT Byte Count. The byte count field is only transmitted for block type SMBus transactions. SMBus word and byte accesses to not contain this field.
  • Page 230: Figure 12.12 Csr Register Read Using Smbus Block Write/Read Transactions With Pec

    IDT SMBus Interfaces Notes Name Type Description Field NAERR RW1C No Acknowledge Error. This bit is set if an unexpected NACK is observed during a master SMBus transaction when accessing the serial EEPROM. This bit has the same function as the NAERR bit in the SMBUSSTS register.
  • Page 231: Figure 12.14 Csr Register Write Using Smbus Block Write Transactions With Pec Disabled

    IDT SMBus Interfaces Notes Switch Slave CCODE (Switch busy with previous command, not ready for a new command) SMBus Address START,END Switch Slave CCODE (Switch busy with previous command, not ready for a new command) SMBus Address START,END Switch Slave...
  • Page 232: Setting Up I2C Commands For Block Transactions

    IDT SMBus Interfaces Notes Switch Slave CCODE CMD=read ADDRL SMBus Address START, Word Switch Slave CCODE ADDRU SMBus Address END, Byte Switch Slave CCODE (Switch not ready with data) SMBus Address START,Word Switch Slave CCODE SMBus Address START,Word Switch Slave...
  • Page 233: Smbus Transactions

    IDT SMBus Interfaces Notes Byte Field Description Position Name CCODE Command Code. Slave Command Code field BYTECNT Byte Count. The byte count field is only transmitted for block type SMBus transactions. SMBus word and byte accesses do not contain this field. The byte count field indicates the number of bytes following the byte count field when performing a write or setting up for a read.
  • Page 234: Table 12.20 Slave Smbus Command Code Fields

    IDT SMBus Interfaces Notes Field Description Fields Name End of transaction indicator. Setting both START and END signifies a single transaction sequence 0 - Current transaction is not the last read or write sequence. 1 - Current transaction is the last read or write sequence.
  • Page 235: Examples Of Setting Up The I2C Csr Byte Sequence For A Csr Register Read

    Read The pseudo examples below demonstrate the block transaction settings for a CSR register read. As an example, in many of the IDT utilities the CSR byte sequence array is passed to a TotalPhase Aardvark I2C control function. Table 12.22 lists the constant variables used in this example of setting up the command byte array.
  • Page 236: Table 12.23 I2C Command Byte Array Indices

    IDT SMBus Interfaces Notes The CSR_Offset is shifted 2 bits to the right so that DWORD aligned register offsets are only accessible; this step may not be needed for some devices. Read BYTE Setup Steps 2 and 3 show how each index in the CSR byte sequence array is set for a BYTE read operation.
  • Page 237: Table 12.24 I2C Command Byte Array Indices

    IDT SMBus Interfaces Notes Read WORD Setup Steps 2 and 3 in this section (see Step 1 above) shows how each index in the CSR byte sequence array is set for a WORD read operation. For step 3, the transaction size is a value that is passed to the I2C control function so that it knows how many bytes are being dealt with in the CSR byte sequence.
  • Page 238: Examples Of Setting Up The I2C Csr Byte Sequence For A Csr Register Write

    IDT SMBus Interfaces Notes Step 2. Prepare the I2C byte array Table 12.25 shows the block byte array assignments (in increasing index order starting from index 0). Address offset 0 is used in the examples. Index # Assignment Description CCode_i |= CCode_Block...
  • Page 239: Table 12.26 I2C Command Byte Array Indices

    IDT SMBus Interfaces Notes Write BYTE Setup Steps 2 and 3 show how each index in the CSR byte sequence array is set for a BYTE write operation. Step 2. Prepare the I2C byte array Table 12.26 shows the block byte array assignments (in increasing index order starting from index 0).
  • Page 240: Table 12.27 I2C Command Byte Array Indices

    IDT SMBus Interfaces Notes Write WORD Setup Steps 2 and 3 shows how each index in the CSR byte sequence array is set for a WORD write opera- tion. Step 2. Prepare the I2C byte array Table 12.27 shows the block byte array assignments (in increasing index order starting from index 0).
  • Page 241: Table 12.28 I2C Command Byte Array Indice

    IDT SMBus Interfaces Notes Index 6 - Set the upper data byte BKDtL_i+1 = high byte of word data BKDtL_i+1 = 0x22 (of 0xBBAA2211) Step 3. Calculate the transaction size TranSize TranSize_Block + word_length 5 + 2 Write DWORD Setup Steps 2 and 3 show how each index in the CSR byte sequence array is set for a DWORD write opera- tion.
  • Page 242 IDT SMBus Interfaces Notes Index 3 - Set the lower CSR register offset BKOfL_i = CSR_Offset & 0xFF BKOfL_i = 0x00 & 0xFF = 0 Index 4 - Set the upper CSR register offset BKOfU_i = (CSR_Offset & 0xFF00) >> 8 BKOfU_i = (0x00 &...
  • Page 243: General Purpose I/O

    Chapter 13 General Purpose I/O ® Overview Notes The switch has 9 General Purpose I/O (GPIO) pins that may be individually configured as general purpose inputs, general purpose outputs, or alternate functions. GPIO pins are controlled by the General Purpose I/O Function (GPIOFUNC), General Purpose I/O Configuration (GPIOCFG), General Purpose I/O Data (GPIOD), and General Purpose I/O Alternate Function Select (GPIOAFSEL) register.
  • Page 244: Table 13.2 Gpio Alternate Function Pin Assignment

    IDT General Purpose I/O Notes GPIO Alternate Alternate Function 0 Function 1 PART0PERSTN P16LINKUPN PART1PERSTN P16ACTIVEN PART2PERSTN P4LINKUPN PART3PERSTN P4ACTIVEN FAILOVER0 P0LINKUPN GPEN P0ACTIVEN FAILOVER1 FAILOVER3 FAILOVER2 P8LINKUPN IOEXPINTN P8ACTIVEN Table 13.2 GPIO Alternate Function Pin Assignment Alternate function signals are described in Table 13.3.
  • Page 245: Notes

    Chapter 14 Non-Transparent Switch Operation ® Overview Notes The term non-transparent operation is used in this document to describe the operation of the NT func- tion. This chapter describes the PES32NT8xG2’s non-transparent operation. The PCI Express architectural model is one in which a root, typically the main CPU, is responsible for configuring a tree of endpoints (i.e., a hierarchy of virtual PCI buses).
  • Page 246: Bar Limit

    IDT Non-Transparent Switch Operation Notes Description BAR 0 32-bit BAR that maps 4 KB NT-endpoint configuration registers Lower half of 64-bit BAR that maps 4 KB NT-endpoint configuration registers 32-bit BAR with direct address translation Lower half of 64-bit BAR with direct address translation...
  • Page 247: Figure 14.1 Bar Limit Operation

    IDT Non-Transparent Switch Operation Notes Associated with each BAR is a BAR Limit Address (BARLIMITx) register. The limit address specified by this register allows arbitrary control of the aperture size associated with a BAR. Using this capability, the effective aperture size may be set arbitrarily to any value, in 1 KB multiples, up to the power of two aperture size requested by the BAR.
  • Page 248: Mapping Nt Configuration Space To Bar 0

    IDT Non-Transparent Switch Operation Mapping NT Configuration Space to BAR 0 Notes As mentioned above, the 4 KB configuration space associated with the NT endpoint may be mapped into 32-bit memory using BAR 0. BAR 0 and BAR 1 may be paired to map the 4 KB configuration space associated with the NT endpoint into 64-bit memory.
  • Page 249: Lookup Table Address Translation

    IDT Non-Transparent Switch Operation Notes The destination partition of the translated TLP is specified by the Translated Partition (TPART) field in the corresponding BARSETUPx register. If the destination partition associated with the translated TLP is invalid (e.g., there is no NT endpoint associated with the destination partition, the destination partition is not in the active state, or the destination partition is the same as the partition on which the TLP was received), then the TLP is treated as an unsupported request by the NT endpoint that received the request.
  • Page 250: Figure 14.4 Lookup Table Entry Format

    IDT Non-Transparent Switch Operation Notes When the BAR is configured to operate as an address window with lookup table address translation, valid values for the SIZE field in the corresponding BARSETUPx register are 14 through 37 (values greater than 16 require a 64-bit BAR). Setting the SIZE field outside this range produces undefined results.
  • Page 251: Table 14.2 12-Entry Lookup Table Parameters

    IDT Non-Transparent Switch Operation Notes The destination partition associated with the translated TLP is specified by the partition field in the lookup table entry. If the partition associated with the translated TLP is invalid (e.g., there is no NT endpoint...
  • Page 252: Table 14.3 24-Entry Lookup Table Parameters

    IDT Non-Transparent Switch Operation Notes BARSETU Base Aperture Page Index Offset Px SIZE Address Size Size (bits) (bits) Field (bits) 16 KB 512 B [63:14] [13:9] [8:0] 32 KB 1 KB [63:15] [14:10] [9:0] 64 KB 2 KB [63:16] [15:11]...
  • Page 253: Id Translation

    IDT Non-Transparent Switch Operation ID Translation Notes PCI Express TLPs may be categorized into request TLPs and completion TLPs. – A request TLP is a packet used to initiate a transaction. – A completion TLP is a packet used to terminate, or partially terminate a transaction sequence.
  • Page 254 IDT Non-Transparent Switch Operation Notes Field Description Field Name Address Type Processing. This field specifies the processing of the address type (AT) field on request TLPs. Refer to section Address Type Processing on page 14- Completion No Snoop Processing. This field specifies the no snoop processing on completion TLPs.
  • Page 255: Request Id Translation

    IDT Non-Transparent Switch Operation Notes ADDR TBLBASE Yes* TBLLIMIT > Protection Violation Mapping Table Entry * Yes means that (ADDR + TBLBASE) > TBLLIMIT Figure 14.6 NT Table Partitioning – The physical NT Mapping table entry accessed is equal to the sum of the partition NT Mapping table entry, specified by the ADDR field in the NTMTBLADDR register, with the TBLBASE field in the NTMTBLPROT register associated with the partition.
  • Page 256: Figure 14.7 Request Tlp Requester Id Translation

    IDT Non-Transparent Switch Operation Notes The lookup is performed by matching the 16-bit requester ID in the request TLP along with the partition associated with the NT endpoint to entries in the NT Mapping table. If a lookup match is not found, then the TLP is treated as an unsupported request.
  • Page 257: Completion Id Translation

    IDT Non-Transparent Switch Operation Notes • The bus field is replaced by the captured bus number of the NT endpoint associated with the partition of the translated TLP. • The device and function fields are replaced by the value 0x3. This corresponds to device 0, func- tion 3.
  • Page 258: Requester Id Capture Register

    IDT Non-Transparent Switch Operation Notes If the Completion Enable (CPEN) bit is cleared in the NTCTL register of the NT endpoint associated with the translated TLP (i.e., in the destination partition), then the completion is silently dropped by the NT endpoint that received the request (i.e., in the source partition).
  • Page 259: Address Type Processing

    IDT Non-Transparent Switch Operation Notes If the Completion No Snoop Processing (CNS) field in the NT Mapping entry corresponding to the extracted NT Mapping table index (see section Completion ID Translation on page 14-13) is set, then the No Snoop attribute in the translated TLP is inverted. If the CNS bit is cleared, then the No Snoop attribute in the translated TLP is equal to that of the received completion TLP (i.e., the No Snoop attribute is not modi-...
  • Page 260: Doorbell Registers

    IDT Non-Transparent Switch Operation Doorbell Registers Notes Doorbells facilitate event signaling between partitions. Associated with each NT endpoint are one 32-bit outbound doorbell register and one 32-bit inbound doorbell register. An outbound doorbell request from an NT endpoint is initiated by writing a one to the corresponding bit in the Outbound Doorbell Set (OUTD- BELLSET) register.
  • Page 261: Message Registers

    IDT Non-Transparent Switch Operation Notes Partition 0 Outbound Partition 1 Outbound Partition 7 Outbound Doorbell Bit x Doorbell Bit x Doorbell Bit x Global Outbound Doorbell Global Outbound Doorbell Global Outbound Doorbell Mask x, Bit 0 Mask x, Bit 1...
  • Page 262: Punch-Through Configuration Requests

    IDT Non-Transparent Switch Operation Notes OUTMSGx Partition y SWPyMSGCTLx.PART Mapping Function SWPyMSGCTLx.REG Partition w INMSGz Figure 14.10 Logical Representation of Message Register Operation Since the mapping of outbound message registers to inbound message registers need not be one-to- one, it is possible to map multiple outbound message registers, from typically different partitions, to a single inbound message register.
  • Page 263: Re-Programming The Bus Number Of The Nt Function

    IDT Non-Transparent Switch Operation Notes Punch-through requests are always emitted on the NT function’s link. In port operating modes with multiple functions (e.g., upstream switch port with NT function), it is not allowed for punch through requests issued by the NT function to hit the primary/secondary/subordinate window of the PCI-to-PCI bridge func- tion or the bus/device/function ID associated with other functions in the port.
  • Page 264: Interrupts

    IDT Non-Transparent Switch Operation Notes Normally, devices with a PCI Express port capture the bus number associated with the port on reception of type 0 configuration write requests that target the port. In system scenarios where there is no root complex in the PCI Express hierarchy, the devices will not receive type 0 configuration write requests.
  • Page 265: Virtual Channel Support

    IDT Non-Transparent Switch Operation Notes The interrupt sources each have a corresponding status bin in the NT Endpoint Interrupt Status (NTINTSTS) register. – When an interrupt source requests service, the corresponding bit in the NTINTSTS register is set. – An interrupt source may be masked from generating an interrupt by setting the corresponding mask bit in the NT Endpoint Interrupt Mask (NTINTMSK) register.
  • Page 266: Maximum Payload Size

    IDT Non-Transparent Switch Operation Maximum Payload Size Notes The PES32NT8xG2 requires that the Maximum Payload Size (MPS) field in the PCI Express Device Control (PCIEDCTL) register be set identically in all functions (i.e., PCI-to-PCI bridge, NT, and DMA) of a partition.
  • Page 267: Access Control Services (Acs)

    IDT Non-Transparent Switch Operation Notes • When ECRC checking is not enabled in the NT endpoint, there is a possibility of silent data corruption on packets that cross the NTB (i.e., when a TLP with ECRC error is received by the NT endpoint, the NT endpoint does not check ECRC, and a new ECRC is re-computed by the NT endpoint in the destination partition, thereby “hiding”...
  • Page 268: Table 14.2 Acs Checks Performed By The Nt Function In A Port Operating In Multi-Function Mode

    IDT Non-Transparent Switch Operation Notes PCI Express Error Base ACS Check Reporting Action Taken Specification Condition Section ACS Peer-to-Peer 6.12.1.1 Offending request is redirected upstream (P2P) Request (not an ACS viola- towards root complex. Redirect tion) ACS P2P Comple- Offending completion is redirected tion Redirect upstream towards root complex.
  • Page 269: Error Detection And Handling By The Nt Function

    IDT Non-Transparent Switch Operation Notes Upstream Upstream Port Port ACS Peer-to- Peer Request Redirect Intended TLP Route ACS Re-directed Route Bridge Endpoint Endpoint Bridge Non Transparent Interconnect Partition 1 – Virtual PCI Bus Partition 2 – Virtual PCI Bus Bridge...
  • Page 270: Physical Layer Errors

    IDT Non-Transparent Switch Operation Notes Some of the errors described below are marked as function-specific when the “function claims the TLP”. A function claims a TLP in the following cases: NT Endpoint function: – Address Routed TLPs: The TLP address falls within the address space range(s) programmed in the function’s base address registers (BARs).
  • Page 271: Table 14.4 Transaction Layer Errors Associated With The Nt Function

    IDT Non-Transparent Switch Operation Notes Role Based PCI Express Function- (Advisory) Error Base Specific Error Action Taken Condition Specification Error Reporting Section Condition Poisoned TLP 2.7.2.2, 6.2.3.2.4.3 Advisory when Detected Parity Error bit received the correspond- (PCISTS.DPE) is set. ing error is con-...
  • Page 272 IDT Non-Transparent Switch Operation Notes Role Based PCI Express Function- (Advisory) Error Base Specific Error Action Taken Condition Specification Error Reporting Section Condition Completer abort 2.3.1 N/A (always Not applicable. The NT function non-advisory) does not issue completions with ‘Completer Abort’ status except for ACS violations.
  • Page 273: Table 14.5 Conditions Handled As Unsupported Requests (Ur) By The Nt Function

    IDT Non-Transparent Switch Operation Notes PCI Express Conditions Handled as UR Description Base Specifica- tion Sect. Effective BAR Aperture check Refer to section BAR Limit on page 14-2. Lookup Table Address Translation Refer to section Lookup Table Address error: Translation on page 14-5.
  • Page 274: Table 14.6 Conditions Handled As Unexpected Completion (Uc) By The Nt Function

    IDT Non-Transparent Switch Operation Notes PCI Express Conditions Handled as Base Description Specification Section Non function-specific unexpected Port receives a completion TLP that is not claimed 6.2.4 completion by any function of the port. This is a non function- specific error and is therefore logged in all functions of the port.
  • Page 275: Ntb Inter-Partition Error Propagation

    IDT Non-Transparent Switch Operation Notes The following function-specific errors require that the offending TLP’s header be logged in the NT func- tion’s AER capability structure. – Reception of a request that is unsupported and is claimed by the NT function.
  • Page 276 IDT Non-Transparent Switch Operation Notes When a TLP is routed across the PES32NT8xG2 (within a partition or across partitions via the NTB), each function that receives the TLP checks for errors. Thus, it is possible that more than one function detect and report an error associated with the TLP.
  • Page 277 IDT Non-Transparent Switch Operation Malformed TLP Error Notes In the PES32NT8xG2, malformed TLP errors are checked at the ingress port that receives the packet from the link, or at the egress port (if any) that transmits the packet. Malformed TLPs are nullified by the function that detects the error and thus no other functions in the logical path of the TLP will detect this type of error.
  • Page 278 IDT Non-Transparent Switch Operation Notes When the PCI-to-PCI bridge function in Partition 2 detects the UR error, it logs it as such and generates a completion TLP destined towards the NT Endpoint function associated with Partition 2. The completion TLP is then transferred across the NTB and transmitted by the NT Endpoint in Partition 1 towards the initi- ator of the request.
  • Page 279 IDT Non-Transparent Switch Operation Notes PCI-to-PCI bridge function of the upstream port in partition 2, and PCI-to-PCI bridge function of the down- stream switch port in partition 2) checks for UR errors. Also, notice that the request TLP logically stops at the PCI-to-PCI bridge function of the downstream switch port in partition 2 since this function detects the UR error.
  • Page 280: Table 14.9 Error Logging At Each Function For Poisoned Tlp Example

    IDT Non-Transparent Switch Operation Notes Upstream Upstream Port Port Poisoned TLP’s Logical Path Bridge Endpoint Endpoint Bridge Non Transparent Interconnect Partition 1 – Virtual PCI Bus Partition 2 – Virtual PCI Bus Bridge Bridge Bridge Bridge Downstream Ports Figure 14.16 Poisoned TLP Error Propagation Example Table 14.9 shows the error logging for each function in the TLP’s logical path.
  • Page 281 IDT Non-Transparent Switch Operation Notes Function Error Logging NT Endpoint (Partition 2) Refer to row corresponding to ‘Poisoned TLP received’ in Table 14.4. In the table, this NT function is considered the “NT endpoint in the destination partition”. Upstream PCI-to-PCI Bridge (Partition 2) Refer to row corresponding to ‘Poisoned TLP...
  • Page 282: Table 14.10 Error Logging At Each Function For Poisoned Tlp Example

    IDT Non-Transparent Switch Operation Notes that the non-posted TLP’s request is unsupported (e.g., the downstream switch port’s link is down). As a result, the downstream switch port handles the TLP as an supported request error and generates a comple- tion TLP with UR status.
  • Page 283: Error Emulation Control In The Nt Function

    IDT Non-Transparent Switch Operation Notes Function Error Logging NT Endpoint (Partition 2) Refer to row corresponding to ‘Poisoned TLP received’ in Table 14.4. In the table, this NT function is considered the “NT endpoint in the destination partition”. Additionally, refer to row corresponding to ‘Completion with UR status received’...
  • Page 284: Non Transparent Operation Restrictions

    IDT Non-Transparent Switch Operation Notes Due to a limitation in the hardware, it is not possible to emulate the detection of a non-advisory uncor- rectable non-fatal error. Non Transparent Operation Restrictions The following lists usage restrictions associated with non-transparent operation.
  • Page 285: Dma Controller

    Chapter 15 DMA Controller ® Overview Notes The PES32NT8xG2 supports two direct memory access controller (DMA) functions. Each DMA function appears as a PCI Express endpoint in the PCI Express hierarchy, located in a partition’s upstream port. In each partition, the operating mode of the switch’s upstream port determines if this port contains a DMA function.
  • Page 286: Data Transfer And Addressing

    IDT DMA Controller Notes All data transfer operations performed by a DMA channel are memory-to-memory DMA operations. – Read requests are issued by the DMA channel to read source addresses. As completions corre- sponding to the request containing data are received by the DMA, the DMA transforms the completion into memory writes to the appropriate destination address.
  • Page 287: Figure 15.2 Linear Addressing

    IDT DMA Controller Notes The determination of what data to read from source memory and where to write this data to destination memory is referred to as the DMA addressing. The DMA supports two addressing modes: linear addressing and constant addressing. The simplest form of DMA addressing is linear addressing.
  • Page 288: Figure 15.4 Dma Channel Addressing

    IDT DMA Controller Notes count = BCOUNT count = BCOUNT addr = SADDR addr = DADDR for (j=0; j<SSCOUNT; ++j) { for (j=0; j<DSCOUNT; ++j) { for (i=0; i<SSSIZE; ++i) { for (i=0; i<DSSIZE; ++i) { data = memRead(addr) memWrite(addr,data)
  • Page 289 IDT DMA Controller Notes The programming of the addressing parameters must meet the following rules. 1. BCOUNT <= (SSCOUNT * SSSIZE) 2. (SSCOUNT * SSSIZE) = (DSCOUNT * DSSIZE) An addressing operation completes execution when the byte count is exhausted or, in case the above rules are violated, when stride addressing completes.
  • Page 290: Dma Descriptors

    IDT DMA Controller Notes BCOUNT 1024 SADDR 0x0100_0000 DADDR 0x0200_0001 SSSIZE DSSIZE SSCOUNT DSCOUNT SSDIST DSDIST Table 15.3 Constant Addressing DMA Example SADDR DADDR BCOUNT PCI Express PCI Express Memory Address Memory Address Space Space Figure 15.5 Constant Addressing Example Note that the Source Stride Size (SSSIZE) determines the size of the region from which data is read.
  • Page 291: Figure 15.7 General Dma Descriptor Format

    IDT DMA Controller Notes All DMA descriptors share the same common format shown in Figure 15.7. – DMA descriptors are eight DWords in size. – DMA descriptors must be DWord aligned. Processing by a channel of a DMA descriptor with an unaligned DWord address results in an error.
  • Page 292: Table 15.4 Stride Control Dma Descriptor Fields

    IDT DMA Controller Notes 24 23 16 15 DTYPE DSTS DSSIZE SSSIZE SSCOUNT SSDIST Reserved DSDIST DSCOUNT Reserved NEXTL NEXTU Figure 15.8 Stride Control DMA Descriptor Format Field DWord Description Position SSSIZE 11:0 Source Stride Size. This field specifies the source stride in bytes.
  • Page 293 IDT DMA Controller Notes Field DWord Description Position Request Rate Update. When this bit is set, the DMA channel uses the value in the Request Rate (RR) field of this descriptor to update the DMA Channel Request Rate Control (DMACxR- RCTL) register.
  • Page 294: Table 15.5 Data Transfer Dma Descriptor Fields

    IDT DMA Controller Notes 24 23 16 15 DTYPE DSTS MRRS BCOUNT SADDRL SADDRU DADDRL DADDRU NEXTL NEXTU Figure 15.9 Data Transfer DMA Descriptor Format Field DWord Description Position MRRS Maximum Read Request Size. This field specifies the maxi- mum DMA source read request size.
  • Page 295 IDT DMA Controller Notes Field DWord Description Position Source Relaxed Ordering. This field specifies the state of the relaxed ordering attribute in source TLPs. Source No Snoop. This field specifies the state of the no snoop attribute in source TLPs.
  • Page 296 IDT DMA Controller Notes • The destination address may have any byte alignment. – The Byte Count (BCOUNT) field specifies the number of bytes to transfer. – The data transfer operation performed in processing the descriptor is controlled by DMA param- eters as described in section Data Transfer and Addressing on page 15-2.
  • Page 297: Table 15.6 Immediate Data Transfer Dma Descriptor Fields

    IDT DMA Controller Notes pletions to memory write requests on the fly. As a result, the memory writes issued by the DMA may not arrive at the destination location in the order in which the read requests were issued. A user that wishes to keep a strict order between the order in which the...
  • Page 298 IDT DMA Controller Notes Field DWord Description Position Interrupt on Finished. When this bit is set and the DMA con- troller normally finishes processing of the descriptor, then the F bit is set in the corresponding channel DMA Status (DMAxS) register.
  • Page 299: Dma Descriptor Processing

    IDT DMA Controller Notes • If the address is below 4 GB, then a MWr TLP with a 32-bit address is generated. If the address is above 4 GB, then a MWr TLP with a 64-bit address is generated. – The Byte Count (BCOUNT) field specifies the number of bytes to transfer.
  • Page 300 IDT DMA Controller Notes When the DMA channel halts descriptor processing it sets the Halt (H) bit in the DMA Channel Status (DMACxSTS) register and clears the Run (RUN) bit in the DMACxCTL register. – The DMACxDPTRL and DMACxDPTRH registers continue to hold the value of the last descriptor that was fetched.
  • Page 301: Table 15.7 Dma Chaining Disabling

    IDT DMA Controller Notes Descriptor Descriptor Descriptor Descriptor DMAxDPTRH / DMAxDPTRL Descriptor Descriptor Descriptor Descriptor DMAxNDPTRH / DMAxNDPTRL Figure 15.11 DMA Chaining Example Writing to the DMACxNDPTRL/H registers while the DMA is running (i.e., the RUN bit is set in the DMACxCTL register) simply modifies the register value.
  • Page 302 IDT DMA Controller Notes Aborting a DMA Operation The processing of DMA descriptors by a DMA channel may be aborted by writing a one to the Abort (ABORT) bit in the DMACxCTL register. When a DMA operation is aborted due to this condition, the following actions take place: –...
  • Page 303: Table 15.8 Dma Channel Control (Dmacxctl) Register Action Summary

    IDT DMA Controller Notes • All prefetched descriptors are discarded. – If the DMA channel is halted when suspended (i.e., the DMA has completed processing descrip- tors in a list), then the Suspend (S) bit in the DMACxSTS register is immediately set. Software should wait for the Suspend bit in the DMACxSTS register to be set prior to resuming the DMA channel as described next.
  • Page 304: Tlp Attribute And Traffic Class Control

    IDT DMA Controller Notes After descriptors are appended to an active descriptor list, software must set the RUN bit in the DMACxCTL register . If the DMA channel had not initiated processing of the last descriptor in the original list at the time the RUN bit is set by software, the DMA channel continues processing descriptors normally, including the newly appended descriptors.
  • Page 305: Channel Interrupts

    IDT DMA Controller Notes Data Transfer Attribute and Traffic Class Control The state of memory request TLP attributes and traffic class may be independently controlled for memory read and write operations on a descriptor by descriptor basis by fields in the data transfer DMA descriptor.
  • Page 306: Descriptor Prefetching

    IDT DMA Controller Descriptor Prefetching Notes When the amount of data moved by data transfer descriptors is small (e.g., when moving data associ- ated with 64B packets), the overhead in fetching DMA descriptors from memory between data transfer operations may limit performance.
  • Page 307: Dma Multicast

    IDT DMA Controller Notes It is possible to “in-line” request rate control information within a descriptor, using the Request Rate (RR) and Request Rate Update (RRU) fields in a stride descriptor (see section Stride Control Descriptor on page 15-7). This allows control of the request rate depending on the bandwidth of the source and destination devices associated with the DMA transfer.
  • Page 308: Figure 15.12 Path Taken By A Tlp Emitted By The Dma When It Is Multicasted

    IDT DMA Controller Notes Upstream Port Path taken by Bridge Function the posted TLP emitted by the Virtual PCI Bus Bridge Bridge Bridge Bridge Bridge Downstream Ports Figure 15.12 Path Taken by a TLP Emitted by the DMA When it is Multicasted...
  • Page 309: Virtual Channel (Vc) Support

    IDT DMA Controller Notes EN bit in INTXD bit Unmasked MSICAP in PCICMD Action Interrupt Register Register Asserted MSI message generated Assert_INTx message request generated None Negated None Deassert_INTx message request generated None Table 15.9 Downstream Switch Port Interrupts When the DMA function is configured to generate INTx messages, the specific INTx used (e.g., INTA, INTB, etc.) depends on the programming of the Interrupt Pin (INTRPIN) register.
  • Page 310: Table 15.10 Acs Checks Performed By The Dma Function

    IDT DMA Controller Notes PCI Express Error Base ACS Check Reporting Action Taken Specification Condition Section ACS Peer-to-Peer 6.12.1.1 Offending request is redirected upstream Request Redirect (not an ACS viola- towards root complex. tion) ACS Peer-to-Peer This ACS check has no functional effect Completion Redirect in the switch, as described above.
  • Page 311: Power Management

    IDT DMA Controller Notes Upstream Port Bridge Function Intended TLP Route ACS Redirected Route Virtual PCI Bus Bridge Bridge Bridge Bridge Bridge Downstream Ports Figure 15.14 Example of ACS Peer-to-Peer Request Redirect Applied by the DMA Function Refer to PCI Express Base Specification Revision 2.1 for further information on ACS.
  • Page 312: Pci Express Error Handling By The Dma Function

    IDT DMA Controller Notes PCI Express errors are those specified in the PCI Express Base specification. DMA channel errors are additional proprietary errors associated with the operation of the DMA channels within the DMA function. PCI Express errors are described in section PCI Express Error Handling by the DMA Function on page 15- Internal switch errors (i.e., parity errors, switch time-out, and internal memory errors) are associated with...
  • Page 313 IDT DMA Controller Notes In addition, some of the errors described below are marked as function-specific when the “function claims the TLP”. Some of the errors described below are marked as function-specific when the “function claims the TLP”. A function claims a TLP in the following cases: –...
  • Page 314: Table 15.12 Pci Express Errors Detected By The Dma Function's Transaction Layer

    IDT DMA Controller Notes Role Based Express Function- Channel- Error (Advisory) Base Specific Specific Action Taken Condition Error Spec Error Error Reporting Section Condition Poisoned TLP 2.7.2.2, See section Poisoned TLP received: Com- 6.2.3.2.4.3 (always non- Reception on page 15-32.
  • Page 315 IDT DMA Controller Notes Role Based Express Function- Channel- Error (Advisory) Base Specific Specific Action Taken Condition Error Spec Error Error Reporting Section Condition Reception of a 2.3.1 ‘Yes’ if a Advisory Non-advisory case: uncorrect- request TLP that function when the cor- (DMA able error processing.
  • Page 316 IDT DMA Controller Notes Role Based Express Function- Channel- Error (Advisory) Base Specific Specific Action Taken Condition Error Spec Error Error Reporting Section Condition Flow control pro- 2.6.1 Not applicable. The DMA function does not check for any flow control protocol tocol error errors.
  • Page 317 IDT DMA Controller Notes When an ECRC error is detected, the header of the TLP with ECRC error is not utilized by the DMA channels for internal state computations (e.g., the channel’s outstanding byte count is not decremented, etc.) In cases where a received completion TLP has an ECRC error, this results in the DMA channel detecting a completion timeout error later in time.
  • Page 318 IDT DMA Controller Completion with CA Status Received Notes When the DMA function receives an expected completion with completer abort (CA) status, and the completion is associated with a DMA channel’s outstanding descriptor read request, the following actions are taken: –...
  • Page 319: Table 15.13 Prioritization Of Transaction Layer Errors

    IDT DMA Controller Notes Table 15.13 shows the prioritization of transaction layer errors used by the DMA function. All the errors listed in the table are associated with the reception of a TLP. Errors not detected on the reception of a TLP (e.g., completion timeout) or errors that are not applicable to the DMA function (e.g., completer abort issued...
  • Page 320: Dma Limitations And Usage Restrictions

    IDT DMA Controller Notes TLP Received by DMA Function Done Handle per DMA Receiver Transaction Layer Error Overflow Error? Table Handle per DMA Receiver Transaction Layer Error Overflow Error? Table Handle per DMA ECRC Transaction Layer Error Error? Table Handle per DMA...
  • Page 321: Switch Events

    Chapter 16 Switch Events ® Overview Notes As described in section Switch Events on page 1-16, in a PCI Express switch with multiple partitions a need may exist to signal the occurrence of significant global events to a switch management agent. A need may also exist for communication between roots associated with different partitions as well as for communi- cation between these roots and a management agent.
  • Page 322: Link Up

    IDT Switch Events Notes register controls which partitions are notified of the occurrence of an event. As mentioned above, each partition’s upstream port functions (i.e., PCI-to-PCI bridge and/or NT) may be configured to generate an interrupt to the system when an event is signaled to the partition.
  • Page 323: Link Down

    IDT Switch Events Notes Associated with each status bit in the SELINKUPSTS register is a mask bit in the Switch Event Link Up Mask (SELINKUPMSK) register. When an unmasked status bit is set in the SELINKUPSTS register, the Link Up (LNKUP) status bit is set in the Switch Event Status (SESTS) register.
  • Page 324: Global Signals

    IDT Switch Events Global Signals Notes Global signals allow an agent in a switch partition to signal a switch event. This mechanism provides a primitive form of communication that allows an agent in a switch partitition to communicate with agents in other partitions.
  • Page 325: Port Aer Errors

    IDT Switch Events Notes Within each NT function and upstream PCI-to-PCI bridge function is a general 32-bit read-write register that may be used to pass arbitrary data between an agent associated with a partition and agents in other partitions. – The NT Endpoint Signal Data (NTSDATA) register is this register in an NT function.
  • Page 326 IDT Switch Events Notes PES32NT8xG2 User Manual 16 - 6 June 27, 2012...
  • Page 327: Multicast

    Chapter 17 Multicast ® Overview Notes The PES32NT8xG2 implements multicast within switch partitions as defined by the PCI Express Base Specification 2.1. The term transparent multicast is used to refer to this type of multicast operation. In addi- tion, the switch supports non-transparent multicast, using a proprietary implementation. This allows TLPs received by the NT endpoint to be multicasted to ports in other switch partitions.
  • Page 328 IDT Multicast Notes The following multicast register fields must be configured to the same value in all functions associated with a switch partition. Violating this requirement results in undefined behavior on receipt of a multicast TLP. Non-multicast TLPs are not affected.
  • Page 329: Figure 17.1 Multicast Group Address Ranges

    IDT Multicast Notes 0x0000_0000_0000_0000 Muticast Base Address Multicast Group 0 INDEXPOS Multicast Group 1 Multicast Group 2 (NUMGROUP + 1) * 2 INDEXPOS Multicast Group 3 Multicast Group x 0xFFFF_FFFF_FFFF_FFFF Figure 17.1 Multicast Group Address Ranges The multicast address region associated with a TLP is determined as follows.
  • Page 330: Figure 17.2 Multicast Group Address Region Determination

    IDT Multicast Notes Since bits in the multicast base address that correspond to the multicast group number or are less than the multicast index position (i.e., INDEXPOS) must be zero, the multicast group ID associated with a TLP may be determined as shown in Figure 17.2.
  • Page 331 IDT Multicast Notes Multicast TLP Routing A multicast TLP received without error by a function is forwarded as described in this section. Traditional unicast routing rules do not apply to multicast TLPs. Unlike unicast routing rules that depend on whether the TLP was received on the primary or secondary side of a PCI-to-PCI bridge and are thus different for upstream and downstream switch ports, multicast TLP routing is symmetric.
  • Page 332: Usage Restrictions

    IDT Multicast Notes A side-effect of modifying the address due to multicast overlay processing is that the ECRC associated with the original TLP may not be correct for the new modified TLP. The PES32NT8xG2 supports ECRC regeneration for multicast overlay.
  • Page 333: Nt Multicast Configuration

    IDT Multicast Notes When the upstream port operates in a mode that contains an NT function but not a PCI-to-PCI bridge function (e.g., NT function mode, or NT with DMA function mode), NT multicast allows TLPs received by the NT function to be multicasted to ports in other partitions.
  • Page 334: Nt Multicast Tlp Determination

    IDT Multicast Notes configured identically for transparent and NT multicast. But transparent and NT multicast configurations differ in their group/port associations. Specifically, transparent multicast groups are associated with ports within the switch partition, and NT multicast groups are associated with ports in other switch partitions.
  • Page 335: Nt Multicast Egress Processing

    IDT Multicast Notes perform NT multicast egress processing (see section NT Multicast Egress Processing on page 17-9) and transmit the TLP on their data-link. The determination of which ports transmit the TLP is based on the following: – The received TLP’s multicast group ID.
  • Page 336 IDT Multicast Notes In order to perform NT multicast egress processing, each port contains four sets of NT multicast overlay registers, and each set is associated with a source partition and multicast group. Depending on the partition and group on which the NT multicast TLP is received, one of the four NT multicast overlay register sets is selected to control the manner in which the overlay operation is performed on the TLP.
  • Page 337: Usage Restrictions

    IDT Multicast Notes When the OVRSIZE field value is six or greater, NT multicast address overlay processing is performed on all NT multicast TLPs transmitted by the port as described below. – Address bits in the NT multicast TLP with bit positions greater than or equal to OVRSIZE are replaced by the corresponding address bits in the multicast overlay base address.
  • Page 338 IDT Multicast Notes PES32NT8xG2 User Manual 17 - 12 June 27, 2012...
  • Page 339: Temperature Sensor

    Chapter 18 Temperature Sensor ® Overview Notes The PES32NT8xG2 contains an on-chip temperature sensor that measures junction temperature. The sensor has three programmable temperature thresholds and a temperature history capability. An alarm is generated when the temperature is above or below one of three programmable temperature thresholds. –...
  • Page 340 IDT Temperature Sensor Notes PES32NT8xG2 User Manual 18 - 2 June 27, 2012...
  • Page 341: Register Organization

    Chapter 19 Register Organization ® Overview Notes All software visible registers in the switch are contained in a 512 KB global address space. The address of a register in this address range is referred to as the system address of the register. –...
  • Page 342 IDT Register Organization Notes Base Address Address Range 0x21000 Port 16 NT Endpoint Registers 0x22000 - 0x27000 Reserved 0x28000 Port 20 PCI-to-PCI Bridge Registers 0x29000 Port 20 NT Endpoint Registers 0x2A000 - 0x2F000 Reserved 0x30000 - 0x39FFF Reserved 0x3A000 Port 0 DMA Endpoint...
  • Page 343: Partial-Byte Access To Word And Dword Registers

    IDT Register Organization Partial-Byte Access to Word and DWord Registers Notes Configuration registers in the switch have different sizes (e.g., Byte, Word, DWord). Registers should be accessed with byte-enables that correspond to their native size or a size of one DWord. For example, a Byte register should be read or written with only one byte enable set, or with all four byte enables set.
  • Page 344 Registers with offsets between 0x400 and 0xFFF are associated with PCI Express extended configura- tion space but are used for IDT proprietary port-specific registers • IDT proprietary port-specific registers are described in section Proprietary Port-Specific Regis- ters in the PCI-to-PCI Bridge Function on page 19-11.
  • Page 345: Figure 19.1 Pci-To-Pci Bridge Configuration Space Organization

    IDT Register Organization Notes 0x000 PCI Configuration Space (64 Dwords) 0x000 0x100 Advanced Error Reporting Enhanced Capability 0x180 Device Serial Number Enhanced Capability Type 1 Configuration Header 0x200 PCIe Virtual Channel Enhanced Capability 0x280 Power Budgeting Enhanced Capability 0x040 0x320...
  • Page 346: Table 19.2 Pci-To-Pci Bridge Function Configuration Space Registers

    IDT Register Organization The port operating mode (e.g., upstream switch port, downstream switch port, etc.) determines the presence of some configuration registers within the PCI-to-PCI bridge function’s configuration space. For example, the slot capability, slot control, and slot status registers are not present in the configuration space of a PCI-to-PCI bridge function associated with an upstream port.
  • Page 347 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x022 Word MLIMIT MLIMIT - Memory Limit Register (0x022) on page 20-8 0x024 Word PMBASE PMBASE - Prefetchable Memory Base Register (0x024) on page 20-9 0x026 Word PMLIMIT PMLIMIT - Prefetchable Memory Limit Register (0x026) on page 20-9...
  • Page 348 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x0D0 DWord MSICAP MSICAP - Message Signaled Interrupt Capability and Control (0x0D0) on page 20-37 0x0D4 DWord MSIADDR MSIADDR - Message Signaled Interrupt Address (0x0D4) on page 20-37 0x0D8 DWord...
  • Page 349 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x324 Word ACSCAP ACSCAP - ACS Capability Register (0x324) on page 20-55 0x326 Word ACSCTL ACSCTL - ACS Control Register (0x326) on page 20-57 0x328 DWord ACSECV ACSECV - ACS Egress Control Vector (0x328) on page 20-58...
  • Page 350: Table 19.3 Default Linkage Of Capability Structures For A Pci-To-Pci Bridge Function In The Upstream Switch Port Mode

    IDT Register Organization Default Value of Capability Next Capability Structure Name Space List Pointer Offset field (NXTPTR) PCI Express PCI Express Capability Structure 0x040 0x0C0 Capabilities List PCI Power Management Capability Structure 0x0C0 Message Signaled Interrupt Capability Structure 0x0D0 Subsystem ID and Subsystem Vendor ID...
  • Page 351: Proprietary Port-Specific Registers In The Pci-To-Pci Bridge Function

    This section outlines the address range 0x400 through 0xFFF in the configuration space of the PCI-to-PCI bridge function. This address range contains IDT proprietary registers that are port-specific (i.e., provide control or status on a per-port basis). These registers control proprietary function- ality or provide status beyond the functionality outlined in the PCI Express Base Specification.
  • Page 352: Figure 19.2 Proprietary Port Specific Register Organization

    IDT Register Organization 0x400 Port Control & Status Registers 0x480 Internal Error Reporting Control & Status Registers 0x500 Physical Layer Registers 0x560 Reserved 0x700 Power Management Registers 0x880 Request Metering 0x890 Port Arbiter Controls 0x900 NT Multicast Overlay 0xD90 AER Error Emulation...
  • Page 353: Table 19.5 Proprietary Port Specific Registers

    IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x400 DWord PORTCTL PORTCTL - Port Control (0x400) on page 21-1 0x404 DWord P2PINTSTS P2PINTSTS - PCI-to-PCI Bridge Interrupt Status (0x404) on page 21-1 0x408 DWord P2PINTMSK P2PINTMSK - PCI-to-PCI Bridge Interrupt Mask (0x408) on page 21-2...
  • Page 354: Nt Function Registers

    IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x900 DWord NTMCC NTMCC - NT Multicast Control (0x900) on page 21-32 0x904 DWord NTMCOVR0C NTMCOVR[3:0]C - NT Multicast Overlay x Configuration on page 21-33 0x908 DWord NTMCOVR0BARL NTMCOVR[3:0]BARL - NT Multicast Overlay x Base Address Low on page 21-...
  • Page 355 IDT Register Organization These registers are not directly accessible by PCI Express configuration request when a port is configured to operate in the following modes: – Disabled – Unattached – Upstream switch port – Upstream switch port with DMA function –...
  • Page 356: Figure 19.3 Nt Function Configuration Space Organization

    IDT Register Organization 0x000 PCI Configuration Space (64 Dwords) 0x000 0x100 Advanced Error Reporting Enhanced Capability 0x180 Device Serial Number Enhanced Capability Type 0 Configuration Header 0x200 PCIe Virtual Channel Enhanced Capability 0x280 Power Budgeting Enhanced Capability 0x040 0x320 PCI Express...
  • Page 357: Table 19.6 Nt Function Registers

    IDT Register Organization The port operating mode (e.g., NT function mode, upstream switch port with NT function mode, etc.) determines the presence of some capability structures within the NT function’s configuration space. For example, the VC capability structure is only present in the configuration space when the port operates in NT function mode (since the NT function is function 0 of the port).
  • Page 358 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x03E Byte MINGNT MINGNT - Minimum Grant (0x03E) on page 22-12 0x03F Byte MAXLAT MAXLAT - Maximum Latency (0x03F) on page 22-12 0x040 DWord PCIECAP PCIECAP - PCI Express Capability (0x040) on page 22-13...
  • Page 359 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x118 DWord AERCTL AERCTL - AER Control (0x118) on page 22-41 0x11C DWord AERHL1DW AERHL1DW - AER Header Log 1st Doubleword (0x11C) on page 22-42 0x120 DWord AERHL2DW AERHL2DW - AER Header Log 2nd Doubleword (0x120) on page 22-42...
  • Page 360 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x414 DWord NTIERRORMSK0 NTIERRORMSK0 - Internal Error Reporting Mask 0 (0x414) on page 22-55 0x418 DWord NTIERRORMSK1 NTIERRORMSK1 - Internal Error Reporting Mask 1 (0x418) on page 22-59 0x420 DWord...
  • Page 361 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x49C DWord BARUTBASE2 BARUTBASE2 - BAR 2 Upper Translated Base Address (0x49C) on page 22-73 0x4A0 DWord BARSETUP3 BARSETUP3 - BAR 3 Setup (0x4A0) on page 22-73 0x4A4 DWord BARLIMIT3...
  • Page 362: Table 19.7 Default Linkage Of Capability Structures For The Nt Function When Operating As Function 0 Of The Port

    IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x608 DWord NTMCG2PA NTMCG[3:0]PA - NT Multicast Group x Port Association (0x600-60C) on page 22-91 0x60C DWord NTMCG3PA NTMCG[3:0]PA - NT Multicast Group x Port Association (0x600-60C) on page 22-91...
  • Page 363: Dma Function Registers

    IDT Register Organization Table 19.8 shows the default capabilities linkage of the NT function for ports that operate in the following modes. – Upstream switch port with NT function – Upstream switch port with NT and DMA functions Table entries shaded in green indicate capabilities that are linked by default. Entries shaded in pink are capabilities that may be linked by firmware (e.g., via the EEPROM).
  • Page 364: Table 19.9 Default Linkage Of Capability Structures For The Dma Function

    IDT Register Organization Default Value of Capability Next Capability Structure Name Space List Pointer Offset field (NXTPTR) PCI Express PCI Express Capability Structure 0x040 0x0C0 Capabilities List PCI Power Management Capability Structure 0x0C0 0x0D0 Message Signaled Interrupt Capability Structure 0x0D0...
  • Page 365: Figure 19.4 Dma Function Configuration Space Organization

    IDT Register Organization 0x000 PCI Configuration Space (64 Dwords) 0x000 0x100 Advanced Error Reporting Enhanced Capability Type 0 Configuration Header Reserved 0x040 0x320 PCI Express Capability Structure ACS Enhanced Capability 0x400 BAR Configuration 0x408 AER Error Emulation 0x410 Internal Error Reporting...
  • Page 366: Table 19.10 Dma Function Registers

    IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x000 Word VID - Vendor Identification (0x000) on page 23-1 0x002 Word DID - Device Identification (0x002) on page 23-1 0x004 Word PCICMD PCICMD - PCI Command (0x004) on page 23-1...
  • Page 367 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x06C DWord PCIELCAP2 PCIELCAP2 - PCI Express Link Capabilities 2 (0x06C) on page 23-20 0x070 Word PCIELCTL2 PCIELCTL2 - PCI Express Link Control 2 (0x070) on page 23-20 0x072 Word...
  • Page 368 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x508 DWord DMAC0STS DMAC[1:0]STS - DMA Channel Status (0x508/608) on page 23-50 0x50C DWord DMAC0MSK DMAC[1:0]MSK - DMA Channel Status Mask (0x50C/60C) on page 23-51 0x510 DWord DMAC0ERRSTS DMAC[1:0]ERRSTS - DMA Channel Error Status (0x510/610) on page 23-52...
  • Page 369: Switch Configuration And Status Registers

    IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x634 DWord DMAC1NDPTRH DMAC[1:0]NDPTRH - DMA Channel Next Descriptor Pointer High (0x534/634) on page 23-57 0xFF8 DWord GASAADDR GASAADDR - Global Address Space Access Address (0xFF8) on page 23-57 0xFFC...
  • Page 370: Figure 19.5 Switch Configuration And Status Space Organization

    IDT Register Organization 0x0000 Switch Control & Status 0x0010 Stack Configuration 0x0080 Internal Switch Timers 0x0100 Switch Partition & Port Configuration Registers 0x0500 Failover Capability 0x0700 Protection Registers 0x07F0 Reserved 0x0C00 Switch Event & Signals Registers 0x0C3C Global Doorbell Registers...
  • Page 371: Table 19.11 Switch Configuration And Status

    IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x0000 DWord SWCTL SWCTL - Switch Control (0x0000) on page 24-1 0x0004 DWord BCVSTS BCVSTS - Boot Configuration Vector Status (0x0004) on page 24-2 0x0008 DWord PCLKMODE PCLKMODE - Port Clocking Mode (0x0008) on page 24-3...
  • Page 372 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x0200 DWord SWPORT0CTL SWPORTxCTL - Switch Port x Control on page 24-9 0x0204 DWord SWPORT0STS SWPORTxSTS - Switch Port x Status on page 24-10 0x0208 DWord SWPORT0FCTL SWPORTxFCTL - Switch Port x Failover Control on page 24-12...
  • Page 373 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x0700 DWord GASAPROT GASAPROT - Global Address Space Access Protection (0x0700) on page 24-15 0x0710 DWord NTMTBLPROT0 GASAPROT - Global Address Space Access Protection (0x0700) on page 24-15 0x0714 DWord...
  • Page 374 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x0D30 DWord GODBELLMSK12 GODBELLMSK[31:0] - NT Global Outbound Doorbell Mask [31:0] on page 24-23 0x0D34 DWord GODBELLMSK13 GODBELLMSK[31:0] - NT Global Outbound Doorbell Mask [31:0] on page 24-23 0x0D38 DWord...
  • Page 375 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x0DC0 DWord GIDBELLMSK16 GIDBELLMSK[31:0] - NT Global Inbound Doorbell Mask [31:0] on page 24-23 0x0DC4 DWord GIDBELLMSK17 GIDBELLMSK[31:0] - NT Global Inbound Doorbell Mask [31:0] on page 24-23 0x0DC8 DWord...
  • Page 376 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x0E50 DWord SWP4MSGCTL2 SWP[7:0]MSGCTL[3:0] - Switch Partition x Message Control [3:0] on page 24-24 0x0E54 DWord SWP5MSGCTL2 SWP[7:0]MSGCTL[3:0] - Switch Partition x Message Control [3:0] on page 24-24 0x0E58 DWord...
  • Page 377 IDT Register Organization Cfg. Register Size Register Definition Offset Mnemonic 0x10C0 DWord S6CTL S[7:0]CTL- SerDes x Control on page 24-25 0x10C4 DWord S6TXLCTL0 S[7:0]TXLCTL0 - SerDes x Transmitter Lane Control 0 on page 24-26 0x10C8 DWord S6TXLCTL1 S[7:0]TXLCTL1 - SerDes x Transmitter Lane Control 1 on page 24-28...
  • Page 378 IDT Register Organization PES32NT8xG2 User Manual 19 - 38 June 27, 2012...
  • Page 379: Pci-To-Pci Bridge Registers

    DID - Device Identification Register (0x002) Field Default Type Description Field Name Value 15:0 Device Identification. This field contains the 16-bit device ID assigned by IDT to this bridge. See section Device ID on page 1-1. PES32NT8xG2 User Manual 20 - 1 June 27, 2012...
  • Page 380 IDT PCI-to-PCI Bridge Registers Notes PCICMD - PCI Command Register (0x004) Field Default Type Description Field Name Value IOAE I/O Access Enable. When this bit is cleared, the bridge function does not respond to I/O accesses from the primary bus specified by IOBASE and IOLIMIT.
  • Page 381 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value FB2B Fast Back-to-Back Enable. Not applicable. INTXD INTx Disable. Controls the ability of the PCI-to-PCI bridge to generate an INTx interrupt message. When this bit is set, any interrupts generated by this bridge are negated.
  • Page 382 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value RTAS Received Target Abort. Not applicable (the bridge never generates requests on its own behalf). RMAS Received Master Abort. Not applicable (the bridge never generates requests on its own behalf).
  • Page 383 IDT PCI-to-PCI Bridge Registers Notes CLS - Cache Line Size Register (0x00C) Field Default Type Description Field Name Value 0x00 Cache Line Size. This field has no effect on the bridge’s functionality but may be read and written by software.
  • Page 384 IDT PCI-to-PCI Bridge Registers Notes BAR1 - Base Address Register (0x014) Field Default Type Description Field Name Value 31:0 Base Address Register. Not applicable. PBUSN - Primary Bus Number Register (0x018) Field Default Type Description Field Name Value PBUSN Primary Bus Number.
  • Page 385 IDT PCI-to-PCI Bridge Registers Notes IOBASE - I/O Base Register (0x01C) Field Default Type Description Field Name Value IOCAP I/O Capability. SWSticky Indicates if the bridge supports 16-bit or 32-bit I/O address- ing. 0x0 - (io16) 16-bit I/O addressing. 0x1 - (io32) 32-bit I/O addressing.
  • Page 386 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value STAS RW1C Signaled Target Abort Status. This bit is set when the bridge completes a posted or non- posted request with a completer-abort error on its second- ary side .
  • Page 387 IDT PCI-to-PCI Bridge Registers Notes PMBASE - Prefetchable Memory Base Register (0x024) Field Default Type Description Field Name Value PMCAP Prefetchable Memory Capability. SWSticky Indicates if the bridge supports 32-bit or 64-bit prefetchable memory addressing. 0x0 - (prefmem32) 32-bit prefetchable memory addressing.
  • Page 388 IDT PCI-to-PCI Bridge Registers Notes PMLIMITU - Prefetchable Memory Limit Upper Register (0x02C) Field Default Type Description Field Name Value 31:0 PMLIMITU Prefetchable Memory Address Limit Upper. This field specifies the upper 32-bits of PMLIMIT. When the PMCAP field in the PMBASE register is cleared, this field becomes read-only with a value of zero.
  • Page 389 IDT PCI-to-PCI Bridge Registers Notes INTRLINE - Interrupt Line Register (0x03C) Field Default Type Description Field Name Value INTRLINE Interrupt Line. This register communicates interrupt line routing informa- tion. Values in this register are programmed by system soft- ware and are system architecture specific. This function does not use the value in this register.
  • Page 390 IDT PCI-to-PCI Bridge Registers Notes BCTL - Bridge Control Register (0x03E) Field Default Type Description Field Name Value PERRE Parity Error Response Enable. This bit controls the logging of poisoned TLPs in the Master Data Parity Error bit (MDPED) in the Secondary Status (SECSTS) register.
  • Page 391: Pci Express Capability Structure

    IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Reserved Reserved field. SRESET Secondary Bus Reset. Setting this bit triggers a secondary bus reset. In the upstream port, setting this bit initiates a Upstream Secondary Bus Reset.
  • Page 392 IDT PCI-to-PCI Bridge Registers Notes PCIEDCAP - PCI Express Device Capabilities (0x044) Field Default Type Description Field Name Value MPAYLOAD HWINIT Maximum Payload Size Supported. (See This field indicates the maximum payload size that the description) device can support for TLPs.
  • Page 393 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Power Indicator Present. In PCI Express Specification 1.0a when set, this bit indi- cates that a Power Indicator is implemented on the card/ module. The value of this field is undefined in the PCI Express Base Specification.
  • Page 394 IDT PCI-to-PCI Bridge Registers Notes PCIEDCTL - PCI Express Device Control (0x048) Field Default Type Description Field Name Value CEREN Correctable Error Reporting Enable. This bit controls reporting of correctable errors by this func- tion. NFEREN Non-Fatal Error Reporting Enable.
  • Page 395 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Enable No Snoop. Not applicable. The bridge function does not generate transactions with the No Snoop bit set and passes transac- tions through the bridge with the No Snoop bit unmodified.
  • Page 396 IDT PCI-to-PCI Bridge Registers Notes PCIELCAP - PCI Express Link Capabilities (0x04C) Field Default Type Description Field Name Value MAXLNKSPD Maximum Link Speed. SWSticky This field indicates the supported link speeds of the port. (gen1) 2.5 GT/s (gen2) 5 GT/s...
  • Page 397 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value 17:15 L1EL L1 Exit Latency. SWSticky This field indicates the L1 exit latency for the given PCI Express link. Transitioning from L1 to L0 always requires approximately 2.3 µ S. Therefore, a value 2 µ s to less than 4 µ...
  • Page 398 IDT PCI-to-PCI Bridge Registers Notes PCIELCTL - PCI Express Link Control (0x050) Field Default Type Description Field Name Value ASPM Active State Power Management (ASPM) Control. This field controls the level of ASPM supported by the link. The initial value corresponds to disabled.
  • Page 399 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value CCLK Common Clock Configuration. When set, this bit indicates that this port and the port at the opposite end of the link are operating with a distributed common reference clock.
  • Page 400 IDT PCI-to-PCI Bridge Registers Notes PCIELSTS - PCI Express Link Status (0x052) Field Default Type Description Field Name Value Current Link Speed. This field indicates the current link speed of the port. (gen1) 2.5 GT/s (gen2) 5 GT/s others - reserved HWINIT Negotiated Link Width.
  • Page 401 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value DLLLA Data Link Layer Link Active. This bit indicates the status for the data link control and management state machine. 0x0 - (not_active) Data link layer not active state...
  • Page 402 IDT PCI-to-PCI Bridge Registers Notes PCIESCAP - PCI Express Slot Capabilities (0x054) Field Default Type Description Field Name Value Attention Button Present. SWSticky This bit is set when the Attention Button is implemented for the port. This bit is read-only and has a value of zero when the SLOT bit in the PCIECAP register is cleared.
  • Page 403 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value 16:15 SPLS Slot Power Limit Scale. This field specifies the scale used for the Slot Power Limit Value (SPLV). 0x0 - (x1) 1.0x 0x1 - (xp1) 0.1x 0x2 - (xp01) 0.01x 0x3 - (xp001) 0.001x...
  • Page 404 IDT PCI-to-PCI Bridge Registers Notes PCIESCTL - PCI Express Slot Control (0x058) Field Default Type Description Field Name Value ABPE HWINIT Attention Button Pressed Enable. This bit when set enables generation of a Hot-Plug interrupt or wake-up event on an attention button pressed event.
  • Page 405 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value CCIE HWINIT Command Complete Interrupt Enable. This bit when set enables the generation of a Hot-Plug interrupt when a command is completed by the Hot-Plug Controller. When the corresponding capability is enabled, the initial...
  • Page 406 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value HWINIT Power Indicator Control. When read, this register returns the current state of the Power Indicator. Writing to this register sets the indicator. This bit is read-only and has a value of zero when the corre- sponding capability is not enabled in the PCIESCAP regis- ter.
  • Page 407 IDT PCI-to-PCI Bridge Registers Notes PCIESSTS - PCI Express Slot Status (0x05A) Field Default Type Description Field Name Value RW1C Attention Button Pressed. Set when the attention button is pressed. RW1C Power Fault Detected. Set when the Power Controller detects a power fault.
  • Page 408 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Electromechanical Interlock Status. When an electromechanical interlock is implemented, this bit indicates the current status of the interlock. The status of this bit is determined by the state of the corre- sponding PxILOCKST input signal on the I/O expander.
  • Page 409 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value LTRMS LTR Mechanism Supported. The switch does not support the Latency Tolerance Report- ing mechanism. 13:12 TPHCS TPH Completer Supported. Not applicable. 19:14 Reserved Reserved field. EFMTFS Extended Fmt Field Supported.
  • Page 410 IDT PCI-to-PCI Bridge Registers Notes PCIEDSTS2 - PCI Express Device Status 2 (0x06A) Field Default Type Description Field Name Value 15:0 Reserved Reserved field. PCIELCAP2 - PCI Express Link Capabilities 2 (0x06C) Field Default Type Description Field Name Value 31:0 Reserved Reserved field.
  • Page 411 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Selectable De-emphasis. SWSticky For a downstream switch port, this bit sets the de-emphasis level when the link operates at 5.0 GT/s. Per the PCI Express Base Specification, this bit is not appli- cable for upstream ports.
  • Page 412 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Enter Modified Compliance. Sticky When this bit is set to 1b, the port transmits the modified compliance pattern if the LTSSM enters Polling.Compliance state. This register is intended for debug, compliance testing pur- poses only.
  • Page 413: Pci Power Management Capability Structure

    IDT PCI-to-PCI Bridge Registers Notes PCIESSTS2 - PCI Express Slot Status 2 (0x07A) Field Default Type Description Field Name Value 15:0 Reserved Reserved field. PCI Power Management Capability Structure PMCAP - PCI Power Management Capabilities (0x0C0) Field Default Type Description...
  • Page 414 IDT PCI-to-PCI Bridge Registers Notes PMCSR - PCI Power Management Control and Status (0x0C4) Field Default Type Description Field Name Value PSTATE Power State. This field is used to determine the current power state of the function and to set a new power state.
  • Page 415: Message Signaled Interrupt Capability Structure

    IDT PCI-to-PCI Bridge Registers Message Signaled Interrupt Capability Structure Notes MSICAP - Message Signaled Interrupt Capability and Control (0x0D0) Field Default Type Description Field Name Value CAPID Capability ID. The value of 0x5 identifies this capability as a MSI capabil- ity structure.
  • Page 416: Subsystem Id And Subsystem Vendor Id

    IDT PCI-to-PCI Bridge Registers Notes MSIUADDR - Message Signaled Interrupt Upper Address (0x0D8) Field Default Type Description Field Name Value 31:0 UADDR Upper Message Address. This field specifies the upper portion of the DWORD address of the MSI memory write transaction. If the con- tents of this field are non-zero, then 64-bit address is used in the MSI memory write transaction.
  • Page 417: Extended Configuration Space Access Registers

    IDT PCI-to-PCI Bridge Registers Notes SSIDSSVID - Subsystem ID and Subsystem Vendor ID (0x0F4) Field Default Type Description Field Name Value 15:0 SSVID Subsystem Vendor ID. SWSticky This field identifies the manufacturer of the add-in card or subsystem. SSVID values are assigned by the PCI-SIG to insure uniqueness.
  • Page 418: Advanced Error Reporting (Aer) Extended Capability

    IDT PCI-to-PCI Bridge Registers Notes ECFGDATA - Extended Configuration Space Access Data (0x0FC) Field Default Type Description Field Name Value 31:0 DATA Configuration Data. A read from this field will return the configuration space reg- ister value pointed to by the ECFGADDR register. A write to...
  • Page 419 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value SDOENERR Upstre Surprise Down Error Status. Sticky This bit is set when a surprise down error is detected and Port: the SDERR bit in the PCIELCAP register is set.
  • Page 420 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value MCBLKTLP RW1C MC Blocked TLP Status. Sticky This bit is set when a multicast TLP is blocked by this func- tion in response to the setting of the MC_Block_All and MC_Block_Untranslated bits in the multicast extended capability structure.
  • Page 421 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value FCPERR Flow Control Protocol Error Mask. Not applicable. COMPTO Completion Timeout Mask. Not applicable. CABORT Completer Abort Mask. Not applicable. UECOMP Unexpected Completion Mask. Sticky When this bit is set, the corresponding bit in the AERUES register is masked.
  • Page 422 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value ACSV ACS Violation Mask. Sticky When this bit is set, the corresponding bit in the AERUES register is masked. When a bit is masked in the AERUES register, the corresponding event is not logged in the...
  • Page 423 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value SDOENERR Upstre Surprise Down Error Severity. Sticky This bit controls the severity of the reported error. If this bit Port: is set, the event is reported as a fatal error. When this bit is cleared, the event is reported as a non-fatal error.
  • Page 424 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Uncorrectable Internal Error Severity. Sticky This bit controls the severity of the reported error. If this bit is set, the event is reported as a fatal error. When this bit is cleared, the event is reported as a non-fatal error.
  • Page 425 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value RW1C Correctable Internal Error Status. Sticky This bit is set whenever an correctable internal error associ- ated with the port is detected. When the Internal Error Reporting Enable (IERROREN) bit...
  • Page 426 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value RPLYROVR Replay Number Rollover Mask. Sticky When this bit is set, the corresponding bit in the AERCES register is masked. When a bit is masked in the AERCES register, the corresponding event is not reported to the root complex.
  • Page 427 IDT PCI-to-PCI Bridge Registers Notes AERCTL - AER Capabilities and Control (0x118) Field Default Type Description Field Name Value FEPTR First Error Pointer. Sticky This field contains a pointer to the bit in the AERUES regis- ter that resulted in the first reported error. This field is valid only when the bit in the AERUES register pointed to by this field is set.
  • Page 428: Device Serial Number Extended Capability

    IDT PCI-to-PCI Bridge Registers Notes AERHL3DW - AER Header Log 3rd Doubleword (0x124) Field Default Type Description Field Name Value 31:0 Header Log. Sticky This field contains the 3rd doubleword of the TLP header that resulted in the first reported uncorrectable error.
  • Page 429: Pci Express Virtual Channel Capability

    IDT PCI-to-PCI Bridge Registers Notes SNUMUDW - Serial Number Upper Doubleword (0x188) Field Default Type Description Field Name Value 31:0 SNUM Upper 32-bits of Device Serial Number. SWSticky This field contains the upper 32-bits of the IEEE defined 64- bit extended unique identifier (EUI-64) assigned to the device.
  • Page 430 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Reserved Reserved field. REFCLK Reference Clock. Not supported (i.e., Time-based WRR Port Arbitration is not implemented). 11:10 PATBLSIZ Port Arbitration Table Entry Size. This field indicates the size of the port arbitration table. This function only supports hardware fixed round-robin, so the port arbitration table is not implemented.
  • Page 431 IDT PCI-to-PCI Bridge Registers Notes VCR0CAP- VC Resource 0 Capability (0x210) Field Default Type Description Field Name Value PARBC Port Arbitration Capability. This field indicates the type of port arbitration supported by this VC resource. Each bit corresponds to a port arbitration capability.
  • Page 432: Acs Extended Capability

    IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value 26:24 VCID VC ID. This field assigns a VC ID to the VC resource. For VC0, this field is always hardwired to zero. 30:27 Reserved Reserved field. VCEN VC Enable.
  • Page 433 IDT PCI-to-PCI Bridge Registers Notes ACSCAP - ACS Capability Register (0x324) Field Default Type Description Field Name Value Upstream ACS Source Validation. Port: If set, indicates that this function implements ACS Source Validation. This field must never be set to 0x1 in an upstream port.
  • Page 434 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Upstream ACS P2P Egress Control. Port: If set, indicates that this function implements ACS Peer-to- Peer Egress Control. For a downstream switch port, peer- to-peer refers to transfers among downstream switch ports Down- in the same partition.
  • Page 435 IDT PCI-to-PCI Bridge Registers Notes ACSCTL - ACS Control Register (0x326) Field Default Type Description Field Name Value Upstre ACS Source Validation Enable. When set, this function performs ACS Source Validation. Port: Note: This field becomes read-only-zero when the corre- sponding bit in the ACSCAP register is cleared.
  • Page 436 IDT PCI-to-PCI Bridge Registers Notes Field Default Type Description Field Name Value Upstre ACS P2P Egress Control Enable. When set, this function performs ACS Peer-to-Peer Egress Port: Control. Note: This field becomes read-only-zero when the corre- sponding bit in the ACSCAP register is cleared.
  • Page 437: Multicast Extended Capability

    IDT PCI-to-PCI Bridge Registers Multicast Extended Capability Notes MCCAPH - Multicast Extended Capability Header (0x330) Field Default Type Description Field Name Value 15:0 CAPID 0x12 Capability ID. The value of 0x12 indicates a multicast capability structure. 19:16 CAPVER Capability Version.
  • Page 438 IDT PCI-to-PCI Bridge Registers Notes MCCTL- Multicast Control (0x336) Field Default Type Description Field Name Value NUMGROUP Number of Multicast Groups. When the Multicast Enabler (MEN) bit is set, this field indi- cates the number of multicast groups that are enabled.
  • Page 439 IDT PCI-to-PCI Bridge Registers Notes MCBARH- Multicast Base Address High (0x33C) Field Default Type Description Field Name Value 31:0 MCBARH Multicast BAR High. This field specifies the upper 32-bits (i.e., bits 32 through 63) of the multicast BAR. The behavior is undefined if bits in this field corresponding to address bits that contain the multicast group number or those less than the multicast index position (i.e., INDEX-...
  • Page 440 IDT PCI-to-PCI Bridge Registers Notes MCBLKALLL- Multicast Block All Low (0x348) Field Default Type Description Field Name Value 31:0 MCBLKALL Multicast Block All. Each bit in this field corresponds to one of the lower 32 mul- ticast groups (e.g., bit 0 corresponds to multicast group 0, bit 1 corresponds to multicast group 1, and so on).
  • Page 441 IDT PCI-to-PCI Bridge Registers Notes MCBLKUTH - Multicast Block Untranslated High (0x354) Field Default Type Description Field Name Value 31:0 MCBLKUT Multicast Block Untranslated. Each bit in this field corresponds to one of the upper 32 multicast groups (e.g., bit 0 corresponds to multicast group 32, bit 1 corresponds to multicast group 33, and so on).
  • Page 442 IDT PCI-to-PCI Bridge Registers Notes PES32NT8xG2 User Manual 20 - 64 June 27, 2012...
  • Page 443: Proprietary Port Specific Registers

    Chapter 21 Proprietary Port Specific Registers ® Port Control Register Notes PORTCTL - Port Control (0x400) Field Default Type Description Field Name Value EWRRPA Enable WRR Port Arbitration. SWSticky When this bit is set, port arbitration selection in the port’s VC Capability structure is ignored and arbitration is done using a weighted round robin (WRR) algorithm controlled with proprietary count registers.
  • Page 444 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value FMCC RW1C Failover Mode Change Completed This bit is set in an upstream port whenever failover is enabled in the partition associated with this port (i.e., the...
  • Page 445: Port Aer Mask Register

    IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 31:8 Reserved Reserved field. P2PSDATA - PCI-to-PCI Bridge Signal Data (0x410) Field Default Type Description Field Name Value 31:0 SDATA Switch Signal Data. SWSticky This is a general 32-bit read write field that may be used in conjunction with switch signals.
  • Page 446 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value CABORT Completer Abort Mask. Sticky When this bit is set, the corresponding bit in the internal, non-software visible PAERSTS register is masked. UECOMP Unexpected Completion Mask. Sticky When this bit is set, the corresponding bit in the internal, non-software visible PAERSTS register is masked.
  • Page 447: Port Slot Control

    IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value Header Log Overflow Mask. Sticky When this bit is set, the corresponding bit in the internal, non-software visible PAERSTS register is masked. 30:21 Reserved Reserved field. Internal Error Mask.
  • Page 448 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value PDCE Presence Detected Changed Enable. SWSticky This field contains the initial value of the corresponding field in the PCI Express Slot Control (PCIESCTL) register when the corresponding slot or hot-plug capability is enabled.
  • Page 449: Internal Error Control And Status Registers

    IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value Power Controller Control. SWSticky This field contains the initial value of the corresponding field in the PCI Express Slot Control (PCIESCTL) register when the corresponding slot or hot-plug capability is enabled.
  • Page 450 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value IFBCPTLPTO RW1C IFB Completion TLP Time-Out. SWSticky This bit is set when a completion time-out is detected in the IFB. Reserved Reserved field. EFBPTLPTO RW1C EFB Posted TLP Time-Out.
  • Page 451 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value RBCTLDBE RW1C Replay Buffer Control Double Bit Error. SWSticky This bit is set when a double bit ECC error is detected in the Replay Buffer’s control RAM.
  • Page 452 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 30:29 Reserved Reserved field. DE2EPE RW1C DMA End-to-End Data Path Parity Error. SWSticky This bit is set when an end-to-end data path parity error is detected by the DMA.
  • Page 453 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 19:17 Reserved Reserved field. P20AER RW1C Port 20 AER Error. SWSticky This bit is at the time that port 20 detects an AER error in one of its functions and the error is not masked by the cor- responding Port AER Mask (PAERMSK) register.
  • Page 454 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value IFBDATDBE IFB Data Double Bit Error. SWSticky This bit controls how an error of the corresponding type is reported. When this bit is set, the error is reported as an uncorrectable internal error.
  • Page 455 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value RBCTLDBE Replay Buffer Control Double Bit Error. SWSticky This bit controls how an error of the corresponding type is reported. When this bit is set, the error is reported as an uncorrectable internal error.
  • Page 456 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value DIFBCTLSBE DMA IFB Control Single Bit Error. SWSticky This bit controls how an error of the corresponding type is reported. When this bit is set, the error is reported as an uncorrectable internal error.
  • Page 457 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value Reserved Reserved field. P2AER Port 2 AER Error. SWSticky This bit controls how an error of the corresponding type is reported. When this bit is set, the error is reported as an uncorrectable internal error.
  • Page 458 IDT Proprietary Port Specific Registers Notes IERRORTST0 - Internal Error Reporting Test 0 (0x494) This register can be used to emulate the occurrence of internal errors. Each bit in this register corre- sponds to an internal error. Writing a one to a bit in this register causes the port to log the corresponding internal error as if the error had actually occurred (e.g., the error is logged in the IERRORSTS0 register,...
  • Page 459 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value DIFBPTLPTO DMA IFB Posted TLP Time-Out. This bit always returns a value of zero when read. This bit is only applicable for ports that contain a DMA func- tion.
  • Page 460 IDT Proprietary Port Specific Registers Notes IERRORTST1 - Internal Error Reporting Test 1 (0x498) This register can be used to emulate the occurrence of internal errors. Each bit in this register corre- sponds to an internal error. Writing a one to a bit in this register causes the port to log the corresponding internal error as if the error had actually occurred (e.g., the error is logged in the IERRORSTS1 register,...
  • Page 461 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value IFBDATSBE IFB Data Single Bit Error. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the PCI-to-PCI bridge function.
  • Page 462 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value E2EPE End-to-End Data Path Parity Error. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the PCI-to-PCI bridge function.
  • Page 463 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value Reserved Reserved field. DIFBDATSBE DMA IFB Data Single Bit Error. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the PCI-to-PCI bridge function.
  • Page 464 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value DEFBDATDBE DMA EFB Data Double Bit Error. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the PCI-to-PCI bridge function.
  • Page 465: Physical Layer Control And Status Registers

    IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value P6AER Port 6 AER Error. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the PCI-to-PCI bridge function.
  • Page 466 IDT Proprietary Port Specific Registers Notes SERDESCFG - SerDes Configuration (0x510) Field Default Type Description Field Name Value RCVD_OVRD Receiver Detect Override. SWSticky Each bit in this register corresponds to a lane associated with this port. Setting this bit causes the lane associated with this bit to indicate that a receiver has been detected on the line.
  • Page 467 IDT Proprietary Port Specific Registers Notes LANESTS1 - Lane Status 1 (0x520) Field Default Type Description Field Name Value RW1C Receiver Underflow Detected. Sticky Each bit in this field corresponds to a lane associated with the port. A bit is set when the corresponding link receiver is unable to compensate for clock variance between link partners and has inserted one or more zero bytes into the stream.
  • Page 468 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value ILSCC Down- Initial Link Speed Change Control. stream This field determines whether a port automatically initiates Switch Port: a speed change to Gen 2 speed, if Gen 2 speed is permis- sible, after initial entry to L0 from Detect.
  • Page 469 IDT Proprietary Port Specific Registers Notes PHYPRBS - Phy PRBS Seed (0x55C) Field Default Type Description Field Name Value 15:0 SEED 0xFFFF Phy PRBS Seed Value. SWSticky This field contains the PHY PRBS seed value used for crosslink operation. When the value in this register is modified, the PRBS coun- ter associated with this seed is reset to the seed value and re-starts counting.
  • Page 470: Request Metering

    IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 15:14 Reserved Reserved field TSCTL Timer Start Control. SWSticky Upon rejecting an L1 ASPM entry request from the link part- ner, the switch port counts an amount of time equal to the value in the MTL1ER field before detecting a new request.
  • Page 471: Wrr Port Arbitration Counts

    IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 31:16 DVADJ Decrement Value Adjustment. SWSticky This field contains the adjustment value used to determine the value by which the request metering counter is decre- mented each 250 MHz clock tick.
  • Page 472 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 31:24 Reserved Reserved field. VC0PARBCI1 - VC0 Port Arbiter Counter Initialization 1 (0x894) Field Default Type Description Field Name Value P4IC Port 4 Initial Count. Description This field contains the initial value of the WRR port arbitra- SWSticky tion count corresponding to port 4.
  • Page 473 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 31:8 Reserved Reserved field. VC0PARBCI4 - VC0 Port Arbiter Counter Initialization 4 (0x8A0) Field Default Type Description Field Name Value P16IC Port 16 Initial Count. Description This field contains the initial value of the WRR port arbitra- SWSticky tion count corresponding to port 16.
  • Page 474: Non-Transparent Multicast Overlay

    IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 31:16 Reserved Reserved field. Non-Transparent Multicast Overlay NTMCC - NT Multicast Control (0x900) Field Default Type Description Field Name Value NTMCTEN NT Multicast Transmit Enable. This bit, when set, enables the transmission of NT multicast TLPs by the port.
  • Page 475 IDT Proprietary Port Specific Registers Notes NTMCOVR[3:0]C - NT Multicast Overlay x Configuration Field Default Type Description Field Name Value PART Partition Association. Each bit in this field corresponds to a switch partition (i.e., bit 0 corresponds to partition 0, bit 1 corresponds to parti- tion 1, etc.)
  • Page 476: Aer Error Emulation

    IDT Proprietary Port Specific Registers Notes NTMCOVR[3:0]BARL - NT Multicast Overlay x Base Address Low Field Default Type Description Field Name Value OVRSIZE Overlay Size. This field specifies the size in bytes of the overlay aperture as a power of 2.
  • Page 477 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value 15:13 Reserved Reserved field. UECOMP Unexpected Completion Trigger. SWSticky Writing a one to this bit causes the corresponding error bit to get set in the PCI-to-PCI Bridge function’s AERUES reg- ister.
  • Page 478 IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value ADVISORYNF Advisory Non-Fatal Error Trigger. SWSticky If this bit is set together with another error bit in this register for which an advisory non-fatal error is possible (refer to the...
  • Page 479: Global Address Space Access Registers

    IDT Proprietary Port Specific Registers Notes Field Default Type Description Field Name Value Header Log Overflow Trigger. SWSticky Writing a one to this bit causes the corresponding error bit to get set in the PCI-to-PCI Bridge function’s AERCES reg- ister. This bit always returns 0x0 when read.
  • Page 480 IDT Proprietary Port Specific Registers Notes PES32NT8xG2 User Manual 21 - 38 June 27, 2012...
  • Page 481: Nt Endpoint Registers

    Field Default Type Description Field Name Value 15:0 Device Identification. This field contains the 16-bit device ID assigned by IDT to this device. See section Device ID on page 1-1. PCICMD - PCI Command (0x004) Field Default Type Description Field...
  • Page 482 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Bus Master Enable. When this bit is cleared, inter-partition requests are not transmitted by the function. In addition, the function does not issue MSIs. All other requests or completions emitted by this function are not affected by this bit.
  • Page 483 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value INTS INTx Status. This bit is set when an INTx interrupt is pending from the function. CAPL Capabilities List. This bit is hardwired to one to indicate that this function implements an extended capability list item.
  • Page 484 IDT NT Endpoint Registers Notes RID - Revision Identification (0x008) Field Default Type Description Field Name Value Revision ID. SWSticky This field contains the revision identification number for the device. See section Revision ID on page 1-1. CCODE - Class Code (0x009)
  • Page 485 IDT NT Endpoint Registers Notes BIST - Built-in Self Test Register (0x00F) Field Default Type Description Field Name Value BIST BIST. This value indicates that the function does not implement BIST. BAR0 - Base Address Register 0 (0x010) Field Default...
  • Page 486 IDT NT Endpoint Registers Notes BAR1 - Base Address Register 1 (0x014) When the MEMSI field in BARSETUP0 is set to memory space (i.e., zero) and the TYPE field is set to 64-bit addressing, BAR1 takes on the function of the upper 32-bits of the BADDR field in BAR0. Otherwise, the BAR format below is used.
  • Page 487 IDT NT Endpoint Registers Notes BAR2 - Base Address Register 2 (0x018) Field Default Type Description Field Name Value MEMSI Memory Space Indicator. This bit determines if the base address register maps into memory space or I/O space. The value of this field is determined by the MEMSI field in the BARSETUP2 register.
  • Page 488 IDT NT Endpoint Registers Notes BAR3 - Base Address Register 3 (0x01C) When the MEMSI field in BARSETUP2 is set to memory space (i.e., zero) and the TYPE field is set to 64-bit addressing, BAR3 takes on the function of the upper 32-bits of the BADDR field in BAR2. Otherwise, the BAR format below is used.
  • Page 489 IDT NT Endpoint Registers Notes BAR4 - Base Address Register 4 (0x020) Field Default Type Description Field Name Value MEMSI Memory Space Indicator. This bit determines if the base address register maps into memory space or I/O space. The value of this field is determined by the MEMSI field in the BARSETUP4 register.
  • Page 490 IDT NT Endpoint Registers Notes BAR5 - Base Address Register 5 (0x024) When the MEMSI field in BARSETUP4 is set to memory space (i.e., zero) and the TYPE field is set to 64-bit addressing, BAR5 takes on the function of the upper 32-bits of the BADDR field in BAR4. Otherwise, the BAR format below is used.
  • Page 491 IDT NT Endpoint Registers Notes CCISPTR - CardBus CIS Pointer (0x028) Field Default Type Description Field Name Value 31:0 CCISPTR CardBus CIS Pointer. Not applicable. SUBVID - Subsystem Vendor ID Pointer (0x02C) Field Default Type Description Field Name Value 15:0 SUBVID Subsystem Vendor ID.
  • Page 492 IDT NT Endpoint Registers Notes INTRLINE - Interrupt Line (0x03C) Field Default Type Description Field Name Value INTRLINE Interrupt Line. This register communicates interrupt line routing informa- tion. Values in this register are programmed by system soft- ware and are system architecture specific. The function does not use the value in this register.
  • Page 493: Pci Express Capability Structure

    IDT NT Endpoint Registers PCI Express Capability Structure Notes PCIECAP - PCI Express Capability (0x040) Field Default Type Description Field Name Value CAPID 0x10 Capability ID. The value of 0x10 identifies this capability as a PCI Express capability structure. 15:8...
  • Page 494 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Phantom Functions Supported. This field indicates the support for unclaimed function num- ber to extend the number of outstanding transactions allowed by logically combining unclaimed function numbers with the TLP’s tag identifier. The value is hardwired to 0x0 to indicate that no function number bits are used for phan- tom functions.
  • Page 495 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 25:18 CSPLV Captured Slot Power Limit Value. This field in combination with the Slot Power Limit Scale value, specifies the upper limit on power supplied by the slot. Power limit (in Watts) calculated by multiplying the value in this field by the value in the Slot Power Limit Scale field.
  • Page 496 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Max Payload Size. This field sets maximum TLP payload size for the function. As a receiver, the function must handle TLPs as large as the set value. As a transmitter, the function must not gener- ate TLPs exceeding the set value.
  • Page 497 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 14:12 MRRS Maximum Read Request Size. The NT function passes transactions through the NTB with the size unmodified. Therefore, this field has no functional effect on the behavior of the NTB.
  • Page 498 IDT NT Endpoint Registers Notes PCIELCAP - PCI Express Link Capabilities (0x04C) Field Default Type Description Field Name Value MAXLNKSPD Maximum Link Speed. SWSticky This field indicates the supported link speeds of the port. 1 - (gen1) 2.5 GT/s 2 - (gen2) 5 GT/s...
  • Page 499 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 17:15 L1EL L1 Exit Latency. SWSticky This field indicates the L1 exit latency for the given PCI Express link. Transitioning from L1 to L0 always requires approximately 2.3 uS. Therefore, a value 2 µ s to less than 4 µ...
  • Page 500 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Reserved Read Completion Boundary. The NT function passes transactions through the NTB with the size unmodified. Therefore, this field has no functional effect on the behavior of the NTB.
  • Page 501 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value CLKP- Enable Clock Power Management. WRMGT The device does not support this feature. HAWD Hardware Autonomous Width Disable. Device ports do not have a hardware autonomous mecha- nism to change link width, except due to link reliability issues.
  • Page 502 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value SCLK HWINIT Slot Clock Configuration. SWSticky When set, this bit indicates that the port uses the same physical reference clock used by its link partner (i.e., com- mon-clock configuration). The initial value of this field depends on the port’s clocking mode.
  • Page 503 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value EFMTFS Extended Fmt Field Supported. The switch does not support the 3-bit definition of the FMT field in TLPs. E2ETPS End-to-End TLP Prefix Supported. The switch does not support End-to-End TLP Prefixes.
  • Page 504 IDT NT Endpoint Registers Notes PCIEDSTS2 - PCI Express Device Status 2 (0x06A) Field Default Type Description Field Name Value 15:0 Reserved Reserved field. PCIELCAP2 - PCI Express Link Capabilities 2 (0x06C) Field Default Type Description Field Name Value 31:0 Reserved Reserved field.
  • Page 505 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Selectable De-emphasis. SWSticky This field is only applicable for port operating modes in which the NT function is function 0 of the port. When applicable, this bit selects the de-emphasis prefer- ence advertised via training sets (the actual de-emphasis on the link is selected by the link partner).
  • Page 506 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value If NT Enter Modified Compliance. func- Sticky This field is only applicable for port operating modes in tion is which the NT function is function 0 of the port.
  • Page 507: Pci Power Management Capability Structure

    IDT NT Endpoint Registers Notes PCI Power Management Capability Structure PMCAP - PCI Power Management Capabilities (0x0C0) Field Default Type Description Field Name Value CAPID Capability ID. The value of 0x1 identifies this capability as a PCI power management capability structure.
  • Page 508: Message Signaled Interrupt Capability Structure

    IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value NOSOFTRST No Soft Reset. SWSticky This bit indicates if the configuration context is preserved by the function when the device transitions from a D3hot to D0 power management state.
  • Page 509 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Enable. This bit enables MSI. 0x0 - (disable) disabled 0x1 - (enable) enabled 19:17 Multiple Message Capable. This field contains the number of requested messages. 22:20 Multiple Message Enable.
  • Page 510: Subsystem Id And Subsystem Vendor Id

    IDT NT Endpoint Registers Subsystem ID and Subsystem Vendor ID Notes SSIDSSVIDCAP - Subsystem ID and Subsystem Vendor ID Capability (0x0F0) Field Default Type Description Field Name Value CAPID Capability ID. The value of 0xD identifies this capability as a SSID/SSVID capability structure.
  • Page 511 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Register Number. This field selects the configuration register number as defined by Section 7.2.2 of the PCI Express Base Specifi- cation, Rev. 2.1. The following restrictions apply when programming this reg-...
  • Page 512: Advanced Error Reporting (Aer) Extended Capability

    IDT NT Endpoint Registers Advanced Error Reporting (AER) Extended Capability Notes AERCAP - AER Capabilities (0x100) Field Default Type Description Field Name Value 15:0 CAPID Capability ID. The value of 0x1 indicates an Advanced Error Reporting capability structure. 19:16 CAPVER Capability Version.
  • Page 513 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value RCVOVR RW1C Receiver Overflow Status. Sticky This bit is set when a receiver overflow is detected. MALFORMED RW1C Malformed TLP Status. Sticky This bit is set when a malformed TLP is detected.
  • Page 514 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value DLPERR Data Link Protocol Error Mask. Sticky When this bit is set, the corresponding bit in the AERUES register is masked. When a bit is masked in the AERUES...
  • Page 515 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value MALFORMED Malformed TLP Mask. Sticky When this bit is set, the corresponding bit in the AERUES register is masked. When a bit is masked in the AERUES register, the corresponding event is not logged in the AER...
  • Page 516 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Uncorrectable Internal Error Mask. Sticky When this bit is set, the corresponding bit in the AERUES register is masked. When a bit is masked in the AERUES register, the corresponding event is not logged in the...
  • Page 517 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value COMPTO Completion Timeout Severity. Sticky This function does not track non-posted requests it trans- mits (i.e., requests that crossed the NTB). Therefore, this bit has no effect when set.
  • Page 518 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value TLPPBE TLP Prefix Blocked Error Severity. Not applicable. 31:26 Reserved Reserved field. AERCES - AER Correctable Error Status (0x110) Field Default Type Description Field Name Value RCVERR RW1C Receiver Error Status.
  • Page 519 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value RW1C Header Log Overflow Status. Sticky This bit is set when an error that requires packet-header logging occurs but the packet header cannot be logged by the function’s AER Header Log registers (AERHL[1:4]DW).
  • Page 520 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value RPLYROVR Replay Number Rollover Mask. Sticky When this bit is set, the corresponding bit in the AERCES register is masked. When a bit is masked in the AERCES register, the corresponding event is not reported to the root complex.
  • Page 521 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Header Log Overflow Mask. Sticky When this bit is set, the corresponding bit in the AERCES register is masked. When a bit is masked in the AERCES register, the corresponding event is not reported to the root complex.
  • Page 522: Device Serial Number Extended Capability

    IDT NT Endpoint Registers Notes AERHL1DW - AER Header Log 1st Doubleword (0x11C) Field Default Type Description Field Name Value 31:0 Header Log. Sticky This field contains the 1st doubleword of the TLP header that resulted in the first reported uncorrectable error.
  • Page 523: Pci Express Virtual Channel Capability

    IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 31:20 NXTPTR HWINIT Next Pointer. (See This field contains a pointer to the next capability structure. description) The default value of this register depends on the port’s MSWSticky operating mode.
  • Page 524 IDT NT Endpoint Registers Notes PCIEVCECAP - PCI Express VC Extended Capability Header (0x200) Field Default Type Description Field Name Value 15:0 CAPID Capability ID. The value of 0x2 indicates a Virtual Channel Capability Structure. 19:16 CAPVER Capability Version. The value of 0x1 indicates compatibility with the PCI Express Base specification, Rev 2.1.
  • Page 525 IDT NT Endpoint Registers Notes PVCCAP2- Port VC Capability 2 (0x208) Field Default Type Description Field Name Value VCARBCAP VC Arbitration Capability. Not applicable (only the default VC0 is implemented). 23:8 Reserved Reserved field. 31:24 VCATBLOFF VC Arbitration Table Offset.
  • Page 526 IDT NT Endpoint Registers Notes VCR0CTL- VC Resource 0 Control (0x214) Field Default Type Description Field Name Value TCVCMAP bit 0: 0xFF TC/VC Map. This field indicates the TCs that are mapped to the VC resource. bits 1 Each bit corresponds to a TC. When a bit is set, the corre- through sponding TC is mapped to the VC.
  • Page 527: Acs Extended Capability

    IDT NT Endpoint Registers ACS Extended Capability Notes ACSECAPH - ACS Extended Capability Header (0x320) Field Default Type Description Field Name Value 15:0 CAPID Capability ID. The value of 0xD indicates an ACS extended capability structure. 19:16 CAPVER Capability Version.
  • Page 528 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value ACS P2P Egress Control. The switch does not support ACS P2P Egress Control among functions in a multi-function upstream port. ACS Direct Translated P2P. SWSticky If set, indicates that this function implements ACS Direct Translated Peer-to-Peer.
  • Page 529: Multicast Extended Capability

    IDT NT Endpoint Registers Multicast Extended Capability Notes MCCAPH - Multicast Extended Capability Header (0x330) Field Default Type Description Field Name Value 15:0 CAPID 0x12 Capability ID. The value of 0x12 indicates a multicast capability structure. 19:16 CAPVER Capability Version.
  • Page 530 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Multicast Enable. When this bit is set, multicast is enabled in the switch parti- tion associated with this function. This field must be set identically in all port functions in the partition associated with this port.
  • Page 531 IDT NT Endpoint Registers Notes MCRCVL- Multicast Receive Low (0x340) Field Default Type Description Field Name Value MCRCV Multicast Receive. Each bit in this field corresponds to one of the lower 32 mul- ticast groups (e.g., bit 0 corresponds to multicast group 0, bit 1 corresponds to multicast group 1, and so on).
  • Page 532: Nt Registers

    IDT NT Endpoint Registers Notes MCBLKUTL- Multicast Block Untranslated Low (0x350) Field Default Type Description Field Name Value 31:0 MCBLKUT Multicast Block Untranslated. Not applicable (the NT function does not implement Address Translation Services (ATS)). MCBLKUTH - Multicast Block Untranslated High (0x354)
  • Page 533: Nt Interrupt And Signaling

    IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Address Type Processing. SWSticky When the IDPROTDIS bit in this register is set, this bit con- trols Address Type processing on posted request TLPs received by the NT endpoint. Address Type processing is...
  • Page 534 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Reserved Reserved field. TMPSENSOR RW1C Temperature Sensor Alarm. This bit is set when a temperature sensor alarm is triggered (i.e., one of the temperature threshold bits in the TMPSTS register transitions from 0x0 to 0x1, and the corresponding bit is enabled in the TMPCTL register).
  • Page 535: Internal Error Reporting Masks

    IDT NT Endpoint Registers Notes NTGSIGNAL - NT Endpoint Global Signal (0x410) Field Default Type Description Field Name Value GSIGNAL Global Signal Writing a one to a bit in this field generates a switch signal to the partition associated with this NT function. This results...
  • Page 536 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value EFBCPTLPTO EFB Completion TLP Time-Out SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the NT function.
  • Page 537 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value EFBCTLDBE EFB Control Double Bit Error SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the NT function.
  • Page 538 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value DIFBCPTLPTO DMA IFB Completion TLP Time-Out SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the NT function.
  • Page 539 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value DEFBDATSBE DMA EFB Data Single Bit Error SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the NT function.
  • Page 540 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value P4AER Port 4 AER Error SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the NT function.
  • Page 541: Doorbell Registers

    IDT NT Endpoint Registers Doorbell Registers Notes OUTDBELLSET - NT Outbound Doorbell Set (0x420) Field Default Type Description Field Name Value 31:0 OUTDBELL- Outbound Doorbell Set. Each bit in this field corresponds to one of the 32 outbound doorbells associated with the NT endpoint.
  • Page 542: Message Registers

    IDT NT Endpoint Registers Message Registers Notes OUTMSG[3:0] - Outbound Message[3:0] (0x430-43C) Field Default Type Description Field Name Value 31:0 OUTMSG Outbound Message. Writing a value to this field updates the value in the Inbound Message (INMSG) field of the Inbound Message Register...
  • Page 543 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value OUTMSGSTS2 RW1C Outbound Message 2 Status. This bit is set when a write to the OUTMSG2 register fails. See section Message Registers on page 14-17 for a description of the message registers.
  • Page 544: Bar Configuration

    IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value OUTMSGSTS3 Outbound Message 3 Mask. When this bit is set, assertion of the corresponding bit in the MSGSTS register is masked from generating an interrupt. 15:4 Reserved Reserved field.
  • Page 545 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value SIZE Address Space Size. SWSticky This field selects the size, in address bits, of the address space for the corresponding BAR or BAR pair when 64-bit addressing is selected.
  • Page 546 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value BAR Enable. SWSticky When cleared, the corresponding BAR is disabled and returns a zero when read (i.e., configuration values in this register are ignored and all fields of the BAR take on a value of zero).
  • Page 547 IDT NT Endpoint Registers Notes BARUTBASE0 - BAR 0 Upper Translated Base Address (0x47C) Field Default Type Description Field Name Value 31:0 TADDR Translated Base Address. SWSticky When the BAR is configured for direct address translation, this field specifies the translated base address.
  • Page 548 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value PREF Prefetchable Select. SWSticky This field determines the value reported in the PREF field of the corresponding BAR. When the MEMSI field in BARSETUP0 is set to memory space (i.e., zero) and the TYPE field is set to 64-bit...
  • Page 549 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 12:11 ATRAN Address Translation. When the BAR is configured to operate as an address win- dow, this field specifies the type of address translation that is used. This field is read-only with a value of zero since BAR 1 only supports direct address translation.
  • Page 550 IDT NT Endpoint Registers Notes BARLTBASE1 - BAR 1 Lower Translated Base Address (0x488) Field Default Type Description Field Name Value Reserved Reserved field. 31:2 TADDR Translated Base Address. SWSticky When the BAR is configured for direct address translation, this field specifies the translated base address.
  • Page 551 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value PREF Prefetchable Select. SWSticky This field determines the value reported in the PREF field of the corresponding BAR. 0x0 - (nonprefetch) non-prefetchable. 0x1 - (prefetch) prefetchable. SIZE Address Space Size.
  • Page 552 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 15:13 TPART Translated Partition. SWSticky When the BAR is configured to operate as an address win- dow with direct address translation, this field specifies the translated partition number.
  • Page 553 IDT NT Endpoint Registers Notes BARUTBASE2 - BAR 2 Upper Translated Base Address (0x49C) Field Default Type Description Field Name Value 31:0 TADDR Translated Base Address. SWSticky When the BAR is configured for direct address translation, this field specifies the translated base address.
  • Page 554 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value SIZE Address Space Size. SWSticky This field selects the size, in address bits, of the address space for the corresponding BAR. When the MEMSI field in BARSETUP2 is set to memory space (i.e., zero) and the TYPE field is set to 64-bit...
  • Page 555 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value BAR Enable. SWSticky When cleared, the corresponding BAR is disabled and returns a zero when read (i.e., configuration values in this register are ignored and all fields of the BAR take on a value of zero).
  • Page 556 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 31:2 TADDR Translated Base Address. SWSticky When the BAR is configured for direct address translation, this field specifies the translated base address. The translated base address is 64-bits. This field contains bits 2 through 31 of the translated base address.
  • Page 557 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value SIZE Address Space Size. SWSticky This field selects the size, in address bits, of the address space for the corresponding BAR or BAR pair when 64-bit addressing is selected.
  • Page 558 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value BAR Enable. SWSticky When cleared, the corresponding BAR is disabled and returns a zero when read (i.e., configuration values in this register are ignored and all fields of the BAR take on a value of zero).
  • Page 559 IDT NT Endpoint Registers Notes BARUTBASE4 - BAR 4 Upper Translated Base Address (0x4BC) Field Default Type Description Field Name Value 31:0 TADDR Translated Base Address. SWSticky When the BAR is configured for direct address translation, this field specifies the translated base address.
  • Page 560 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value PREF Prefetchable Select. SWSticky This field determines the value reported in the PREF field of the corresponding BAR. When the MEMSI field in BARSETUP4 is set to memory space (i.e., zero) and the TYPE field is set to 64-bit...
  • Page 561 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 12:11 ATRAN Address Translation. When the BAR is configured to operate as an address win- dow, this field specifies the type of address translation that is used. This field is read-only with a value of zero since BAR 5 only supports direct address translation.
  • Page 562: Mapping Table

    IDT NT Endpoint Registers Notes BARLTBASE5 - BAR 5 Lower Translated Base Address (0x4C8) Field Default Type Description Field Name Value Reserved Reserved field. 31:2 TADDR Translated Base Address. SWSticky When the BAR is configured for direct address translation, this field specifies the translated base address.
  • Page 563 IDT NT Endpoint Registers Notes NTMTBLSTS - NT Mapping Table Status (0x4D4) Field Default Type Description Field Name Value RW1C NT Mapping Table Access Error Sticky This bit is set if an invalid partition NT Mapping Table entry is accessed or when an NT Mapping Table protection viola- tion occurs.
  • Page 564 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value 19:17 PART Partition SWSticky Reading this field returns the PART field of the NT Mapping table entry specified by the partition NT Mapping table address in the NTMTBLADDR register. Writing to this field updates the PART field of the NT Mapping table entry spec- ified by the partition NT Mapping table address.
  • Page 565: Lookup Table

    IDT NT Endpoint Registers Lookup Table Notes LUTOFFSET - Lookup Table Offset (0x4E0) Field Default Type Description Field Name Value INDEX Lookup Table Index. SWSticky This field selects the index of the lookup table accessed when the lookup table data registers (i.e., LUTLDATA, LUT- MDATA and LUTUDATA) are read or written.
  • Page 566: Aer Error Emulation

    IDT NT Endpoint Registers Notes LUTMDATA - Lookup Table Middle Data (0x4E8) Field Default Type Description Field Name Value 31:0 TADDR Translated Base Address. SWSticky This field contains bits 63 through 32 of the translated base address field associated with the lookup table entry selected by the BAR and INDEX fields of the Lookup Table Offset (LUTOFFSET) register.
  • Page 567 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value DLPERR Data Link Protocol Error Trigger. SWSticky Writing a one to this bit causes the corresponding error bit to get set in the AERUES register. This bit always returns 0x0 when read.
  • Page 568 IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value ADVISORYNF Advisory Non-Fatal Error Trigger. SWSticky If this bit is set together with another error bit in this register for which an advisory non-fatal error is possible (refer to the PCI Express Base Specification), an advisory non-fatal error is logged an reported in the NT function’s AER capa-...
  • Page 569: Punch-Through Configuration Registers

    IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value Header Log Overflow Trigger. SWSticky Writing a one to this bit causes the corresponding error bit to get set in the AERCES register. This bit always returns 0x0 when read.
  • Page 570 IDT NT Endpoint Registers Notes PTCCTL1 - Punch-Through Configuration Control 1 (0x514) Field Default Type Description Field Name Value CFGTYPE Configuration Access Type This field selects the type of configuration access gener- ated using the punch-through mechanism. 0x0 - (type0) type 0 configuration access...
  • Page 571: Nt Multicast

    IDT NT Endpoint Registers Notes Field Default Type Description Field Name Value DONE RW1C Punch-Through Configuration Transaction Completed. This bit is set when a punch-through configuration transac- tion has completed and the STATUS field is valid. Writing a one to this bit clears the status bit or aborts a punch- through operation in progress.
  • Page 572: Global Address Space Access Registers

    IDT NT Endpoint Registers Global Address Space Access Registers Notes GASAADDR - Global Address Space Access Address (0xFF8) Field Default Type Description Field Name Value Reserved Reserved field. 18:2 GADDR Global Address. This field selects the system address of the register to be accessed via the GASADATA register.
  • Page 573: Dma Function Registers

    Field Default Type Description Field Name Value 15:0 Device Identification. This field contains the 16-bit device ID assigned by IDT to this device. See section Device ID on page 1-1. PCICMD - PCI Command (0x004) Field Default Type Description Field...
  • Page 574 IDT DMA Function Registers Notes Field Default Type Description Field Name Value Bus Master Enable. When this bit is set, the DMA function is allowed to issue memory requests. When this bit is cleared, the DMA func- tion does not transmit memory requests.
  • Page 575 IDT DMA Function Registers Notes PCISTS - PCI Status (0x006) Field Default Type Description Field Name Value Reserved Reserved field. INTS INTx Status. This bit is set when an INTx interrupt is pending from the function. CAPL Capabilities List. This bit is hardwired to one to indicate that this function implements an extended capability list item.
  • Page 576 IDT DMA Function Registers Notes Field Default Type Description Field Name Value RW1C Detected Parity Error. This bit is set by the function whenever it receives a poi- soned TLP regardless of the state of the PERRE bit in the PCI Command register.
  • Page 577 IDT DMA Function Registers Notes HDR - Header Type (0x00E) Field Default Type Description Field Name Value 0x80 Header Type. This field indicates the configuration space header type for the DMA function (type 0 header). Since the DMA function always co-exists with another func- tion in the port, this field has a value of 0x80.
  • Page 578 IDT DMA Function Registers Notes Field Default Type Description Field Name Value 31:12 BADDR Base Address. This field specifies the address bits to be used by the func- tion in decoding and accepting transactions. The BAR aperture for this BAR is always 4 KB (i.e., bits [11:4] in this register are hardwired to 0x0).
  • Page 579 IDT DMA Function Registers Notes BAR5 - Base Address Register 5 (0x024) Field Default Type Description Field Name Value 31:0 Reserved Not supported. CCISPTR - CardBus CIS Pointer (0x028) Field Default Type Description Field Name Value 31:0 CCISPTR CardBus CIS Pointer.
  • Page 580 IDT DMA Function Registers Notes CAPPTR - Capabilities Pointer (0x034) Field Default Type Description Field Name Value CAPPTR 0x40 Capabilities Pointer. SWSticky This field specifies a pointer to the head of the capabilities structure. INTRLINE - Interrupt Line (0x03C) Field...
  • Page 581: Pci Express Capability Structure

    IDT DMA Function Registers Notes MAXLAT - Maximum Latency (0x03F) Field Default Type Description Field Name Value MAXLAT Maximum Latency. Not applicable. PCI Express Capability Structure PCIECAP - PCI Express Capability (0x040) Field Default Type Description Field Name Value CAPID 0x10 Capability ID.
  • Page 582 IDT DMA Function Registers Notes PCIEDCAP - PCI Express Device Capabilities (0x044) Field Default Type Description Field Name Value MPAYLOAD HWINIT Maximum Payload Size Supported. (See This field indicates the maximum payload size that the description) device can support for TLPs.
  • Page 583 IDT DMA Function Registers Notes Field Default Type Description Field Name Value Power Indicator Present. In PCI Express 1.0a when set, this bit indicates that a Power Indicator is implemented on the card/module. The value of this field is undefined in the PCI Express Base Specification Rev.
  • Page 584 IDT DMA Function Registers Notes Field Default Type Description Field Name Value URREN Unsupported Request Reporting Enable. This bit controls reporting of unsupported requests by this function. Enable Relaxed Ordering. When this bit is set, the DMA function is permitted to set the...
  • Page 585 IDT DMA Function Registers Notes Field Default Type Description Field Name Value Enable No Snoop. When this bit is set, the DMA function is permitted to set the No Snoop bit in the attributes field of the transactions it initi- ates (refer to section TLP Attribute and Traffic Class Control on page 15-20).
  • Page 586 IDT DMA Function Registers Notes Field Default Type Description Field Name Value Transactions Pending. This bit is set when the DMA function has issued non- posted requests that have not been completed. This bit is cleared when all outstanding non-posted requests have been completed or terminated via the completion timeout mechanism.
  • Page 587 IDT DMA Function Registers Notes Field Default Type Description Field Name Value 11:10 ASPMS Active State Power Management (ASPM) Support. SWSticky This default value of this field is 0x3 to indicate that L0s and L1 are supported. This field may be overridden to allow user control over the ASPM capabilities of this port (L0s and/or L1).
  • Page 588 IDT DMA Function Registers Notes PCIELCTL - PCI Express Link Control (0x050) Field Default Type Description Field Name Value ASPM Active State Power Management (ASPM) Control. This field controls the level of ASPM supported by the link. The initial value corresponds to disabled.
  • Page 589 IDT DMA Function Registers Notes Field Default Type Description Field Name Value HAWD Hardware Autonomous Width Disable. Not applicable. LBWINTEN Link Bandwidth Management Interrupt Enable. Not applicable. LABWINTEN Link Autonomous Bandwidth Interrupt Enable. Not applicable. 15:12 Reserved Reserved field. PCIELSTS - PCI Express Link Status (0x052)
  • Page 590 IDT DMA Function Registers Notes Field Default Type Description Field Name Value DLLLA Data Link Layer Link Active. Not applicable. LBWSTS Link Bandwidth Management Status. Not applicable. LABWSTS Link Autonomous Bandwidth Status. Not applicable. PCIEDCAP2 - PCI Express Device Capabilities 2 (0x064)
  • Page 591 IDT DMA Function Registers Notes Field Default Type Description Field Name Value EFMTFS Extended Fmt Field Supported. The switch does not support the 3-bit definition of the FMT field in TLPs. E2ETPS End-to-End TLP Prefix Supported. The switch does not support End-to-End TLP Prefixes.
  • Page 592 IDT DMA Function Registers Notes Field Default Type Description Field Name Value IDOCE IDO Completion Enable. Not supported. LTRME LTR Mechanism Enable. Not supported. 14:11 Reserved Reserved field. E2ETLPPB End-to-End TLP Prefix Blocking. Not supported. PCIEDSTS2 - PCI Express Device Status 2 (0x06A)
  • Page 593: Pci Power Management Capability Structure

    IDT DMA Function Registers Notes Field Default Type Description Field Name Value CSOS Compliance SOS. Not applicable (function 0 of the port controls this function- ality). Compliance De-emphasis. Not applicable (function 0 of the port controls this function- ality). 15:13 Reserved Reserved field.
  • Page 594 IDT DMA Function Registers Notes Field Default Type Description Field Name Value Reserved Reserved field. DEVSP Device Specific Initialization. SWSticky The value of zero indicates that no device specific initializa- tion is required. 24:22 AUXI AUX Current. The switch does not use auxiliary current.
  • Page 595: Message Signaled Interrupt Capability Structure

    IDT DMA Function Registers Notes Field Default Type Description Field Name Value 21:16 Reserved Reserved field. B2B3 B2/B3 Support. Does not apply to PCI Express. BPCCE Bus Power/Clock Control Enable. Does not apply to PCI Express. 31:24 DATA Data. This optional field is not implemented.
  • Page 596: Extended Configuration Space Access Registers

    IDT DMA Function Registers Notes MSIADDR - Message Signaled Interrupt Address (0x0D4) Field Default Type Description Field Name Value Reserved Reserved field. 31:2 ADDR Message Address. This field specifies the lower portion of the DWORD address of the MSI memory write transaction.
  • Page 597 IDT DMA Function Registers Notes Field Default Type Description Field Name Value Register Number. This field selects the configuration register number as defined by Section 7.2.2 of the PCI Express Base Specifi- cation Rev. 2.1. The value of this register must not be programmed to point to the address offset of this register (i.e., 0xF8) or the ECF-...
  • Page 598: Advanced Error Reporting (Aer) Extended Capability

    IDT DMA Function Registers Advanced Error Reporting (AER) Extended Capability Notes AERCAP - AER Capabilities (0x100) Field Default Type Description Field Name Value 15:0 CAPID Capability ID. The value of 0x1 indicates an Advanced Error Reporting capability structure. 19:16 CAPVER Capability Version.
  • Page 599 IDT DMA Function Registers Notes Field Default Type Description Field Name Value RCVOVR RW1C Receiver Overflow Status. Sticky This bit is set when a receiver overflow is detected. MALFORMED RW1C Malformed TLP Status. Sticky This bit is set when a malformed TLP is detected.
  • Page 600 IDT DMA Function Registers Notes Field Default Type Description Field Name Value DLPERR Data Link Protocol Error Mask. Sticky When this bit is set, the corresponding bit in the AERUES register is masked. When a bit is masked in the AERUES...
  • Page 601 IDT DMA Function Registers Notes Field Default Type Description Field Name Value RCVOVR Receiver Overflow Mask. Sticky When this bit is set, the corresponding bit in the AERUES register is masked. When a bit is masked in the AERUES register, the corresponding event is not logged in the AER...
  • Page 602 IDT DMA Function Registers Notes Field Default Type Description Field Name Value Uncorrectable Internal Error Mask. Sticky When this bit is set, the corresponding bit in the AERUES register is masked. When a bit is masked in the AERUES register, the corresponding event is not logged in the...
  • Page 603 IDT DMA Function Registers Notes Field Default Type Description Field Name Value COMPTO Completion Timeout Severity. Sticky This bit controls the severity of the reported error. If this bit is set, the event is reported as a fatal error. When this bit is cleared, the event is reported as an uncorrectable error.
  • Page 604 IDT DMA Function Registers Notes Field Default Type Description Field Name Value TLPPBE TLP Prefix Blocked Error Status. Not applicable. 31:26 Reserved Reserved field. AERCES - AER Correctable Error Status (0x110) Field Default Type Description Field Name Value RCVERR RW1C Receiver Error Status.
  • Page 605 IDT DMA Function Registers Notes Field Default Type Description Field Name Value RW1C Header Log Overflow Status. Sticky This bit is set when an error that requires packet-header logging occurs but the packet header cannot be logged by the function’s AER Header Log registers (AERHL[1:4]DW).
  • Page 606 IDT DMA Function Registers Notes Field Default Type Description Field Name Value RPLYROVR Replay Number Rollover Mask. Sticky When this bit is set, the corresponding bit in the AERCES register is masked. When a bit is masked in the AERCES register, the corresponding event is not reported to the root complex.
  • Page 607 IDT DMA Function Registers Notes Field Default Type Description Field Name Value Header Log Overflow Mask. Sticky When this bit is set, the corresponding bit in the AERCES register is masked. When a bit is masked in the AERCES register, the corresponding event is not reported to the root complex.
  • Page 608: Acs Extended Capability

    IDT DMA Function Registers Notes AERHL1DW - AER Header Log 1st Doubleword (0x11C) Field Default Type Description Field Name Value 31:0 Header Log. Sticky This field contains the 1st doubleword of the TLP header that resulted in the first reported uncorrectable error.
  • Page 609 IDT DMA Function Registers Notes Field Default Type Description Field Name Value 31:20 NXTPTR HWINIT Next Pointer. (See This field contains a pointer to the next capability structure. description) The default value of this register depends on the port’s MSWSticky operating mode.
  • Page 610: Dma Registers

    IDT DMA Function Registers Notes Field Default Type Description Field Name Value ACS Translation Blocking Enable. Not applicable to multi-function upstream ports. ACS P2P Request Redirect Enable. When set, this function performs ACS Peer-to-Peer Request Redirect for function-to-function transfers. Note: This field becomes read-only-zero when the corre- sponding bit in the ACSCAP register is cleared.
  • Page 611: Dma Aer Error Emulation

    IDT DMA Function Registers Notes Field Default Type Description Field Name Value PREF Prefetchable Select. SWSticky This field determines the value reported in the PREF field of the corresponding BAR. 0x0 - (nonprefetch) non-prefetchable. 0x1 - (prefetch) prefetchable. 30:4 Reserved Reserved field.
  • Page 612 IDT DMA Function Registers Notes Field Default Type Description Field Name Value ECRC ECRC Trigger. SWSticky Writing a one to this bit causes the corresponding error bit to get set in the PCI-to-PCI Bridge function’s AERUES reg- ister. This bit always returns 0x0 when read.
  • Page 613: Internal Error Reporting Masks

    IDT DMA Function Registers Notes Field Default Type Description Field Name Value RPLYROVR Replay Number Rollover Trigger. SWSticky Writing a one to this bit causes the corresponding error bit to get set in the PCI-to-PCI Bridge function’s AERCES reg- ister. This bit always returns 0x0 when read.
  • Page 614 IDT DMA Function Registers Notes Field Default Type Description Field Name Value EFBPTLPTO EFB Posted TLP Time-Out. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the DMA func- tion.
  • Page 615 IDT DMA Function Registers Notes Field Default Type Description Field Name Value EFBDATDBE EFB Data Double Bit Error. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the DMA func- tion.
  • Page 616 IDT DMA Function Registers Notes Field Default Type Description Field Name Value DIFBNPTLPTO DMA IFB Non-Posted TLP Time-Out. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the DMA func- tion.
  • Page 617 IDT DMA Function Registers Notes Field Default Type Description Field Name Value 30:29 Reserved This field is reserved but remains read-write in the hard- SWSticky ware. Modifying this field has no effect other than changing the value of the field.
  • Page 618 IDT DMA Function Registers Notes Field Default Type Description Field Name Value P8AER Port 8 AER Error. SWSticky When this bit is set, the corresponding error bit in the IERRORSTS0/1 register is masked from reporting an inter- nal error to the AER Capability Structure of the DMA func- tion.
  • Page 619: Dma Multicast Control

    IDT DMA Function Registers DMA Multicast Control Notes MCRCVINT - Multicast Receive Interpretation (0x4FC) Field Default Type Description Field Name Value MCRCVINT Multicast Receive Interpretation. SWSticky This bit controls whether multicast TLPs emitted by the DMA (i.e., posted TLPs whose address falls within a multi- cast BAR aperture in the upstream port’s PCI-to-PCI bridge...
  • Page 620: Dma Channel Registers

    IDT DMA Function Registers DMA Channel Registers Notes DMAC[1:0]CTL - DMA Channel Control (0x500/600) Field Default Type Description Field Name Value Run. Writing a one into this bit position initiates DMA descriptor processing if the DMA channel is idle and the E bit in the DMACxSTS register is cleared.
  • Page 621 IDT DMA Function Registers Notes Field Default Type Description Field Name Value DISDPTRH Disable DMACxDPTRH Descriptor Processing Initia- tion. When this bit is set, initiation of DMA descriptor processing as a side-effect writing to the DMACxDPTRH register is dis- abled.
  • Page 622 IDT DMA Function Registers Notes Field Default Type Description Field Name Value DRNS Descriptor Read No Snoop. This field specifies the state of the no snoop attribute in descriptor read operations. DWRO Descriptor Write Relaxed Ordering. This field specifies the state of the relaxed ordering attribute in descriptor write operations.
  • Page 623 IDT DMA Function Registers Notes Field Default Type Description Field Name Value RW1C Halt. This bit is set when the DMA channel halts descriptor pro- cessing. Once set, this bit is never cleared by hardware. RW1C Suspend. This bit is set when the DMA channel suspends descriptor processing.
  • Page 624 IDT DMA Function Registers Notes DMAC[1:0]ERRSTS - DMA Channel Error Status (0x510/610) Field Default Type Description Field Name Value DSCA RW1C Descriptor Alignment Error. De-featured. DSCP RW1C Descriptor Poisoned Error. This bit is set when a poisoned completion is received in response to a descriptor read request.
  • Page 625 IDT DMA Function Registers Notes Field Default Type Description Field Name Value DATCA RW1C Data Completer Abort Error. This bit is set when a completion with status CA is received in response to a data read request. Refer to section Completion with CA Status Received on page 15-34 for details.
  • Page 626 IDT DMA Function Registers Notes Field Default Type Description Field Name Value 15:10 Reserved Reserved field. DATP Data Poisoned Error. When this bit is set, the corresponding bit in the DMACx- ERRSTS register is masked from setting the Error (E) bit in the DMACxSTS register.
  • Page 627 IDT DMA Function Registers Notes DMAC[1:0]SSCTL - DMA Channel Source Stride Control (0x51C/61C) Field Default Type Description Field Name Value 15:0 SDIST Stride Distance. This field specifies the DMA channel stride distance in bytes. This value in this field is a signed number in two’s complement notation.
  • Page 628 IDT DMA Function Registers Notes Field Default Type Description Field Name Value 31:16 Reserved Reserved field. DMAC[1:0]DPTRL - DMA Channel Descriptor Pointer Low (0x528/628) Field Default Type Description Field Name Value 31:0 DPTRL Descriptor Pointer Low. This field is initialized with the lower 32-bits of the 64-bit address of the first DMA descriptor in a descriptor list.
  • Page 629: Global Address Space Access Registers

    IDT DMA Function Registers Notes DMAC[1:0]NDPTRL - DMA Channel Next Descriptor Pointer Low (0x530/630) Field Default Type Description Field Name Value 31:0 NDPTRL Next Descriptor Pointer Low. This field is initialized with the lower 32-bits of the 64-bit address of the first DMA descriptor in the chaining descrip- tor list.
  • Page 630 IDT DMA Function Registers Notes Field Default Type Description Field Name Value 18:2 GADDR Global Address. This field selects the system address of the register to be accessed via the GASADATA register. The following restrictions apply regarding the programming of this register:...
  • Page 631: Switch Configuration And Status Registers

    Chapter 24 Switch Configuration and Status Registers ® Switch Control and Status Registers Notes SWCTL - Switch Control (0x0000) Field Default Type Description Field Name Value Reserved Reserved field. RSTHALT HWINIT Reset Halt. SWSticky When this bit is set, all of the switch logic except the SMBus interface remains in a quasi-reset state.
  • Page 632 IDT Switch Configuration and Status Registers Notes BCVSTS - Boot Configuration Vector Status (0x0004) Field Default Type Description Field Name Value SWMODE HWINIT Switch Mode. Boot configuration vector value sampled during a switch fundamental reset. Reserved Reserved field. GCLKFSEL HWINIT Global Clock Frequency Select.
  • Page 633 IDT Switch Configuration and Status Registers Notes PCLKMODE - Port Clocking Mode (0x0008) Field Default Type Description Field Name Value P0CLKMODE Ports 0 and 1 Clocking Mode. SWSticky This field selects the port clocking mode used by the corre- sponding switch port(s).
  • Page 634 IDT Switch Configuration and Status Registers Notes STK1CFG - Stack Configuration (0x0014) Field Default Type Description Field Name Value STKCFG HWINIT Stack Configuration. SWSticky This field selects the configuration of the stack. The initial value of bits[4:2] in this field is 0x0. The initial...
  • Page 635: Internal Switch Timers

    IDT Switch Configuration and Status Registers Internal Switch Timers Notes RDRAINDELAY - Reset Drain Delay (0x0080) Field Default Type Description Field Name Value 15:0 DRAINDELAY 0x0FA Reset Drain Delay SWSticky This field specifies the delay in microseconds for TLPs queued in the switch (i.e., IFB or EFB) to drain during a port...
  • Page 636 IDT Switch Configuration and Status Registers Notes SEDELAY - Side Effect Delay (0x0088) Field Default Type Description Field Name Value 15:0 SEDELAY 0x03E8 Side Effect Delay SWSticky This field specifies the delay in microseconds from the gen- eration of a completion for a configuration request with an associated side-effect to the side effect action taking place.
  • Page 637: Switch Partition And Port Registers

    IDT Switch Configuration and Status Registers Switch Partition and Port Registers Notes SWPART[7:0]CTL - Switch Partition x Control Field Default Type Description Field Name Value STATE HWINIT Switch Partition State. SWSticky This field controls the state of the switch partition.
  • Page 638 IDT Switch Configuration and Status Registers Notes SWPART[7:0]STS - Switch Partition x Status Field Default Type Description Field Name Value RW1C Switch Partition State Change Initiated. SWSticky This bit is set when a switch partition state change is initi- ated.
  • Page 639 IDT Switch Configuration and Status Registers Notes SWPART[7:0]FCTL - Switch Partition x Failover Control Field Default Type Description Field Name Value PFSTATE Primary Failover Switch Partition State SWSticky This field specifies the primary failover state of the partition. 0x0 - (disable) Disabled...
  • Page 640 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value Reserved Reserved field. 17:16 Operating Mode Change Action. SWSticky This field specifies the action taken when a modification is made to the operating mode of a port.
  • Page 641 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value LINKMODE HWINIT Link Mode. This field indicates the operating mode of the lanes for the link associated with the port when the link is up. The value of this field is undefined when the link is down.
  • Page 642 IDT Switch Configuration and Status Registers Notes SWPORTxFCTL - Switch Port x Failover Control Field Default Type Description Field Name Value PFMODE Primary Failover Port Mode. SWSticky This field specifies the primary failover port mode. On a primary failover event, the value of this field is trans- ferred to the MODE field of the SWPORTxCTL register.
  • Page 643: Failover Capability Registers

    IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 25:23 Reserved Reserved field. 30:26 SFDEVNUM Secondary Failover Device Number. SWSticky This field specifies the secondary failover device number. On a secondary failover event, the value of this field is transferred to the DEVNUM field of the SWPORTxCTL reg- ister.
  • Page 644 IDT Switch Configuration and Status Registers Notes FCAP[3:0]STS - Failover Capability x Status Field Default Type Description Field Name Value FMODE Failover Mode. SWSticky This field indicates the current failover mode. When a failover mode change is in progress, this field returns the new mode.
  • Page 645: Protection

    IDT Switch Configuration and Status Registers Protection Notes GASAPROT - Global Address Space Access Protection (0x0700) Field Default Type Description Field Name Value 23:0 PORT Port. SWSticky Each bit in this field corresponds to a switch port. When a bit in this field is set, access to global address space using...
  • Page 646: Switch Event Registers

    IDT Switch Configuration and Status Registers Switch Event Registers Notes Refer to section Switch Events on page 16-1 for details on the operation of these registers. SESTS - Switch Event Status (0x0C00) Field Default Type Description Field Name Value LINKUP Link Up Status.
  • Page 647 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value P6AER RW1C Port 6 AER Error SWSticky This bit is set at the time that port 6 detects an AER error in one of its functions (i.e., any bit is set in the corresponding...
  • Page 648 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value HRST Hot Reset. SWSticky When this bit is set, the corresponding bit in the SESTS register is masked from generating a switch event. FOVER Failover. SWSticky When this bit is set, the corresponding bit in the SESTS register is masked from generating a switch event.
  • Page 649 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 27:25 Reserved Reserved field. P20AER Port 20 AER Error. SWSticky When this bit is set, the corresponding bit in the SESTS register is masked from generating a switch event.
  • Page 650 IDT Switch Configuration and Status Registers Notes SELINKDNSTS - Switch Event Link Down Status (0x0C14) Field Default Type Description Field Name Value 23:0 LINKDN RW1C Link Down. SWSticky Each bit in this field corresponds to a switch port. When a link associated with a switch port transitions from link up to link down (i.e., the data link layer status transitions...
  • Page 651 IDT Switch Configuration and Status Registers Notes SEHRSTSTS - Switch Event Hot Reset Status (0x0C24) Field Default Type Description Field Name Value HRST RW1C Partition Hot Reset. SWSticky Each bit in this field corresponds to a switch partition. A bit in this field is set when a hot reset is detected in the corresponding switch partition.
  • Page 652 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value FCAP0FNCC Failover Capability 0 Failover Mode Change Completed SWSticky Mask. When this bit is set, the Failover Mode Change Completed (FMCC) bit in the Failover Capability 0 Status (FCAP0STS) register is masked from generating a switch event.
  • Page 653: Global Doorbells And Message Registers

    IDT Switch Configuration and Status Registers Global Doorbells and Message Registers Notes GDBELLSTS - NT Global Doorbell Status (0x0C3C) Field Default Type Description Field Name Value 31:0 GDBELLSTS Global Doorbell Status. Each bit in this field corresponds to one of the 32 global doorbells.
  • Page 654: Serdes Control And Status Registers

    IDT Switch Configuration and Status Registers Notes SWP[7:0]MSGCTL[3:0] - Switch Partition x Message Control [3:0] Field Default Type Description Field Name Value Register Select. SWSticky This field selects the Inbound Message (INMSG) register number to which the Outbound Message (OUTMSG) regis- ter associated with this register maps.
  • Page 655 IDT Switch Configuration and Status Registers Notes S[7:0]CTL- SerDes x Control Field Default Type Description Field Name Value LANESEL 0x10 Lane Select. SWSticky This field selects the lane on which the SerDes lane control registers (S[x]TXLCTL0, S[x]TXLCTL1, S[x]RXLCTL, and S[x]RXEQLCTL) operate when written.
  • Page 656 IDT Switch Configuration and Status Registers Notes S[7:0]TXLCTL0 - SerDes x Transmitter Lane Control 0 Field Default Type Description Field Name Value FDC_FS3DBG1 Transmit Driver Fine De-emphasis Control for Full SWSticky Swing Mode with -3.5dB in Gen 1. This field provides fine level control of the transmit driver de-emphasis level in full-swing mode and Gen 1 data rate (i.e., 2.5 GT/s).
  • Page 657 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 17:6 Reserved Reserved field. 20:18 TX_SLEW_G1 Transmit Driver Slew Adjustment in Gen 1. SWSticky This field controls the output driver’s slew rate at Gen 1 data-rate, for the lane(s) selected by the Lane Select (LANESEL[3:0]) field in the SerDes Control (S[x]CTL) register.
  • Page 658 IDT Switch Configuration and Status Registers Notes S[7:0]TXLCTL1 - SerDes x Transmitter Lane Control 1 Field Default Type Description Field Name Value TDVL_FS3DBG1 0x12 Transmit Driver Voltage Level for Full-Swing Mode SWSticky with -3.5dB De-emphasis in Gen 1. This field controls the SerDes transmit driver voltage level in full-swing mode and Gen 1 data rate (i.e., 2.5...
  • Page 659 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 15:13 CDC_FS3DBG2 Transmit Driver Coarse De-Emphasis Control for SWSticky Full Swing mode with -3.5dB in Gen 2. This field provides coarse level control of the transmit driver de-emphasis level in Gen 2 mode, when the SDE field in the associated port’s PCIELCTL2 register...
  • Page 660 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 27:24 TDVL_LSG1 Transmit Driver Voltage Level for Low-Swing Mode SWSticky in Gen 1. This field controls the SerDes transmit driver voltage level when the associated port operates in low-swing mode (i.e., the LSE bit in the port’s SERDESCFG reg-...
  • Page 661: General Purpose I/O Registers

    IDT Switch Configuration and Status Registers Notes S[7:0]RXEQLCTL - SerDes x Receiver Equalization Lane Control Field Default Type Description Field Name Value RXEQZ Receiver Equalization Zero. SWSticky Amplifies the high-frequency gain of the equalizer. Setting both RXEQZ and RXEQB to zero results in turning off the receiver equalization completely.
  • Page 662 IDT Switch Configuration and Status Registers Notes GPIOAFSEL - General Purpose I/O Alternate Function Select (0x1170) Field Default Type Description Field Name Value AFSEL0 GPIO Pin 0 Alternate Function Select. SWSticky This field selects the alternate function associated with the corresponding GPIO pin when the GPIO pin is configured to operate as an alternate function.
  • Page 663: Hot-Plug And Smbus Interface Registers

    IDT Switch Configuration and Status Registers Notes GPIOD - General Purpose I/O Data (0x1178) Field Default Type Description Field Name Value GPIOD HWINIT GPIO Data. SWSticky Each bit in this field controls the corresponding GPIO pin. Reading this field returns the current value of each GPIO pin regardless of GPIO pin mode (i.e., alternate function or...
  • Page 664 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 10:9 PDETECT Presence Detect Control. SWSticky This field controls the manner in which presence of an adapter in a slot is reported to the hot-plug controller asso- ciated with a downstream switch port.
  • Page 665 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 15:14 RSTMODE Reset Mode. SWSticky This field controls the manner in which port reset outputs are generated. 0x0 - (pec) Power enable controlled reset output 0x1 - (pgc) Power good controlled reset output...
  • Page 666 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value RW1C Invalid Configuration Block. SWSticky This bit is set when the master SMBus interface detects an invalid configuration block during serial EEPROM initializa- tion. The valid configuration blocks are:...
  • Page 667 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value RW1C Unmapped Register Error. SWSticky This bit is set if an attempt is made to access via serial EEPROM a register that is not defined in the global address space.
  • Page 668 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 21:20 MSMBMODE Master SMBus Mode. SWSticky The master SMBus contains internal glitch counters on the MSMBCLK and MSMBDAT signals that wait approximately 1uS before sampling or driving these signals. This field allows the glitch counter time to be reduced or entirely removed.
  • Page 669 IDT Switch Configuration and Status Registers Notes SMBUSCBHL - SMBus Configuration Block Header Log (0x11E8) Field Default Type Description Field Name Value BYTE0 Configuration Block Byte 0. This field contains byte 0 of the last serial EEPROM config- uration block processed normally by the SMBus master interface.
  • Page 670 IDT Switch Configuration and Status Registers Notes EEPROMINTF - Serial EEPROM Interface (0x1190) Field Default Type Description Field Name Value 15:0 ADDR EEPROM Address. SWSticky This field contains the byte address in the Serial EEPROM to be read or written.
  • Page 671 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 23:17 IOE2ADDR I/O Expander 2 Address. SWSticky This field contains the SMBus address assigned to I/O expander 2 on the master SMBus interface. Reserved Reserved field.
  • Page 672 IDT Switch Configuration and Status Registers Notes IOEXPADDR3 - SMBus I/O Expander Address 3 (0x11A4) Field Default Type Description Field Name Value Reserved Reserved field. IOE12ADDR I/O Expander 12 Address. SWSticky This field contains the SMBus address assigned to I/O expander 12 on the master SMBus interface.
  • Page 673 IDT Switch Configuration and Status Registers Notes IOEXPADDR5 - SMBus I/O Expander Address 5 (0x11AC) Field Default Type Description Field Name Value Reserved Reserved field. IOE20ADDR I/O Expander 20 Address. SWSticky This field contains the SMBus address assigned to I/O expander 20 on the master SMBus interface.
  • Page 674: Temperature Sensor Registers

    IDT Switch Configuration and Status Registers Temperature Sensor Registers Notes TMPCTL - Temperature Sensor Control (0x11D4) Field Default Type Description Field Name Value Low Temperature Threshold. SWSticky This field contains the low temperature threshold. The value in this field represents a fixed-point 0:7:1 temper- ature in degrees Celsius (i.e., an unsigned number with 7...
  • Page 675 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value AHTH Above High Temperature Threshold Interrupt Enable. SWSticky When this bit is set and the corresponding bit in the Tem- perature Sensor Alarm (TMPALARM) register is set, the...
  • Page 676 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value AHTH Above High Temperature Threshold. This field contains the current value of the corresponding field in the Temperature Sensor Alarm (TMPALARM) regis- ter. Reserved Reserved field.
  • Page 677 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value BMTH RW1C Below Middle Temperature Threshold. SWSticky This bit is set when the current temperature is below the threshold set in the Middle Temperature Threshold (MTH) field in the Temperature Sensor Control (TMPCTL) register.
  • Page 678 IDT Switch Configuration and Status Registers Notes TMPADJ - Temperature Sensor Adjustment (0x11E0) Field Default Type Description Field Name Value OFFSET 0xC4 Offset. SWSticky Absolute temperature offset in degrees C. This two’s complement value is added to the temperature value returned by the temperature sensor to produce the reported temperature.
  • Page 679 IDT Switch Configuration and Status Registers Notes Field Default Type Description Field Name Value 27:24 ADJ6 Slope Adjustment 6. SWSticky 120+ degree adjustment. 30:28 Reserved Reserved field. ADJDOWN Slope Adjustment Down. SWSticky If cleared, slope adjustment values in these register repre- sent positive adjustments.
  • Page 680 IDT Switch Configuration and Status Registers Notes PES32NT8xG2 User Manual 24 - 50 June 27, 2012...
  • Page 681: Jtag Boundary Scan

    DC values from being driven between a driver and receiver. AC Boundary Scan methodology described in IEEE 1149.6, is available to provide a time-varying signal to pass through the AC-coupling when in AC test mode. The IDT device supports both of these standards. Test Access Point The system logic utilizes a 16-state, TAP controller, a six-bit instruction register, and five dedicated pins to perform a variety of functions.
  • Page 682: Table 25.1 Jtag Pin Descriptions

    IDT JTAG Boundary Scan Notes Pin Name Type Description JTAG_TRST_N Input JTAG RESET (active low) Asynchronous reset for JTAG TAP controller (internal pull-up) JTAG_TCK Input JTAG Clock Test logic clock. JTAG_TMS and JTAG_TDI are sampled on the rising edge. JTAG_TDO is output on the falling edge.
  • Page 683: Boundary Scan Chain

    IDT JTAG Boundary Scan Boundary Scan Chain Notes Function Pin Name Type Boundary Cell PCI Express Interface PE00RN[3:0] PE00RP[3:0] PE00TN[3:0] PE00TP[3:0] PE02RN[3:0] PE02RP[3:0] PE02TN[3:0] PE02TP[3:0] PE04RN[3:0] PE04RP[3:0] PE04TN[3:0] PE04TP[3:0] PE06RN[3:0] PE06RP[3:0] PE06TN[3:0] PE06TP[3:0] PCI Express Interface PE08RN[3:0] (cont.) PE08RP[3:0] PE08TN[3:0]...
  • Page 684: Test Data Register (Dr)

    IDT JTAG Boundary Scan Notes Function Pin Name Type Boundary Cell SMBus MSMBCLK MSMBDAT SSMBADDR[2:1] SSMBCLK SSMBDAT General Purpose I/O GPIO[8:0] System Pins CLKMODE[1:0] GCLKFSEL STK0CFG0 STK1CFG0 STK2CFG0 STK3CFG0 PERSTN RSTHALT SWMODE[3:0] — EJTAG / JTAG JTAG_TCK — JTAG_TDI —...
  • Page 685: Boundary Scan Registers

    IDT JTAG Boundary Scan Boundary Scan Registers Notes This boundary scan chain is connected between JTAG_TDI and JTAG_TDO when EXTEST or SAMPLE/PRELOAD instructions are selected. Once EXTEST is selected and the TAP controller passes through the UPDATE-IR state, whatever value that is currently held in the boundary scan register’s output latches is immediately transferred to the corresponding outputs or output enables.
  • Page 686: Instruction Register (Ir)

    IDT JTAG Boundary Scan Notes shift_dr EXTEST Output enable from core Data from previous cell OEN to pad clock_dr update_dr I/O pin shift_dr Data from core EXTEST To next cell Figure 25.5 Diagram of Bidirectional Cell The bidirectional cells are composed of only two boundary scan cells. They contain one output enable cell and one capture cell, which contains only one register.
  • Page 687: Extest

    IDT JTAG Boundary Scan Notes Instruction Definition Opcode EXTEST Mandatory instruction allowing the testing of board level interconnec- 000000 tions. Data is typically loaded onto the latched parallel outputs of the boundary scan shift register using the SAMPLE/PRELOAD instruction prior to use of the EXTEST instruction. EXTEST will then hold these values on the outputs while being executed.
  • Page 688: Clamp

    Description Reset Reserved Reserved 11:1 Manuf_ID Manufacturer Identity (11 bits) 0x33 This field identifies the manufacturer as IDT. 27:12 Part_number Part Number (16 bits) This field identifies the silicon as PES32NT8AG2. 0x808F This field identifies the silicon as PES32NT8BG2. 0x8088...
  • Page 689: Extest_Pulse

    IDT JTAG Boundary Scan Notes After this instruction is asserted, the amount of time for which the pulses are generated is the amount of time for which the JTAG state machine is held in the Run-Test/Idle state. If the Run-Test/Idle state is not entered, the output of the AC pins is not distinguishable from the output of the DC EXTEST instruction.
  • Page 690 IDT JTAG Boundary Scan Notes PES32NT8xG2 User Manual 25 - 10 June 27, 2012...
  • Page 691: Usage Models

    Configurations other than those described in this chapter are possible. The PES32NT8xG2 is one member of a family of PCI Express® devices from IDT. In this chapter, several related devices are used as examples; however, each example is also applicable to the PES32NT8xG2.
  • Page 692: Port Clocking Configuration

    IDT Usage Models Notes Stack 3 will operate with one x8 port. To achieve this configuration, the STK3CFG[4:0] pins of the device can be tied to the appropriate value (refer to Table 3.7) on the system board. Alternatively, regardless of the value of the STK3CFG[4:0] pins, the stack may be dynamically reconfigured via serial EEPROM as follows: 1.
  • Page 693: Boot-Time Switch Partitioning

    IDT Usage Models Notes Root Complex Serial EEPROM CLKMODE[1:0] PES24NT6AG2 GCLK Figure 26.2 PES24NT6AG2 with Ports Operating in Different Clock Modes Description By default, all ports operate in global clocked mode. The CLKMODE[1:0] pins in the boot vector should be set to 0x1 to indicate that the upstream port of the switch operates in a common-clocked configuration with its link partner, while the downstream ports operate in a non-common clocked configuration with its link partner.
  • Page 694: Switch Partitioning Via Serial Eeprom

    IDT Usage Models Switch Partitioning via serial EEPROM Notes Goal Configure switch partitions via the serial EEPROM (i.e., during switch fundamental reset). Assumptions – PES16NT8BG2 switch device. – Two partitions will be created: • Partition 0 has ports 0, 8, and 10.
  • Page 695: Switch Partitioning Via Pci Express Configuration Requests

    IDT Usage Models Notes ing steps take place. 2. Ports 0, 8, and 10 are migrated to partition 0. Port 0 is configured as an upstream switch port in partition 0 by programming fields in the SWPORT0CTL register appropriately. Ports 8 and 10 are configured as downstream switch ports in partition 0 by programming fields in the SWPORT8CTL and SWPORT10CTL registers appropri- ately.
  • Page 696: Figure 26.4 Pes16Nt8Bg2 With Two Partitions Configured Via A Switch Manager Root Complex

    IDT Usage Models Notes (Switch Manager) Switch Manager configures the Switch switch through the global address space registers (GASAADDR & GASADATA) in this P2P function (P2P) (P2P) Partition 0 Partition 1 (P2P) (P2P) (P2P) (P2P) Figure 26.4 PES16NT8BG2 with Two Partitions Configured via a Switch Manager Root Complex...
  • Page 697 IDT Usage Models Notes address space, and therefore configure switch partitions by accessing the switch partition con- trol (SWPARTxCTL) and switch port control (SWPORTxCTL) registers. Disables access by other ports to the GASAADDR and GASADATA registers by programming the GASAPROT register.
  • Page 698: Dynamic Port And Partition Reconfiguration

    IDT Usage Models Dynamic Port and Partition Reconfiguration Notes I/O Load Balancing: Downstream Port Migration Goal The purpose of this section is to: – Show the process of migrating a downstream port from one partition to another in an effort to perform I/O load balancing between two partitions.
  • Page 699 IDT Usage Models Notes When the switch manager device wishes to receive global signals from partitions 0 and 1, it configures the global signals mechanism as follows: – The SEGSIGMSK register is configured to unmask global signals from partitions 0 and 1.
  • Page 700 IDT Usage Models Notes The communication between the switch manager device and RC1 is done using the global signals mechanism as follows: – The switch manager writes to the NTSDATA register in port 16. The message is a system-specific message indicating that a root-complex should get ready to loose port 8 in the device. The encoding of such messages are outside the scope of this document.
  • Page 701: Non-Transparent Bridge (Ntb) Usage Models

    IDT Usage Models Notes Switch Manager Switch (P2P) (P2P) (NT) Partition 0 Partition 1 Partition 2 (P2P) (P2P) (P2P) (P2P) (P2P) (P2P) Figure 26.6 I/O Load Balancing Example: Switch Configuration after Port Migration Non-Transparent Bridge (NTB) Usage Models PES32NT8xG2 as a Multiprocessor System Interconnect Goal Describe the process of interconnecting loosely-coupled multiprocessors using the switch’s non-trans-...
  • Page 702: Figure 26.7 Multiprocessor System Interconnection Using The Pes32Nt8Xg2

    IDT Usage Models Notes Switch Serial NT Interconnect EEPROM Partition 0 Partition 1 Partition 2 Partition 3 Figure 26.7 Multiprocessor System Interconnection Using the PES32NT8xG2 Description The serial EEPROM preconfigures the switch partitions as shown in Figure 26.7. The serial EEPROM preconfigures the BARSETUP0 register in each NT function to map BARs 0/1 to the NT function’s config...
  • Page 703 IDT Usage Models Notes The serial EEPROM preconfigures the NT messaging mechanism. In particular, it configures the manner in which messages issued by an NT function in a partition are transferred to NT functions in other partitions. During system operation, agents in each partition can communicate with each other using the switch’s NT messaging mechanism.
  • Page 704 IDT Usage Models Notes Each root-complex configures the NT lookup table in their corresponding NT function appropriately. For example, assume RC0 had received messages from RC1 indicating that it is allowed to transfer TLPs to a 256 KB window in RC1’s memory address range starting at address 0x4000_0000 (1 GB).
  • Page 705: Nt Crosslink & Nt Punch-Through

    IDT Usage Models NT Crosslink & NT Punch-Through Notes Goal The purpose of this section is to: – Describe a system configuration with two switches, each connected to a root and two endpoints. The PES32NT8xG2 switches are interconnected to each other via NT ports, forming a crosslink.
  • Page 706: Figure 26.9 System Configuration After Serial Eeprom Initialization

    IDT Usage Models Notes Switch #1 Switch # 2 Port 0 Port 0 Serial NT Crosslink EEPROM (NT) (NT) Partition 0 Partition 0 Part 1 Part 1 (P2P) (P2P) (P2P) (P2P) Figure 26.9 System Configuration after Serial EEPROM Initialization Description The serial EEPROM configures switch #1 as shown in Figure 26.9.
  • Page 707: Dma Usage Models

    IDT Usage Models Notes • BUS = 0x0, DEV = 0x0, FUNC = 0x0, {EREG, REG} = 0xFF8 – Write the following values to the PTCTL1 register in the NT function in port 8 of switch #1: • CFGTYPE = 0x0 (i.e., type 0 configuration access) •...
  • Page 708: Figure 26.10 System Configuration Immediately After Switch Fundamental Reset

    IDT Usage Models Notes Switch Switch Switch (UN) (UN) (UN) (UN) (UN) (UN) Processor Processor Processor Node Node Node Figure 26.10 System Configuration Immediately after Switch Fundamental Reset The roots in the system start the PCI Express hierarchy discovery process. The root-complex connected to the transparent switch starts enumeration.
  • Page 709: Figure 26.11 Target System Configuration

    IDT Usage Models Notes Switch Switch Switch ( NT) (NT) (NT) Port 0 Port 0 Port 0 Processor Processor Processor Node Node Node Figure 26.11 Target System Configuration The root-complex connected to the transparent switch completes enumeration. This root-complex views each processor node as an endpoint device with a single function (i.e., the NT function).
  • Page 710: Immediate Descriptor Usage

    IDT Usage Models Immediate Descriptor Usage Notes Goal Describe the use of a DMA “immediate data transfer descriptor” in combination with NT doorbells as a mechanism to notify a target device of a completion of a DMA data transfer to the device (i.e., via interrupt generation).
  • Page 711: Figure 26.12 Active/Passive System Configuration Before Failover Event

    IDT Usage Models Notes Description Fundamental reset is applied to the system. The switch boots in switch-mode “Multi-partition with Disabled ports and Serial EEPROM Initialization”. The serial EEPROM configures the switch as shown in Figure 26.12. – Port 0 is configured as an upstream switch port in partition 0.
  • Page 712 IDT Usage Models Notes • The FEN field in the SWPART4CTL and SWPORT6CTL registers is set to 0x1. – Ports 4 and 6 are configured to respond to primary and secondary failover events by programming fields in the SWPORT4FCTL and SWPORT6FCTL registers as follows: •...
  • Page 713: Active / Active Failover Configuration

    IDT Usage Models Notes Primary Secondary Root Root ( Passive ) ( Active) Switch (P2P) Serial Failover Signal Partition 0 GPIO[4] Partition 1 EEPROM ( Disabled ) (P2P) (P2P) Figure 26.13 Active/Passive System Configuration after Failover Event The root complex connected to port 8 can now configure the PCI Express hierarchy. It is assumed that the root complex is aware that the failover operation has occurred, so that it may proceed to configure the PCI Express hierarchy associated with the switch’s port 8.
  • Page 714: Figure 26.14 Active/Active System Configuration Before Failover Event

    IDT Usage Models Notes Switch Serial Port 0 Port 8 EEPROM NT Interconnect PART0 PERSTN PART1 PERSTN Partition 0 Partition 1 (P2P) (P2P) (P2P) (P2P) EP12 EP16 Figure 26.14 Active/Active System Configuration Before Failover Event The serial EEPROM configures the GPIO pins 0 and 1 to operate in alternate function 0 mode.
  • Page 715 IDT Usage Models Notes • PFMODE = SFMODE = 0x5 (i.e., primary and secondary failover mode is set to unattached port) – Ports 12 and 16 are configured to respond to primary and secondary failover events by program- ming fields in the SWPORT12FCTL and SWPORT16FCTL registers as follows: •...
  • Page 716: Figure 26.15 Active/Active System Configuration Before Failover Event

    IDT Usage Models Notes Switch Serial Port 8 EEPROM (UN) Partition 1 Partition 0 ( Active) PART0 PERSTN PART1 PERSTN (P2P) (P2P) (P2P) (P2P) EP12 EP16 Figure 26.15 Active/Active System Configuration Before Failover Event If at a later timer the failed root is repaired or replaced, a partition fundamental reset in the partition connected to the failed root complex is expected.
  • Page 717: Failover With Two Crosslinked Pes32Nt8Xg2 Switches

    IDT Usage Models Notes correct system operation, RC1 migrates the downstream ports 4 and 6 before modifying the operating mode of the upstream port 0. In this way, the root connected to the upstream port 0 will find a fully estab- lished partition during enumeration.
  • Page 718 IDT Usage Models Notes Description In each switch, the event signaling mechanism is configured to report link down events that occur on ports 0 and 8 to switch partitions 0 and 1. In switch #1, a link down event on port 0 is configured to be reported to partitions 0 and 1.
  • Page 719: Figure 26.17 System Configuration After Rc2 Modifies Port 8 In Switch #2

    IDT Usage Models Notes At this point, port 8 is part of the PCI Express hierarchy in partition 0 of the #2 switch (i.e., a downstream switch port located in the virtual PCI bus of partition 0). Figure 26.17 shows the system configuration. RC2 can now send configuration request TLPs to the PCI-to-PCI bridge function in port 8 without having to access the switch’s global address space.
  • Page 720: Nt Multicasting

    IDT Usage Models Notes • Given that the port operating mode action is set to ‘No Action’, the port operating mode change process does not affect the link between the two switches or the ability of RC2 to access the GASAADDR and GASADATA registers in function 0 of port 8 in switch #1.
  • Page 721: Figure 26.19 Pes32Nt8Xg2 With Port 0 Configured In Nt Function With Dma Mode And Ports 4, 8, And 16 In Nt Function Mode

    IDT Usage Models Notes Assumptions The system is configured as shown in Figure 26.19. The data is to be NT multicasted from system memory in the root complex associated with switch partition 0 (i.e., RC0) to memory in the root complex associated with switch partitions 1 to 3.
  • Page 722: Figure 26.20 Pes32Nt8Xg2 With Port 0 Configured In Nt Function With Dma Mode And Ports 4, 8, And 16 In Nt Function Mode

    IDT Usage Models Notes For example, RC2 uses NT multicast overlay register set 0, programs the overlay address to base 0x0510_0000, and programs the overlay requester ID to match that of the NT function in port 8. Also, RC3 uses NT multicast overlay register set 0, programs the overlay address to base 0x0820_0000, and programs the overlay requester ID to match that of the NT function in port 16.

Table of Contents