2760QM - Processor INTEL - Free user manual and instructions
Find the device manual for free 2760QM INTEL in PDF.
Download the instructions for your Processor in PDF format for free! Find your manual 2760QM - INTEL and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. 2760QM by INTEL.
USER MANUAL 2760QM INTEL
Core™ i7 Processor Family for the LGA-2011 Socket Datasheet, Volume 2 Supporting Desktop Intel
Core™ i7-3960X Extreme Edition Processor for the LGA-2011 Socket Supporting Desktop Intel
Core™ i7-3000K and i7-3000 Processor Series for the LGA-2011 Socket This is volume 2 of 2. November 20112 Datasheet, Volume 2 Legal Lines and Disclaimersal Lines and Disclaimers INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL
PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. Intel products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked “reserved” or “undefined.” Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. This document contains information on products in the design phase of development. The information here is subject to change without notice. Do not finalize a design with this information. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Hyper-Threading Technology requires a computer system with a processor supporting HT Technology and an HT Technology enabled chipset, BIOS and operating system. Performance will vary depending on the specific hardware and software you use. For more information including details on which processors support HT Technology, see http://www.intel.com/products/ht/hyperthreading_more.htm. Enhanced Intel SpeedStep® Technology - See the Processor Spec Finder or contact your Intel representative for more information. Enabling Execute Disable Bit functionality requires a PC with a processor with Execute Disable Bit capability and a supporting operating system. Check with your PC manufacturer on whether your system delivers Execute Disable Bit functionality. Intel
Virtualization Technology requires a computer system with an enabled Intel
processor, BIOS, virtual machine monitor (VMM) and, for some uses, certain computer system software enabled for it. Functionality, performance or other benefits will vary depending on hardware and software configurations and may require a BIOS update. Software applications may not be compatible with all operating systems. Please check with your application vendor. Intel
Turbo Boost Technology requires a PC with a processor with Intel Turbo Boost Technology capability. Intel Turbo Boost Technology performance varies depending on hardware, software and overall system configuration. Check with your PC manufacturer on whether your system delivers Intel Turbo Boost Technology. For more information, see http://www.intel.com/technology/turboboost/. Intel
Active Management Technology requires the platform to have an Intel
AMT-enabled chipset, network hardware and software, connection with a power source and a network connection. 64-bit computing on Intel architecture requires a computer system with a processor, chipset, BIOS, operating system, device drivers and applications enabled for Intel
64 architecture. Performance will vary depending on your hardware and software configurations. Consult with your system vendor for more information. Intel processor numbers are not a measure of performance. Processor numbers differentiate features within each processor family, not across different processor families. See http://www.intel.com/products/processor_number for details.
C is a two-wire communications bus/protocol developed by Philips. SMBus is a subset of the I
C bus/protocol and was developed by Intel. Implementations of the I
C bus/protocol may require licenses from various entities, including Philips Electronics N.V. and North American Philips Corporation. Intel, Enhanced Intel SpeedStep Technology, Intel Core, and the Intel logo are trademarks of Intel Corporation in the U.S. and other countries. *Other names and brands may be claimed as the property of others. Copyright © 2011, Intel Corporation. All rights reserved.Datasheet, Volume 2 3 Contents 1Introduction............................................................................................................ 25
3.2.4.74 ERRCAPHDR—PCI Express* Enhanced Capability Header
3.2.4.80 ERRCAP—Advanced Error Capabilities and Control Register .............99
3.2.4.85 PERFCTRLSTS—Performance Control and Status Register..............102
3.2.4.86 MISCCTRLSTS—Miscellaneous Control and Status Register............103
3.2.4.90 PXP2CAP—Secondary PCI Express* Extended Capability
3.2.5.21 LER_CTRLSTS—Live Error Recovery Control and Status Register ... 119
3.2.6.1 LN[0:3]EQ—Lane 0 through Lane 3 Equalization
Control Register...................................................................... 121
3.2.6.2 LN[4:7]EQ—Lane 4 through Lane 7 Equalization Control Register .. 122
3.2.6.3 LN[8:15]EQ—Lane 8 though Lane 15 Equalization Control Register 124
Management Engine (Intel
3.3.3.35 IRP_MISC_DFX0—Coherent Interface Miscellaneous
3.3.5.33 MIFFERRST—Miscellaneous Fatal First Error Status Register ..........216
3.3.5.34 MIFFERRHDR_[0:3]—Miscellaneous Fatal First Error Header 0
Log Register ...........................................................................216
3.3.5.35 MIFNERRST—Miscellaneous Fatal Next Error Status Register .........216
3.3.5.36 MINFERRST—Miscellaneous Non-Fatal First Error Status Register ...216
3.3.5.37 MINFERRHDR_[0:3]—Miscellaneous Non-Fatal First Error
Header 0 Log Register..............................................................217
3.3.5.38 MINNERRST—Miscellaneous Non-Fatal Next Error Status Register ..217
3.3.5.39 MIERRCNTSEL—Miscellaneous Error Count Select Register ............217
3.3.6.10 RDWINDOW—Alternate Window to read Indirect
4.2.6.5 MC_INIT_STATE_G—Initialization State for Boot, Training
4.2.14 Integrated Memory Controller DIMM Channels
4.2.16.9 CORRERRCNT_1—Corrected Error Count Register ........................449Datasheet, Volume 2 17
VT-d Memory Mapped Registers – 200h–2FCh (VTD0), 1200h–12FCh (VTD1) 236 3-24 Intel
Revision Number Description Date 001 • Initial release November 2011 002 • Updated to clarify references to PCI Express* November 2011Datasheet, Volume 2 25 Introduction 1 Introduction This document is Volume 2 of the datasheet for the Intel
Core™ i7 processor family for the LGA-2011 socket. The complete datasheet consists of two volumes. This document provides register information. Volume 1 provides DC electrical specifications, land and signal definitions, interface functional descriptions, power management descriptions, and additional feature information pertinent to the implemtation and operation of the processor on its platform. The Intel
Core™ i7 processor family for the LGA-2011 socket are multi-core processors, based on 32-nm process technology. The processor is optimized for performance with the power efficiencies of a low-power microarchitecture. Processor features vary by SKU and include up to 20 MB of shared cache, and an integrated memory controller. The processors support all the existing Streaming SIMD Extensions 2 (SSE2), Streaming SIMD Extensions 3 (SSE3), and Streaming SIMD Extensions 4 (SSE4). The processor supports several Advanced Technologies – Execute Disable Bit, Intel
Virtualization Technology (Intel
Technology). The processor contains one or more PCI devices within a single physical component. The configuration registers for these devices are mapped as devices residing on the PCI Bus assigned for the processor socket. This document describes these configuration space registers or device-specific control and status registers (CSRs) only. This document does NOT include Model Specific Registers (MSRs). The processor implements several key technologies:
- Four channel Integrated Memory Controller supporting DDR3
- Integrated I/O with up to 40 lanes for PCI Express* capable of up to 8.0 GT/s speeds. Note: Throughout this document, Intel
Core™ i7 processor family for the LGA-2011 socket may be referred to as “processor”.
1.1 Document Terminology
A ‘#’ symbol after a signal name refers to an active low signal, indicating a signal is in the active state when driven to a low level. For example, when RESET# is low, a reset has been requested. Table 1-1. Processor Terminology (Sheet 1 of 3) Term Description DDR3 Third generation Double Data Rate SDRAM memory technology that is the successor to DDR2 SDRAMDMA Direct Memory AccessDMI2 Direct Media Interface 2DTS Digital Thermal SensorEnhanced Intel SpeedStep® TechnologyAllows the operating system to reduce power consumption when performance is not needed.Introduction 26 Datasheet, Volume 2 Execute Disable Bit The Execute Disable bit allows memory to be marked as executable or non- executable, when combined with a supporting operating system. If code attempts to run in non-executable memory the processor raises an error to the operating system. This feature can prevent some classes of viruses or worms that exploit buffer overrun vulnerabilities and can thus help improve the overall security of the system. See the Intel
64 and IA-32 Architectures Software Developer's Manuals for more detailed information. Functional Operation Refers to the normal operating conditions in which all processor specifications, including DC, AC, system bus, signal quality, mechanical, and thermal, are satisfied. Home Agent (HA) Responsible for memory transaction through the Ring and handles incoming/ outgoing memory transactions Integrated Heat Spreader (IHS) A component of the processor package used to enhance the thermal performance of the package. Component thermal solutions interface with the processor at the IHS surface. Integrated Memory Controller (IMC) The Memory Controller is integrated on the processor die. Intel
64 Technology 64-bit memory extensions to the IA-32 architecture. Intel
Turbo Boost Technology is a way to automatically run the processor core faster than the marked frequency if the part is operating under power, temper- ature, and current specifications limits of the Thermal Design Power (TDP). This results in increased performance of both single and multi-threaded applications. Intel
Virtualization Technology (Intel
VT) Processor virtualization which when used in conjunction with Virtual Machine Monitor software enables multiple, robust independent software environments inside a single platform. Intel
Virtualization Technology (Intel
VT) for Directed I/O. Intel VT-d is a hardware assist, under system software (Virtual Machine Manager or OS) control, for enabling I/O device virtualization. Intel VT-d also brings robust security by providing protection from errant DMAs by using DMA remapping, a key feature of Intel VT-d. IOV I/O Virtualization Jitter Any timing variation of a transition edge or edges from the defined Unit Interval (UI). LGA2011 Socket The 2011-land FC-LGA package mates with the system board through this surface mount, 2011-contact socket. NCTF Non-Critical to Function: NCTF locations are typically redundant ground or non- critical reserved, so the loss of the solder joint continuity at end of life conditions will not affect the overall product functionality. NTB Non-Transparent Bridge PCH Platform Controller Hub. The next generation chipset with centralized platform capabilities including the main I/O interfaces along with display connectivity, audio features, power management, manageability, security and storage features. PCU Power Control Unit. PECI Platform Environment Control Interface Processor The 64-bit, single-core or multi-core component (package) Processor Core The term “processor core” refers to Si die itself which can contain multiple execution cores. Each execution core has an instruction cache, data cache, and 256-KB L2 cache. All execution cores share the L3 cache. Rank A unit of DRAM corresponding four to eight devices in parallel. These devices are usually, but not always, mounted on a single side of a DDR3 DIMM. Ring Processor interconnect between the different Uncore modules RP Indicate Root Port for PCI Express SCI System Control Interrupt. Used in ACPI protocol. Table 1-1. Processor Terminology (Sheet 2 of 3) Term DescriptionDatasheet, Volume 2 27
1.2 Related Documents
Refer to the following documents for additional information. SMBus System Management Bus. A two-wire interface through which simple system and power management related devices can communicate with the rest of the system. It is based on the principals of the operation of the I
C* two-wire serial bus from Philips Semiconductor. SSE Intel
SSE) Storage Conditions A non-operational state. The processor may be installed in a platform, in a tray, or loose. Processors may be sealed in packaging or exposed to free air. Under these conditions, processor landings should not be connected to any supply voltages, have any I/Os biased or receive any clocks. Upon exposure to “free air” (that is, unsealed packaging or a device removed from packaging material) the processor must be handled in accordance with moisture sensitivity labeling (MSL) as indicated on the packaging material. TAC Thermal Averaging Constant TDP Thermal Design Power Uncore The portion of the processor comprising the shared cache, IMC, and IIO. Unit Interval Signaling convention that is binary and unidirectional. In this binary signaling, one bit is sent for every edge of the forwarded clock, whether it be a rising edge or a falling edge. If a number of edges are collected at instances t
then the UI at instance “n” is defined as:
UR Unsupported Requests
Processor core power supply
Processor ground x1 Refers to a Link or Port with one Physical Lane x16 Refers to a Link or Port with sixteen Physical Lanes x4 Refers to a Link or Port with four Physical Lanes x8 Refers to a Link or Port with eight Physical Lanes Table 1-1. Processor Terminology (Sheet 3 of 3) Term Description Table 1-2. Processor Documents (Sheet 1 of 2) Document Document Number/ Location Intel
Core™ i7 Processor Family for the LGA-2011 Socket Datasheet, Volume
Core™ i7 Processor Family for the LGA-2011 Thermal Mechanical Specification and Design Guide
Core™ i7 Processor Family for the LGA-2011 Socket Specification Update
1.3 Register Terminology
The bits in configuration register descriptions will have an assigned attribute from Table 1-3. Bits without a Sticky attribute are set to their default value by a hard reset. Note: Table 1-3 is a comprehensive list of all possible attributes and included for completeness. Intel
Virtualization Technology Specification for Directed I/O Architecture Specification http://download.intel.com/ technology/computing/ vptech/ Intel(r)_VT_for_Direct_IO.p
Read Only: These bits can only be read by software, writes have no effect. The value of the bits is determined by the hardware only. RW Read / Write: These bits can be read and written by software.
Read Clear Variant :These bits can be read by software, and the act of reading them automatically clears them. HW is responsible for writing these bits, and therefore the -V modifier is implied. W1S Write 1 to Set :Writing a 1 to these bits will set them to 1. Writing 0 will have no effect. Reading will return indeterminate values and read ports are not requited on the register. These are not supported by critter, and today is only allowed in the Cbo.
Write Only: These bits can only be written by microcode, reads return indeterminate values. Microcode that wants to ensure this bit was written must read wherever the side-effect takes place. RW-O Read / Write Once: These bits can be read by software. After reset, these bits can only be written by software once, after which the bits becomes ‘Read Only’. RW-L Read / Write Lock: These bits can be read and written by software. Hardware can make these bits ‘Read Only’ using a separate configuration bit or other logic. RW1C Read / Write 1 to Clear: These bits can be read and cleared by software. Writing a ‘1’ to a bit clears it, while writing a ‘0’ to a bit has no effect. ROS RO Sticky: These bits can only be read by software, writes have no effect. The value of the bits is determined by the hardware only. These bits are only re-initialized to their default value by a PWRGOOD reset. RW1S Read, Write 1 to Set: These bits can be read. Writing a 1 to a given bit will set it to 1. Writing a 0 to a given bit will have no effect. It is not possible for software to set a bit to "0". The 1->0 transition can only be performed by hardware. These registers are implicitly -V. RWS R / W Sticky: These bits can be read and written by software. These bits are only re-initialized to their default value by a PWRGOOD reset. RW1CS R / W1C Sticky: These bits can be read and cleared by software. Writing a ‘1’ to a bit clears it, while writing a ‘0’ to a bit has no effect. These bits are only re-initialized to their default value by a PWRGOOD reset.Datasheet, Volume 2 29
RW-LB Read/Write Lock Bypass : Similar to RWL, these bits can be read and written by software. HW can make these bits "Read Only" using a separate configuration bit or other logic. However, RW- LB is a special case where the locking is controlled by the lock-bypass capability that is controlled by the lock-bypass enable bits. Each lock-bypass enable bit enables a set of config request sources that can bypass the lock. The requests sourced from the corresponding bypass enable bits will be lock-bypassed (that is, RW) while requests sourced from other sources are under lock control (RO). The lock bit and bypass enable bit are generally defined with RWO attributes. Sticky can be used with this attribute (RW-SWB). These bits are only reinitialized to their default values after PWRGOOD. Note that the lock bits may not be sticky, and it is important that they are written to after reset to ensure that software will not be able to change their values after a reset. RO-FW Read Only Forced Write :These bits are read only from the perspective of the cores. However, Pcode is able to write to these registers. RWS-O If a register is both sticky and "once" then the sticky value applies to both the register value and the "once" characteristic. Only a PWRGOOD reset will reset both the value and the "once" so that the register can be written to again. RW-V These bits may be modified by hardware. Software cannot expect the values to stay unchanged. This is similar to "volatile" in software land. RWS-L If a register is both sticky and locked, then the sticky behavior only applies to the value. The sticky behavior of the lock is determined by the register that controls the lock.
Reserved: These bits are reserved for future expansion and their value must not be modified by software. When writing these bits, software must preserve the value read. The bits are read-only must return 0 when read. Table 1-3. Register Attributes Definitions (Sheet 2 of 2) Attr DescriptionIntroduction 30 Datasheet, Volume 2Datasheet, Volume 2 31 Configuration Process and Registers 2 Configuration Process and Registers
2.1 Platform Configuration Structure
The DMI2 physically connects the processor and the PCH. From a configuration standpoint, the DMI2 is a logical extension of PCI Bus 0. DMI2 and the internal devices in the processor IIO and PCH logically constitute PCI Bus 0 to configuration software. As a result, all devices internal to the processor and the PCH appear to be on PCI Bus 0.
2.1.1 Processor IIO Devices (CPUBUSNO (0))
The processor IIO contains 10 PCI devices within a single, physical component. The configuration registers for the devices are mapped as devices residing on PCI Bus “CPUBUSNO(0) ” where CPUBUSNO(0) is programmable by BIOS.
- Device 0: DMI2 Root Port. Logically this appears as a PCI device residing on PCI Bus 0. Device 0 contains the standard PCI header registers, extended PCI configuration registers and DMI2 device specific configuration registers.
- Device 1: PCI Express Root Port 1a and 1b. Logically this appears as a “virtual” PCI-to-PCI bridge residing on PCI Bus 0 and is compliant with the PCI Express Local Bus Specification Revision 3.0. Device 1 contains the standard PCI Express/PCI configuration registers including PCI Express Memory Address Mapping registers. It Figure 2-1. Processor Integrated I/O Device Map Bus= CPUBUSNO(0)* PCH DMI2 Host Bridge or PCIe Root Port (Device 0)Integrated I /O Core (Device 5) Memory Map/VTd (Function 0)IOAPIC (Function 4)PCIe Port 1a(Dev#1, F#0)PCIe Port 1b(Dev#1, F#1) IOU Port 1IOU Port 2IOU Port 3 PCIe Port 2a(Dev#2, F#0)PCIe Port 2b(Dev#2, F#1)PCIe Port 2c(Dev#2, F#2)PCIe Port 2d(Dev#2, F#3)PCIe Port 3a(Dev#3, F#0)PCIe Port 3b(Dev#3, F#1)PCIe Port 3c(Dev#3, F#2)PCIe Port 3d(Dev#3, F#3)ProcessorConfiguration Process and Registers 32 Datasheet, Volume 2 also contains the extended PCI Express configuration space that include PCI Express error status/control registers and Isochronous and Virtual Channel controls.
- Device 2: PCI Express Root Port 2a, 2b, 2c and 2d. Logically this appears as a “virtual” PCI-to-PCI bridge residing on PCI bus 0 and is compliant with PCI Express Specification Revision 3.0. Device 2 contains the standard PCI Express/PCI configuration registers including PCI Express Memory Address Mapping registers. It also contains the extended PCI Express configuration space that include PCI Express Link status/control registers and Isochronous and Virtual Channel controls.
- Device 3: PCI Express Root Port 3a, 3b, 3c and 3d. Logically this appears as a “virtual” PCI-to-PCI bridge residing on PCI Bus 0 and is compliant with PCI Express Local Bus Specification Revision 3.0. Device 3 contains the standard PCI Express/ PCI configuration registers including PCI Express Memory Address Mapping registers. It also contains the extended PCI Express configuration space that include PCI Express error status/control registers and Isochronous and Virtual Channel controls.
- Device 5: Integrated I/O Core. This device contains the Standard PCI registers for each of its functions. This device implements three functions; Function 0 contains Address Mapping, Intel
Virtualization Technology (Intel
VT) for Directed I/O (Intel
VT-d) related registers and other system management registers. Function 4 contains System Control/Status registers and miscellaneous control/status registers on power management and throttling. 2Datasheet, Volume 2 33
Configuration Process and Registers
2.1.2 Processor Uncore Devices (CPUBUSN0 (1))
The configuration registers for these devices are mapped as devices residing on the PCI bus assigned for the processor socket.
- Device 10: Processor Power Control Unit. Device 10, Function 0-3 contains the configurable PCU registers and resides at DID of 3CC0h-3CD0h.
- Device 11: Processor Interrupt Event Handling. Device 11, Function 3 contains the Semaphore and Scratchpad configuration registers. Device 11, Function 0 contains the processor Interrupt control registers.
- Device 12: Processor Core Broadcast. Device 12, Function 0-3 contains the Unicast configuration registers, Function 6 contains the Caching agent broadcast configuration registers for the Memory Controller. Function 7 contains the System Address Decode registers.
- Device 13: Processor Core Broadcast. Device 13, Function 0-3 contain the Unicast registers, Function 6 contains the Caching agent broadcast configuration registers for the Memory Controller.
- Device 14: Processor Home Agent. Device 14, Function 0 contains the processor Home Agent Target Address configuration registers for the Memory Controller. Device 14, Function 1 contains processor Home Agent performance monitoring registers.
- Device 15: Integrated Memory Controller. Device 15, Function 0 contains the general and MemHot registers for the Integrated Memory Controller and resides at DID of 3CA8h. Device 15, Function 2-5 contains the Target Address Decode, Channels Rank and Memory Timing Registers which resides at DID of 3CAAh to 3CADh. Figure 2-2. Processor Uncore Devices Map Bus= CPUBUSNO(1)* Integrated Memory Controller (Device 15) Processor Integrated Memory Controller (Device 16) Core Broadcast Processor Interrupt Handling (Device 11, Function 3 and 6) Processor Home Agent Performance Monitoring (Device 12, Function 6 and 7, Device 13 Function 6) (Device 14, Function 0-1) General Registers (Function 0) Channel TAD, Rank and Timings (Function 2-5) Thermal Control (Function 0, 1, 4, and 5) Test (Function 2, 3, 6 and 7) (Device 19, Function 1)Configuration Process and Registers 34 Datasheet, Volume 2
- Device 16: Integrated Memory Controller Channel 0, 1, 2 and 3. Device 16, Function 0, 1, 4 and 5 contains the Thermal control registers for Integrated Memory Controller. Channel 0 resides at DID of 3CB4h. Channel 1 resides at DID of 3CB5h. Channel 2 resides at DID of 3CB0h. Channel 3 resides at DID of 3CB1h. Device 16, Function 2, 3, 6 and 7 contains the test registers for the Integrated Memory Controller.
- Device 19: Processor performance monitoring and Ring. Device 19, Function 1 contains the processor Ring to PCI Express performance monitoring registers and resides a DID of 3C43h.
2.2 Configuration Register Rules
- CSRs are chipset specific registers that are located at PCI defined address space.
Configuration space registers are accessed using the configuration transaction mechanism defined in the PCI specification and this uses the bus:device:function number concept to address a specific device’s configuration space. Accesses to PCI configuration registers is achieved using NcCfgRd/Wr transactions on the Ring. All configuration register accesses are accessed over Message Channel through the UBox but might come from a variety of different sources:
- PECI or JTAG This unit supports PCI configuration space access as defined in the PCI Express Base Specification, Revision 3.0. Configuration registers can be read or written in Byte, WORD (16-bit), or DWord (32-bit) quantities. Accesses larger than a DWord to PCI Express configuration space will result in unexpected behavior. All multi-byte numeric fields use “little-endian” ordering (that is, lower addresses contain the least significant parts of the field).
2.2.2 PCI Bus Number
In the tables shown for IIO devices ( 0–7), the PCI Bus numbers are all marked as “Bus 0”.The specific bus number for all PCIe* devices in the processor is specified in the CPUBUSNO register “CPUBUSNO—CPU Internal Bus Numbers Register” on page 165 which exists in the I/O module’s configuration space.
2.2.3 Uncore Bus Number
In the tables shown for Uncore devices (8 - 19), the PCI Bus numbers are all marked as “bus 1”. The specific bus number for all PCIe devices in the processor is specified in the CPUBUSNO register found at “CPUBUSNO—CPU Internal Bus Numbers Register” on page 165.Datasheet, Volume 2 35
Configuration Process and Registers
2.3 Configuration Mechanisms
The processor is the originator of configuration cycles. Internal to the processor, transactions received through both of the below configuration mechanisms are translated to the same format.
2.3.1 Standard PCI Express* Configuration Mechanism
The following is the mechanism for translating processor I/O bus cycles to configuration cycles. The PCI specification defines a slot based "configuration space" that allows each device to contain up to eight functions, with each function containing up to 256, 8-bit configuration registers. The PCI specification defines two bus cycles to access the PCI configuration space—Configuration Read and Configuration Write. Memory and I/O spaces are supported directly by the processor. Configuration space is supported by a mapping mechanism implemented within the processor.
Each component in the processor is uniquely identified by a PCI bus address consisting of Bus Number, Device Number and Function Number. Device configuration is based on the PCI Type 0 configuration conventions. All processor registers appear on the PCI bus assigned for the processor socket. Table 2-1. Functions Specifically Handled by the Processor (Sheet 1 of 2) Register Group DID Device Function Comment DMI2 3C00h 0 0 x4 Link from Processor to PCH PCI Express Root Port 1 3C02h, 3C03h 1 0–1 x8 or x4 max link width PCI Express Root Port 2 3C04h, 3C05h, 3C06h, 3C07h 2 0–3 x16, x8 or x4 max link width PCI Express Root Port 3 3C08h, 3C09h, 3COAh, 3C0Bh 3 0–3 x16, x8 or x4 max link width Core 3C28h 5 0 Address Map, VTd_Misc, System Management Core 3C2Ah 5 2 RAS, Control Status and Global Errors Core 3C2Ch 5 4 I/O APIC Core 3C40h 5 6 IIO Switch and IRP Perfmon PCU 3CC0h, 3CC1h, 3CC2h 3CD0h 10 0–3 Power Control Unit UBOX 3CE0h 11 0 Scratchpad and Semaphores UBOX 3CE3h 11 3 Scratchpad and Semaphores Caching Agent (CBo) 3CE8h, 3CEAh, 3CECh, 3CEEh 12 0–3 Unicast RegistersConfiguration Process and Registers 36 Datasheet, Volume 2
The processor IIO contains 10 PCI devices within a single, physical component. The configuration registers for the devices are mapped as devices residing on PCI Bus “CPUBUSNO(0)” where CPUBUSNO(0) is programmable by BIOS.
3.2 PCI Configuration Space Registers (CSRs)
This section covers registers which reside in legacy PCIe configuration space. Comments at the top of the table indicate what devices/functions the description applies to. Exceptions that apply to specific functions are noted in the individual bit descriptions.
3.2.1 Unimplemented Devices/Functions and Registers
Configuration reads to unimplemented functions and devices will return all ones emulating a master abort response. Note that there is no asynchronous error reporting that happens when a configuration read master aborts. Configuration writes to unimplemented functions and devices will return a normal response. Software should not attempt or rely on reads or writes to unimplemented registers or register bits. Unimplemented registers should return 00h bytes. Writes to unimplemented registers are ignored. For configuration writes to these register (require a completion), the completion is returned with a normal completion status (not master- aborted).
3.2.2 PCI Bus Number
In the following tables, the PCI Bus numbers are all marked as “bus 0”. The specific bus number for all PCIe devices in the processor is specified in the CPUBUSNO register found at Section 3.3.3.14, “CPUBUSNO—CPU Internal Bus Numbers Register” on page 165.Processor Integrated I/O (IIO) Configuration Registers38 Datasheet, Volume 2 Note: VSEC stands for Vendor Specific Extended Capability. In DMI2 mode, AER appears as a vendor specific extended capability. Figure 3-1. DMI2 Port (Device 0) and PCI Express* Root Ports Type 1 Configuration Space 0x00 0x40 0x100 0 xFFF VSEC - REUT Capability Type0 Header CAP_ PTR PCIe Capability Extended Configuration Space PCI Device Dependent PCI Header PM Capability Configuration Space Legacy VSEC -AER CapabilityDatasheet, Volume 2 39
Processor Integrated I/O (IIO) Configuration Registers Figure 3-2 illustrates how each PCI Express/DMI2 port’s configuration space appears to software. Each PCI Express configuration space has three regions:
- Standard PCI Header: This region is the standard PCI-to-PCI bridge header providing legacy OS compatibility and resource management.
- PCI Device Dependent Region: This region is also part of standard PCI configuration space and contains basic PCI capability structures and other port specific registers. For the processor, the supported capabilities are: — SVID/SDID Capability — Message Signalled Interrupts — Power Management — PCI Express Capability
- PCI Express Extended Configuration Space: This space is an enhancement beyond standard PCI and only accessible with PCI Express aware software. Figure 3-2. Device 1/Functions 0–1 (Root Ports) – Device 2/Function 0–3 (Root Port Mode) and Devices 3/Functions 0–3 (Root Ports) Type 1 Configuration Space 0x00 0x40 0x100 0xFFF ACS Capability MSI Capability P2 P Header CAP_ PTR PCIe Capability Extended Configuration Space PCI Device Dependent PCI Header PM Capability SVID / SDID Capability VSEC
REUT Capability AER Capability Configuration Space LegacyProcessor Integrated I/O (IIO) Configuration Registers 40 Datasheet, Volume 2
2. Applicable to Device 2/Function 0.
3. Applicable to Device 2,3/Function 0.
4. Applicable to Device 1-3.
Processor Integrated I/O (IIO) Configuration Registers
3.2.4 Standard PCI Configuration Space (Type 0/1
Common Configuration Space) This section covers registers in the 0h to 3Fh region that are common to all the devices 0–3. Comments at the top of the table indicate what devices/functions the description applies to. Exceptions that apply to specific functions are noted in the individual bit descriptions.
3.2.4.1 VID—Vendor Identification Register
3.2.4.2 DID—Device Identification Register
Register: VID Bus: 0 Device: 0 Function: 0 Offset: 00h Bus: 0 Device: 1 Function: 0–1 Offset: 00h Bus: 0 Device: 2 Function: 0–3 Offset: 00h Bus: 0 Device: 3 Function: 0–3 Offset: 00h Bit Attr Reset Value Description 15:0 RO 8086h Vendor Identification Number The value is assigned by PCI-SIG to Intel. DID Bus: 0 Device: 0 Function: 0 Offset: 00h Bus: 0 Device: 1 Function: 0–1 Offset: 00h Bus: 0 Device: 2 Function: 0–3 Offset: 00h Bus: 0 Device: 3 Function: 0–3 Offset: 00h Bit Attr Reset Value Description 15:0 RO Device Identification Number Device IDs for PCI Express root ports are as follows: 3C00h = Device 0 in DMI mode 3C02h = Port 1a 3C03h = Port 1b 3C04h = Port 2a 3C05h = Port 2b 3C06h = Port 2c 3C07h = Port 2d 3C08h = Port 3a in PCIe mode 3C09h = Port 3b 3C0Ah = Port 3c 3C0Bh = Port 3d The value is assigned by Intel to each product.Processor Integrated I/O (IIO) Configuration Registers 48 Datasheet, Volume 2
3.2.4.3 PCICMD—PCI Command Register
PCICMD Bus: 0 Device: 0 Function: 0 Offset: 04h Bus: 0 Device: 1 Function: 0–1 Offset: 04h Bus: 0 Device: 2 Function: 0–3 Offset: 04h Bus: 0 Device: 3 Function: 0–3 Offset: 04h Bit Attr Reset Value Description 15:11 RV 0h Reserved 10 RW 0b INTxDisable: Interrupt Disable This bit controls the ability of the PCI Express port to generate INTx messages. This bit does not affect the ability of the processor to route interrupt messages received at the PCI Express port. However, this bit controls the generation of legacy interrupts to the DMI for PCI Express errors detected internally in this port (for example, Malformed TLP, CRC error, completion time out, and so forth) or when receiving RP error messages or interrupts due to HP/PM events generated in legacy mode within the processor. 1 = Legacy Interrupt mode is disabled 0 = Legacy Interrupt mode is enabled 9RO 0b Fast Back-to-Back Enable Not applicable to PCI Express must be hardwired to 0. 8RO 0b SERR Enable For PCI Express/DMI ports, this field enables notifying the internal core error logic of occurrence of an uncorrectable error (fatal or non-fatal) at the port. The internal core error logic of IIO then decides if/how to escalate the error further (pins/message, and so forth). This bit also controls the propagation of PCI Express ERR_FATAL and ERR_NONFATAL messages received from the port to the internal IIO core error logic. 1 = Fatal and Non-fatal error generation and Fatal and Non-fatal error message forwarding is enabled 0 = Fatal and Non-fatal error generation and Fatal and Non-fatal error message forwarding is disabled Refer to PCI Express Base Specification, Revision 3.0 for details of how this bit is used in conjunction with other control bits in the Root Control register for forwarding errors detected on the PCI Express interface to the system core error logic. 7RO 0b IDSEL Stepping/Wait Cycle Control Not applicable to PCI Express must be hardwired to 0. 6RW 0b Parity Error Response For PCI Express/DMI ports, IIO ignores this bit and always does ECC/parity checking and signaling for data/address of transactions both to and from IIO. This bit though affects the setting of bit 8 in the PCISTS register (see bit 8 in
Section 3.2.4.4, “PCISTS—PCI Status Register” ).
5RO 0b VGA palette snoop Enable Not applicable to PCI Express; must be hardwired to 0. 4RO 0b Memory Write and Invalidate Enable Not applicable to PCI Express; must be hardwired to 0. 3RO 0b Special Cycle Enable Not applicable to PCI Express; must be hardwired to 0. 2RW 0b Bus Master Enable 1 = PCIe NTB will forward Memory Requests that it receives on its primary internal interface to its secondary external link interface. 0 = PCIe NTB will not forward Memory Requests that it receives on its primary internal interface. Memory requests received on the primary internal interface will be returned to requester as an Unsupported Requests UR. Requests other than Memory Requests are not controlled by this bit. Reset Value value of this bit is 0b.Datasheet, Volume 2 49
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.4 PCISTS—PCI Status Register
1RW 0b Memory Space Enable 1 = Enables a PCI Express port’s memory range registers to be decoded as valid target addresses for transactions from secondary side. 0 = Disables a PCI Express port’s memory range registers (including the Configuration Registers range registers) to be decoded as valid target addresses for transactions from secondary side. All memory accesses received from secondary side are UR’ed. 0RO 0b IO Space Enable This bit controls a device's response to I/O Space accesses. When this bit is 0, it disables the device response. When this bit is 1, it allows the device to respond to I/O space accesses. The state after RST# is 0. NTB does not support I/O space accesses. Hardwired to
PCISTS Bus: 0 Device: 0 Function: 0 Offset: 06h Bus: 0 Device: 1 Function: 0–1 Offset: 06h Bus: 0 Device: 2 Function: 0–3 Offset: 06h Bus: 0 Device: 3 Function: 0–3 Offset: 06h Bit Attr Reset Value Description 15 RW1C 0b Detected Parity Error This bit is set by a root port when it receives a packet on the primary side with an uncorrectable data error (including a packet with poison bit set) or an uncorrectable address/control parity error. The setting of this bit is regardless of the Parity Error Response bit (PERRE) in the PCICMD register. 14 RW1C 0b Signaled System Error 1 = The root port reported fatal/non-fatal (and not correctable) errors it detected on its PCI Express interface to the IIO core error logic (which might eventually escalate the error through the ERR[2:0] pins or message to processor core or message to PCH). The SERRE bit in the PCICMD register must be set for a device to report the error in the IIO core error logic. Software clears this bit by writing a 1 to it. This bit is also set (when SERR enable bit is set) when a FATAL/NON-FATAL message is forwarded to the IIO core error logic. IIO internal core errors (like parity error in the internal queues) are not reported using this bit. 0 = The root port did not report a fatal/non-fatal error. 13 RW1C 0b Received Master Abort This bit is set when a root port experiences a master abort condition on a transaction it mastered on the primary interface (uncore internal bus). Note that certain errors might be detected right at the PCI Express interface and those transactions might not propagate to the primary interface before the error is detected (for example, accesses to memory above TOCM in cases where the PCIe interface logic itself might have visibility into TOCM). Such errors do not cause this bit to be set, and are reported using the PCI Express interface error bits (secondary status register). Conditions that cause bit 13 to be set, include:
- Device receives a completion on the primary interface (internal bus of uncore) with Unsupported Request or master abort completion Status. This includes UR status received on the primary side of a PCI Express port on peer-to-peer completions also. PCICMD Bus: 0 Device: 0 Function: 0 Offset: 04h Bus: 0 Device: 1 Function: 0–1 Offset: 04h Bus: 0 Device: 2 Function: 0–3 Offset: 04h Bus: 0 Device: 3 Function: 0–3 Offset: 04h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 50 Datasheet, Volume 2 12 RW1C 0b Received Target Abort This bit is set when a device experiences a completer abort condition on a transaction it mastered on the primary interface (uncore internal bus). Certain errors might be detected right at the PCI Express interface and those transactions might not propagate to the primary interface before the error is detected (for example, accesses to memory above VTBAR). Such errors do not cause this bit to be set, and are reported using the PCI Express interface error bits (secondary status register). Conditions that cause bit 12 to be set, include:
- Device receives a completion on the primary interface (internal bus of uncore) with completer abort completion Status. This includes CA status received on the primary side of a PCI Express port on peer-to-peer completions also. 11 RW1C 0b Signaled Target Abort This bit is set when a root port signals a completer abort completion status on the primary side (internal bus of uncore). This condition includes a PCI Express port forwarding a completer abort status received on a completion from the secondary. 10:9 RO 0h DEVSEL# Timing Not applicable to PCI Express. Hardwired to 0. 8RW1C 0b Master Data Parity Error This bit is set by a root port if the Parity Error Response bit in the PCI Command register is set and it either receives a completion with poisoned data from the primary side or it forwards a packet with data (including MSI writes) to the primary side with poison. 7RO 0b Fast Back-to-Back Not applicable to PCI Express. Hardwired to 0. 6RO 0bReserved 5RO 0b PCI Bus 66 MHz Capable Not applicable to PCI Express. Hardwired to 0. 4RO 1b Capabilities List This bit indicates the presence of a capabilities list structure. 3RO-V 0b INTx Status This read-only bit reflects the state of the interrupt in the PCI Express Root Port. Only when the Interrupt Disable bit in the command register is a 0 and this Interrupt Status bit is a 1, will this device generate INTx interrupt. Setting the Interrupt Disable bit to a 1 has no effect on the state of this bit. This bit does not get set for interrupts forwarded to the root port from downstream devices in the hierarchy. When MSI are enabled, Interrupt status should not be set. The intx status bit should be de-asserted when all the relevant events (RAS errors/HP/link change status/PM) internal to the port using legacy interrupts are cleared by software. 2:0 RV 0h Reserved PCISTS Bus: 0 Device: 0 Function: 0 Offset: 06h Bus: 0 Device: 1 Function: 0–1 Offset: 06h Bus: 0 Device: 2 Function: 0–3 Offset: 06h Bus: 0 Device: 3 Function: 0–3 Offset: 06h Bit Attr Reset Value DescriptionDatasheet, Volume 2 51
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.5 RID—Revision Identification Register
3.2.4.6 CCR—Class Code Register
3.2.4.7 CLSR—Cacheline Size Register
RID Bus: 0 Device: 0 Function: 0 Offset: 08h Bus: 0 Device: 1 Function: 0–1 Offset: 08h Bus: 0 Device: 2 Function: 0–3 Offset: 08h Bus: 0 Device: 3 Function: 0–3 Offset: 08h Bit Attr Reset Value Description 7:0 RO 00h Revision Identification Reflects the Uncore Revision ID after reset. Reflects the Compatibility Revision ID after BIOS writes 69h to any RID register in any processor function. Implementation Note: Read and write requests from the host to any RID register in any processor function are re-directed to the IIO cluster. Accesses to the CCR field are also redirected due to DWord alignment. It is possible that JTAG accesses are direct; thus, will not always be redirected. CCR Bus: 0 Device: 0 Function: 0 Offset: 09h Bus: 0 Device: 1 Function: 0–1 Offset: 09h Bus: 0 Device: 2 Function: 0–3 Offset: 09h Bus: 0 Device: 3 Function: 0–3 Offset: 09h Bit Attr Reset Value Description 23:16 RO 06h Base Class For Root ports (including the root port mode operation of DMI and NTB ports), this field is hardwired to 06h indicating it is a Bridge Device. 15:8 RO 04h Sub-Class For Root ports, this field defaults to 04h indicating PCI-PCI bridge. This register changes to the sub-class of 00h to indicate Host Bridge, when bit 0 in the MISCCTRLSTS register is set. 7:0 RO 00h Register-Level Programming Interface This field is hardwired to 00h for PCI Express ports. CLSR Bus: 0 Device: 0 Function: 0 Offset: 0Ch Bus: 0 Device: 1 Function: 0–1 Offset: 0Ch Bus: 0 Device: 2 Function: 0–3 Offset: 0Ch Bus: 0 Device: 3 Function: 0–3 Offset: 0Ch Bit Attr Reset Value Description 7:0 RW 0h Cacheline Size This register is set as RW for compatibility reasons only. Cacheline size for the processor is always 64B. IIO hardware ignores this setting.Processor Integrated I/O (IIO) Configuration Registers 52 Datasheet, Volume 2
3.2.4.8 PLAT—Primary Latency Timer Register
PLAT Bus: 0 Device: 0 Function: 0 Offset: 0Dh Bus: 0 Device: 1 Function: 0–1 Offset: 0Dh Bus: 0 Device: 2 Function: 0–3 Offset: 0Dh Bus: 0 Device: 3 Function: 0–3 Offset: 0Dh Bit Attr Reset Value Description 7:0 RO 0h Primary Latency Timer Not applicable to PCI Express. Hardwired to 00h. HDR Bus: 0 Device: 0 Function: 0 Offset: 0Eh Bit Attr Reset Value Description 7RO 0b Multi-function Device This bit defaults to 0 for Device 0. 6:0 RO-V 00h Configuration Layout This field identifies the format of the configuration header layout. In DMI mode, default is 00h indicating a conventional type 00h PCI header. HDR Bus: 0 Device: 1 Function: 0–1 Offset: 0Eh Bus: 0 Device: 2 Function: 0–3 Offset: 0Eh Bus: 0 Device: 3 Function: 0–3 Offset: 0Eh Bit Attr Reset Value Description 7RO-V 1b Multi-function Device This bit defaults to 1 for Devices 1–3 since these are multi-function devices. BIOS can individually control the value of this bit in Function 0 of these devices, based on the HDRTYPCTRL register. BIOS will write to that register to change this field to 0 in Function 0 of these devices if it exposes only Function 0 in the device to OS. Note: In product SKUs where only Function 0 of the device is exposed to any software (BIOS/OS), BIOS would still have to set the control bits mentioned above to set the bit in this register to be compliant per PCI rules. 6:0 RO 01h Configuration Layout This field identifies the format of the configuration header layout. It is Type1 for all PCI Express root ports. The default is 01h indicating a PCI to PCI Bridge.Datasheet, Volume 2 53
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.11 BIST—Built-In Self Test Register
3.2.4.12 PBUS—Primary Bus Number Register
3.2.4.13 SECBUS—Secondary Bus Number Register
3.2.4.14 SUBBUS—Subordinate Bus Number Register
BIST Bus: 0 Device: 0 Function: 0 Offset: 0Fh Bus: 0 Device: 1 Function: 0–1 Offset: 0Fh Bus: 0 Device: 2 Function: 0–3 Offset: 0Fh Bus: 0 Device: 3 Function: 0–3 Offset: 0Fh Bit Attr Reset Value Description 7:0 RO 0h BIST Tests Not supported. Hardwired to 00h. PBUS Bus: 0 Device: 1 Function: 0–1 Offset: 18h Bus: 0 Device: 2 Function: 0–3 Offset: 18h Bus: 0 Device: 3 Function: 0–3 Offset: 18h Bit Attr Reset Value Description 7:0 RW 00h Primary Bus Number Configuration software programs this field with the number of the bus on the primary side of the bridge. This register has to be kept consistent with the Internal Bus Number 0 in the CPUBUSNO01 register. BIOS (and OS if internal bus number gets moved) must program this register to the correct value since IIO hardware would depend on this register for inbound configuration cycle decode purposes. SECBUS Bus: 0 Device: 1 Function: 0–1 Offset: 19h Bus: 0 Device: 2 Function: 0–3 Offset: 19h Bus: 0 Device: 3 Function: 0–3 Offset: 19h Bit Attr Reset Value Description 7:0 RW 00h Secondary Bus Number This field is programmed by configuration software to assign a bus number to the secondary bus of the virtual PCI-to-PCI bridge. IIO uses this register to either forward a configuration transaction as a Type 1 or Type 0 to PCI Express. SUBBUS Bus: 0 Device: 0 Function: 0 Offset: 1Ah (PCIe MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 1Ah Bus: 0 Device: 2 Function: 0–3 Offset: 1Ah Bus: 0 Device: 3 Function: 0–3 Offset: 1Ah Bit Attr Reset Value Description 7:0 RW 00h Subordinate Bus Number This register is programmed by configuration software with the number of the highest subordinate bus that is behind the PCI Express port. Any transaction that falls between the secondary and subordinate bus number (both inclusive) of an Express port is forwarded to the express port.Processor Integrated I/O (IIO) Configuration Registers 54 Datasheet, Volume 2
3.2.4.15 IOBAS—I/O Base Register
3.2.4.16 IOLIM—I/O Limit Register
IOBAS Bus: 0 Device: 0 Function: 0 Offset: 1Ch (PCIe MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 1Ch Bus: 0 Device: 2 Function: 0–3 Offset: 1Ch Bus: 0 Device: 3 Function: 0–3 Offset: 1Ch Bit Attr Reset Value Description 7:4 RW Fh I/O Base Address This field corresponds to A[15:12] of the I/O base address of the PCI Express port. See also the IOLIM register description. 3:2 RW-L 3h More I/O Base Address When EN1K is set in the Section 3.3.4, “Global System Control and Error Registers” on page 191 register, these bits become RW and allow for 1K granularity of I/O addressing; otherwise, these are RO. 1:0 RO 0h I/O Address capability IIO supports only 16 bit addressing. IOLIM Bus: 0 Device: 0 Function: 0 Offset: 1Dh (PCIe MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 1Dh Bus: 0 Device: 2 Function: 0–3 Offset: 1Dh Bus: 0 Device: 3 Function: 0–3 Offset: 1Dh Bit Attr Reset Value Description 7:4 RW 0h I/O Address Limit This field corresponds to A[15:12] of the I/O limit address of the PCI Express port. The I/O Base and I/O Limit registers define an address range that is used by the PCI Express port to determine when to forward I/O transactions from one interface to the other using the following formula:
IO_BASE A[15:12] IO_LIMIT
The bottom of the defined I/O address range will be aligned to a 4 KB boundary (1 KB if EN1K bit is set. Refer to Section 3.3.4, “Global System Control and Error Registers” on page 191 for definition of EN1K bit) while the top of the region specified by IO_LIMIT will be one less than a 4 KB (1 KB if EN1K bit is set) multiple. Notes:
1. Setting the I/O limit less than I/O base disables the I/O range altogether.
2. In general the I/O base and limit registers will not be programmed by
software without clearing the IOSE bit first. 3:2 RW-L 0h More I/O Address Limit When EN1K is set in Section 3.3.4, “Global System Control and Error Registers” register, these bits become RW and allow for 1K granularity of I/O addressing, otherwise these are RO. 1:0 RO 0h I/O Address Limit Capability IIO only supports 16 bit addressing.Datasheet, Volume 2 55
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.17 SECSTS—Secondary Status Register
SECSTS Bus: 0 Device: 0 Function: 0 Offset: 1Eh (PCIe MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 1Eh Bus: 0 Device: 2 Function: 0–3 Offset: 1Eh Bus: 0 Device: 3 Function: 0–3 Offset: 1Eh Bit Attr Reset Value Description 15 RW1C 0b Detected Parity Error This bit is set by the root port when it receives a poisoned TLP in the PCI Express port. This bit is set regardless of the state the Parity Error Response Enable bit in the Bridge Control register. 14 RW1C 0b Received System Error This bit is set by the root port when it receives a ERR_FATAL or ERR_NONFATAL message from PCI Express. This does not include the virtual ERR* messages that are internally generated from the root port when it detects an error on its own. 13 RW1C 0b Received Master Abort Status This bit is set when the root port receives a Completion with Unsupported Request Completion Status or when the root port master aborts a Type 0 configuration packet that has a non-zero device number. 12 RW1C 0b Received Target Abort Status This bit is set when the root port receives a Completion with Completer Abort Status. 11 RW1C 0b Signaled Target Abort This bit is set when the root port sends a completion packet with a Completer Abort Status (including peer-to-peer completions that are forwarded from one port to another). 10:9 RO 00b DEVSEL# Timing Not applicable to PCI Express. Hardwired to 0. 8RW1C 0b Master Data Parity Error This bit is set by the root port on the secondary side (PCI Express link) if the Parity Error Response Enable bit (PERRE) is set in Bridge Control register and either of the following two conditions occurs:
- The PCI Express port receives a Completion from PCI Express marked poisoned.
- The PCI Express port poisons an outgoing packet with data. If the Parity Error Response Enable bit in Bridge Control Register is cleared, this bit is never set. 7RO 0b Fast Back-to-Back Transactions Capable Not applicable to PCI Express. Hardwired to 0. 6RV 0hReserved 5RO 0b PCI bus 66 MHz capability Not applicable to PCI Express. Hardwired to 0. 4:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 56 Datasheet, Volume 2
MBAS Bus: 0 Device: 0 Function: 0 Offset: 20h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 20h Bus: 0 Device: 2 Function: 0–3 Offset: 20h Bus: 0 Device: 3 Function: 0–3 Offset: 20h Bit Attr Reset Value Description 15:4 RW FFFh Memory Base Address This bit corresponds to A[31:20] of the 32-bit memory window’s base address of the PCI Express port. See also the MLIM register description. 3:0 RV 0h Reserved MLIM Bus: 0 Device: 0 Function: 0 Offset: 22h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 22h Bus: 0 Device: 2 Function: 0–3 Offset: 22h Bus: 0 Device: 3 Function: 0–3 Offset: 22h Bit Attr Reset Value Description 15:4 RW 000h Memory Limit Address This field corresponds to A[31:20] of the 32-bit memory window’s limit address that corresponds to the upper limit of the range of memory accesses that will be passed by the PCI Express bridge.The Memory Base and Memory Limit registers define a memory mapped I/O non-prefetchable address range (32-bit addresses) and the IIO directs accesses in this range to the PCI Express port based on the following formula:
MEMORY_BASE A[31:20] MEMORY_LIMIT
The upper 12 bits of both the Memory Base and Memory Limit registers are read/ write and correspond to the upper 12 address bits – A[31:20] of 32-bit addresses. Thus, the bottom of the defined memory address range will be aligned to a 1 MB boundary and the top of the defined memory address range will be one less than a 1 MB boundary. Refer to the Address Map (PCH Platform Architecture Specification) for further details on decoding. Notes:
1. Setting the memory limit less than memory base disables the 32-bit memory
2. In general the memory base and limit registers will not be programmed by
software without clearing the MSE bit first. 3:0 RV 0h ReservedDatasheet, Volume 2 57
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.20 PBAS—Prefetchable Memory Base Register
3.2.4.21 PLIM—Prefetchable Memory Limit Register
3.2.4.22 PBASU—Prefetchable Memory Base (Upper 32 bits) Register
PBAS Bus: 0 Device: 0 Function: 0 Offset: 24h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 24h Bus: 0 Device: 2 Function: 0–3 Offset: 24h Bus: 0 Device: 3 Function: 0–3 Offset: 24h Bit Attr Reset Value Description 15:4 RW FFFh Prefetchable Memory Base Address This field corresponds to A[31:20] of the prefetchable memory address range’s base address of the PCI Express port. See also the PLIMU register description. 3:0 RO 1h Prefetchable Memory Base Address Capability IIO sets this bit to 01h to indicate 64-bit capability. PLIM Bus: 0 Device: 0 Function: 0 Offset: 26h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 26h Bus: 0 Device: 2 Function: 0–3 Offset: 26h Bus: 0 Device: 3 Function: 0–3 Offset: 26h Bit Attr Reset Value Description 15:4 RW 000h Prefetchable Memory Limit Address This field corresponds to A[31:20] of the prefetchable memory address range’s limit address of the PCI Express port. See also the PLIMU register description. 3:0 RO 1h Prefetchable Memory Limit Address Capability IIO sets this field to 01h to indicate 64-bit capability. PBASU Bus: 0 Device: 0 Function: 0 Offset: 28h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 28h Bus: 0 Device: 2 Function: 0–3 Offset: 28h Bus: 0 Device: 3 Function: 0–3 Offset: 28h Bit Attr Reset Value Description 31:0 RW FFFFFFFFh Prefetchable Upper 32-bit Memory Base Address This field corresponds to A[63:32] of the prefetchable memory address range’s base address of the PCI Express port. See the PLIMU register description.Processor Integrated I/O (IIO) Configuration Registers 58 Datasheet, Volume 2
00h Prefetchable Upper 32-bit Memory Limit Address This field corresponds to A[63:32] of the prefetchable memory address range’s limit address of the PCI Express port. The Prefetchable Memory Base and Memory Limit registers define a memory mapped I/O prefetchable address range (64-bit addresses) that is used by the PCI Express bridge to determine when to forward memory transactions based on the following formula: PREFETCH_MEMORY_BASE_UPPER:: PREFETCH_MEMORY_BASE A[63:20] PREFETCH_MEMORY_LIMIT_UPPER::PREFETCH_MEMORY_LIMIT The upper 12 bits of both the Prefetchable Memory Base and Memory Limit registers are read/write and correspond to the upper 12 address bits, A[31:20] of 32-bit addresses. The bottom of the defined memory address range will be aligned to a 1 MB boundary and the top of the defined memory address range will be one less than a 1 MB boundary. The bottom 4 bits of both the Prefetchable Memory Base and Prefetchable Memory Limit registers are read-only, contain the same value, and encode whether or not the bridge supports 64-bit addresses. If these four bits have the value 0h, the bridge supports only 32 bit addresses. If these four bits have the value 1h, the bridge supports 64-bit addresses and the Prefetchable Base Upper 32 Bits and Prefetchable Limit Upper 32 Bits registers hold the rest of the 64-bit prefetchable base and limit addresses respectively. Notes:
1. Setting the prefetchable memory limit less than prefetchable memory base
disables the 64-bit prefetchable memory range altogether.
2. In general the memory base and limit registers will not be programmed by
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.28 INTL—Interrupt Line Register
SDID Bus: 0 Device: 0 Function: 0 Offset: 2Eh( DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: 46h( PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 46h Bus: 0 Device: 2 Function: 0–3 Offset: 46h Bus: 0 Device: 3 Function: 0–3 Offset: 46h Bit Attr Reset Value Description 15:0 RW-O 00h Subsystem Device ID Assigned by the subsystem vendor to uniquely identify the subsystem CAPPTR Bus: 0 Device: 0 Function: 0 Offset: 34h Bit Attr Reset Value Description 7:0 RO 90h Capability Pointer This field points to the first capability structure for the device. In DMI mode it points to the PCIe capability. In PCIe mode it points to the SVID/SDID capability. CAPPTR Bus: 0 Device: 1 Function: 0–1 Offset: 34h Bus: 0 Device: 2 Function: 0–3 Offset: 34h Bus: 0 Device: 3 Function: 0–3 Offset: 34h Bit Attr Reset Value Description 7:0 RO 40h Capability Pointer This field points to the first capability structure for the device which is the SVID/ SDID capability. INTL Bus: 0 Device: 0 Function: 0 Offset: 3Ch Bus: 0 Device: 1 Function: 0–1 Offset: 3Ch Bus: 0 Device: 2 Function: 0–3 Offset: 3Ch Bus: 0 Device: 3 Function: 0–3 Offset: 3Ch Bit Attr Reset Value Description 7:0 RW 00h Interrupt Line This is RW only for compatibility reasons. IIO hardware does not use it for any reason.Processor Integrated I/O (IIO) Configuration Registers 60 Datasheet, Volume 2
3.2.4.29 INTPIN—Interrupt Pin Register
3.2.4.30 BCTRL—Bridge Control Register
INTPIN Bus: 0 Device: 0 Function: 0 Offset: 3Dh Bus: 0 Device: 1 Function: 0–1 Offset: 3Dh Bus: 0 Device: 2 Function: 0–3 Offset: 3Dh Bus: 0 Device: 3 Function: 0–3 Offset: 3Dh Bit Attr Reset Value Description 7:0 RW-O 01h Interrupt Pin The only allowed values in this register are 00h and 01h. BIOS will leave the register at its default value unless it chooses to fully defeature INTx generation from a root port. For the latter scenario, BIOS will write a value of 00h before the OS takes control. The OS, when it reads this register to be 00h, understands that the root port does not generate any INTx interrupt. This helps simplify some of the BIOS ACPI tables relating to interrupts when INTx interrupt generation from a root port is not enabled in the platform. When BIOS writes a value of 00h in this register, that in itself does not disable INTx generation in hardware. Disabling INTx generation in hardware has to be achieved through the INTx Disable bit in the “PCICMD—PCI Command Register” register. IIO hardware does not use this bit for anything. For DMI mode operation, it is not applicable, since Device 0 does not generate any INTx interrupts on its own while in DMI mode. BCTRL Bus: 0 Device: 0 Function: 0 Offset: 3Eh(PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 3Eh Bus: 0 Device: 2 Function: 0–3 Offset: 3Eh Bus: 0 Device: 3 Function: 0–3 Offset: 3Eh Bit Attr Reset Value Description 15:12 RV 0h Reserved 11 RO 0b Discard Timer SERR Status Not applicable to PCI Express. This bit is hardwired to 0. 10 RO 0b Discard Timer Status Not applicable to PCI Express. This bit is hardwired to 0. 9RO 0b Secondary Discard Timer Not applicable to PCI Express. This bit is hardwired to 0. 8RO 0b Primary Discard Timer Not applicable to PCI Express. This bit is hardwired to 0. 7RO 0b Fast Back-to-Back Enable Not applicable to PCI Express. This bit is hardwired to 0. 6RW 0b Secondary Bus Reset 1 = Setting this bit triggers a hot reset on the link for the corresponding PCI Express port and the PCI Express hierarchy domain subordinate to the port. This sends the LTSSM into the Training (or Link) Control Reset state, which necessarily implies a reset to the downstream device and all subordinate devices. The transaction layer corresponding to the port will be emptied by virtue of the link going down when this bit is set. This means that in the outbound direction, all posted transactions are dropped and non-posted transactions are sent a UR response. In the inbound direction, completions for inbound NP requests are dropped when they arrive. Inbound posted writes are retired normally.Note also that a secondary bus reset will not reset the virtual PCI-to-PCI bridge configuration registers of the targeted PCI Express port. 0 = No reset happens on the PCI Express port.Datasheet, Volume 2 61
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.31 SCAPID—Subsystem Capability Identity Register
5RO 0b Master Abort Mode Not applicable to PCI Express. This bit is hardwired to 0. 4RW 0b VGA 16-bit Decode This bit enables the virtual PCI-to-PCI bridge to provide 16-bit decoding of VGA I/O address precluding the decoding of alias addresses every 1 KB. 0 = Execute 10-bit address decodes on VGA I/O accesses. 1 = Execute 16-bit address decodes on VGA I/O accesses. Notes:
1. This bit only has meaning if bit 3 of this register is also set to 1, enabling
VGA I/O decoding and forwarding by the bridge.
2. Refer to PCI-PCI Bridge Specification Revision 1.2 for further details of this
bit behavior. 3RW 0b VGA Enable This bit controls the routing of processor-initiated transactions targeting VGA compatible I/O and memory address ranges. This bit must only be set for one peer-to-peer port in the entire system. Note: When Device 3 Function 0 is in NTB mode, then the Device 3 Function 0 version of this bit must be left at default value. VGA compatible devices are not supported on the secondary side of the NTB. 2RW 0b ISA Enable This bit modifies the response by the root port to an I/O access issued by the core that targets ISA I/O addresses. This applies only to I/O addresses that are enabled by the IOBASE and IOLIM registers. 1 = The root port will not forward to PCI Express any I/O transactions addressing the last 768 bytes in each 1 KB block even if the addresses are within the range defined by the IOBASE and IOLIM registers. 0 = All addresses defined by the IOBASE and IOLIM for core issued I/O transactions will be mapped to PCI Express. 1RW 0b SERR Response Enable This bit controls forwarding of ERR_COR, ERR_NONFATAL and ERR_FATAL messages from the PCI Express port to the primary side. 1 = Enables forwarding of ERR_COR, ERR_NONFATAL and ERR_FATAL messages. 0 = Disables forwarding of ERR_COR, ERR_NONFATAL and ERR_FATAL Refer to PCI Express Base Specification, Revision 3.0 for details of the myriad control bits that control error reporting in IIO. 0RW 0b Parity Error Response Enable This only effect this bit has is on the setting of bit 8 in the SECSTS register. SCAPID Bus: 0 Device: 0 Function: 0 Offset: 40h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 40h Bus: 0 Device: 2 Function: 0–3 Offset: 40h Bus: 0 Device: 3 Function: 0–3 Offset: 40h Bit Attr Reset Value Description 7:0 RO 0Dh Capability ID Assigned by PCI-SIG for subsystem capability ID BCTRL Bus: 0 Device: 0 Function: 0 Offset: 3Eh(PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 3Eh Bus: 0 Device: 2 Function: 0–3 Offset: 3Eh Bus: 0 Device: 3 Function: 0–3 Offset: 3Eh Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 62 Datasheet, Volume 2
3.2.4.32 SNXTPTR—Subsystem ID Next Pointer Register
SNXTPTR Bus: 0 Device: 0 Function: 0 Offset: 41h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 41h Bus: 0 Device: 2 Function: 0–3 Offset: 41h Bus: 0 Device: 3 Function: 0–3 Offset: 41h Bit Attr Reset Value Description 7:0 RO 60h Next Ptr This field is set to 60h for the next capability list (MSI capability structure) in the chain. DMIRCBAR Bus: 0 Device: 0 Function: 0 Offset: 50h Bit Attr Reset Value Description 31:12 RW-LB 00000h DMI Base Address This field corresponds to bits 32:12 of the base address DMI Root Complex register space. BIOS will program this register resulting in a base address for a 4 KB block of contiguous memory address space. This register ensures that a naturally aligned 4KB space is allocated within the first 64 GB of addressable memory space. System Software uses this base address to program the DMI Root Complex register set. This register is kept around on Device 0 even if that port is operating as PCIe port, to provide flexibility of using the VCs in PCIe mode as well. 11:1 RV 0h Reserved 0RW-LB 0b DMIRCBAR Enable 0 = DMIRCBAR is disabled and does not claim any memory 1 = DMIRCBAR memory mapped accesses are claimed and decoded Notes:
1. Accesses to registers pointed to by the DMIRCBAR using the message
channel or JTAG mini-port are not gated by this enable bit; that is, accesses to these registers are honored regardless of the setting of this bit.
2. BIOS sets this bit only when it wishes to update the registers in the
DMIRCBAR. It must clear this bit when it has finished changing values. MSICAPID Bus: 0 Device: 0 Function: 0 Offset: 60h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 60h Bus: 0 Device: 2 Function: 0–3 Offset: 60h Bus: 0 Device: 3 Function: 0–3 Offset: 60h Bit Attr Reset Value Description 7:0 RO 05h Capability ID Assigned by PCI-SIG for MSI (root ports).Datasheet, Volume 2 63
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.35 MSINXTPTR—MSI Next Pointer Register
3.2.4.36 MSIMSGCTL—MSI Control Register
MSINXTPTR Bus: 0 Device: 0 Function: 0 Offset: 61h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 61h Bus: 0 Device: 2 Function: 0–3 Offset: 61h Bus: 0 Device: 3 Function: 0–3 Offset: 61h Bit Attr Reset Value Description 7:0 RW-O 90h Next Ptr This field is set to 90h for the next capability list (PCI Express capability structure) in the chain. 0_3_0_Port3_NTB: Attr: RW-O; Reset Value: 80h MSIMSGCTL Bus: 0 Device: 0 Function: 0 Offset: 62h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 62h Bus: 0 Device: 2 Function: 0–3 Offset: 62h Bus: 0 Device: 3 Function: 1–3 Offset: 62h Bit Attr Reset Value Description 15:9 RV 0h Reserved 8RO 1b Per-vector masking capable This bit indicates that PCI Express ports support MSI per-vector masking. 7RO 0b Bus 64-bit Address Capable This field is hardwired to 0h since the message addresses are only 32-bit addresses (fore example, FEEx_xxxxh). 6:4 RW 000b Multiple Message Enable Applicable only to PCI Express ports. Software writes to this field to indicate the number of allocated messages, which is aligned to a power of two. When MSI is enabled, the software will allocate at least one message to the device. A value of 000 indicates 1 message. Any value greater than or equal to 001 indicates a message of 2. See MSIDR for discussion on how the interrupts are distributed among the various sources of interrupts based on the number of messages allocated by software for the PCI Express ports. 3:1 RO 001b Multiple Message Capable The processor Express ports support two messages for all their internal events. 0RW 0b MSI Enable Software sets this bit to select INTx style interrupt or MSI interrupt for root port generated interrupts. 0 = INTx interrupt mechanism is used for root port interrupts, provided the override bits in Section 3.2.4.86, “MISCCTRLSTS—Miscellaneous Control and Status Register” on page 103) allow it. 1 = MSI interrupt mechanism is used for root port interrupts, provided the override bits in MISCCTRLSTS allow it. Bits 4:2 and bit 2 MISCCTRLSTS can disable both MSI and INTx interrupt from being generated on root port interrupt events.Processor Integrated I/O (IIO) Configuration Registers 64 Datasheet, Volume 2
3.2.4.37 MSIMSGCTL—MSI Control Register
MSIMSGCTL Bus: 0 Device: 3 Function: 0 Offset: 62h Bit Attr Reset Value Description 15:9 RV 0h Reserved 8RO 1b Per-vector Masking Capable This bit indicates that PCI Express ports support MSI per-vector masking. 7RO 0b Bus 64-bit Address Capable A PCI Express Endpoint must support the 64-bit Message Address version of the MSI Capability structure 1 = Function is capable of sending 64-bit message address 0 = Function is not capable of sending 64-bit message address. 6:4 RW 000b Multiple Message Enable Applicable only to PCI Express ports. Software writes to this field to indicate the number of allocated messages, which are aligned to a power of two. When MSI is enabled, the software will allocate at least one message to the device. A value of 000 indicates 1 message. 000 = 1 001 = 2 010 = 4 011 = 8 100 = 16 101 = 32 110 = Reserved 111 = Reserved 3:1 RO 001b Multiple Message Capable IOH’s PCI Express port supports 16 messages for all internal events. 000 = 1 001 = 2 010 = 4 011 = 8 100 = 16 101 = 32 110 = Reserved 111 = Reserved 0RW 0b MSI Enable The software sets this bit to select platform-specific interrupts or transmit MSI messages. 0 = Disables MSI from being generated. 1 = Enables the PCI Express port to use MSI messages for RAS, provided bit 4 in MISCCTRLSTS is clear and also enables the Express port to use MSI messages for PM and HP events at the root port provided these individual events are not enabled for ACPI handling. Note: Software must disable INTx and MSI-X for this device when using MSI.Datasheet, Volume 2 65
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.38 MSGADR—MSI Address Register
The MSI Address Register (MSIAR) contains the system specific address information to route MSI interrupts from the root ports and is broken into its constituent fields.
MSGADR Bus: 0 Device: 0 Function: 0 Offset: 64h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 64h Bus: 0 Device: 2 Function: 0–3 Offset: 64h Bus: 0 Device: 3 Function: 0–3 Offset: 64h Bit Attr Reset Value Description 31:20 RW 000h Address MSB This field specifies the 12 most significant bits of the 32-bit MSI address. This field is RW for compatibility reasons only. 19:2 RW 00000h Address ID The definition of this field depends on whether interrupt remapping is enabled or disabled. 1:0 RV 0h Reserved MSGDAT Bus: 0 Device: 0 Function: 0 Offset: 68h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 68h Bus: 0 Device: 2 Function: 0–3 Offset: 68h Bus: 0 Device: 3 Function: 0–3 Offset: 68h Bit Attr Reset Value Description 31:16 RV 0000h Reserved 15:0 RW 0000h Data The definition of this field depends on whether interrupt remapping is enabled or disabled. MSIMSK Bus: 0 Device: 0 Function: 0 Offset: 6Ch (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 6Ch Bus: 0 Device: 2 Function: 0–3 Offset: 6Ch Bus: 0 Device: 3 Function: 0–3 Offset: 6Ch Bit Attr Reset Value Description 31:2 RV 0h Reserved 1:0 RW 0h Mask Bits Relevant only when MSI is enabled and used for interrupts generated by the root port. For each Mask bit that is set, the PCI Express port is prohibited from sending the associated message. When only one message is allocated to the root port by software, only mask bit 0 is relevant and used by hardware.Processor Integrated I/O (IIO) Configuration Registers 66 Datasheet, Volume 2
3.2.4.43 PXPNXTPTR—PCI Express* Next Pointer Register
MSIPENDING Bus: 0 Device: 0 Function: 0 Offset: 70h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 70h Bus: 0 Device: 2 Function: 0–3 Offset: 70h Bus: 0 Device: 3 Function: 0–3 Offset: 70h Bit Attr Reset Value Description 31:2 RV 0h Reserved 1:0 RO-V 0h Pending Bits This field is relevant only when MSI is enabled and used for interrupts generated by the root port. When MSI is not enabled or used by the root port, this register always reads a value 0. For each Pending bit that is set, the PCI Express port has a pending associated message. When only one message is allocated to the root port by software, only pending bit 0 is set/cleared by hardware and pending bit 1 always reads 0. Hardware sets this bit when it has an interrupt pending to be sent. This bit remains set till either the interrupt is sent by hardware or the status bits associated with the interrupt condition are cleared by software. PXPCAPID Bus: 0 Device: 0 Function: 0 Offset: 90h Bus: 0 Device: 1 Function: 0–1 Offset: 90h Bus: 0 Device: 2 Function: 0–3 Offset: 90h Bus: 0 Device: 3 Function: 0–3 Offset: 90h Bit Attr Reset Value Description 7:0 RO 10h Capability ID This field provides the PCI Express capability ID assigned by PCI-SIG. PXPNXTPTR Bus: 0 Device: 0 Function: 0 Offset: 91h Bus: 0 Device: 1 Function: 0–1 Offset: 91h Bus: 0 Device: 2 Function: 0–3 Offset: 91h Bus: 0 Device: 3 Function: 0–3 Offset: 91h Bit Attr Reset Value Description 7:0 RO E0h Next Ptr This field is set to the PCI PM capability.Datasheet, Volume 2 67
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.44 PXPCAP—PCI Express* Capabilities Register
PXPCAP Bus: 0 Device: 0 Function: 0 Offset: 92h Bus: 0 Device: 1 Function: 0–1 Offset: 92h Bus: 0 Device: 2 Function: 0–3 Offset: 92h Bus: 0 Device: 3 Function: 0–3 Offset: 92h 2 Bit Attr Reset Value Description 15:14 RV 0h Reserved 13:9 RO 00h Interrupt Message Number This field applies to root ports. This field indicates the interrupt message number that is generated for PM/HP/BW-change events. When there are more than one MSI interrupt Number allocated for the root port MSI interrupts, this register field is required to contain the offset between the base Message Data and the MSI Message that is generated when there are PM/HP/BW-change interrupts. IIO assigns the first vector for PM/HP/BW-change events and so this field is set to 0. 8RW-O 0b Slot Implemented This bit applies only to the root ports. 1 = Indicates that the PCI Express link associated with the port is connected to a slot. 0 = Indicates no slot is connected to this port. Notes:This register bit is of type “write once” and is set by BIOS. 7:4 RO 4h Device/Port Type This field identifies the type of device. It is set to 0100 for all the Express ports. 3:0 RW-O 2h Capability Version This field identifies the version of the PCI Express capability structure, which is 2h as of now. This register field is left as RW-O to cover any unknowns with PCIe 3.0.Processor Integrated I/O (IIO) Configuration Registers 68 Datasheet, Volume 2
3.2.4.45 DEVCAP—PCI Express* Device Capabilities Register
DEVCAP Bus: 0 Device: 0 Function: 0 Offset: 94h Bus: 0 Device: 1 Function: 0–1 Offset: 94h Bus: 0 Device: 2 Function: 0–3 Offset: 94h Bus: 0 Device: 3 Function: 0–3 Offset: 94h Bit Attr Reset Value Description 31:28 RV 0h Reserved 27:26 RO 0h Captured Slot Power Limit Scale Does not apply to root ports or integrated devices. 25:18 RO 00h Captured Slot Power Limit Value Does not apply to root ports or integrated devices. 17:16 RV 0h Reserved 15 RO 1b Role Based Error Reporting Processor is 1.1 compliant and so supports this feature. 14 RO 0b Power Indicator Present on Device Does not apply to root ports or integrated devices. 13 RO 0b Attention Indicator Present Does not apply to root ports or integrated devices. 12 RO 0b Attention Button Present Does not apply to root ports or integrated devices. 11:9 RO 000b Endpoint L1 Acceptable Latency Does not apply to RC. 8:6 RO 000b Endpoint L0s Acceptable Latency Does not apply to RC. 5RO 0b Extended Tag Field Supported Not supported. 4:3 RO 0h Phantom Functions Supported IIO does not support phantom functions. 2:0 RO 0h Max Payload Size Supported Max payload is 128B on the DMI/PCIe port corresponding to Port 0.Datasheet, Volume 2 69
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.46 DEVCTRL—PCI Express* Device Control Register
DEVCTRL Bus: 0 Device: 0 Function: 0 Offset: F0h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: 98h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 98h Bus: 0 Device: 2 Function: 0–3 Offset: 98h Bus: 0 Device: 3 Function: 0–3 Offset: 98h Bit Attr Reset Value Description 15 RV 0h Reserved 14:12 RO 000b Max_Read_Request_Size PCI Express/DMI ports in the processor do not generate requests greater than 64B and this field is RO. 11 RO 0b Enable No Snoop Not applicable to DMI or PCIe root ports since they never set the ‘No Snoop’ bit for transactions they originate (not forwarded from peer) to PCI Express/DMI. This bit has no impact on forwarding of NoSnoop attribute on peer requests. 10 RO 0b Auxiliary Power Management Enable Not applicable to Processor 9RO 0b Phantom Functions Enable Not applicable to IIO since it never uses phantom functions as a requester. 8RO 0h Extended Tag Field Enable Not applicable since IIO it never generates any requests on its own that uses tags 7:5. Note though that on peer to peer writes, IIO forwards the tag field along without modification and tag fields 7:5 could be set and that is not impacted by this bit. 7:5 RW 000b Max Payload Size This field is set by configuration software for the maximum TLP payload size for the PCI Express port. As a receiver, the IIO must handle TLPs as large as the set value. As a requester (That is, for requests where IIO’s own RequesterID is used), it must not generate TLPs exceeding the set value. Permissible values that can be programmed are indicated by the Max_Payload_Size_Supported in the Device Capabilities register. 000 = =128B max payload size 001 = 256B max payload size others = alias to 128B IIO can receive packets equal to the size set by this field. IIO generate read completions as large as the value set by this field. IIO generates memory writes of max 64B. 4RO 0b Enable Relaxed Ordering Not applicable to root/DMI ports since they never set relaxed ordering bit as a requester (this does not include tx forwarded from peer devices). This bit has no impact on forwarding of relaxed ordering attribute on peer requests. 3RW 0b Unsupported Request Reporting Enable This bit controls the reporting of unsupported requests that IIO itself detects on requests its receives from a PCI Express/DMI port. 0 = Reporting of unsupported requests is disabled 1 = Reporting of unsupported requests is enabled. Refer to PCI Express Base Specification, Revision 3.0 for complete details of how this bit is used in conjunction with other bits to UR errors. 2RW 0b Fatal Error Reporting Enable This bit controls the reporting of fatal errors that IIO detects on the PCI Express/ DMI interface. 0 = Reporting of Fatal error detected by device is disabled 1 = Reporting of Fatal error detected by device is enabled Refer to PCI Express Base Specification, Revision 3.0 for complete details of how this bit is used in conjunction with other bits to report errors. This bit is not used to control the reporting of other internal component uncorrectable fatal errors (at the port unit) in any way.Processor Integrated I/O (IIO) Configuration Registers 70 Datasheet, Volume 2 1RW 0b Non Fatal Error Reporting Enable This bit controls the reporting of non-fatal errors that IIO detects on the PCI Express/DMI interface. 0 = Reporting of Non Fatal error detected by device is disabled 1 = Reporting of Non Fatal error detected by device is enabled Refer to PCI Express Base Specification, Revision 3.0 for complete details of how this bit is used in conjunction with other bits to report errors. This bit is not used to control the reporting of other internal component uncorrectable non-fatal errors (at the port unit) in any way. 0RW 0b Correctable Error Reporting Enable This bit controls the reporting of correctable errors that IIO detects on the PCI Express/DMI interface. 0 = Reporting of link Correctable error detected by the port is disabled 1 = Reporting of link Correctable error detected by port is enabled Refer to PCI Express Base Specification, Revision 3.0 for complete details of how this bit is used in conjunction with other bits to report errors. This bit is not used to control the reporting of other internal component correctable errors (at the port unit) in any way. DEVCTRL Bus: 0 Device: 0 Function: 0 Offset: F0h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: 98h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 98h Bus: 0 Device: 2 Function: 0–3 Offset: 98h Bus: 0 Device: 3 Function: 0–3 Offset: 98h Bit Attr Reset Value DescriptionDatasheet, Volume 2 71
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.47 DEVSTS—PCI Express* Device Status Register
DEVSTS Bus: 0 Device: 0 Function: 0 Offset: F2h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: 9Ah (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 9Ah Bus: 0 Device: 2 Function: 0–3 Offset: 9Ah Bus: 0 Device: 3 Function: 0–3 Offset: 9Ah Bit Attr Reset Value Description 15:6 RV 0h Reserved 5RO 0h Transactions Pending Does not apply to Root/DMI ports, that is, bit hardwired to 0 for these devices. 4RO 0b AUX Power Detected Does not apply to the processor 3RW1C 0b Unsupported Request Detected This bit indicates that the root port or DMI port detected an Unsupported Request. Errors are logged in this register regardless of whether error reporting is enabled or not in the Device Control Register. 1 = Unsupported Request detected at the device/port. These unsupported requests are NP requests inbound that the root port or DMI port received and it detected them as unsupported requests (for example, address decoding failures that the root port detected on a packet, receiving inbound lock reads, BME bit is clear and so forth). 0 = No unsupported request detected by the root or DMI port Note: This bit is not set on peer-to-peer completions with UR status that are forwarded by the root port or DMI port to the PCIe/DMI link. 2RW1C 0b Fatal Error Detected This bit indicates that a fatal (uncorrectable) error is detected by the root or DMI port. Errors are logged in this register regardless of whether error reporting is enabled or not in the Device Control register. 1 = Fatal errors detected 0 = No Fatal errors detected 1RW1C 0b Non Fatal Error Detected This bit gets set if a non-fatal uncorrectable error is detected by the root or DMI port. Errors are logged in this register regardless of whether error reporting is enabled or not in the Device Control register. 1 = Non Fatal errors detected 0 = No non-Fatal Errors detected 0RW1C 0b Correctable Error Detected This bit gets set if a correctable error is detected by the root or DMI port. Errors are logged in this register regardless of whether error reporting is enabled or not in the PCI Express Device Control register. 1 = Correctable errors detected 0 = No correctable errors detectedProcessor Integrated I/O (IIO) Configuration Registers 72 Datasheet, Volume 2
3.2.4.48 LNKCAP—PCI Express* Link Capabilities Register
The Link Capabilities register identifies the PCI Express specific link capabilities. The link capabilities register needs some default values setup by the local host. LNKCAP Bus: 0 Device: 0 Function: 0 Offset: 9Ch (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 9Ch Bus: 0 Device: 2 Function: 0–3 Offset: 9Ch Bus: 0 Device: 3 Function: 0–3 Offset: 9Ch Bit Attr Reset Value Description 31:24 RW-O 0h Port Number This field indicates the PCI Express port number for the link and is initialized by software/BIOS. IIO hardware does nothing with this bit. 23:22 RV 0h Reserved 21 RO 1b Link Bandwidth Notification Capability A value of 1b indicates support for the Link Bandwidth Notification status and interrupt mechanisms. 20 RO 1b Data Link Layer Link Active Reporting Capable IIO supports reporting status of the data link layer so software knows when it can enumerate a device on the link or otherwise know the status of the link. 19 RO 1b Surprise Down Error Reporting Capable IIO supports reporting a surprise down error condition. 18 RO 0b Clock Power Management Does not apply to the processor 17:15 RW-O 010b L1 Exit Latency This field indicates the L1 exit latency for the given PCI Express port. It indicates the length of time this port requires to complete transition from L1 to L0. 000 = Less than 1 us 001 = 1 us to less than 2 us 010 = 2 us to less than 4 us 011 = 4 us to less than 8 us 100 = 8 us to less than 16 us 101 = 16 us to less than 32 us 110 = 32 us to 64 us 111 = More than 64 us This register is made writable once by BIOS so that the value is settable based on experiments post-si. 14:12 RW-O 011b L0s Exit Latency This field indicates the L0s exit latency (that is, L0s to L0) for the PCI Express port. 000 = Less than 64 ns 001 = 64 ns to less than 128 ns 010 = 128 ns to less than 256 ns 011 = 256 ns to less than 512 ns 100 = 512 ns to less than 1 us 101 = 1 to less than 2 us 110 = 2 to 4 us 111 = More than 4 us This register is made writable once by BIOS so that the value is settable based on experiments post-si. 11:10 RW-O 11b Active State Link PM Support This field indicates the level of active state power management supported on the given PCI Express port. 00 = Disabled 01 = L0s Entry Supported 10 = Reserved 11 = L0s and L1 SupportedDatasheet, Volume 2 73
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.49 LNKCON—PCI Express* Link Control Register
The PCI Express Link Control register controls the PCI Express Link specific parameters. The link control register needs some default values setup by the local host. 9:4 RW-O 4h Maximum Link Width This field indicates the maximum width of the given PCI Express Link attached to the port. 000001 = x1 000010 = x2 000100 = x4 001000 = x8 010000 = x16 Others = Reserved This is left as a RW-O register for BIOS to update based on the platform usage of the links. 3:0 RW-O 0010b Maximum Link Speed This field indicates the maximum link speed of this Port. 0001 = 2.5 Gbps 0010 = 5 Gbps 0011 = 8 Gbps (Port 0 does not support this speed) Others = Reserved Processor supports a maximum of 5 Gbps for the DMI port. LNKCAP Bus: 0 Device: 0 Function: 0 Offset: 9Ch (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 9Ch Bus: 0 Device: 2 Function: 0–3 Offset: 9Ch Bus: 0 Device: 3 Function: 0–3 Offset: 9Ch Bit Attr Reset Value Description LNKCON Bus: 0 Device: 0 Function: 0 Offset: 1B0h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: A0h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A0h Bus: 0 Device: 2 Function: 0–3 Offset: A0h Bus: 0 Device: 3 Function: 0–3 Offset: A0h Bit Attr Reset Value Description 15:12 RV 0h Reserved 11 RW 0b Link Autonomous Bandwidth Interrupt Enable For root ports, when set to 1b, this bit enables the generation of an interrupt to indicate that the Link Autonomous Bandwidth Status bit has been set. For DMI mode on Device 0, interrupt is not supported and hence this bit is not useful. Expectation is that BIOS will set bit 27 in Section 3.2.4.86, “MISCCTRLSTS—Miscellaneous Control and Status Register” on page 103 to notify the system of autonomous bandwidth change event on that port. 10 RW 0b Link Bandwidth Management Interrupt Enable For root ports, when set to 1b, this bit enables the generation of an interrupt to indicate that the Link Bandwidth Management Status bit has been set. For DMI mode on Device 0, interrupt is not supported and hence this bit is not useful. Expectation is that BIOS will set bit 27 inSection 3.2.4.86, “MISCCTRLSTS—Miscellaneous Control and Status Register” on page 103 to notify the system of autonomous bandwidth change event on that port. 9RW 0b Hardware Autonomous Width Disable When Set, this bit disables hardware from changing the Link width for reasons other than attempting to correct unreliable Link operation by reducing Link width. IIO does not, by itself, change width for any reason other than reliability. So this bit only disables such a width change as initiated by the device on the other end of the link.Processor Integrated I/O (IIO) Configuration Registers 74 Datasheet, Volume 2 8RO 0b Enable Clock Power Management Not Applicable to processor 7RW 0b Extended Synch This bit when set, forces the transmission of additional ordered sets when exiting L0s and when in recovery. See PCI Express Base Specification, Revision 3.0 for details. 6RW-V 0b Common Clock Configuration Software sets this bit to indicate that this component and the component at the opposite end of the Link are operating with a common clock source. A value of 0b indicates that this component and the component at the opposite end of the Link are operating with separate reference clock sources. Reset Value of this bit is 0b. Components use this common clock configuration information to report the correct L0s and L1 Exit Latencies in the NFTS. The values used come from these registers depending on the value of this bit: 0 = Use NFTS values from CLSPHYCTL3 1 = Use NFTS values from CLSPHYCTL4 5WO 0b Retrain Link A write of 1 to this bit initiates link retraining in the given PCI Express/DMI port by directing the LTSSM to the recovery state if the current state is [L0, L0s or L1]. If the current state is anything other than L0, L0s, L1, then a write to this bit does nothing. This bit always returns 0 when read. It is permitted to write 1b to this bit while simultaneously writing modified values to other fields in this register. If the LTSSM is not already in Recovery or Configuration, the resulting Link training must use the modified values. If the LTSSM is already in Recovery or Configuration, the modified values are not required to affect the Link training that is already in progress. 4RW 0b Link Disable This field controls whether the link associated with the PCI Express/DMI port is enabled or disabled. When this bit is a 1, a previously configured link would return to the ’disabled’ state as defined in the PCI Express Base Specification, Revision 3.0. When this bit is clear, an LTSSM in the ’disabled’ state goes back to the detect state. 0 = Enables the link associated with the PCI Express port 1 = Disables the link associated with the PCI Express port 3RO 0b Read Completion Boundary Set to zero to indicate IIO could return read completions at 64B boundaries 2RV 0hReserved 1:0 RW-V 00b Active State Link PM Control When 01b or 11b, L0s on transmitter is enabled; otherwise, it is disabled. 10 and 11 enables L1 ASPM. LNKCON Bus: 0 Device: 0 Function: 0 Offset: 1B0h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: A0h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A0h Bus: 0 Device: 2 Function: 0–3 Offset: A0h Bus: 0 Device: 3 Function: 0–3 Offset: A0h Bit Attr Reset Value DescriptionDatasheet, Volume 2 75
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.50 LNKSTS—PCI Express* Link Status Register
The PCI Express Link Status register provides information on the status of the PCI Express Link such as negotiated width, training, and so forth. The link status register needs some default values setup by the local host. LNKSTS Bus: 0 Device: 0 Function: 0 Offset: 1B2h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: A2h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A2h Bus: 0 Device: 2 Function: 0–3 Offset: A2h Bus: 0 Device: 3 Function: 0–3 Offset: A2h Bit Attr Reset Value Description 15 RW1C 0b Link Autonomous Bandwidth Status This bit is set to 1b by hardware to indicate that hardware has autonomously changed link speed or width, without the port transitioning through DL_Down status for reasons other than to attempt to correct unreliable link operation. IIO does not, on its own, change speed or width autonomously for non-reliability reasons. IIO only sets this bit when it receives a width or speed change indication from downstream component that is not for link reliability reasons. 14 RW1C 0b Link Bandwidth Management Status This bit is set to 1b by hardware to indicate that either of the following has occurred without the port transitioning through DL_Down status:
- A link retraining initiated by a write of 1b to the Retrain Link bit has completed
- Hardware has autonomously changed link speed or width to attempt to correct unreliable link operation Note: IIO also sets this bit when it receives a width or speed change indication from downstream component that is for link reliability reasons. 13 RO-V 0b Data Link Layer Link Active Set to 1b when the Data Link Control and Management State Machine is in the DL_Active state; 0b otherwise. When this bit is 0b, the transaction layer associated with the link will abort all transactions that would otherwise be routed to that link. 12 RW-O 1b Slot Clock Configuration This bit indicates whether the processor receives clock from the same xtal that also provides clock to the device on the other end of the link. 1 = Indicates that same xtal provides clocks to the processor and the slot or device on other end of the link 0 = Indicates that different xtals provide clocks to the processor and the slot or device on other end of the link In general, this field is expected to be set to 1b by BIOS based on board clock routing, except probably in some NTB usage models. This bit has to be set to 1b on DMI mode operation on Device 0. 11 RO-V 0b Link Training This field indicates the status of an ongoing link training session in the PCI Express port 0 = LTSSM has exited the recovery/configuration state. 1 = LTSSM is in recovery/configuration state or the Retrain Link was set but training has not yet begun. The IIO hardware clears this bit once LTSSM has exited the recovery/configuration state. Refer to PCI Express Base Specification, Revision 3.0 for details of which states within the LTSSM would set this bit and which states would clear this bit. 10 RO 0b Reserved 9:4 RO-V 00h Negotiated Link Width This field indicates the negotiated width of the given PCI Express link after training is completed. Only x1, x2, x4, x8, and x16 link width negotiations are possible in the processor for Device 1-2 and only x1, x2 and x4 on Device 0. A value of 01h in this field corresponds to a link width of x1, 02h indicates a link width of x2, and so on, with a value of 10h for a link width of x16.The value in this field is reserved and could show any value when the link is not up. Software determines if the link is up or not by reading bit 13 of this register.Processor Integrated I/O (IIO) Configuration Registers 76 Datasheet, Volume 2
3.2.4.51 SLTCAP—PCI Express* Slot Capabilities Register
The Slot Capabilities register identifies the PCI Express specific slot capabilities. 3:0 RO-V 1h Current Link Speed This field indicates the negotiated Link speed of the given PCI Express Link. 0001 = 2.5 Gbps 0010 = 5 Gbps 0011 = 8 Gbps (Port 0 does not support this speed) Others = Reserved The value in this field is not defined when the link is not up. Software determines if the link is up or not by reading bit 13 of this register. LNKSTS Bus: 0 Device: 0 Function: 0 Offset: 1B2h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: A2h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A2h Bus: 0 Device: 2 Function: 0–3 Offset: A2h Bus: 0 Device: 3 Function: 0–3 Offset: A2h Bit Attr Reset Value Description SLTCAP Bus: 0 Device: 0 Function: 0 Offset: A4h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A4h Bus: 0 Device: 2 Function: 0–3 Offset: A4h Bus: 0 Device: 3 Function: 0–3 Offset: A4h Bit Attr Reset Value Description 31:19 RW-O 0h Physical Slot Number This field indicates the physical slot number of the slot connected to the PCI Express port and is initialized by BIOS. 18 RO 0b Command Complete Not Capable Processor is capable of command complete interrupt. 17 RW-O 0b Electromechanical Interlock Present This bit, when set, indicates that an Electromechanical Interlock is implemented on the chassis for this slot and that lock is controlled by bit 11 in Slot Control register. This field is initialized by BIOS based on the system architecture. BIOS Note: This capability is not set if the Electromechanical Interlock control is connected to main slot power control. This is expected to be used only for Express Module hot-pluggable slots. 16:15 RW-O 0b Slot Power Limit Scale This field specifies the scale used for the Slot Power Limit Value and is initialized by BIOS. IIO uses this field when it sends a Set_Slot_Power_Limit message on PCI Express. Range of Values: 00 = 1.0x 01 = 0.1x 10 = 0.01x 11 = 0.001x Writes to this register trigger a Set_Slot_Power_Limit message to be sent. 14:7 RW-O 00h Slot Power Limit Value This field specifies the upper limit on power supplied by slot in conjunction with the Slot Power Limit Scale value defined previously Power limit (in Watts) = SPLS x SPLV. This field is initialized by BIOS. IIO uses this field when it sends a Set_Slot_Power_Limit message on PCI Express. Writes to this register trigger a Set_Slot_Power_Limit message to be sent. Design Note: IIO sends the Set_Slot_Power_Limit message on the link at first link up condition (except on the DMI link operating in DMI mode) without regards to whether this register and the Slot Power Limit Scale register are programmed yet by BIOS.Datasheet, Volume 2 77
Processor Integrated I/O (IIO) Configuration Registers 6RW-O 0b Hot-plug Capable This field defines hot-plug support capabilities for the PCI Express port. 1 = indicates that this slot is not capable of supporting hot-plug operations. 0 = indicates that this slot is capable of supporting hot-plug operations This bit is programed by BIOS based on the system design. This bit must be programmed by BIOS to be consistent with the VPP enable bit for the port. 5RW-O 0b Hot-plug Surprise This field indicates that a device in this slot may be removed from the system without prior notification. This field is initialized by BIOS. 0 = indicates that hot-plug surprise is not supported 1 = indicates that hot-plug surprise is supported Generally this bit is not expected to be set because the only know usage case for this is the ExpressCard FF. But that is not really expected usage in Processor context. But this bit is present regardless to allow a usage if it arises. This bit is used by IIO hardware to determine if a transition from DL_active to DL_Inactive is to be treated as a surprise down error or not. If a port is associated with a hot-pluggable slot and the hot-plug surprise bit is set, then any transition to DL_Inactive is not considered an error. Refer to PCI Express Base Specification, Revision 3.0 for further details. 4RW-O 0b Power Indicator Present This bit indicates that a Power Indicator is implemented for this slot and is electrically controlled by the chassis. 0 = indicates that a Power Indicator that is electrically controlled by the chassis is not present 1 = indicates that Power Indicator that is electrically controlled by the chassis is present BIOS programs this field with a 1 for CEM/Express Module FFs, if the slot is hot- plug capable. 3RW-O 0b Attention Indicator Present This bit indicates that an Attention Indicator is implemented for this slot and is electrically controlled by the chassis 0 = indicates that an Attention Indicator that is electrically controlled by the chassis is not present 1 = indicates that an Attention Indicator that is electrically controlled by the chassis is present BIOS programs this field with a 1 for CEM/Express Module FFs, if the slot is hot- plug capable. 2RW-O 0b MRL Sensor Present This bit indicates that an MRL Sensor is implemented on the chassis for this slot. 0 = indicates that an MRL Sensor is not present 1 = indicates that an MRL Sensor is present BIOS programs this field with a 0 for Express Module FF always. If CEM slot is hot- plug capable, BIOS programs this field with either 0 or 1 depending on system design. 1RW-O 0b Power Controller Present This bit indicates that a software controllable power controller is implemented on the chassis for this slot. 0 = indicates that a software controllable power controller is not present 1 = indicates that a software controllable power controller is present BIOS programs this field with a 1 for CEM/Express Module FFs, if the slot is hot- plug capable. SLTCAP Bus: 0 Device: 0 Function: 0 Offset: A4h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A4h Bus: 0 Device: 2 Function: 0–3 Offset: A4h Bus: 0 Device: 3 Function: 0–3 Offset: A4h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 78 Datasheet, Volume 2
3.2.4.52 SLTCON—PCI Express* Slot Control Register
Any write to this register will set the Command Completed bit in the SLTSTS register, ONLY if the VPP enable bit for the port is set. If the port’s VPP enable bit is set (that is, hot-plug for that slot is enabled), then the required actions on VPP are completed before the Command Completed bit is set in the SLTSTS register. If the VPP enable bit for the port is clear, then the write simply updates this register (see individual bit definitions for details) but the Command Completed bit in the SLTSTS register is not set. 0RW-O 0b Attention Button Present This bit indicates that the Attention Button event signal is routed (from slot or on- board in the chassis) to the IIO’s hot-plug controller. 0 = indicates that an Attention Button signal is routed to IIO 1 = indicates that an Attention Button is not routed to IIO BIOS programs this field with a 1 for CEM/Express Module FFs, if the slot is hot- plug capable. SLTCAP Bus: 0 Device: 0 Function: 0 Offset: A4h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A4h Bus: 0 Device: 2 Function: 0–3 Offset: A4h Bus: 0 Device: 3 Function: 0–3 Offset: A4h Bit Attr Reset Value Description SLTCON Bus: 0 Device: 0 Function: 0 Offset: A8h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A8h Bus: 0 Device: 2 Function: 0–3 Offset: A8h Bus: 0 Device: 3 Function: 0–3 Offset: A8h Bit Attr Reset Value Description 15:13 RV 0h Reserved 12 RWS 0b Data Link Layer State Changed Enable When set to 1, this field enables software notification when Data Link Layer Link Active bit in the “LNKSTS—PCI Express* Link Status Register” on page 75 register changes state 11 RW 0b Electromechanical Interlock Control When software writes either a 1 to this bit, IIO pulses the EMIL pin. Write of 0 has no effect. This bit always returns a 0 when read. If electromechanical lock is not implemented, then either a write of 1 or 0 to this register has no effect. 10 RWS 1b Power Controller Control If a power controller is implemented, when writes to this field will set the power state of the slot per the defined encodings. Reads of this field must reflect the value from the latest write, even if the bcorresponding hot-plug command is not executed yet at the VPP, unless software issues a write without waiting for the previous command to complete in which case the read value is undefined. 0 = Power On 1 = Power Off Note: If the link experiences an unexpected DL_Down condition that is not the result of a Hot Plug removal, the Processor follows the PCI Express specification for logging Surprise Link Down. Software is required to set SLTCON[10] to 0 (Power On) in all devices that do not connect to a slot that supports Hot-Plug to enable logging of this error in that device. For devices connected to slots supporting Hot-Plug operations, SLTCON[10] usage to control PWREN# assertion is as described elsewhere.Datasheet, Volume 2 79
Processor Integrated I/O (IIO) Configuration Registers 9:8 RW 3h Power Indicator Control If a Power Indicator is implemented, writes to this field will set the Power Indicator to the written state. Reads of this field must reflect the value from the latest write, even if the corresponding hot-plug command is not executed yet at the VPP, unless software issues a write without waiting for the previous command to complete in which case the read value is undefined. 00 = Reserved. 01 = On 10 = Blink (IIO drives 1 Hz square wave for Chassis mounted LEDs) 11 = Off IIO does not generated the Power_Indicator_On/Off/Blink messages on PCI Express when this field is written to by software. 7:6 RW 3h Attention Indicator Control If an Attention Indicator is implemented, writes to this field will set the Attention Indicator to the written state. Reads of this field reflect the value from the latest write, even if the corresponding hot-plug command is not executed yet at the VPP, unless software issues a write without waiting for the previous command to complete in which case the read value is undefined. 00 = Reserved. 01 = On 10 = Blink (Processor drives 1 Hz square wave) 11 = Off IIO does not generated the Attention_Indicator_On/Off/Blink messages on PCI Express when this field is written to by software. 5RW 0b Hot-plug Interrupt Enable When set to 1b, this bit enables generation of Hot-Plug interrupt. 0 = Disables interrupt generation on Hot-plug events 1 = Enables interrupt generation on Hot-plug events 4RW 0b Command Completed Interrupt Enable This field enables software notification (Interrupt - MSI/INTx or WAKE) when a command is completed by the hot-plug controller connected to the PCI Express port 0 = Disables hot-plug interrupts on a command completion by a hot-plug Controller 1 = Enables hot-plug interrupts on a command completion by a hot-plug Controller 3RW 0h Presence Detect Changed Enable This bit enables the generation of hot-plug interrupts or wake messages using a presence detect changed event. 0 = Disables generation of hot-plug interrupts or wake messages when a presence detect changed event happens. 1 = Enables generation of hot-plug interrupts or wake messages when a presence detect changed event happens. 2RW 0h MRL Sensor Changed Enable This bit enables the generation of hot-plug interrupts or wake messages using a MRL Sensor changed event. 0 = Disables generation of hot-plug interrupts or wake messages when an MRL Sensor changed event happens. 1 = Enables generation of hot-plug interrupts or wake messages when an MRL Sensor changed event happens. SLTCON Bus: 0 Device: 0 Function: 0 Offset: A8h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A8h Bus: 0 Device: 2 Function: 0–3 Offset: A8h Bus: 0 Device: 3 Function: 0–3 Offset: A8h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 80 Datasheet, Volume 2
3.2.4.53 SLTSTS—PCI Express* Slot Status Register
The PCI Express Slot Status register defines important status information for operations such as hot-plug and Power Management. 1RW 0h Power Fault Detected Enable This bit enables the generation of hot-plug interrupts or wake messages using a power fault event. 0 = Disables generation of hot-plug interrupts or wake messages when a power fault event happens. 1 = Enables generation of hot-plug interrupts or wake messages when a power fault event happens. 0RW 0h Attention Button Pressed Enable This bit enables the generation of hot-plug interrupts or wake messages using an attention button pressed event. 0 = Disables generation of hot-plug interrupts or wake messages when the attention button is pressed. 1 = Enables generation of hot-plug interrupts or wake messages when the attention button is pressed. SLTCON Bus: 0 Device: 0 Function: 0 Offset: A8h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: A8h Bus: 0 Device: 2 Function: 0–3 Offset: A8h Bus: 0 Device: 3 Function: 0–3 Offset: A8h Bit Attr Reset Value Description SLTSTS Bus: 0 Device: 0 Function: 0 Offset: AAh (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: AAh Bus: 0 Device: 2 Function: 0–3 Offset: AAh Bus: 0 Device: 3 Function: 0–3 Offset: AAh Bit Attr Reset Value Description 15:9 RV 0h Reserved 8RW1C 0b Data Link Layer State Changed This bit is set (if it is not already set) when the state of the Data Link Layer Link Active bit in the Link Status register changes. Software must read Data Link Layer Active field to determine the link state before initiating configuration cycles to the hot-plugged device. 7RO 0b Electromechanical Latch Status When read, this register returns the current state of the Electromechanical Interlock (the EMILS pin), which has the defined encodings as: 0 = Electromechanical Interlock Disengaged 1 = Electromechanical Interlock Engaged 6RO 0b Presence Detect State For ports with slots (where the Slot Implemented bit of the PCI Express Capabil- ities Registers is 1b), this field is the logical OR of the Presence Detect status determined using an in-band mechanism and sideband Present Detect pins. Refer to how PCI Express Base Specification, Revision 3.0 for how the inband presence detect mechanism works (certain states in the LTSSM constitute ‘card present’ and others do not). 0 = Card/Module slot empty 1 = Card/module Present in slot (powered or unpowered) For ports with no slots, IIO hardwires this bit to 1b. Note: The operating system could get confused when it sees an empty PCI Express root port, that is, ‘no slots + no presence’, since this is now disallowed in the specification. Thus, BIOS must hide all unused root ports devices in IIO configuration space, using the DEVHIDE register.Datasheet, Volume 2 81
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.54 ROOTCON—PCI Express* Root Control Register
5RO 0b MRL Sensor State This bit reports the status of an MRL sensor if it is implemented. 0 = MRL Closed 1 = MRL Open. 4RW1C 0b Command Completed This bit is set by IIO when the hot-plug command has completed and the hot-plug controller is ready to accept a subsequent command. It is subsequently cleared by software after the field has been read and processed. This bit provides no assurance that the action corresponding to the command is complete. Any write to ‘PCI Express Slot Control Register (SLTCON)’ (regardless of the port is capable or enabled for hot-plug) is considered a ‘hot-plug’ command. If the port is not hot-plug capable or hot-plug enabled, then the hot-plug command does not trigger any action on the VPP port but the command is still completed using this bit. 3RW1C 0b Presence Detect Changed This bit is set by IIO when the value reported in bit 6 is changes. It is subsequently cleared by software after the field has been read and processed. 2RW1C 0b MRL Sensor Changed This bit is set if the value reported in bit 5 changes. It is subsequently cleared by software after the field has been read and processed. 1RW1C 0b Power Fault Detected This bit is set by IIO when a power fault event is detected by the power controller (which is reported using the VPP bit stream). It is subsequently cleared by software after the field has been read and processed. 0RW1C 0b Attention Button Pressed This bit is set by IIO when the attention button is pressed. It is subsequently cleared by software after the field has been read and processed. IIO silently discards the Attention_Button_Pressed message if received from PCI Express link without updating this bit. ROOTCON Bus: 0 Device: 0 Function: 0 Offset: ACh Bus: 0 Device: 1 Function: 0–1 Offset: ACh Bus: 0 Device: 2 Function: 0–3 Offset: ACh Bus: 0 Device: 3 Function: 0–3 Offset: ACh Bit Attr Reset Value Description 15:5 RV 0h Reserved 4RW 0b CRS software visibility Enable This bit, when set, enables the Root Port to return Configuration Request Retry Status (CRS) Completion Status to software. If this bit is 0, retry status cannot be returned to software. 3RW 0b PME Interrupt Enable This field controls the generation of MSI interrupts/INTx interrupts for PME messages. 1 = Enables interrupt generation upon receipt of a PME message 0 = Disables interrupt generation for PME messages SLTSTS Bus: 0 Device: 0 Function: 0 Offset: AAh (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: AAh Bus: 0 Device: 2 Function: 0–3 Offset: AAh Bus: 0 Device: 3 Function: 0–3 Offset: AAh Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 82 Datasheet, Volume 2 2RW 0b System Error on Fatal Error Enable This field enables notifying the internal IIO core error logic of occurrence of an uncorrectable fatal error at the port or below its hierarchy. The internal core error logic of IIO then decides if/how to escalate the error further (pins/message etc). 1 = Indicates that an internal IIO core error logic notification should be generated if a fatal error (ERR_FATAL) is reported by any of the devices in the hierarchy associated with and including this port. 0 = No internal IIO core error logic notification should be generated on a fatal error (ERR_FATAL) reported by any of the devices in the hierarchy associated with and including this port. Generation of system notification on a PCI Express fatal error is orthogonal to generation of an MSI/INTx interrupt for the same error. Both a system error and MSI/INTx can be generated on a fatal error or software can chose one of the two. Refer to PCI Express Base Specification, Revision 3.0 for details of how this bit is used in conjunction with other error control bits to generate core logic notification of error events in a PCI Express port. Since this register is defined only in PCIe mode for Device 0, this bit will read a 0 in DMI mode. Thus, to enable core error logic notification on DMI mode fatal errors, BIOS must set bit 35 of “MISCCTRLSTS—Miscellaneous Control and Status Register” on page 103 to a 1 (to override this bit) on Device 0 in DMI mode. 1RW 0b System Error on Non-Fatal Error Enable This field enables notifying the internal IIO core error logic of occurrence of an uncorrectable non-fatal error at the port or below its hierarchy. The internal IIO core error logic then decides if/how to escalate the error further (pins/message etc). 1 = Indicates that a internal IIO core error logic notification should be generated if a non-fatal error (ERR_NONFATAL) is reported by any of the devices in the hierarchy associated with and including this port. 0 = No internal core error logic notification should be generated on a non-fatal error (ERR_NONFATAL) reported by any of the devices in the hierarchy associated with and including this port. Generation of system notification on a PCI Express non-fatal error is orthogonal to generation of an MSI/INTx interrupt for the same error. Both a system error and MSI/INTx can be generated on a non-fatal error or software can chose one of the two. Refer to PCI Express Base Specification, Revision 3.0 for details of how this bit is used in conjunction with other error control bits to generate core logic notification of error events in a PCI Express port. Since this register is defined only in PCIe mode for Device#0, this bit will read a 0 in DMI mode. So, to enable core error logic notification on DMI mode non-fatal errors, BIOS must set bit 34 of “MISCCTRLSTS—Miscellaneous Control and Status Register” on page 103 to a 1 (to override this bit) on Device#0 in DMI mode. ROOTCON Bus: 0 Device: 0 Function: 0 Offset: ACh Bus: 0 Device: 1 Function: 0–1 Offset: ACh Bus: 0 Device: 2 Function: 0–3 Offset: ACh Bus: 0 Device: 3 Function: 0–3 Offset: ACh Bit Attr Reset Value DescriptionDatasheet, Volume 2 83
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.55 ROOTCAP—PCI Express* Root Capabilities Register
0RW 0b System Error on Correctable Error Enable This field controls notifying the internal IIO core error logic of the occurrence of a correctable error in the device or below its hierarchy. The internal core error logic of IIO then decides if/how to escalate the error further (pins/message, and so on). 1 = Indicates that an internal core error logic notification should be generated if a correctable error (ERR_COR) is reported by any of the devices in the hierarchy associated with and including this port. 0 = No internal core error logic notification should be generated on a correctable error (ERR_COR) reported by any of the devices in the hierarchy associated with and including this port. Generation of system notification on a PCI Express correctable error is orthogonal to generation of an MSI/INTx interrupt for the same error. Both a system error and MSI/INTx can be generated on a correctable error or software can chose one of the two. Refer to PCI Express Base Specification, Revision 3.0 for details of how this bit is used in conjunction with other error control bits to generate core logic notification of error events in a PCI Express port. Since this register is defined only in PCIe mode for Device#0, this bit will read a 0 in DMI mode. So, to enable core error logic notification on DMI mode correctable errors, BIOS must set bit 33 of “MISCCTRLSTS—Miscellaneous Control and Status Register” on page 103 to a 1 (to override this bit) on Device#0 in DMI mode. ROOTCAP Bus: 0 Device: 0 Function: 0 Offset: AEh (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: AEh Bus: 0 Device: 2 Function: 0–3 Offset: AEh Bus: 0 Device: 3 Function: 0–3 Offset: AEh Bit Attr Reset Value Description 15:1 RV 0h Reserved 0RO 1b CRS Software Visibility This bit, when set, indicates that the Root Port is capable of returning Configuration Request Retry Status (CRS) Completion Status to software. Processor supports this capability. ROOTCON Bus: 0 Device: 0 Function: 0 Offset: ACh Bus: 0 Device: 1 Function: 0–1 Offset: ACh Bus: 0 Device: 2 Function: 0–3 Offset: ACh Bus: 0 Device: 3 Function: 0–3 Offset: ACh Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 84 Datasheet, Volume 2
3.2.4.56 ROOTSTS—PCI Express* Root Status Register
3.2.4.57 DEVCAP2—PCI Express* Device Capabilities 2 Register
ROOTSTS Bus: 0 Device: 0 Function: 0 Offset: B0h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: B0h Bus: 0 Device: 2 Function: 0–3 Offset: B0h Bus: 0 Device: 3 Function: 0–3 Offset: B0h Bit Attr Reset Value Description 31:18 RV 0h Reserved 17 RO-V 0b PME Pending This field indicates that another PME is pending when the PME Status bit is set. When the PME Status bit is cleared by software, the pending PME is delivered by hardware by setting the PME Status bit again and updating the Requestor ID appropriately. The PME pending bit is cleared by hardware if no more PMEs are pending. 16 RW1C 0b PME Status This field indicates a PM_PME message (either from the link or internally from within that root port) was received at the port. 1 = PME was asserted by a requester as indicated by the PME Requester ID field This bit is cleared by software by writing a 1. The root port itself could be the source of a PME event when a hot-plug event is observed when the port is in D3hot state. 15:0 RO-V 0000h PME Requester ID This field indicates the PCI requester ID of the last PME requestor. If the root port itself was the source of the (virtual) PME message, then a RequesterID of CPUBUSNO0 :DevNo:FunctionNo is logged in this field. DEVCAP2 Bus: 0 Device: 0 Function: 0 Offset: B4h Bus: 0 Device: 1 Function: 0–1 Offset: B4h Bus: 0 Device: 2 Function: 0–3 Offset: B4h Bus: 0 Device: 3 Function: 0–3 Offset: B4h Bit Attr Reset Value Description 31:14 RV 0h Reserved 13:12 RW-O 01b TPH Completer Supported This field indicates the support for TLP Processing Hints. Processor does not support the extended TPH header. 00 = TPH and Extended TPH Completer not supported. 01 = TPH Completer supported; Extended TPH Completer not supported. 10 = Reserved. 11 = Both TPH and Extended TPH Completer supported. 11 RW-O 0b LTR Mechanism Supported A value of 1b indicates support for the optional Latency Tolerance Reporting (LTR) mechanism capability. 10 RO 0b No RO-enabled PR-PR Passing If this bit is Set, the routing element never carries out the passing permitted by PCIe ordering rule entry A2b that is associated with the Relaxed Ordering Attribute field being Set. This bit applies only for Switches and RCs that support peer to peer traffic between Root Ports. This bit applies only to Posted Requests being forwarded through the Switch or RC and does not apply to traffic originating or terminating within the Switch or RC itself. All Ports on a Switch or RC must report the same value for this bit. For all other functions, this bit must be 0b.Datasheet, Volume 2 85
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.58 DEVCTRL2—PCI Express* Device Control Register 2
9RW-O 0b AtomicOp CAS Completer 128-bit Operand Supported Unsupported 8RW-O 0b AtomicOp Completer 64-bit Operand Supported Unsupported 7RW-O 0b AtomicOp Completer 32-bit Operand Supported Unsupported 6RO 0b AtomicOp Routing Supported peer-to-peer routing of AtomicOp is not supported 5RW-O 1b Alternative RID InterpretationCapable This bit is set to 1b indicating Root Port supports this capability. 4RO 1b Completion Timeout Disable Supported IIO supports disabling completion timeout 3:0 RO Eh Completion Timeout Values Supported This field indicates device support for the optional Completion Timeout program- mability mechanism. This mechanism allows system software to modify the Completion Timeout range. Bits are one-hot encoded and set according to the table below to show timeout value ranges supported. A device that supports the optional capability of Completion Timeout Programmability must set at least two bits.Four time values ranges are defined: Range A = 50 us to 10 ms Range B = 10 ms to 250 ms Range C = 250 ms to 4 s Range D = 4 s to 64 s Bits are set according to table below to show timeout value ranges supported. 0000b = Completions Timeout programming not supported – values is fixed by implementation in the range 50 us to 50 ms. 0001b = Range A 0010b = Range B 0011b = Range A & B 0110b = Range B & C 0111b = Range A, B, & C 1110b = Range B, C D 1111b = Range A, B, C & D All other values are reserved. IIO supports timeout values up to 10 ms–64 s. DEVCTRL2 Bus: 0 Device: 0 Function: 0 Offset: F8h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: B8h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: B8h Bus: 0 Device: 2 Function: 0–3 Offset: B8h Bus: 0 Device: 3 Function: 0–3 Offset: B8h Bit Attr Reset Value Description 15:6 RV 0h Reserved 5RO 0b Alternative RID InterpretationEnable This bit applies only to root ports. When set to 1b, ARI is enabled for the Root Port. For Device 0 in DMI mode, this bit is ignored. DEVCAP2 Bus: 0 Device: 0 Function: 0 Offset: B4h Bus: 0 Device: 1 Function: 0–1 Offset: B4h Bus: 0 Device: 2 Function: 0–3 Offset: B4h Bus: 0 Device: 3 Function: 0–3 Offset: B4h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 86 Datasheet, Volume 2
3.2.4.59 LNKCAP2—PCI Express* Link Capabilities 2 Register
4RW 1b Completion Timeout Disable 1 = Disables the Completion Timeout mechanism for all NP tx that IIO issues on the PCIe/DMI link. 0 = Completion timeout is enabled. Software can change this field while there is active traffic in the root/DMI port. 3:0 RW 0h Completion Timeout Value on NP Tx that IIO issues on PCIe/DMI In Devices that support Completion Timeout programmability, this field allows system software to modify the Completion Timeout range. The following encodings and corresponding timeout ranges are defined: 0000b = 10 ms to 50 ms 0001b = Reserved (IIO aliases to 0000b) 0010b = Reserved (IIO aliases to 0000b) 0101b = 16 ms to 55 ms 0110b = 65 ms to 210 ms 1001b = 260 ms to 900 ms 1010b = 1 s to 3.5 s 1101b = 4 s to 13 s 1110b = 17 s to 64 s When software selects 17 s to 64 s range, “CTOCTRL—Completion Timeout Control Register” on page 111 further controls the timeout value within that range. For all other ranges selected by the operating system, the timeout value within that range is fixed in IIO hardware. Software can change this field while there is active traffic in the root port. This value will also be used to control PME_TO_ACK Timeout. That is, this field sets the timeout value for receiving a PME_TO_ACK message after a PME_TURN_OFF message has been transmitted. The PME_TO_ACK Timeout has meaning only if bit 6 of “MISCCTRLSTS—Miscellaneous Control and Status Register” on page 103 register is set to a 1b. LNKCAP2 Bus: 0 Device: 0 Function: 0 Offset: BCh Bus: 0 Device: 1 Function: 0–1 Offset: BCh Bus: 0 Device: 2 Function: 0–3 Offset: BCh Bus: 0 Device: 3 Function: 0–3 Offset: BCh Bit Attr Reset Value Description 31:8 RV 0h Reserved 7:1 RO-V 3h Supported Link Speeds Vector This field indicates the supported Link speed(s) of the associated Port. For each bit, a value of 1b indicates that the corresponding Link speed is supported; otherwise, the Link speed is not supported. Bit definitions are: Bit 1 = 2.5 GT/s set in processor Bit 2 = 5.0 GT/s set in processor Bit 3 = 8.0 GT/s set in processor unless PCIe 3.0 is disabled in that part Bits 7:4 = Reserved The processor supports all speeds, unless PCIe 3.0 is disabled in that part, then only Gen1 and Gen2 are supported. 0RV 0hReserved DEVCTRL2 Bus: 0 Device: 0 Function: 0 Offset: F8h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: B8h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: B8h Bus: 0 Device: 2 Function: 0–3 Offset: B8h Bus: 0 Device: 3 Function: 0–3 Offset: B8h Bit Attr Reset Value DescriptionDatasheet, Volume 2 87
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.60 LNKCON2—PCI Express* Link Control 2 Register
LNKCON2 Bus: 0 Device: 0 Function: 0 Offset: 1C0h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: C0h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: C0h Bus: 0 Device: 2 Function: 0–3 Offset: C0h Bus: 0 Device: 3 Function: 0–3 Offset: C0h Bit Attr Reset Value Description 15:13 RO 0b Reserved 12 RWS 0b Compliance De-emphasis This bit sets the de-emphasis level in Polling.Compliance state if the entry occurred due to the Enter Compliance bit being 1b. 1 = -3.5 dB 0 = -6 dB 11 RWS 0b Compliance SOS When set to 1b, the LTSSM is required to send SKP Ordered Sets periodically in between the (modified) compliance patterns. 10 RWS 0b Enter Modified Compliance When this bit is set to 1b, the device transmits Modified Compliance Pattern if the LTSSM enters Polling.Compliance substate. 9:7 RWS-V 000b Transmit Margin This field controls the value of the nondeemphasized voltage level at the Transmitter pins. 6RW-O 0b Selectable De-emphasis When the Link is operating at 5.0 GT/s speed, this bit selects the level of de- emphasis for an Upstream component.Encodings: 1 = -3.5 dB 0 = -6 dB When the Link is operating at 2.5 GT/s speed, the setting of this bit has no effect. 5RWS 0b Hardware Autonomous Speed Disable When set, this bit disables hardware from changing the Link speed for device specific reasons other than attempting to correct unreliable Link operation by reducing Link speed. 4RWS-V 0b Enter Compliance Software is permitted to force a link to enter Compliance mode at the speed indicated in the Target Link Speed field by setting this bit to 1b in both components on a link and then initiating a hot reset on the link. 3:0 RWS-V 2h Target Link Speed This field sets an upper limit on link operational speed by restricting the values advertised by the upstream component in its training sequences. Defined encodings are: 0001b = 2.5 Gb/s Target Link Speed 0010b = 5 Gb/s Target Link Speed All other encodings are reserved. If a value is written to this field that does not correspond to a speed included in the Supported Link Speeds field, IIO will default to Gen1 speed. This field is also used to set the target compliance mode speed when software is using the Enter Compliance bit to force a link into compliance mode.Processor Integrated I/O (IIO) Configuration Registers 88 Datasheet, Volume 2
3.2.4.61 LNKSTS2—PCI Express* Link Status Register 2
LNKSTS2 Bus: 0 Device: 0 Function: 0 Offset: 1C2h (DMI2 MODE) Bus: 0 Device: 0 Function: 0 Offset: C2h (PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: C2h Bus: 0 Device: 2 Function: 0–3 Offset: C2h Bus: 0 Device: 3 Function: 0–3 Offset: C2h Bit Attr Reset Value Description 15:6 RV 0h Reserved 5RW1C 0b Link Equalization Request This bit is set by hardware to request Link equalization process to be performed on the link. 4RO-V 0b Equalization Phase 3 Successful When set to 1b, this indicates that Phase 3 of the Transmitter Equalization procedure has successfully completed. 3RO-V 0b Equalization Phase 2 Successful When set to 1b, this indicates that Phase 2 of the Transmitter Equalization procedure has successfully completed. 2RO-V 0b Equalization Phase 1 Successful When set to 1b, this indicates that Phase 1 of the Transmitter Equalization procedure has successfully completed. 1RO-V 0b Equalization Complete When set to 1b, this indicates that the Transmitter Equalization procedure has completed. 0RO-V 0b Current De-emphasis Level When operating at Gen2 speed, this reports the current de-emphasis level. This field is Unused for Gen1 speeds 1b = -3.5 dB 0b = -6 dBDatasheet, Volume 2 89
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.62 PMCAP—Power Management Capabilities Register
The PM Capabilities Register defines the capability ID, next pointer, and other power management related support. The following PM registers/capabilities are added for software compliance. PMCAP Bus: 0 Device: 0 Function: 0 Offset: E0h Bus: 0 Device: 1 Function: 0–1 Offset: E0h Bus: 0 Device: 2 Function: 0–3 Offset: E0h Bus: 0 Device: 3 Function: 0–3 Offset: E0h (RP_ONLY) Bit Attr Reset Value Description 31:27 RO 0h PME Support Indicates the PM states within which the function is capable of sending a PME message. NTB secondary side does not forward PME messages. Bit 31 = D3cold Bit 30 = D3hot Bit 29 = D2 Bit 28 = D1 Bit 27 = D0 26 RO 0b D2 Support IIO does not support power management state D2. 25 RO 0b D1 Support IIO does not support power management state D1. 24:22 RO 000b AUX Current Device does not support auxiliary current 21 RO 0b Device Specific Initialization Device initialization is not required 20 RV 0h Reserved 19 RO 0b PME Clock This field is hardwired to 0h as it does not apply to PCI Express. 18:16 RO 011b Version This field is set to 3h (PM 1.2 compliant) as version number for all PCI Express ports. 15:8 RO 00h Next Capability Pointer This is the last capability in the chain and hence set to 0. 7:0 RO 01h Capability ID Provides the PM capability ID assigned by PCI-SIG.Processor Integrated I/O (IIO) Configuration Registers 90 Datasheet, Volume 2
3.2.4.63 PMCSR—Power Management Control and Status Register
This register provides status and control information for PM events in the PCI Express port of the IIO. PMCSR Bus: 0 Device: 0 Function: 0 Offset: E4h Bus: 0 Device: 1 Function: 0–1 Offset: E4h Bus: 0 Device: 2 Function: 0–3 Offset: E4h Bus: 0 Device: 3 Function: 0–3 Offset: E4h Bit Attr Reset Value Description 31:24 RO 00h Data Not relevant for IIO 23 RO 0h Bus Power/Clock Control Enable This field is hardwired to 0h as it does not apply to PCI Express. 22 RO 0h B2/B3 Support This field is hardwired to 0h as it does not apply to PCI Express. 21:16 RV 0h Reserved 15 RO 0h PME Status Applies only to RPs. This bit is hard-wired to read-only 0, since this function does not support PME# generation from any power state. This PME Status is a sticky bit. This bit is set, independent of the PMEEN bit defined below, on an enabled PCI Express hotplug event provided the RP was in D3hot state. Software clears this bit by writing a 1 when it has been completed. Refer to PCI Express Base Specification, Revision 3.0 for further details on wake event generation at a RP 14:13 RO 0h Data Scale Not relevant for IIO 12:9 RO 0h Data Select Not relevant for IIO 8RO 0h PME Enable Applies only to RPs. 0 = Disable ability to send PME messages when an event occurs 1 = Enables ability to send PME messages when an event occurs 7:4 RV 0h Reserved 3RW-O 1b Indicates IIO does not reset its registers when it transitions from D3hot to D0 2RV 0hReserved 1:0 RW 0h Power State This 2-bit field is used to determine the current power state of the function and to set a new power state as well. 00 = D0 01 = D1 (not supported by IIO) 10 = D2 (not supported by IIO) 11 = D3_hot If Software tries to write 01 or 10 to this field, the power state does not change from the existing power state (which is either D0 or D3hot) and nor do these bits 1:0 change value. All devices will respond to only Type 0 configuration transactions when in D3hot state (RP will not forward Type 1 accesses to the downstream link) and will not respond to memory/IO transactions (that is, D3hot state is equivalent to MSE/ IOSE bits being clear) as target and will not generate any memory/IO/ configuration transactions as initiator on the primary bus (messages are still allowed to pass through).Datasheet, Volume 2 91
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 0 Function: 0 Offset: 100h Bus: 0 Device: 1 Function: 0–1 Offset: 100 Bus: 0 Device: 2 Function: 0–3 Offset: 100 Bus: 0 Device: 3 Function: 0–3 Offset: 100 Bit Attr Reset Value Description 31:20 RO 110h PcieNextPtr Next Capability Pointer This field contains the offset to the next PCI capability structure or 00h if no other items exist in the linked list of capabilities. In DMI Mode, it points to the Vendor Specific Error Capability. In PCIe Mode, it points to the ACS Capability. 19:16 RO 1h PcieCapVersion: Capability Version This field is a PCI-SIG defined version number that indicates the nature and format of the extended capability. This indicates the version of the REUT Capability. 15:0 RO Bh PcieCapID: PCIe Extended CapID This field has the value 0Bh to identify the CAP_ID assigned by the PCI SIG indicating a vendor specific capability.
Bus: 0 Device: 0 Function: 0 Offset: 104h Bus: 0 Device: 1 Function: 0–1 Offset: 104h Bus: 0 Device: 2 Function: 0–3 Offset: 104h Bus: 0 Device: 3 Function: 0–3 Offset: 104h Bit Attr Reset Value Description 31:20 RO Ch VSECLength: VSEC Length This field defines the length of the REUT ‘capability body’. The size of the leaf body is 12 bytes including the _EXT, _CAP and _LEF registers. 19:16 RO 0h VSECIDRev: REUT VSECID Rev This field is defined as the version number that indicates the nature and format of the VSEC structure. Software must quality the Vendor ID before interpreting this field. 15:0 RO 0002h VSECID: REUT Engine VSECID This field is a Intel-defined ID number that indicates the nature and format of the VSEC structure. Software must qualify the Vendor ID before interpreting this field. Notes: A value of ‘00h’ is reserved A value of ‘01h’ is the ID Council defined for REUT engines. A value of ‘02h’ is specified for the REUT ‘leaf’ capability structure which resides in each link which in supported by a REUT engine.Processor Integrated I/O (IIO) Configuration Registers 92 Datasheet, Volume 2
Bus: 0 Device: 0 Function: 0 Offset: 108h Bus: 0 Device: 1 Function: 0–1 Offset: 108h Bus: 0 Device: 2 Function: 0–3 Offset: 108h Bus: 0 Device: 3 Function: 0–3 Offset: 108h Bit Attr Reset Value Description 31:16 RV 0h Reserved 15:8 RO 30h LeafReutDevNum This field identifies the PCI Device/Function # where the REUT engine associated with this link resides. Device6 = 00110b & function0 = 000b = 30h 7:0 RO 2h LeafReutEngID This field identifies the REUT engine associated with the link (same as the REUT ID). ACSCAPHDR Bus: 0 Device: 0 Function: 0 Offset: 110h(PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 110h Bus: 0 Device: 2 Function: 0–3 Offset: 110h Bus: 0 Device: 3 Function: 0–3 Offset: 110h Bit Attr Reset Value Description 31:20 RO 148h Next Capability Offset This field points to the next Capability in extended configuration space. In PCIe Mode, it points to the Advanced Error Capability. 19:16 RO 1h Capability Version Set to 1h for this version of the PCI Express logic 15:0 RO 000Dh PCI Express Extended CAP ID Assigned for Access Control Services capability by PCISIG.Datasheet, Volume 2 93
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.68 ACSCAP—Access Control Services Capability Register
ACSCAP Bus: 0 Device: 0 Function: 0 Offset: 114h(PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 114h Bus: 0 Device: 2 Function: 0–3 Offset: 114h Bus: 0 Device: 3 Function: 0–3 Offset: 114h Bit Attr Reset Value Description 15:8 RO 0h Egress Control Vector Size Not Applicable for IIO 7RV 0hReserved 6RO ACS Direct Translated P2P Applies only to root ports Indicates that the component does not implement ACS Direct Translated peer-to-peer. 5RO 0b ACS P2P Egress Control Applies only to root ports Indicates that the component does not implement ACS peer-to-peer Egress Control. 4RO 1b ACS Upstream Forwarding Applies only to root ports Indicates that the component implements ACS Upstream Forwarding. 3RO 1b ACS P2P Completion Redirect Applies only to root ports Indicates that the component implements ACS peer-to- peer Completion Redirect. 2RO 1b ACS P2P Request Redirect Applies only to root ports Indicates that the component implements ACS peer-to- peer Request Redirect. 1RO 1b ACS Translation Blocking Applies only to root ports Indicates that the component implements ACS Translation Blocking. 0RO 1b ACS Source Validation Applies only to root ports Indicates that the component implements ACS Source Validation.Processor Integrated I/O (IIO) Configuration Registers 94 Datasheet, Volume 2
3.2.4.69 ACSCTRL—Access Control Services Control Register
3.2.4.70 APICBASE—APIC Base Register
ACSCTRL Bus: 0 Device: 0 Function: 0 Offset: 116h(PCIe* MODE) Bus: 0 Device: 1 Function: 0–1 Offset: 116h Bus: 0 Device: 2 Function: 0–3 Offset: 116h Bus: 0 Device: 3 Function: 0–3 Offset: 116h Bit Attr Reset Value Description 15:7 RV 0h Reserved 6RO 0b ACS Direct Translated P2P Enable Applies only to root ports This is hardwired to 0b as the component does not implement ACS Direct Translated peer-to-peer. 5RO 0b ACS P2P Egress Control Enable Applies only to root ports. The component does not implement ACS peer-to-peer Egress Control and hence this bit should not be used by software. 4RW 0b ACS Upstream Forwarding Enable Applies only to root ports. When this bit is set, transactions arriving from a root port that target the same port back down, will be forwarded. Normally such traffic would be aborted. Other than this, the bit has no other impact on IIO hardware. 3RW 0b ACS P2P Completion Redirect Enable Applies only to root ports. Determines when the component redirects peer-to-peer Completions upstream; applicable only to Read Completions whose Relaxed Ordering Attribute is clear. 2RW 0b ACS P2P Request Redirect Enable Applies only to root ports. When this bit is set, transactions arriving from a root port that target the same port back down, will be forwarded. Normally such traffic would be aborted. Other than this, the bit has no other impact on IIO hardware. 1RW 0b ACS Translation Blocking Enable Applies only to root ports. When set, the component blocks all upstream Memory Requests whose Address Translation (AT) field is not set to the default value. 0RW 0b ACS Source Validation Enable Applies only to root ports. When set, the component validates the Bus Number from the Requester ID of upstream Requests against the secondary / subordinate Bus Numbers. APICBASE Bus: 0 Device: 0 Function: 0 Offset: 140h Bus: 0 Device: 1 Function: 0–1 Offset: 140h Bus: 0 Device: 2 Function: 0–3 Offset: 140h Bus: 0 Device: 3 Function: 0–3 Offset: 140h Bit Attr Reset Value Description 15:12 RV 0h Reserved 11:1 RW 000h Bits 19:9 of the APIC base Applies only to root ports. Bits 31:20 are assumed to be FECh. Bits 8:0 are a don’t care for address decode. Address decoding to the APIC range is done as: APICBASE.ADDR[31:8] A[31:8] APICLIMIT.ADDR[31:8]. Outbound accesses to the APIC range are claimed by the root port and forwarded to PCIe, if bit 0 is set, even if the MSE bit of the root port is clear or the root port itself is in D3hot state. 0RW 0h APIC Range Enable Enables the decode of the APIC windowDatasheet, Volume 2 95
Processor Integrated I/O (IIO) Configuration Registers
APICLIMIT Bus: 0 Device: 0 Function: 0 Offset: 142h Bus: 0 Device: 1 Function: 0–1 Offset: 142h Bus: 0 Device: 2 Function: 0–3 Offset: 142h Bus: 0 Device: 3 Function: 0–3 Offset: 142h Bit Attr Reset Value Description 15:12 RV 0h Reserved 11:1 RW 000h Bits 19:9 of the APIC limit Applies only to root ports. Bits 31:20 are assumed to be FECh. Bits 8:0 are a don’t care for address decode. Address decoding to the APIC range is done as: APICBASE.ADDR[31:8] A[31:8] APICLIMIT.ADDR[31:8]. Outbound accesses to the APIC range are claimed by the root port and forwarded to PCIe, if the range is enabled, even if the MSE bit of the root port is clear or the root port itself is in D3hot state. 0RV 0hReserved VSECHDR Bus: 0 Device: 0 Function: 0 Offset: 144h Bit Attr Reset Value Description 31:20 RO 1D0h Next Capability Offset This field points to the next Capability in extended configuration space or is 0 if it is that last capability. 19:16 RO 1h Capability Version Set to 1h for this version of the PCI Express logic 15:0 RO 000Bh PCI Express Extended CAP ID Assigned for Vendor Specific Capability VSHDR Bus: 0 Device: 0 Function: 0 Offset: 148h Bit Attr Reset Value Description 31:20 RO 3Ch VSEC Length This field points to the next Capability in extended configuration space which is the ACS capability at 150h. 19:16 RO 1h VSEC Version Set to 1h for this version of the PCI Express logic 15:0 RO 4h VSEC ID Identifies Intel Vendor Specific Capability for AER on DMIProcessor Integrated I/O (IIO) Configuration Registers 96 Datasheet, Volume 2
3.2.4.74 ERRCAPHDR—PCI Express* Enhanced Capability Header
Register – Root Ports
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.76 UNCERRMSK—Uncorrectable Error Mask Register
This register masks uncorrectable errors from being signaled.
This register identifies the status of the correctable errors that have been detected by the PCI Express port
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.80 ERRCAP—Advanced Error Capabilities and Control Register
3.2.4.81 HDRLOG[0:3]—Header Log 0–3 Register
This register contains the header log when the first error occurs. Headers of the subsequent errors are not logged. ERRCAP Bus: 0 Device: 0 Function: 0 Offset: 160h Bus: 0 Device: 1 Function: 0–1 Offset: 160h Bus: 0 Device: 2 Function: 0–3 Offset: 160h Bus: 0 Device: 3 Function: 0–3 Offset: 160h Bit Attr Reset Value Description 31:9 RV 0h Reserved 8RO 0b ECRC Check Enable Not Applicable to IIO 7RO 0b ECRC Check Capable Not Applicable to IIO 6RO 0b ECRC Generation Enable Not Applicable to IIO 5RO 0b ECRC Generation Capable Not Applicable to IIO 4:0 ROS-V 0h First error pointer The First Error Pointer is a read-only register that identifies the bit position of the first unmasked error reported in the Uncorrectable Error register. In case of two errors happening at the same time, fatal error gets precedence over non-fatal, in terms of being reported as first error. This field is rearmed to capture new errors when the status bit indicated by this field is cleared by software. HDRLOG[0:3] Bus: 0 Device: 0 Function: 0 Offset: 164h, 168h, 16Ch, 170h Bus: 0 Device: 1 Function: 0–1 Offset: 164h, 168h, 16Ch, 170h Bus: 0 Device: 2 Function: 0–3 Offset: 164h, 168h, 16Ch, 170h Bus: 0 Device: 3 Function: 0–3 Offset: 164h, 168h, 16Ch, 170h Bit Attr Reset Value Description 31:0 ROS-V
00h Log of Header DWord 0 Logs the first DWord of the header on an error conditionProcessor Integrated I/O (IIO) Configuration Registers 100 Datasheet, Volume 2
3.2.4.82 RPERRCMD—Root Port Error Command Register
This register controls behavior upon detection of errors.
3.2.4.83 RPERRSTS—Root Port Error Status Register
The Root Error Status register reports status of error Messages (ERR_COR), ERR_NONFATAL, and ERR_FATAL) received by the Root Complex in IIO, and errors detected by the Root Port itself (which are treated conceptually as if the Root Port had sent an error Message to itself). The ERR_NONFATAL and ERR_FATAL Messages are grouped together as uncorrectable. Each correctable and uncorrectable (Non-fatal and Fatal) error source has a first error bit and a next error bit associated with it respectively. When an error is received by a Root Complex, the respective first error bit is set and the Requestor ID is logged in the Error Source Identification register. A set individual error status bit indicates that a particular error category occurred; software may clear an error status by writing a 1 to the respective bit. If software does not clear the first reported error before another error Message is received of the same category (correctable or uncorrectable), the corresponding next error status bit will be set but the Requestor ID of the subsequent error Message is discarded. The next error status bits may be cleared by software by writing a 1 to the respective bit as well
RPERRCMD Bus: 0 Device: 0 Function: 0 Offset: 174h Bus: 0 Device: 1 Function: 0–1 Offset: 174h Bus: 0 Device: 2 Function: 0–3 Offset: 174h Bus: 0 Device: 3 Function: 0–3 Offset: 174h Bit Attr Reset Value Description 31:3 RV 0h Reserved 2RW 0b FATAL Error Reporting Enable Applies to root ports only Enable MSI/INTx interrupt on fatal errors when set. 1RW 0b Non-FATAL Error Reporting Enable Applies to root ports only Enable interrupt on a non-fatal error when set. 0RW 0b Correctable Error Reporting Enable Applies to root ports only Enable interrupt on correctable errors when set. RPERRSTS Bus: 0 Device: 0 Function: 0 Offset: 178h Bus: 0 Device: 1 Function: 0–1 Offset: 178h Bus: 0 Device: 2 Function: 0–3 Offset: 178h Bus: 0 Device: 3 Function: 0–3 Offset: 178h Bit Attr Reset Value Description 31:27 RO 0h Advanced Error Interrupt Message Number Advanced Error Interrupt Message Number offset between base message data an the MSI message if assigned more than one message number. IIO hardware automatically updates this register to 1h if the number of messages allocated to the root port is 2. 26:7 RO 0h Reserved 6RW1CS 0b Fatal Error Messages Received Set when one or more Fatal Uncorrectable error Messages have been received. 5RW1CS 0b Non-Fatal Error Messages Received Set when one or more Non-Fatal Uncorrectable error Messages have been received.Datasheet, Volume 2 101
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.84 ERRSID—Error Source Identification Register
4RW1CS 0b First Uncorrectable Fatal Set when bit 2 is set (from being clear) and the message causing bit 2 to be set is an ERR_FATAL message. 3RW1CS 0b Multiple Error Fatal/Nonfatal Received Set when either a fatal or a non-fatal error message is received and Error Fatal/ Nonfatal Received is already set, that is, log from the 2nd Fatal or No fatal error message onwards 2RW1CS 0b Error Fatal/Nonfatal Received Set when either a fatal or a non-fatal error message is received and this bit is already not set; that is, log the first error message. When this bit is set, bit 3 could be either set or clear. 1RW1CS 0b Multiple Correctable Error Received Set when either a correctable error message is received and Correctable Error Received bit is already set; that is, log from the 2nd Correctable error message onwards. 0RW1CS 0b Correctable Error Received Set when a correctable error message is received and this bit is already not set; that is, log the first error message. ERRSID Bus: 0 Device: 0 Function: 0 Offset: 17Ch Bus: 0 Device: 1 Function: 0–1 Offset: 17Ch Bus: 0 Device: 2 Function: 0–3 Offset: 17Ch Bus: 0 Device: 3 Function: 0–3 Offset: 17Ch Bit Attr Reset Value Description 31:16 ROS-V 0h Fatal Non Fatal Error Source ID Requestor ID of the source when an Fatal or Non Fatal error message is received and the Error Fatal/Nonfatal Received bit is not already set; that is, log ID of the first Fatal or Non Fatal error message. When the root port itself is the cause of the received message (virtual message), then a Source ID of CPUBUSNO0:DevNo:0 is logged into this register. 15:0 ROS-V 0h Correctable Error Source ID Requestor ID of the source when a correctable error message is received and the Correctable Error Received bit is not already set; that is, log ID of the first correctable error message. When the root port itself is the cause of the received message (virtual message), then a Source ID of CPUBUSNO0:DevNo:0 is logged into this register. RPERRSTS Bus: 0 Device: 0 Function: 0 Offset: 178h Bus: 0 Device: 1 Function: 0–1 Offset: 178h Bus: 0 Device: 2 Function: 0–3 Offset: 178h Bus: 0 Device: 3 Function: 0–3 Offset: 178h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 102 Datasheet, Volume 2
3.2.4.85 PERFCTRLSTS—Performance Control and Status Register
PERFCTRLSTS Bus: 0 Device: 0 Function: 0 Offset: 180h Bus: 0 Device: 1 Function: 0–1 Offset: 180h Bus: 0 Device: 2 Function: 0–3 Offset: 180h Bus: 0 Device: 3 Function: 0–3 Offset: 180h Bit Attr Reset Value Description 63:42 RV 0h Reserved 41 RW 0b TLP Processing Hint Disable When set, writes or reads with TPH=1, will be treated as if TPH=0. 40 RW 0b DCA Requester ID Override When this bit is set, Requester ID match for DCA writes is bypassed. All writes from the port are treated as DCA writes and the tag field will convey if DCA is enabled or not and the target information. 39:36 RV 0h Reserved 35 RW 0b Max read request completion combining size 34:21 RV 0h Reserved 20:16 RW 18h Outstanding Requests for Gen1 15:14 RV 0h Reserved 13:8 RW 30h Outstanding Requests for Gen2 7RW 0b Use Allocating Flows for ‘Normal Writes’ on VC0 and VCp 1 = Use allocating flows for the writes that meet the following criteria. 0 = Use non-allocating flows for writes that meet the following criteria. (TPH=0 OR TPHDIS=1 OR (TPH=1 AND Tag=0 AND CIPCTRL[28]=1)) AND (NS=0 OR NoSnoopOpWrEn=0) AND Non-DCA Write Notes:
1. VC1/VCm traffic is not impacted by this bit in Device 0
2. When allocating flows are used for the above write types, IIO does not send
a Prefetch Hint message.
3. Current recommendation for BIOS is to just leave this bit at default of 1b for
all but DMI port. For DMI port when operating in DMI mode, this bit must be left at default value and when operating in PCIe mode, this bit should be set by BIOS.
4. There is a coupling between the usage of this bit and bits 2 and 3.
5. TPHDIS is bit 0 of this register
6. NoSnoopOpWrEn is bit 3 of this register
4RW 1bRead Stream Interleave Size 3RW 0b Enable No-Snoop Optimization on VC0 writes and VCp writes This applies to writes with the following conditions: NS=1 AND (TPH=0 OR TPHDIS=1) 1 = Inbound writes to memory with above conditions will be treated as non- coherent (no snoops) writes on Intel QPI 0 = Inbound writes to memory with above conditions will be treated as allocating or non-allocating writes, depending on bit 4 in this register. Notes:
1. If TPH=1 and TPHDIS=0, then NS is ignored and this bit is ignored
2. VC1/VCm writes are not controlled by this bit since they are always non-
snoop and can be no other way.
3. Current recommendation for BIOS is to just leave this bit at default of 0b.Datasheet, Volume 2 103
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.86 MISCCTRLSTS—Miscellaneous Control and Status Register
2RW 0b Enable No-Snoop Optimization on VC0 reads and VCp reads This applies to reads with the following conditions: NS=1 AND (TPH=0 OR TPHDIS=1) 1 = When the condition is true for a given inbound read request to memory, it will be treated as non-coherent (no snoops) reads on Intel QPI. 0 = When the condition is true for a given inbound read request to memory, it will be treated as normal snooped reads from PCIe (which trigger a PCIRdCurrent or DRd.UC on IDI). Notes:
1. If TPH=1 and TPHDIS=0 then NS is ignored and this bit is ignored
2. VC1 and VCm reads are not controlled by this bit and those reads are always
3. Current recommendation for BIOS is to just leave this bit at default of 0b.
1RW 0bDisable reads bypassing other reads 0RW 1bRead Stream Policy MISCCTRLSTS Bus: 0 Device: 0 Function: 0 Offset: 188h Bus: 0 Device: 1 Function: 0–1 Offset: 188h Bus: 0 Device: 2 Function: 0–3 Offset: 188h Bus: 0 Device: 3 Function: 0–3 Offset: 188h Bit Attr Reset Value Description 63:52 RV 0h Reserved 51 RW 1b VCM Arbitrated in VC1 50 RW 0b No VCM Throttle in Quiesce 49 RW1CS 0b Locked read timed out Indicates that a locked read request incurred a completion time-out on PCI Express/DMI 48 RW1C 0b Received PME_TO_ACK Indicates that IIO received a PME turn off ack packet or it timed out waiting for the packet 47:42 RV 0h Reserved 41 RW 0b Override SocketID in Completion ID For TPH/DCA requests, the Completer ID can be returned with SocketID when this bit is set. 40:39 RV 0h Reserved 38 RW 0b ’Problematic Port’ for Lock Flows This bit is set by BIOS when it knows that this port is connected to a device that creates Posted-Posted dependency on its In-Out queues. Briefly, this bit is set on a link if:
- This link is connected to a processor RP or processor NTB port on the other side of the link IIO lock flows depend on the setting of this bit to treat this port in a special way during the flows. If BIOS is setting up the lock flow to be in the ’ Intel QPI compatible’ mode, then this bit must be set to 0. Note: An inbound MSI request can block the posted channel until EOI’s are posted to all outbound queues enabled to receive EOI. Because of this, this bit cannot be set unless EOIFD is also set. PERFCTRLSTS Bus: 0 Device: 0 Function: 0 Offset: 180h Bus: 0 Device: 1 Function: 0–1 Offset: 180h Bus: 0 Device: 2 Function: 0–3 Offset: 180h Bus: 0 Device: 3 Function: 0–3 Offset: 180h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 104 Datasheet, Volume 2 37 RW 0b Disable MCTP Broadcast to this link When set, this bit will prevent a broadcast MCTP message (w/ Routing Type of ’Broadcast from RC’) from being sent to this link. This bit is provided as a general chicken bit in case there are devices that barf when they receive this message or for the case where peer-to-peer posted traffic is to be specifically prohibited to this port to avoid deadlocks, like can happen if this port is the ’problematic’ port. 36 RWS 0b Form-Factor Indicates what form-factor a particular root port controls 0 = CEM 1 = Express Module This bit is used to interpret bit 6 in the VPP serial stream for the port as either MRL# (CEM) input or EMLSTS# (Express Module) input. 35 RW 0b Override System Error on PCIe Fatal Error Enable When set, fatal errors on PCI Express (that have been successfully propagated to the primary interface of the port) are sent to the IIO core error logic (for further escalation) regardless of the setting of the equivalent bit in the ROOTCTRL register. When clear, the fatal errors are only propagated to the IIO core error logic if the equivalent bit in ROOTCTRL register is set. For Device 0 in DMI mode and Device 3/Function 0, unless this bit is set, DMI/NTB link related fatal errors will never be notified to system software. 34 RW 0b Override System Error on PCIe Non-fatal Error Enable When set, non-fatal errors on PCI Express (that have been successfully propagated to the primary interface of the port) are sent to the IIO core error logic (for further escalation) regardless of the setting of the equivalent bit in the ROOTCTRL register. When clear, the non-fatal errors are only propagated to the IIO core error logic if the equivalent bit in ROOTCTRL register is set. For Device 0 in DMI mode and Device 3/Function 0, unless this bit is set, DMI/NTB link related non-fatal errors will never be notified to system software. 33 RW 0b Override System Error on PCIe Correctable Error Enable When set, correctable errors on PCI Express (that have been successfully propagated to the primary interface of the port) are sent to the IIO core error logic (for further escalation) regardless of the setting of the equivalent bit in the ROOTCTRL register. When clear, the correctable errors are only propagated to the IIO core error logic if the equivalent bit in ROOTCTRL register is set. For Device 0 in DMI mode and Device 3/Function 0, unless this bit is set, DMI/NTB link related correctable errors will never be notified to system software. 32 RW 0b ACPI PME Interrupt Enable When set, Assert/Deassert_PMEGPE messages are enabled to be generated when ACPI mode is enabled for handling PME messages from PCI Express. See Power Management Chapter for more details of this bit’s usage.When this bit is cleared (from a 1), a Deassert_PMEGPE message is scheduled on behalf of the root port if an Assert_PMEGPE message was sent last from the root port. When NTB is enabled on Device 3/Function 0, this bit is meaningless because PME messages are not expected to be received on the NTB link. 31 RW 0b Disable L0s on transmitter When set, IIO never puts its tx in L0s state, even if OS enables it using the Link Control register. 29 RW 1b cfg_to_en Disables/enables config timeouts, independently of other timeouts. 28 RW 0b to_dis Disables timeouts completely. MISCCTRLSTS Bus: 0 Device: 0 Function: 0 Offset: 188h Bus: 0 Device: 1 Function: 0–1 Offset: 188h Bus: 0 Device: 2 Function: 0–3 Offset: 188h Bus: 0 Device: 3 Function: 0–3 Offset: 188h Bit Attr Reset Value DescriptionDatasheet, Volume 2 105
Processor Integrated I/O (IIO) Configuration Registers 27 RWS 0b System Interrupt Only on Link BW/Management Status This bit, when set, will disable generating MSI and Intx interrupts on link bandwidth (speed and/or width) and management changes, even if MSI or INTx is enabled (that is, will disable generating MSI or INTx when LNKSTS bits 15 and 14 are set). Whether or not this condition results in a system event like SMI/PMI/ CPEI is dependent on whether this event masked or not in the XPCORERRMSK register. When Device 3 is operation in NTB mode, this bit still applies and BIOS needs to do the needful if it wants to enable/disable these events from generating MSI/ INTx interrupts from the NTB device. 26 RW 0b EOI Forwarding Disable – Disable EOI broadcast to this PCIe link 1 = EOI message will not be broadcast down this PCIe link. 0 = The port is a valid target for EOI broadcast. BIOS must set this bit on a port if it is connected to another processor NTB or root port on other end of the link. 25 RO 0b Peer-to-peer Memory Write Disable When set, peer-to-peer memory writes are master aborted; otherwise, they are allowed to progress per the peer-to-peer decoding rules. This has not be implemented and so is read-only. 24 RW 0b Peer-to-peer Memory Read Disable When set, peer-to-peer memory reads are master aborted; otherwise, they are allowed to progress per the peer-to-peer decoding rules. 23 RW 0b Phold Disable Applies only to Device 0. When set, the IIO responds with Unsupported request on receiving assert_phold message from PCH and results in generating a fatal error. 22 RWS 0b check_cpl_tc 21 RW-O 0b Force Outbound TC to Zero Forces the TC field to zero for outbound requests. 1 = TC is forced to zero on all outbound transactions regardless of the source TC value 0 = TC is not altered Note: In DMI mode, TC is always forced to zero and this bit has no effect. 20 RW 1b Malformed TLP 32b address in 64b header Enable When set, this bit enables reporting a Malformed packet when the TLP is a 32 bit address in a 4DW header. PCI Express forbids using 4DW header sizes when the address is less than 4 GB, but some cards may use the 4DW header anyway. In these cases, the upper 32 bits of address are all 0. 19 RV 0h Reserved 18 RWS 0b Disable Read Completion Combining When set, all completions are returned without combining. Completions are naturally broken on cacheline boundaries, so all completions will be 64B or less. 17 RO 0b Force Data Parity Error 16 RO 0b Force EP Bit Error 15 RWS 0b dis_hdr_storage 14 RWS 0b allow_one_np_os 13 RWS 0b tlp_on_any_lane 12 RWS 1b disable_ob_parity_check MISCCTRLSTS Bus: 0 Device: 0 Function: 0 Offset: 188h Bus: 0 Device: 1 Function: 0–1 Offset: 188h Bus: 0 Device: 2 Function: 0–3 Offset: 188h Bus: 0 Device: 3 Function: 0–3 Offset: 188h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 106 Datasheet, Volume 2 11 RWS 1b allow_1nonvc1_after_10vc1s Allow a non-VC1 request from DMI to go after every ten VC1 request (to prevent starvation of non-VC1). Notes: This bit has no effect if the port is in PCI Express mode. 10 RV 0h Reserved 9RWS 0b dispdspolling Disables gen2 if timeout happens in polling.cfg. 8:7 RW 0b PME2ACKTOCTRL 6RW 0b Enable timeout for receiving PME_TO_ACK When set, IIO enables the timeout to receiving the PME_TO_ACK 5RW-V 0b Send PME_TURN_OFF message When this bit is set to 1, IIO sends a PME_TURN_OFF message to the PCIe link. Hardware clears this bit when the message has been sent on the link. 4RW 0b Enable System Error only for AER Applies only to root ports. For Device 0 in DMI mode, this bit is to be left at default value always. When this bit is set, the PCI Express errors do not trigger an MSI or Intx interrupt, regardless of the whether MSI or INTx is enabled or not. Whether or not PCI Express errors result in a system event like NMI/SMI/PMI/CPEI is dependent on whether the appropriate system error or override system error enable bits are set or not. When this bit is clear, PCI Express errors are reported using MSI or INTx and/or NMI/SMI/MCA/CPEI. . 3 RW 0b Enable_ACPI_mode_for_Hotplug This bit applies only to root ports. For Device 0 in DMI mode, this bit is to be left at the Reset Value always. When this bit is set, all Hot Plug events from the PCI Express port are handled using _HPGPE messages to the PCH and no MSI/INTx messages are ever generated for Hot Plug events (regardless of whether MSI or INTx is enabled at the root port or not) at the root port. When this bit is clear, _HPGPE message generation on behalf of root port Hot Plug events is disabled and OS can chose to generate MSI or INTx interrupt for Hot Plug events, by setting the MSI enable bit in the Section 3.3.5.22, “MSICTRL: MSI Control” on page 188 in root ports. This bit does not apply to the DMI ports. Refer to PCI Express Base Specification, Revision 2.0 and Chapter 10, 'PCI Express Hot Plug Interrupts,' for details of MSI and GPE message generation for hot plug events. Clearing this bit (from being 1) schedules a Deassert_HPGPE event on behalf of the root port, provided there was any previous Assert_HPGPE message that was sent without an associated Deassert message. Note that this bit applies to Device 3/Fn#0 in NTB mode as well and BIOS needs to set it up appropriately in that mode. 2RW 0b Enable_ACPI_mode_for_PM This bit applies only to root ports. For Dev#0 in DMI mode, this bit is to be left at default value always.When this bit is set, all PM events at the PCI Express port are handled via _PMEGPE messages to the ICH, and no MSI interrupts are ever generated for PM events at the root port (regardless of whether MSI in the Section
3.3.5.22, “ : MSI Control” on page 188 is enabled at the root port or not). When
clear, _PMEGPE message generation for PM events is disabled and OS can chose to generate MSI interrupts for delivering PM events by setting the MSI enable bit in root ports. This bit does not apply to the DMI ports. Refer to PCI Express Base Specification, Revision 2.0 and Chapter 19, 'Power Management,' for details of MSI and GPE Clearing this bit (from being 1) schedules a Deassert_PMEGPE event on behalf of the root port, provided there was any previous Assert_PMEGPE message that was sent without an associated Deassert message. Note that this bit applies to Dev#3/Fn#0 in NTB mode as well and BIOS needs to set it up appropriately in that mode. 1RW-O obEnable Inbound Configuration Requests MISCCTRLSTS Bus: 0 Device: 0 Function: 0 Offset: 188h Bus: 0 Device: 1 Function: 0–1 Offset: 188h Bus: 0 Device: 2 Function: 0–3 Offset: 188h Bus: 0 Device: 3 Function: 0–3 Offset: 188h Bit Attr Reset Value DescriptionDatasheet, Volume 2 107
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 0 Function: 0 Offset: 190h Bit Attr Reset Value Description 15:4 RV 0h Reserved 3WO 0b IOU Start Bifurcation When software writes a 1 to this bit, IIO starts the port 0 bifurcation process. After writing to this bit, software can poll the Data Link Layer link active bit in the LNKSTS register to determine if a port is up and running. Once a port bifurcation has been initiated by writing a 1 to this bit, software cannot initiate any more write-1 to this bit (write of 0 is ok). Note: This bit can be written to a 1 in the same write that changes values for bits 2:0 in this register and in that case, the new value from the write to bits 2:0 take effect. This bit always reads a 0b. 2:0 RO 000b IOU Bifurcation Control To select a IOU bifurcation, software sets this field and then either
1. sets bit 3 in this register to initiate training OR
2. resets the entire processor and on exit from that reset,
The processor will bifurcate the ports per the setting in this field. In Port 0, it is hardwired to never bifurcate. 000 = x4 others = Reserved DMICTR Bus: N Device: 0 Function: 0 CFG Mode: Parent Offset: 1A0 Bit Attr Reset Value Description 63:2 RO
0000h Reserved 1RW 1b Auto Complete PM Message Handshake This bit, if set, enables the DMI port to automatically complete PM message handshakes by generating an Ack_Sx or Rst_Warn_Ack message down DMI for the following DMI messages received: Go_S0 Go_S1_RW Go_S1_Temp Go_S1_Final Go_S3 Go_S4 Go_S5 Rst_Warn 0RW 1b Abort Inbound Requests Setting this bit causes IIO to abort all inbound requests on the DMI port. This will be used during specific power state and reset transitions to prevent requests from PCH. This bit does not apply in PCI Express mode. Inbound posted requests will be dropped and inbound non-posted requests will be completed with Unsupported Request completion. Completions flowing inbound (from outbound requests) will not be dropped, but will be forwarded normally. This bit will not affect S-state auto-completion, if it is enabled.Processor Integrated I/O (IIO) Configuration Registers 108 Datasheet, Volume 2
Bus: 0 Device: 1 Function: 0 Offset: 190h Bus: 0 Device: 2 Function: 0 Offset: 190h Bus: 0 Device: 3 Function: 0 Offset: 190h Bit Attr Reset Value Description 15:4 RV 0h Reserved 3WO 0b Port Start Bifurcation When software writes a 1 to this bit, IIO starts the port 0 bifurcation process. After writing to this bit, software can poll the Data Link Layer link active bit in the LNKSTS register to determine if a port is up and running. Once a port bifurcation has been initiated by writing a 1 to this bit, software cannot initiate any more write-1 to this bit (write of 0 is ok). Note: That this bit can be written to a 1 in the same write that changes values for bits 2:0 in this register and in that case, the new value from the write to bits 2:0 take effect. This bit always reads a 0b. 2:0 RWS Port Bifurcation Control To select a Port bifurcation, software sets this field and then either
1. sets bit 3 in this register to initiate training OR
2. resets the entire Processor and on exit from that reset,
Processor will bifurcate the ports per the setting in this field. For Device 1 Function 0: 000 = x4x4 (operate lanes 7:4 as x4, 3:0 as x4) 001 = x8 others = Reserved For Device 2 Function 0: 000 = x4x4x4x4 (operate lanes 15:12 as x4, 11:8 as x4, 7:4 as x4 and 3:0 as x4) 001 = x4x4x8 (operate lanes 15:12 as x4, 11:8 as x4 and 7:0 as x8) 010 = x8x4x4 (operate lanes 15:8 as x8, 7:4 as x4 and 3:0 as x4) 011 = x8x8 (operate lanes 15:8 as x8, 7:0 as x8) 100 = x16 others: Reserved Device :1 Function :0 CFG: Attr: RWS Reset Value: 001b Device :2 Function :0 CFG: Attr: RWS Reset Value: 100b Device :3 Function :0 CFG: Attr: RWS Reset Value: 100bDatasheet, Volume 2 109
Processor Integrated I/O (IIO) Configuration Registers
3.2.4.90 PXP2CAP—Secondary PCI Express* Extended Capability
PXP2CAP Bus: 0 Device: 1 Function: 0–1 Offset: 250h Bus: 0 Device: 2 Function: 0–3 Offset: 250h Bus: 0 Device: 3 Function: 0–3 Offset: 250h Bit Attr Reset Value Description 31:20 RO 280h Next Capability Offset This field contains the offset to the next PCI Express Extended Capability structure or 000h if no other items exist in the linked list of capabilities. 19:16 RO 2h Capability Version This field is a PCI-SIG defined version number that indicates the version of the Capability structure present. Must be 1h for this version of the specification. 15:0 RWO 0000h PCI Express Extended Capability ID This field is a PCI SIG defined ID number that indicates the nature and format of the Extended Capability. PCI Express Extended Capability ID for the Secondary PCI Express Extended Capability is 0019h. Note: BIOS is required to write 0019h. LNKCON3 Bus: 0 Device: 1 Function: 0–1 Offset: 254h Bus: 0 Device: 2 Function: 0–3 Offset: 254h Bus: 0 Device: 3 Function: 0–3 Offset: 254h Bit Attr Reset Value Description 31:2 RV 0h Reserved 1RW 0b Link Equalization Request Interrupt Enable When Set, this bit enables the generation of interrupt to indicate that the Link Equalization Request bit has been set. 0RW 0b Perform Equalization When this register is 1b and a 1b is written to the `Link Retrain’ register with `Target Link Speed’ set to 8 GT/s, the Upstream component must perform Transmitter Equalization.Processor Integrated I/O (IIO) Configuration Registers 110 Datasheet, Volume 2
3.2.5 PCI Express* and DMI2 Error Registers
The architecture model for error logging and escalation of internal errors is similar to that of PCI Express AER, except that these internal errors never trigger an MSI and are always reported to the system software. Mask bits mask the reporting of an error and severity bit controls escalation to either fatal or non-fatal error to the internal core error logic. Internal errors detected in the PCI Express cluster are not dependent on any other control bits for error escalation other than the mask bit defined in these registers. All these registers are sticky.
3.2.5.1 ERRINJCAP—PCI Express* Error Injection Capability Register
Defines a vendor specific capability for WHEA error injection.
Processor Integrated I/O (IIO) Configuration Registers
ERRINJCON Bus: 0 Device: 0 Function: 0 Offset: 1D8h Bus: 0 Device: 1 Function: 0 -1 Offset: 1D8h Bus: 0 Device: 2 Function: 0 -3 Offset: 1D8h Bus: 0 Device: 3 Function: 0–3 Offset: 1D8h Bit Attr Reset Value Description 15:3 RV 0h Reserved 2RW 0b Cause a Completion Timeout Error When this bit is written to transition from 0 to 1, one and only one error assertion pulse is produced on the error source signal for the given port. This error will appear equivalent to an actual error assertion because this event is OR’d into the existing error reporting structure. To log another error, this bit must be cleared first, before setting again. Leaving this bit in a 1 state does not produce a persistent error condition. Notes: This bit is used for an uncorrectable error test This bit must be cleared by software before creating another event. This bit is disabled by bit 0 of this register 1RW 0b Cause a Receiver Error When this bit is written to transition from 0 to 1, one and only one error assertion pulse is produced on the error source signal for the given port. This error will appear equivalent to an actual error assertion because this event is OR’d into the existing error reporting structure. To log another error, this bit must be cleared first, before setting again. Leaving this bit in a 1 state does not produce a persistent error condition. Notes: This bit is used for an correctable error test This bit must be cleared by software before creating another event. This bit is disabled by bit 0 of this register 0RW-O 0b Error Injection Disable This bit disables the use of the PCIe error injection bits. Notes: This is a write once bit. CTOCTRL Bus: 0 Device: 0 Function: 0 Offset: 1E0h Bus: 0 Device: 1 Function: 0–1 Offset: 1E0h Bus: 0 Device: 2 Function: 0–3 Offset: 1E0h Bus: 0 Device: 3 Function: 0–3 Offset: 1E0h Bit Attr Reset Value Description 31:10 RV 0h Reserved 9:8 RW 00b XP-to-PCIe timeout select within 17 s to 64 s range When OS selects a timeout range of 17s to 64s for XP (that affect NP tx issued to the PCIe/DMI) using the root port’s DEVCTRL2 register, this field selects the sub- range within that larger range, for additional controllability. 00 = 17s-30s 01 = 31s-45s 10 = 46s-64s 11 = Reserved 7:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 112 Datasheet, Volume 2
3.2.5.5 XPCORERRSTS—XP Correctable Error Status Register
The contents of the next set of registers – XPCORERRSTS, XPCORERRMSK, XPUNCERRSTS, XPUNCERRMSK, XPUNCERRSEV, XPUNCERRPTR – to be defined by the design team based on microarchitecture. The architecture model for error logging and escalation of internal errors is similar to that of PCI Express AER, except that these internal errors never trigger an MSI and are always reported to the system software. Mask bits mask the reporting of an error and severity bit controls escalation to either fatal or non-fatal error to the internal core error logic. Internal errors detected in the PCI Express cluster are not dependent on any other control bits for error escalation other than the mask bit defined in these registers. All these registers are sticky.
3.2.5.6 XPCORERRMSK—XP Correctable Error Mask Register
XPCORERRSTS Bus: 0 Device: 0 Function: 0 Offset: 200h Bus: 0 Device: 1 Function: 0 -1 Offset: 200h Bus: 0 Device: 2 Function: 0 -3 Offset: 200h Bus: 0 Device: 3 Function: 0–3 Offset: 200h Bit Attr Reset Value Description 31:1 RV 0h Reserved 0RW1CS 0b PCI link bandwidth changed status This bit is set when the logical OR of LNKSTS[15] and LNKSTS[14] goes from 0 to
XPCORERRMSK Bus: 0 Device: 0 Function: 0 Offset: 204h Bus: 0 Device: 1 Function: 0 -1 Offset: 204h Bus: 0 Device: 2 Function: 0 -3 Offset: 204h Bus: 0 Device: 3 Function: 0–3 Offset: 204h Bit Attr Reset Value Description 31:1 RV 0h Reserved 0RWS 0b PCI link bandwidth Changed mask Masks the BW change event from being propagated to the IIO core error logic as a correctable errorDatasheet, Volume 2 113
Processor Integrated I/O (IIO) Configuration Registers
XPUNCERRSTS Bus: 0 Device: 0 Function: 0 Offset: 208h Bus: 0 Device: 1 Function: 0 -1 Offset: 208h Bus: 0 Device: 2 Function: 0 -3 Offset: 208h Bus: 0 Device: 3 Function: 0–3 Offset: 208h Bit Attr Reset Value Description 31:10 RV 0h Reserved 9RW1CS 0b Outbound Poisoned Data Set when outbound poisoned data (from Intel QPI or peer, write or read completion) is received by this port 8RW1CS 0bReceived MSI writes greater than a DWord data 7RW1CS 0bUnused7 6RW1CS 0bReceived PCIe completion with UR status 5RW1CS 0bReceived PCIe completion with CA status 4RW1CS 0bSent completion with Unsupported Request 3RW1CS 0bSent completion with Completer Abort 2RW1CS 0bUnused2 1RW1CS 0bOutbound Switch FIFO data parity error detected 0RW1CS 0bUnused0 XPUNCERRMSK Bus: 0 Device: 0 Function: 0 Offset: 20Ch Bus: 0 Device: 1 Function: 0 -1 Offset: 20Ch Bus: 0 Device: 2 Function: 0 -3 Offset: 20Ch Bus: 0 Device: 3 Function: 0–3 Offset: 20Ch Bit Attr Reset Value Description 31:10 RV 0h Reserved 9RWS 0b Outbound Poisoned Data Mask Masks signaling of stop and scream condition to the core error logic. 8RWS 0bReceived MSI writes greater than a DWord data mask 7RWS 0bUnused7 6RWS 0bReceived PCIe completion with UR status mask 5RWS 0bReceived PCIe completion with CA status mask 4RWS 0bSent completion with Unsupported Request mask 3RWS 0bSent completion with Completer Abort mask 2RWS 0bUnused2 1RWS 0bOutbound Switch FIFO data parity error detected mask 0RWS 0bUnused0Processor Integrated I/O (IIO) Configuration Registers 114 Datasheet, Volume 2
XPUNCERRSEV Bus: 0 Device: 0 Function: 0 Offset: 210h Bus: 0 Device: 1 Function: 0 -1 Offset: 210h Bus: 0 Device: 2 Function: 0 -3 Offset: 210h Bus: 0 Device: 3 Function: 0–3 Offset: 210h Bit Attr Reset Value Description 31:10 RV 0h Reserved 9RWS 0bOutbound Poisoned Data Severity 8RWS 0bReceived MSI writes greater than a DWord data severity 7RWS 0bUnused7 6RWS 0bReceived PCIe completion with UR status severity 5RWS 0bReceived PCIe completion with CA status severity 4RWS 0bSent completion with Unsupported Request severity 3RWS 0bSent completion with Completer Abort severity 2RWS 0bUnused2 1RWS 1bOutbound Switch FIFO data parity error detected severity 0RWS 0bUnused0 XPUNCERRPTR Bus: 0 Device: 0 Function: 0 Offset: 214h Bus: 0 Device: 1 Function: 0 -1 Offset: 214h Bus: 0 Device: 2 Function: 0–3 Offset: 214h Bus: 0 Device: 3 Function: 0–3 Offset: 214h Bit Attr Reset Value Description 7:5 RV 0h Reserved 4:0 ROS-V 0h XP Uncorrectable First Error Pointer This field points to which of the unmasked uncorrectable errors happened first. This field is only valid when the corresponding error is unmasked and the status bit is set and this field is rearmed to load again when the status bit indicated to by this pointer is cleared by software from 1 to 0.Value of 0h corresponds to bit 0 in XPUNCERRSTS register, value of 1h corresponds to bit 1 etc.Datasheet, Volume 2 115
Processor Integrated I/O (IIO) Configuration Registers
3.2.5.11 UNCEDMASK—Uncorrectable Error Detect Status Mask Register
This register masks PCIe link related uncorrectable errors from causing the associated AER status bit to be set.
This register masks the associated error messages (received from PCIe link and NOT the virtual ones generated internally), from causing the associated status bits in AER to be set
Processor Integrated I/O (IIO) Configuration Registers
3.2.5.15 XPCOREDMASK—XP Correctable Error Detect Mask Register
This register masks other correctable errors from causing the associated XPCORERRSTS status bit to be set.
3.2.5.16 XPGLBERRSTS—XP Global Error Status Register
This register captures a concise summary of the error logging in AER registers so that sideband system management software can view the errors independent of the main OS that might be controlling the AER errors. XPCOREDMASK Bus: 0 Device: 0 Function: 0 Offset: 228h Bus: 0 Device: 1 Function: 0 -1 Offset: 228h Bus: 0 Device: 2 Function: 0 -3 Offset: 228h Bus: 0 Device: 3 Function: 0–3 Offset: 228h Bit Attr Reset Value Description 31:1 RV 0h Reserved 0RWS 0bPCI link bandwidth changed Detect Mask XPGLBERRSTS Bus: 0 Device: 0 Function: 0 Offset: 230h Bus: 0 Device: 1 Function: 0 -1 Offset: 230h Bus: 0 Device: 2 Function: 0 -3 Offset: 230h Bus: 0 Device: 3 Function: 0–3 Offset: 230h Bit Attr Reset Value Description 15:3 RV 0h Reserved 2RW1CS 0b PCIe AER Correctable Error A PCIe correctable error (ERR_COR message received from externally or through a virtual ERR_COR message generated internally) was detected anew. Note that if that error was masked in the PCIe AER, it is not reported in this field. Software clears this bit by writing a 1 and at that stage, only ‘subsequent’ PCIe unmasked correctable errors will set this bit.Conceptually, per the flow of PCI Express Base Specification 2.0 defined Error message control, this bit is set by the ERR_COR message that is enabled to cause a System Error notification. 1RW1CS 0b PCIe AER Non-fatal Error A PCIe non-fatal error (ERR_NONFATAL message received from externally or through a virtual ERR_NONFATAL message generated internally) was detected anew. Note that if that error was masked in the PCIe AER, it is not reported in this field. Software clears this bit by writing a 1 and at that stage only ‘subsequent’ PCIe unmasked non-fatal errors will set this bit again. 0RW1CS 0b PCIe AER Fatal Error A PCIe fatal error (ERR_FATAL message received from externally or through a virtual ERR_FATAL message generated internally) was detected anew. Note that if that error was masked in the PCIe AER, it is not reported in this field. Software clears this bit by writing a 1 and at that stage, only ‘subsequent’ PCIe unmasked fatal errors will set this bit.Processor Integrated I/O (IIO) Configuration Registers 118 Datasheet, Volume 2
3.2.5.17 XPGLBERRPTR—XP Global Error Pointer Register
Check that the perfmon registers are per “cluster”
3.2.5.18 LNERRSTS—Lane Error Status Register
XPGLBERRPTR Bus: 0 Device: 0 Function: 0 Offset: 232h Bus: 0 Device: 1 Function: 0 -1 Offset: 232h Bus: 0 Device: 2 Function: 0 -3 Offset: 232h Bus: 0 Device: 3 Function: 0–3 Offset: 232h Bit Attr Reset Value Description 15:3 RV 0h Reserved 2:0 ROS-V 0b XP Cluster Global First Error Pointer This field points to which of the 3 errors indicated in the XPGLBERRSTS register happened first. This field is only valid when the corresponding status bit is set and this field is rearmed to load again when the status bit indicated to by this pointer is cleared by software from 1 to 0.Value of 0h corresponds to bit 0 in XPGLBERRSTS register, value of 1h corresponds to bit 1, and so forth. LNERRSTS Bus: 0 Device: 1 Function: 0 -1 Offset: 258h Bus: 0 Device: 2 Function: 0 -3 Offset: 258h Bus: 0 Device: 3 Function: 0–3 Offset: 258h Bit Attr Reset Value Description 31:16 RV 0h Reserved 15:0 RW1CS 0000h Lane Error Status A value of 1b in any bit indicates if the corresponding PCIe Express Lane detected lane based error. bit 0 Lane 0 Error Detected bit 1 Lane 1 Error Detected bit 2 Lane 2 Error Detected bit 3 Lane 3 Error Detected bit 4 Lane 4 Error Detected (not used when the link is bifurcated as x4) bit 5 Lane 5 Error Detected (not used when the link is bifurcated as x4) bit 6 Lane 6 Error Detected (not used when the link is bifurcated as x4) bit 7 Lane 7 Error Detected (not used when the link is bifurcated as x4) bit 8 Lane 8 Error Detected (not used when the link is bifurcated as x4 or x8) bit 9 Lane 9 Error Detected (not used when the link is bifurcated as x4 or x8) bit 10 Lane 10 Error Detected (not used when the link is bifurcated as x4 or x8) bit 11 Lane 11 Error Detected (not used when the link is bifurcated as x4 or x8) bit 12 Lane 12 Error Detected (not used when the link is bifurcated as x4 or x8) bit 13 Lane 13 Error Detected (not used when the link is bifurcated as x4 or x8) bit 14 Lane 14 Error Detected (not used when the link is bifurcated as x4 or x8) bit 15 Lane 15 Error Detected (not used when the link is bifurcated as x4 or x8)Datasheet, Volume 2 119
Processor Integrated I/O (IIO) Configuration Registers
3.2.5.19 LER_CAP—Live Error Recovery Capability Register
Live error recovery is not supported in the processor.
3.2.5.20 LER_HDR—Live Error Recovery Capability Header Register
3.2.5.21 LER_CTRLSTS—Live Error Recovery Control and Status Register
LER_CAP Bus: 0 Device: 0 Function: 0 Offset: 280h Bus: 0 Device: 1 Function: 0–1 Offset: 280 Bus: 0 Device: 2 Function: 0–3 Offset: 280 Bus: 0 Device: 3 Function: 0–3 Offset: 280 Bit Attr Reset Value Description 31:20 RO 000h Next Capability Offset 19:16 RO 1h Capability Version 15:0 RO 000Bh PCI Express Extended Capability ID Vendor Specific Capability LER_HDR Bus: 0 Device: 0 Function: 0 Offset: 284h Bus: 0 Device: 1 Function: 0–1 Offset: 284 Bus: 0 Device: 2 Function: 0–3 Offset: 284 Bus: 0 Device: 3 Function: 0–3 Offset: 284 Bit Attr Reset Value Description 31:20 RO 018h VSEC Length 19:16 RO 2h VSEC Revision ID 15:0 RO 0004h Vendor Specific ID Represents the Live Error Recovery capability LER_CTRLSTS Bus: 0 Device: 0 Function: 0 Offset: 288h Bus: 0 Device: 1 Function: 0–1 Offset: 288 Bus: 0 Device: 2 Function: 0–3 Offset: 288 Bus: 0 Device: 3 Function: 0–3 Offset: 288 Bit Attr Reset Value Description 31 RW1CS 0b Live Error Recovery Status Indicates that an error was detected that caused the PCIe port to go into a live error recovery (LER) mode. While in LER mode, the link goes into a LinkDown state and all outbound transactions are aborted (including packets that may have caused the error). This bit remains set until all the associated unmasked status bits are cleared. Once this status becomes cleared by clearing the error condition, the link will retrain into LinkUp state and outbound transactions will no longer be aborted. A link that is forced into a LinkDown state due to LER does not trigger a "surprise LinkDown" error in the UNCERRSTS register. 30:1 RV 0h Reserved 0RWS 0b Live Error Recovery Enable When set, as long as the LER_SS Status bit in this register is set, the associated root port will go into LER mode. When clear, the root port can never go into LER mode.Processor Integrated I/O (IIO) Configuration Registers 120 Datasheet, Volume 2
3.2.5.22 LER_UNCERRMSK—Live Error Recovery Uncorrectable
Error Mask Register This register masks uncorrectable errors from being signaled as LER events.
Processor Integrated I/O (IIO) Configuration Registers
3.2.6 PCI Express* Lane Equalization Registers
3.2.6.1 LN[0:3]EQ—Lane 0 through Lane 3 Equalization
Control Register LER_RPERRMSK Bus: 0 Device: 0 Function: 0 Offset: 294 Bus: 0 Device: 1 Function: 0–1 Offset: 294 Bus: 0 Device: 2 Function: 0–3 Offset: 294 Bus: 0 Device: 3 Function: 0–3 Offset: 294 Bit Attr Reset Value Description 31:7 RV 0h Reserved 6RWS 0b Fatal Error Messages Received Mask Masks LER response to Fatal Error Messages received 5RWS 0b Non-Fatal Error Messages Received Mask Masks LER response to Non-Fatal Error Messages received. 4:0 RV 0h Reserved LN[0:3]EQ Bus: 0 Device: 1 Function: 0–1 Offset: 25Ch, 25Eh, 260h, 262h Bus: 0 Device: 2 Function: 0–3 Offset: 25Ch, 25Eh, 260h, 262h Bus: 0 Device: 3 Function: 0–3 Offset: 25Ch, 25Eh, 260h, 262h Bit Attr Reset Value Description 15 RV 0h Reserved 14:12 RW1C 0000h Downstream Component Receiver Preset Hint Receiver Preset Hint for Downstream Component with the following encoding. The Upstream component must pass on this value in the EQ TS2’es. 000b = -6 dB 001b = -7 dB 010b = -8 dB 011b = -9 dB 100b = -10 dB 101b = -11 dB 110b = -12 dB 111b = Reserved For a Downstream Component, this field reflects the latest Receiver Preset value requested from the Upstream Component on Lane 0. The default value is 111b. 11 RV 0h Reserved 10:8 RW-O 2h Downstream Component Transmitter Preset Transmitter Preset for Downstream Component with the following encoding. The Upstream component must pass on this value in the EQ TS2’es. 000b = -6 dB for de-emphasis, 0 dB for preshoot 001b = -3.5 dB for de-emphasis, 0 dB for preshoot 010b = -6 dB for de-emphasis, -3.5 dB for preshoot 011b = -3.5 dB for de-emphasis, -3.5 dB for preshoot 100b = -0 dB for de-emphasis, 0 dB for preshoot 101b = -0 dB for de-emphasis, -3.5 dB for preshoot others = reserved For a Downstream Component, this field reflects the latest Transmitter Preset requested from the Upstream Component on Lane 0. The default value is 111b.Processor Integrated I/O (IIO) Configuration Registers 122 Datasheet, Volume 2
3.2.6.2 LN[4:7]EQ—Lane 4 through Lane 7 Equalization Control Register
This register is unused when the link is configured at x4 in the bifurcation register. 7RV 0hReserved 6:4 RO 7h Upstream Component Receiver Preset Hint Receiver Preset Hint for Upstream Component. The upstream component uses this hint for receiver equalization. The Root Ports are upstream components. The encodings are defined below. 000b = -6 dB 001b = -7 dB 010b = -8 dB 011b = -9 dB 100b = -10 dB 101b = -11 dB 110b = -12 dB 111b = reserved 3RV 0hReserved 2:0 RW-O 2h Upstream Component Transmitter Preset Transmitter Preset for an Upstream Component. The Root Ports are upstream components. The encodings are defined below. 000b = -6 dB for de-emphasis, 0 dB for preshoot 001b = -3.5 dB for de-emphasis, 0 dB for preshoot 010b = -6 dB for de-emphasis, -3.5 dB for preshoot 011b = -3.5 dB for de-emphasis, -3.5 dB for preshoot 100b = -0 dB for de-emphasis, 0 dB for preshoot 101b = -0 dB for de-emphasis, -3.5 dB for preshoot others = reserved LN[0:3]EQ Bus: 0 Device: 1 Function: 0–1 Offset: 25Ch, 25Eh, 260h, 262h Bus: 0 Device: 2 Function: 0–3 Offset: 25Ch, 25Eh, 260h, 262h Bus: 0 Device: 3 Function: 0–3 Offset: 25Ch, 25Eh, 260h, 262h Bit Attr Reset Value Description LN[4:7]EQ Bus: 0 Device: 1 Function: 0 Offset: 264h, 266h, 268h, 26Ah Bus: 0 Device: 2 Function: 0, 2 Offset: 264h, 266h, 268h, 26Ah Bus: 0 Device: 3 Function: 0, 2 Offset: 264h, 266h, 268h, 26Ah Bit Attr Reset Value Description 15 RV 0h Reserved 14:12 RW-O 2h Downstream Component Receiver Preset Hint Receiver Preset Hint for Downstream Component with the following encoding. The Upstream component must pass on this value in the EQ TS2’es. 000b = -6 dB 001b = -7 dB 010b = -8 dB 011b = -9 dB 100b = -10 dB 101b = -11 dB 110b = -12 dB 111b = Reserved For a Downstream Component, this field reflects the latest Receiver Preset value requested from the Upstream Component on Lane 0. The default value is 111b. 11 RV 0h ReservedDatasheet, Volume 2 123
Processor Integrated I/O (IIO) Configuration Registers 10:8 RW-O 2h Downstream Component Transmitter Preset Transmitter Preset for Downstream Component with the following encoding. The Upstream component must pass on this value in the EQ TS2’es. 000b = -6 dB for de-emphasis, 0 dB for preshoot 001b = -3.5 dB for de-emphasis, 0 dB for preshoot 010b = -6 dB for de-emphasis, -3.5 dB for preshoot 011b = -3.5 dB for de-emphasis, -3.5 dB for preshoot 100b = -0 dB for de-emphasis, 0 dB for preshoot 101b = -0 dB for de-emphasis, -3.5 dB for preshoot others = reserved For a Downstream Component, this field reflects the latest Transmitter Preset requested from the Upstream Component on Lane 0. The default value is 111b. 7RV 0hReserved 6:4 RO 7h Upstream Component Receiver Preset Hint Receiver Preset Hint for Upstream Component. The upstream component uses this hint for receiver equalization. The Root Ports are upstream components. The encodings are defined below. 000b = -6 dB 001b = -7 dB 010b = -8 dB 011b = -9 dB 100b = -10 dB 101b = -11 dB 110b = -12 dB 111b = reserved 3RV 0hReserved 2:0 RW-O 2h Upstream Component Transmitter Preset Transmitter Preset for an Upstream Component. The Root Ports are upstream components. The encodings are defined below. 000b = -6 dB for de-emphasis, 0 dB for preshoot 001b = -3.5 dB for de-emphasis, 0 dB for preshoot 010b = -6 dB for de-emphasis, -3.5 dB for preshoot 011b = -3.5 dB for de-emphasis, -3.5 dB for preshoot 100b = -0 dB for de-emphasis, 0 dB for preshoot 101b = -0 dB for de-emphasis, -3.5 dB for preshoot others = reserved LN[4:7]EQ Bus: 0 Device: 1 Function: 0 Offset: 264h, 266h, 268h, 26Ah Bus: 0 Device: 2 Function: 0, 2 Offset: 264h, 266h, 268h, 26Ah Bus: 0 Device: 3 Function: 0, 2 Offset: 264h, 266h, 268h, 26Ah Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 124 Datasheet, Volume 2
3.2.6.3 LN[8:15]EQ—Lane 8 though Lane 15 Equalization Control Register
This register is unused when the link is configured at x4 or x8 in the bifurcation register. LN[8:15]EQ Bus: 0 Device: 2 Function: 0 Offset: 26Ch, 26Eh, 270h, 272h, 274h, 276h, 278h, 278h Bus: 0 Device: 3 Function: 0 Offset: 26Ch, 26Eh, 270h, 272h, 274h, 276h, 278h, 278h Bit Attr Reset Value Description 15 RV 0h Reserved 14:12 RW-O 2h Downstream Component Receiver Preset Hint Receiver Preset Hint for Downstream Component with the following encoding. The Upstream component must pass on this value in the EQ TS2’es. 000b = -6 dB 001b = -7 dB 010b = -8 dB 011b = -9 dB 100b = -10 dB 101b = -11 dB 110b = -12 dB 111b = Reserved For a Downstream Component, this field reflects the latest Receiver Preset value requested from the Upstream Component on Lane 0. The default value is 111b. 11 RV 0h Reserved 10:8 RW-O 2h Downstream Component Transmitter Preset Transmitter Preset for Downstream Component with the following encoding. The Upstream component must pass on this value in the EQ TS2’es. 000b = -6 dB for de-emphasis, 0 dB for preshoot 001b = -3.5 dB for de-emphasis, 0 dB for preshoot 010b = -6 dB for de-emphasis, -3.5 dB for preshoot 011b = -3.5 dB for de-emphasis, -3.5 dB for preshoot 100b = -0 dB for de-emphasis, 0 dB for preshoot 101b = -0 dB for de-emphasis, -3.5 dB for preshoot others = reserved For a Downstream Component, this field reflects the latest Transmitter Preset requested from the Upstream Component on Lane 0. The default value is 111b. 7RV 0hReserved 6:4 RO 7h Upstream Component Receiver Preset Hint Receiver Preset Hint for Upstream Component. The upstream component uses this hint for receiver equalization. The Root Ports are upstream components. The encodings are defined below. 000b = -6 dB 001b = -7 dB 010b = -8 dB 011b = -9 dB 100b = -10 dB 101b = -11 dB 110b = -12 dB 111b = reserved 3RV 0hReservedDatasheet, Volume 2 125
Processor Integrated I/O (IIO) Configuration Registers
This is the performance monitor counter. This counter is reset at the beginning of a sample period unless pre-loaded with a sample value. Therefore, the counter can cause an early overflow condition with values loaded into the register.
3.2.7.2 XPPMCL[0:1]—XP PM Compare Low Bits Register
The value of PMD is compared to the value of PMC. If PMD is greater than PMC, this status is reflected in the PERFCON register and/or on the GE[3:0] (TBD) as selected in the Event Status Output field of the PMR register. 2:0 RW-O 2h Upstream Component Transmitter Preset Transmitter Preset for an Upstream Component. The Root Ports are upstream components. The encodings are defined below. 000b = -6 dB for de-emphasis, 0 dB for preshoot 001b = -3.5 dB for de-emphasis, 0 dB for preshoot 010b = -6 dB for de-emphasis, -3.5 dB for preshoot 011b = -3.5 dB for de-emphasis, -3.5 dB for preshoot 100b = -0 dB for de-emphasis, 0 dB for preshoot 101b = -0 dB for de-emphasis, -3.5 dB for preshoot others = reserved LN[8:15]EQ Bus: 0 Device: 2 Function: 0 Offset: 26Ch, 26Eh, 270h, 272h, 274h, 276h, 278h, 278h Bus: 0 Device: 3 Function: 0 Offset: 26Ch, 26Eh, 270h, 272h, 274h, 276h, 278h, 278h Bit Attr Reset Value Description XPPMDL[0:1] Bus: 0 Device: 0 Function: 0 Offset: 480, 484 Bus: 0 Device: 2 Function: 0 Offset: 480, 484 Bus: 0 Device: 3 Function: 0 Offset: 480, 484 Bit Attr Reset Value Description 31:0 RW-V 0h PM data counter low value Low order bits [31:0] for PM data counter[1:0]. XPPMCL[0:1] Bus: 0 Device: 0 Function: 0 Offset: 488, 48C Bus: 0 Device: 2 Function: 0 Offset: 488, 48C Bus: 0 Device: 3 Function: 0 Offset: 488, 48C Bit Attr Reset Value Description 31:0 RW FFFFFFF
PM compare low value Low order bits [31:0] for PM compare register [1:0].Processor Integrated I/O (IIO) Configuration Registers 126 Datasheet, Volume 2
3.2.7.3 XPPMDH—XP PM Data High Bits Register
This register contains the high nibbles from each of the PMD 36-bit counter register.
3.2.7.4 XPPMCH—XP PM Compare High Bits Register
This register contains the high nibbles from each of the PMC 36-bit compare registers. XPPMDH Bus: 0 Device: 0 Function: 0 Offset: 490 Bus: 0 Device: 2 Function: 0 Offset: 490 Bus: 0 Device: 3 Function: 0 Offset: 490 Bit Attr Reset Value Description 15:12 RV 0h Reserved 11:8 RW-V 0h High Nibble PEX Counter1 value High order bits [35:32] of the 36-bit PM Data1 register. 7:4 RV 0h Reserved 3:0 RW-V 0h High Nibble PEX Counter0 value High order bits [35:32] of the 36-bit PM Data0 register. XPPMCH Bus: 0 Device: 0 Function: 0 Offset: 492 Bus: 0 Device: 2 Function: 0 Offset: 492 Bus: 0 Device: 3 Function: 0 Offset: 492 Bit Attr Reset Value Description 15:12 RV 0h Reserved 11:8 RW Fh High Nibble PEX Compare1 value High order bits [35:32] of the 36-bit PM Compare1 register. 7:4 RV 0h Reserved 3:0 RW Fh High Nibble PEX Compare0 value High order bits [35:32] of the 36-bit PM Compare0 register.Datasheet, Volume 2 127
Processor Integrated I/O (IIO) Configuration Registers
3.2.7.5 XPPMR[0:1]—XP PM Response Control Register
The PMR register controls operation of its associated counter, and provides overflow or max compare status information. XPPMR[0:1] Bus: 0 Device: 0 Function: 0 Offset: 494, 498 Bus: 0 Device: 2 Function: 0 Offset: 494, 498 Bus: 0 Device: 3 Function: 0 Offset: 494, 498 Bit Attr Reset Value Description 31 RV 0h Reserved 30 RW 0b Not greater than comparison 0 = PMC will compare a greater than function. When clear the perfmon status will assert when the PMD is greater than the PMC. 1 = PMC will compare with NOT (greater than) function. When set the perfmon status will assert when the PMD is less than or equal to the PMC. 29 RW 0b Force PMD counter to add zero to input This feature is used with the queue measurement bus. When this bit is set the value on the queue measurement bus is added to zero so the result in PMD will always reflect the value from the queue measurement bus. 0 = Do not add zero. Normal PerfMon operation. 1 = Add zero with input queue bus. 28 RW 0b Latched Count Enable Select 0 = Normal PM operation. Use CENS as count enable. 1 = Use Latched count enable from queue empty events 27 RW 0b Reset Pulse Enable Setting this bit will select a pulsed version of the reset signal source in the reset block. 0 = Normal reset signaling 1 = Select a pulsed reset from the reset signal sources. 26:24 RV 0h Reserved 20:19 RW 0h Event Group Selection Selects which event register to use for performance monitoring. 00 = Bus events (XPMEVL,H register) and also Resource Utilizations (XP_PMER Registers) when all XP_PMEH and XP_PMEL Registers are set to ’0’. That is, when monitoring PMER events, all PMEV events are to be deselected; when monitoring PMEV events, all PMER events are to be deselected. 01 = Reserved 10 = Queue measurement (in the XPPMER register). Note: To enable FIFO queue histogramming write bit field CNTMD =’11’ and select queues in the XPPMER register. 11 = Reserved 18:17 RW 00b Count Event Select Selects the condition for incrementing the performance monitor counter. 00 = Event source selected by PMEV{L,H} 01 = Partner event status (max compare or overflow) 10 = All clocks when enabled 11 = Reserved 16 RW 0b Event Polarity Invert This bit inverts the polarity of the conditioned event signal. 0 = No inversion 1 = Invert the polarity of the conditioned event signalProcessor Integrated I/O (IIO) Configuration Registers 128 Datasheet, Volume 2 15:14 RW 00b Count Mode This field sets how the events will be counted. 00 = Count clocks when event is logic high. Counting is level sensitive, whenever the event is logic 1 the counter is enabled to count. 01 = Count rising edge events. Active low signals should be inverted with EVPOLINV for correct measurements. 10 = Latch event and count clocks continuously. After the event is asserted, latch this state and count clocks continuously. The latched state of this condition is cleared by xxxPMRx.CNTRST bit, or PERFCON.GBRST, or GE[3:0]. 11 = Enable FIFO (push/pop) queue histogram measurement. This mode will enable histogram measurements on PM0. This mode enable logic to perform the function listed in the table below. The measurement cycle will not begin until the Qempty signal is asserted. Refer to xref. FIFO queue histogram table FIFOn_Push FIFOn_POP PMD Adder control 00Add zero 1 0 Add queue bus value* 0 1 Sub queue bus value* 11Add zero The latched condition of the Qempty signal cannot be cleared by PMR.CLREVLAT. A new measurement cycle requires clearing all counters and the latched value by asserting either PMRx.CNTRST or PERFCON.GBRST. 13:11 RW 000b Counter enable source These bits identify which input enables the counter. Reset Value disables counting. 000 = Disabled 001 = Local Count Enabled (LCEN). This bit is always a logic 1. 010 = Partner counter’s event status (max compare or overflow) 011 = Reserved 100 = GE[0], from the Global Debug Event Block 101 = GE[1], from the Global Debug Event Block 110 = GE[2], from the Global Debug Event Block 111 = GE[3], from the Global Debug Event Block Note: Address/Header MatchOut signal must align with PMEVL,H events for this to be effective. 10:8 RW 000b Reset Event Select Counter and event status will reset and counting will continue. 000 = No reset condition 001 = Partner’s event status: When the partner counter causes an event status condition to be activated, either by a counter overflow or max comparison, then this counter will reset and continue counting. 010 = Partners PME register event: When the partner counter detects a match condition which meets its selected PME register qualifications, then this counter will reset and continue counting. 011 = This PM counter’s status output. 100 = GE[0], from the Global Debug Event Block. 101 = GE[1], from the Global Debug Event Block. 110 = GE[2], from the Global Debug Event Block. 111 = GE[3], from the Global Debug Event Block. XPPMR[0:1] Bus: 0 Device: 0 Function: 0 Offset: 494, 498 Bus: 0 Device: 2 Function: 0 Offset: 494, 498 Bus: 0 Device: 3 Function: 0 Offset: 494, 498 Bit Attr Reset Value DescriptionDatasheet, Volume 2 129
Processor Integrated I/O (IIO) Configuration Registers 7:6 RW 00b Compare Mode This field defines how the PMC (compare) register is to be used. 00 = compare mode disabled (PMC register not used) 01 = max compare only: The PMC register value is compared with the counter value. If the counter value is greater then the Compare Status (CMPSTAT) will be set. 10 = max compare with update of PMC at end of sample: The PMC register value is compared with the counter value, and if the counter value is greater, the PMC register is updated with the counter value. Note, the Compare Status field is not affected in this mode. 11 = Reserved 5RW0b PM Status Signal Output 0 = Level output from status/overflow signals. 1 = Pulsed output from status/overflow signals. 4:3 RW 00b PerfMon Trigger Output This field selects what the signal is communicated to the chip’s event logic structure. 00 = No cluster trigger output from PerfMons or header match. 01 = PM Status. 10 = PM Event Detection. 11 = Reserved 2RW1C0b Compare Status This status bit captures a count compare event. The Compare Status field can be programmed to allow this bit to be driven to Global Event (GE[3:0]) signals which will then distribute the event to the debug logic. 0 = no event 1 = count compare – PMD counter greater than PMC register when in compare mode. This bit remains set once an event is reported even though the original condition is no longer valid. Writing a logic 1 clears the bit. 1RW1C0b Overflow Status Bit This status bit captures the overflow event from the PMD counter. This bit remains set once an event is reported even though the original condition is no longer valid. Writing a logic 1 clears the bit. 0RW0b Counter Reset Setting this bit resets the PMD counter, the associated adder storage register and the count mode state latch (see bits CNTMD) to the default state. It does not change the state of this PMR register, the event selections, or the value in the compare register. Note: This bit must be cleared by software, otherwise the counters remain in reset. There is also a reset bit in the PERFCON register which clears all PM registers including the PMR. XPPMR[0:1] Bus: 0 Device: 0 Function: 0 Offset: 494, 498 Bus: 0 Device: 2 Function: 0 Offset: 494, 498 Bus: 0 Device: 3 Function: 0 Offset: 494, 498 Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 130 Datasheet, Volume 2
3.2.7.6 XPPMEVL[0:1]—XP PM Events Low Register
Selections in this register correspond to fields within the PCIe header. Each field selection is logically combined according to the match equation. The qualifications for fields in this register are listed below. It should be noted that the bit selections are generic for packet and for either inbound or outbound direction. Because of this, there will be bit fields that do not make sense. For these packet matching situations the user should select “Either” which acts as a don’t care for the match equation. PCIe PerfMon Match Equation PMEV Match = ((IO_Cfg_Write_event + IO_Cfg_Read_event _+ Mem_Write_event + Mem_Read_event + Trusted_write_event + Trusted_read_event + General_event) & INOUTBND) + GESEL IO_Cfg_Write_event = (REQCMP[0] & CMPR[1] & RDWR[1] & DATALEN & (TTYP[2] + (TTYP[1] & CFGTYP))) IO_Cfg_Read_event = (REQCMP[0] & CMPR[1] & RDWR[0] & DATALEN & (TTYP[2] + (FMTTYP[1] & CFGTYP))) Mem_Write_event = (REQCMP[0] & CMPR[0] & RDWR[1] & DATALEN & TTYP[3] & LOCK & EXTADDR & SNATTR) Note: An outbound memory write does not have a snoop attribute as an inbound memory write has. So the user should set SNATTR=”11” for outbound memory write transaction event counting. Mem_Read_event = (REQCMP[0] & CMPR[1] & RDWR[0] & DATALEN & (( TTYP[3] & LOCK & EXTADDR & SNATTR) + TTYP[2] + (TTYP[1] & CFGTYP))) Note: For outbound memory reads, there is no concept of issuing a snoop cycle. The user should select SNATTR=“11” for either snoop attribute. Msg_event = (TTYP[0] & DND) (INOUTBND[0] & (MatchEq) + (IOBND[1] & (MatchEq) Setting both bits in INOUTBND is acceptable however the performance data gathered will not be accurate since once one header can be counted at a time. XPPMEVL[0:1] Bus: 0 Device: 0 Function: 0 Offset: 49C, 4A0 Bus: 0 Device: 2 Function: 0 Offset: 49C, 4A0 Bus: 0 Device: 3 Function: 0 Offset: 49C, 4A0 Bit Attr Reset Value Description 31:30 RW 0b Data or no data attribute x1 = Request/completion/message with data 1x = Request/completion/message packet without data 29:28 RW 0b Snoop Attribute x1 = No snoop required 1x = Snoop required 11 = EitherDatasheet, Volume 2 131
Processor Integrated I/O (IIO) Configuration Registers 27:26 RW 0b Request or Completion Packet Selection x1 = Request packet 1x = Completion packet 11 = Either 25:24 RW 0b Read or Write Selection x1 = Read 1x = Write 11 = Either 23:22 RW 0b Completion Required x1 = No completion required 1x = Completion required 11 = Either 21:20 RW 0b Lock Attribute Selection x1 = No lock 1x = Lock 11 = Either 19:18 RW 0b Extended Addressing Header x1 = 32b addressing 1x = 64b addressing 11 = Either 17:16 RW 0b Configuration Type x1 = Type 01x = Type 1 11 = Either 15:11 RW 0h Transaction Type Encoding 1_xxxx = Trusted x_1xxx: Memory x_x1xx: IO x_xx1x: Configuration x_xxx1: Messages 1_1111: Any transaction type 10:4 RW 0h Data Length 1xx_xxxx = (129 to 256 bytes) x1x_xxxx = (65 to 128 bytes) xx1_xxxx = (33 to 64 bytes) xxx_1xxx = (17 to 32 bytes) xxx_x1xx = (9 to 16 bytes) xxx_xx1x = (0 to 8 bytes) xxx_xxx1 = 0 bytes, used for a special zero length encoded packets 111_1111 = Any Data length 3:0 RW 0b Completion Status. 1xxx = Completer abortx 1xx = Configuration request retry status (only used for inbound completions) xx1x = Unsupported request xxx1 = Successful completion 1111 = Any status The completion feature is not supported. This field should not be used by software (reserved): write 0 always, read return random. XPPMEVL[0:1] Bus: 0 Device: 0 Function: 0 Offset: 49C, 4A0 Bus: 0 Device: 2 Function: 0 Offset: 49C, 4A0 Bus: 0 Device: 3 Function: 0 Offset: 49C, 4A0 Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 132 Datasheet, Volume 2
3.2.7.7 XPPMEVH[0:1]—XP PM Events High Register
Selections in this register correspond to fields within the PEX packet header. Each field selection is ANDed with all other fields in this register including the XPPMEVL except for the Global Event signals. These signals are OR’ed with any event in the XPPMEVL and enables for debug operations requiring the accumulation of specific debug signals.The qualifications for fields in this register are as follows. XPPMEVH[0:1] Bus: 0 Device: 0 Function: 0 Offset: 4A4, 4A8 Bus: 0 Device: 2 Function: 0 Offset: 4A4, 4A8 Bus: 0 Device: 3 Function: 0 Offset: 4A4, 4A8 Bit Attr Reset Value Description 31:8 RV 0h Reserved 7:2 RW 0h Global Event Selection Selects which GE[3:0] is used for event counting. This field is OR’d with other fields in this register. The GEs cannot be qualified with other PerfMon signals.If more than 1 GE is selected then the resultant event is the OR between each GE. However, properly counting Global Event based on design, XP PM Response Control Register bit 13:11 CENS must be set to choose GE[3:0] and also bit 18:17 CNTEVSEL must be set to 2’b10. 1x_xxxx = GE[5] x1_xxxx = GE[4] xx_1xxx = GE[3] xx_x1xx = GE[2] xx_xx1x = GE[1] xx_xxx1 = GE[0] 1:0 RW 00b Inbound or Outbound Selection Selects which path to count transactions. 1x = Outbound x1 = Inbound (from PCI bus) 11 = EitherDatasheet, Volume 2 133
Processor Integrated I/O (IIO) Configuration Registers
3.2.7.8 XPPMER[0:1]—XP PM Resource Events Register
This register is used to select queuing structures for measurement. Use of this event register is mutually exclusive with the XPPMEV{L,H} registers. The Event Register Select field in the PMR register must select this register for to enable monitoring operations of the queues. XPPMER[0:1] Bus: 0 Device: 0 Function: 0 Offset: 4AC, 4B0 Bus: 0 Device: 2 Function: 0 Offset: 4AC, 4B0 Bus: 0 Device: 3 Function: 0 Offset: 4AC, 4B0 Bit Attr Reset Value Description 31:21 RV 0h Reserved 20:17 RW 0b XP Resource Assignment This selects which PCI Express links are being monitored.A logic 1 selects that PCIe link for monitoring. 1000 = Select NA / PXP6 / PXP10 (depending on device number) for monitoring. 0100 = Select PXP2 / PXP5 / PXP9 (depending on device number) for monitoring. 0010 = Select PXP1 / PXP4 / PXP8 (depending on device number) for monitoring. 0001 = Select PXP / PXP3 / PXP7 (depending on device number) for monitoring. 16:13 RW 0b Link Send Utilization This level signal that is active when the link could send a packet or an idle. The choices are a logic idle flit, a link layer packet, or a transaction layer packet. The user can count the number of clocks that the link is not active by inverting this signal in the event conditioning logic (PMR.EVPOLINV = 1). The selection listed combines all the links for clarity. If the user is operating on XP3 then the bit field selects Links[6:3] only. 0000 = No event selected 1000 = Link 6 (xp3), link 10 (xp7), reserved, reserved 0100 = Link 5 (xp3), link 9 (xp7), reserved, reserved 0010 = Link 4 (xp3), link 8 (xp7), port 2 (xp0), reserved 0001 = Link 3 (xp3), link 7 (xp7), link 1 (xp0), link 0 (xp0 -DMI) 12:11 RV 0h Reserved 10:8 RO 0b Reserved Bits 10:8 is defined as PSHPOPQSEL[2:0] :PSHPOPQSEL: Push/Pop Queue Select (TBD) 0000 = No queue selected 0001 = TBD 0010–1111 = Reserved 7:6 RW 0h flowcntrclass 5:0 RW 0h QBUSSEL: Queue Measurement Bus Select: This field selects a queue to monitor. These queues are connected the QueueMeasBus that is derived from the difference in the write and read pointers. 000000 = No queues selected
3.2.8 DMI Root Complex Register Block (RCRB)
Processor Integrated I/O (IIO) Configuration Registers
Controls the resources associated with PCI Express Virtual Channel 0. DMIVC0RCAP Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 10 Bit Attr Reset Value Description 31:16 RO 0000h Max Time Slots 15 RO 0h Reject Snoop Transactions 0 = Transactions with or without the No Snoop bit set within the TLP header are allowed on this VC. 1 = Any transaction without the No Snoop bit set within the TLP header will be rejected as an Unsupported Request. 14:0 RV 0h Reserved DMIVC0RCTL Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 14 Bit Attr Reset Value Description 31 RO 1b Virtual Channel 0 Enable For VC0, this is hardwired to 1 and read only as VC0 can never be disabled. 30:27 RV 0h Reserved 26:24 RO 0h Virtual Channel 0 ID Assigns a VC ID to the VC resource. For VC0, this is hardwired to 0 and read only. 23:8 RV 0h Reserved 7RO 0b Traffic Class 7/ Virtual Channel 0 Map Traffic Class 7 is always routed to VCm. 6:1 RW-LB 3Fh Traffic Class / Virtual Channel 0 Map Indicates the TCs (Traffic Classes) that are mapped to the VC resource. Bit locations within this field correspond to TC values.For example, when bit 6 is set in this field, TC6 is mapped to this VC resource. When more than one bit in this field is set, it indicates that multiple TCs are mapped to the VC resource. In order to remove one or more TCs from the TC/VC Map of an enabled VC, software must ensure that no new or outstanding transactions with the TC labels are targeted at the given Link. 0RO 1b Traffic Class 0 / Virtual Channel 0 Map Traffic Class 0 is always routed to VC0.Processor Integrated I/O (IIO) Configuration Registers 136 Datasheet, Volume 2
3.2.8.3 DMIVC0RSTS—DMI VC0 Resource Status Register
Reports the Virtual Channel specific status.
3.2.8.4 DMIVC1RCAP—DMI VC1 Resource Capability Register
DMIVC0RSTS Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 1A Bit Attr Reset Value Description 15:2 RV 0h Reserved 1RO-V 1b Virtual Channel 0 Negotiation Pending 0 = The VC negotiation is complete. 1 = The VC resource is still in the process of negotiation (initialization or disabling). This bit indicates the status of the process of Flow Control initialization. It is set by default on Reset, as well as whenever the corresponding Virtual Channel is Disabled or the Link is in the DL_Down state. It is cleared when the link successfully exits the FC_INIT2 state. BIOS Requirement: Before using a Virtual Channel, software must check whether the VC Negotiation Pending fields for that Virtual Channel are cleared in both Components on a Link. 0RV 0hReserved DMIVC1RCAP Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 1C Bit Attr Reset Value Description 31:16 RV 0h Reserved 15 RO 1b Reject Snoop Transactions 0 = Transactions with or without the No Snoop bit set within the TLP header are allowed on this VC. 1 = Any transaction without the No Snoop bit set within the TLP header will be rejected as an Unsupported Request. 14:0 RV 0h ReservedDatasheet, Volume 2 137
Processor Integrated I/O (IIO) Configuration Registers
3.2.8.5 DMIVC1RCTL—DMI VC1 Resource Control Register
Controls the resources associated with PCI Express* Virtual Channel 1. DMIVC1RCTL Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 20 Bit Attr Reset Value Description 31 RW-LB 0b Virtual Channel 1 Enable 0 = Virtual Channel is disabled. 1 = Virtual Channel is enabled. See exceptions below. Software must use the VC Negotiation Pending bit to check whether the VC negotiation is complete. When VC Negotiation Pending bit is cleared, a 1 read from this VC Enable bit indicates that the VC is enabled (Flow Control Initialization is completed for the PCI Express port). A 0 read from this bit indicates that the Virtual Channel is currently disabled. BIOS Requirement:
1. To enable a Virtual Channel, the VC Enable bits for that Virtual Channel must
be set in both Components on a Link.
2. To disable a Virtual Channel, the VC Enable bits for that Virtual Channel must
be cleared in both Components on a Link.
3. Software must ensure that no traffic is using a Virtual Channel at the time it
4. Software must fully disable a Virtual Channel in both Components on a Link
before re-enabling the Virtual Channel. 30:27 RV 0h Reserved 26:24 RW-LB 001b Virtual Channel 1 ID Assigns a VC ID to the VC resource. Assigned value must be non-zero. This field can not be modified when the VC is already enabled. 23:8 RV 0h Reserved 7RO 0b Traffic Class 7/ Virtual Channel 1 Map Traffic Class 7 is always routed to VCm. 6:1 RW-LB 00h Traffic Class / Virtual Channel 1 Map Indicates the TCs (Traffic Classes) that are mapped to the VC resource. Bit locations within this field correspond to TC values. For example, when bit 6 is set in this field, TC6 is mapped to this VC resource. When more than one bit in this field is set, it indicates that multiple TCs are mapped to the VC resource. To remove one or more TCs from the TC/VC Map of an enabled VC, software must ensure that no new or outstanding transactions with the TC labels are targeted at the given Link. 0RO 0b Traffic Class 0 / Virtual Channel 0 Map Traffic Class 0 is always routed to VC0.Processor Integrated I/O (IIO) Configuration Registers 138 Datasheet, Volume 2
3.2.8.6 DMIVC1RSTS—DMI VC1 Resource Status Register
Reports the Virtual Channel specific status.
3.2.8.7 DMIVCPRCAP—DMI VCP Resource Capability Register
DMIVC1RSTS Bus: N Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 26 Bit Attr Reset Value Description 15:2 RV 0h Reserved 1RO-V 1b Virtual Channel 1 Negotiation Pending 0 = The VC negotiation is complete. 1 = The VC resource is still in the process of negotiation (initialization or disabling). This bit indicates the status of the process of Flow Control initialization. It is set by default on Reset, as well as whenever the corresponding Virtual Channel is Disabled or the Link is in the DL_Down state. It is cleared when the link successfully exits the FC_INIT2 state. BIOS Requirement: Before using a Virtual Channel, software must check whether the VC Negotiation Pending fields for that Virtual Channel are cleared in both Components on a Link. 0RV 0hReserved DMIVCPRCAP Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 28 Bit Attr Reset Value Description 31:16 RV 0h Reserved 15 RO 0b Reject Snoop Transactions 0 = Transactions with or without the No Snoop bit set within the TLP header are allowed on this VC. 1 = Any transaction without the No Snoop bit set within the TLP header will be rejected as an Unsupported Request. 14:0 RV 0h ReservedDatasheet, Volume 2 139
Processor Integrated I/O (IIO) Configuration Registers
3.2.8.8 DMIVCPRCTL—DMI VCP Resource Control Register
Controls the resources associated with the DMI Private Channel (VCp). DMIVCPRCTL Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 2C Bit Attr Reset Value Description 31 RW-LB 0b Virtual Channel Private Enable 0 = Virtual Channel is disabled. 1 = Virtual Channel is enabled. See exceptions below. Software must use the VC Negotiation Pending bit to check whether the VC negotiation is complete. When VC Negotiation Pending bit is cleared, a 1 read from this VC Enable bit indicates that the VC is enabled (Flow Control Initialization is completed for the PCI Express port). A 0 read from this bit indicates that the Virtual Channel is currently disabled. BIOS Requirement:
1. To enable a Virtual Channel, the VC Enable bits for that Virtual Channel must
be set in both Components on a Link.
2. To disable a Virtual Channel, the VC Enable bits for that Virtual Channel must
be cleared in both Components on a Link.
3. Software must ensure that no traffic is using a Virtual Channel at the time it
4. Software must fully disable a Virtual Channel in both Components on a Link
before re-enabling the Virtual Channel. 30:27 RV 0h Reserved 26:24 RW-LB 010b Virtual Channel Private ID Assigns a VC ID to the VC resource. This field can not be modified when the VC is already enabled. No private VCs are precluded by hardware and private VC handling is implemented the same way as non-private VC handling. 23:8 RV 0h Reserved 7RO 0b Traffic Class 7/ Virtual Channel 0 Map Traffic Class 7 is always routed to VCm. 6:1 RW-LB 00h Traffic Class / Virtual Channel private Map Indicates the TCs (Traffic Classes) that are mapped to the VC resource. Bit locations within this field correspond to TC values. For example, when bit 6 is set in this field, TC6 is mapped to this VC resource. When more than one bit in this field is set, it indicates that multiple TCs are mapped to the VC resource. To remove one or more TCs from the TC/VC Map of an enabled VC, software must ensure that no new or outstanding transactions with the TC labels are targeted at the given Link. 0RO 0b Traffic Class 0 / Virtual Channel Private Map Traffic Class 0 is always routed to VC0.Processor Integrated I/O (IIO) Configuration Registers 140 Datasheet, Volume 2
3.2.8.9 DMIVCPRSTS—DMI VCP Resource Status Register
Reports the Virtual Channel specific status.
3.2.8.10 DMIVCMRCAP—DMI VCM Resource Capability Register
DMIVCPRSTS Bus: N Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 32 Bit Attr Reset Value Description 15:2 RV 0h Reserved 1RO-V 1b Virtual Channel Private Negotiation Pending 0 = The VC negotiation is complete. 1 = The VC resource is still in the process of negotiation (initialization or disabling). This bit indicates the status of the process of Flow Control initialization. It is set by default on Reset, as well as whenever the corresponding Virtual Channel is Disabled or the Link is in the DL_Down state. It is cleared when the link successfully exits the FC_INIT2 state. BIOS Requirement: Before using a Virtual Channel, software must check whether the VC Negotiation Pending fields for that Virtual Channel are cleared in both Components on a Link. 0RV 0hReserved DMIVCMRCAP Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 34 Bit Attr Reset Value Description 31:16 RV 0h Reserved 15 RO 1b Reject Snoop Transactions 0 = Transactions with or without the No Snoop bit set within the TLP header are allowed on this VC. 1 = Any transaction without the No Snoop bit set within the TLP header will be rejected as an Unsupported Request. 14:0 RV 0h ReservedDatasheet, Volume 2 141
Processor Integrated I/O (IIO) Configuration Registers
3.2.8.11 DMIVCMRCTL—DMI VCM Resource Control Register
Controls the resources associated with PCI Express Virtual Channel 0.
3.2.8.12 DMIVCMRSTS—DMI VCM Resource Status Register
Reports the Virtual Channel specific status. DMIVCMRCTL Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 38 Bit Attr Reset Value Description 31 RW-LB 0b Virtual Channel M Enable 0 = Virtual Channel is disabled. 1 = Virtual Channel is enabled. See exceptions below. Software must use the VC Negotiation Pending bit to check whether the VC negotiation is complete. When VC Negotiation Pending bit is cleared, a 1 read from this VC Enable bit indicates that the VC is enabled (Flow Control Initialization is completed for the PCI Express port). A 0 read from this bit indicates that the Virtual Channel is currently disabled. BIOS Requirement:
1. To enable a Virtual Channel, the VC Enable bits for that Virtual Channel must
be set in both Components on a Link.
2. To disable a Virtual Channel, the VC Enable bits for that Virtual Channel must
be cleared in both Components on a Link.
3. Software must ensure that no traffic is using a Virtual Channel at the time it
4. Software must fully disable a Virtual Channel in both Components on a Link
before re-enabling the Virtual Channel. 30:27 RV 0h Reserved 26:24 RW-LB 000b VCm ID 23:8 RV 0h Reserved 7RO 1b Traffic Class 7/ Virtual Channel 0 Map Traffic Class 7 is always routed to VCm. 6:1 RO 0h Traffic Class / Virtual Channel M Map No other traffic class is mapped to VCM 0RO 0bTraffic Class 0 Virtual Channel Map DMIVCMRSTS Bus: N Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 3E Bit Attr Reset Value Description 15:2 RV 0h Reserved 1RO-V 1b Virtual Channel 0 Negotiation Pending 0 = The VC negotiation is complete. 1 = The VC resource is still in the process of negotiation (initialization or disabling). This bit indicates the status of the process of Flow Control initialization. It is set by default on Reset, as well as whenever the corresponding Virtual Channel is Disabled or the Link is in the DL_Down state. It is cleared when the link successfully exits the FC_INIT2 state. BIOS Requirement: Before using a Virtual Channel, software must check whether the VC Negotiation Pending fields for that Virtual Channel are cleared in both Components on a Link. 0RV 0hReservedProcessor Integrated I/O (IIO) Configuration Registers 142 Datasheet, Volume 2
3.2.8.13 DMIRCLDECH—DMI Root Complex Link Declaration Register
This register only has meaning if placed in the configuration space.
Processor Integrated I/O (IIO) Configuration Registers
3.2.8.18 DMIVCpCdtThrottle—DMI VCp Credit Throttle Register
DMILBA0 Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 58 Bit Attr Reset Value Description 31:12 RW-O 00000h Link Address 11:0 RV 0h Reserved DMIVC1CdtThrottle Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 60 Bit Attr Reset Value Description 31:24 RWS 00h Posted Request Data VC1 Credit Withhold Number of VC1 Posted Data credits to withhold from being reported or used. 23:22 RV 0h Reserved 21:16 RWS 00h Posted Request Header VC1 Credit Withhold Number of VC1 Posted Request credits to withhold from being reported or used. 15:8 RWS 00h Non-Posted Request Data VC1 Credit Withhold Number of VC1 Non-Posted Data credits to withhold from being reported or used. 7:6 RV 0h Reserved 5:0 RWS 00h Non-Posted Request Header VC1 Credit Withhold Number of VC1 Non-Posted Request credits to withhold from being reported or used. DMIVCpCdtThrottle Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 64 Bit Attr Reset Value Description 31:24 RWS 00h Posted Request Data VCp Credit Withhold Number of VCp Posted Data credits to withhold from being reported or used. 23:22 RV 0h Reserved 21:16 RWS 00h Posted Request Header VCp Credit Withhold Number of VCp Posted Request credits to withhold from being reported or used. 15:8 RWS 00h Non-Posted Request Data VCp Credit Withhold Number of VCp Non-Posted Data credits to withhold from being reported or used. 7:6 RV 0h Reserved 5:0 RWS 00h Non-Posted Request Header VCp Credit Withhold Number of VCp Non-Posted Request credits to withhold from being reported or used.Processor Integrated I/O (IIO) Configuration Registers 144 Datasheet, Volume 2
3.2.8.19 DMIVCmCdtThrottle—DMI VCm Credit Throttle Register
DMIVCmCdtThrottle Bus: 0 Device: 0 Function: 0 MMIO BAR: DMIRCBAR Offset: 68 Bit Attr Reset Value Description 31:24 RWS 00h Posted Request Data VCm Credit Withhold Number of VCm Posted Data credits to withhold from being reported or used. 23:22 RV 0h Reserved 21:16 RWS 00h Posted Request Header VCm Credit Withhold Number of VCm Posted Request credits to withhold from being reported or used. 15:8 RWS 00h Non-Posted Request Data VCm Credit Withhold Number of VCm Non-Posted Data credits to withhold from being reported or used. 7:6 RV 0h Reserved 5:0 RWS 00h Non-Posted Request Header VCm Credit Withhold Number of VCm Non-Posted Request credits to withhold from being reported or used.Datasheet, Volume 2 145
Processor Integrated I/O (IIO) Configuration Registers
3.3 Integrated I/O Core Registers
This section describes the standard PCI configuration registers and device specific Configuration Registers related to below:
- Intel VT-d, address mapping, system management and Miscellaneous Registers – Device 5, Function 0
1. CAPPTR points to the first capability block
1. CAPPTR points to the first capability block.
Processor Integrated I/O (IIO) Configuration Registers
3.3.2.2 DID—Device Identification Register
3.3.2.3 PCICMD—PCI Command Register
This register defines the PCI 3.0 compatible command register values applicable to PCI Express space. VID Bus: 0 Device: 5 Function: 0,2,4, Offset: 00h Bit Attr Reset Value Description 15:0 RO 8086h Vendor Identification Number The value is assigned by PCI-SIG to Intel. DID Bus: 0 Device: 5 Function: 0,2,4 Offset: 02h Bit Attr Reset Value Description 15:0 RO 3C28h Device Identification Number Device ID values vary from function to function. Bits 15:8 are equal to 3Ch for the processor. The following list is a breakdown of the function groups. 3C00h–3C1Fh : PCI Express and DMI ports 3C20h–3C3Fh : IO Features (APIC, VT) 3CA0h–3CBFh : Home Agent/Memory Controller 3CC0h–3CDFh : Power Management 3CE0h–3CFFh : Cbo/Ring PCICMD Bus: 0 Device: 5 Function: 0,2,4 Offset: 04h Bit Attr Reset Value Description 15:11 RV 0h Reserved 10 RO 0b INTx Disable Not applicable for these devices 9RO 0b Fast Back-to-Back Enable Not applicable to PCI Express and is hardwired to 0 8RO 0b SERR Enable This bit has no impact on error reporting from these devices 7RO 0b IDSEL Stepping/Wait Cycle Control Not applicable to internal devices. Hardwired to 0. 6RO 0b Parity Error Response This bit has no impact on error reporting from these devices 5RO 0b VGA palette snoop Enable Not applicable to internal devices. Hardwired to 0. 4RO 0b Memory Write and Invalidate Enable Not applicable to internal devices. Hardwired to 0.Processor Integrated I/O (IIO) Configuration Registers 156 Datasheet, Volume 2
3.3.2.4 PCISTS—PCI Status Register
The PCI Status register is a 16-bit status register that typically reports the occurrence of various events associated with the primary side of the “virtual” PCI Express device. Since these devices are host bridge devices, the only field that has meaning is “Capabilities List.” 3RO 0b Special Cycle Enable Not applicable. Hardwired to 0. 2RO 0b Bus Master Enable Hardwired to 0 since these devices don’t generate any transactions 1RO 0b Memory Space Enable Hardwired to 0 since these devices don’t decode any memory BARs 0RO 0b IO Space Enable Hardwired to 0 since these devices don’t decode any IO BARs PCICMD Bus: 0 Device: 5 Function: 0,2,4 Offset: 04h Bit Attr Reset Value Description PCISTS Bus: 0 Device: 5 Function: 0,2,4 Offset: 06h Bit Attr Reset Value Description 15 RO 0b Detected Parity Error This bit is set when the device receives a packet on the primary side with an uncorrectable data error (including a packet with poison bit set) or an uncorrectable address/control parity error. The setting of this bit is regardless of the Parity Error Response bit (PERRE) in the PCICMD register. R2PCIe will never set this bit. 14 RO 0b Signaled System Error Hardwired to 0 13 RO 0b Received Master Abort Hardwired to 0 12 RO 0b Received Target Abort Hardwired to 0 11 RO 0b Signaled Target Abort Hardwired to 0 10:9 RO 0h DEVSEL# Timing Not applicable to PCI Express. Hardwired to 0. 8RO 0b Master Data Parity Error Hardwired to 0 7RO 0b Fast Back-to-Back Not applicable to PCI Express. Hardwired to 0. 6RV 0hReserved 5RO 0b pci bus 66 MHz capable Not applicable to PCI Express. Hardwired to 0. 4RO 1b Capabilities List This bit indicates the presence of a capabilities list structure 3RO 0b INTx Status Hardwired to 0 2:0 RV 0h ReservedDatasheet, Volume 2 157
Processor Integrated I/O (IIO) Configuration Registers
3.3.2.5 RID—Revision Identification Register
This register contains the revision number of the Integrated I/O.
3.3.2.6 CCR—Class Code Register
This register contains the Class Code for the device.
3.3.2.7 CLSR—Cacheline Size Register
RID Bus: 0 Device: 5 Function: 0,2,4 Offset: 08h Bit Attr Reset Value Description 7:0 RO 00h Revision_ID Reflects the Uncore Revision ID after reset. Reflects the Compatibility Revision ID after BIOS writes 69h to any RID register in any processor function. Implementation Note: Read and write requests from the host to any RID register in any processor Intel QPI function are re-directed to the IIO cluster. Accesses to the CCR field are also redirected due to DWord alignment. It is possible that JTAG accesses are direct, so will not always be redirected. CCR Bus: 0 Device: 5 Function: 0,2,4 Offset: 09h Bit Attr Reset Value Description 23:16 RO 08h Base Class For almost all IIO device/functions this field is hardwired to 06h, indicating it is a ’Bridge Device’. Non-bridge generic devices use a value of 08h, indicating it is a ’Generic System Peripheral’. 15:8 RO 80h Sub-Class For almost all IIO device/functions, this field defaults to 00h indicating host bridge. Non-bridge devices use a value of 80h. 7:0 RO 00h Register-Level Programming Interface Set to 00h for all non-APIC devices. CLSR Bus: 0 Device: 5 Function: 0,2,4 Offset: 0Ch Bit Attr Reset Value Description 7:0 RW 0h Cacheline Size This register is set as RW for compatibility reasons only. Cacheline size for the processor is always 64B.Processor Integrated I/O (IIO) Configuration Registers 158 Datasheet, Volume 2
HDR Bus: 0 Device: 5 Function: 0,2,4 Offset: 0Eh Bit Attr Reset Value Description 7RO 1b Multi-function Device This bit defaults to 1b since all these devices are multi-function For Devive 4, 6, 7, BIOS can individually control the value of this bit in function 0 of these devices, based on HDRTYPECTRL register. BIOS will set these control bits to change this field to 0 in function#0 of these devices, if it exposes only function 0 in the device to OS. 6:0 RO 00h Configuration Layout This field identifies the format of the configuration header layout. It is Type 0 for all these devices. The default is 00h, indicating a ’endpoint device’. 7RO 1b Multi-function Device This bit defaults to 1b since all these devices are multi-function. For Device 4, 6, 7, BIOS can individually control the value of this bit in function#0 of these devices, based on HDRTYPECTRL register. BIOS will set these control bits to change this field to 0 in function 0 of these devices, if it exposes only function 0 in the device to OS. SVID Bus: 0 Device: 5 Function: 0, 2,4 Offset: 2Ch Bit Attr Reset Value Description 15:0 RW-O 8086h Subsystem Vendor Identification Number The default value specifies Intel but can be set to any value once after reset. SCID Bus: 0 Device: 5 Function: 0,2,4 Offset: 2Eh Bit Attr Reset Value Description 15:0 RW-O 00h Subsystem Device Identification Number Assigned by the subsystem vendor to uniquely identify the subsystemDatasheet, Volume 2 159 Processor Integrated I/O (IIO) Configuration Registers
3.3.2.11 CAPPTR—Capability Pointer Register
The CAPPTR provides the offset to the location of the first device capability in the capability list.
3.3.2.12 INTL—Interrupt Line Register
The Interrupt Line register is used to communicate interrupt line routing information between initialization code and the device driver
3.3.2.15 PXPNXTPTR—PCI Express* Next Pointer Register
VT-d, Address Mapping, System Management, Coherent Interface, Misc Registers
3.3.3.1 HDRTYPECTRL—PCI Header Type Control Register
PXPNXTPTRBus: 0 Device: 5 Function: 0,2 Offset: 41hBit AttrReset ValueDescription7:0 RO E0hNext PtrThis field is set to the PCI PM capability PXPCAPBus: 0 Device: 5 Function: 0, 2,4 Offset: 42hBit AttrReset ValueDescription15:14 RV 0h Reserved 13:9 RO 00h Interrupt Message Number. Not applicable 8RO0bSlot Implemented. Not applicable 7:4 RO 1001bDevice/Port Type This field identifies the type of device. It is set to for the DMA to indicate root complex integrated endpoint device. 3:0 RO 2hCapability Version This field identifies the version of the PCI Express capability structure. Set to 2h for PCI Express and DMA devices for compliance with the extended base registers. HDRTYPECTRLBus: 0 Device: 5 Function: 0 Offset: 80Bit AttrReset ValueDescription31:3 RV 0h Reserved 2:0 RW 000bSet Header Type to Single Function (clear MFD bit) When set, function#0 with in the indicated device shows a value of 0 for bit 7 of the HDR register, indicating a single function device. BIOS sets this bit, when only function#0 is visible within the device, either because SKU reasons or BIOS has hidden all functions but function#0 within the device using the DEVHIDE register.Bit 0 is for Device 1Bit 1 is for Device 2Bit 3 is for Device 3Currently this is defined only for devices 1, 2 and 3 because in other devices it is expected that at least 2 functions are visible to the operating system or the entire device is hidden.Datasheet, Volume 2 161
Processor Integrated I/O (IIO) Configuration Registers
3.3.3.2 MMCFG—MMCFG Address Range Register
Base Address Register MMCFG Bus: 0 Device: 5 Function: 0 Offset: 84 Bit Attr Reset Value Description 63:58 RW-LB 00h MMCFG Limit Address This field indicates the limit address which is aligned to a 64 MB boundary. Any access that decodes to be between MMCFG.BASE Addr MMCFG.LIMIT targets the MMCFG region and is aborted by IIO. Setting the MMCFG.BASE greater than MMCFG.LIMIT disables this region. 57:32 RV 0h Reserved 31:26 RW-LB 3Fh MMCFG Base Address Indicates the base address which is aligned to a 64 MB boundary. 25:0 RV 0h Reserved TSEG Bus: 0 Device: 5 Function: 0 Offset: A8 Bit Attr Reset Value Description 63:52 RW-LB 000h TSeg Limit Address This field indicates the limit address which is aligned to a 1 MB boundary. Bits 31:20 corresponds to A[31:20] address bits.Any access to falls within TSEG.BASE Addr TSEG.LIMIT is considered to target the TSEG region and IIO aborts it. Setting the TSEG.BASE greater than the limit disables this region. 51:32 RV 0h Reserved 31:20 RW-LB FE0h TSeg Base Address Indicates the base address which is aligned to a 1MB boundary. Bits 31:20 corresponds to A[31:20] address bits. 19:0 RV 0h Reserved GENPROTRANGE1_BASE Bus: 0 Device: 5 Function: 0 Offset: B0 Bit Attr Reset Value Description 63:51 RV 0h Reserved 50:16 RW-LB 7FFFFFF FFh Base address This field indicates bits 50:16 of the generic memory address range that needs to be protected from inbound DMA accesses. The protected memory range can be anywhere in the memory space addressable by the processor. Addresses that fall in this range; that is, GenProtRange.Base[63:16] Address [63:16] GenProtRange.Limit [63:16]) are completer aborted by IIO. Setting the Protected range base address greater than the limit address disables the protected memory region. Note that this range is orthogonal to Intel VT-d specification defined protected address range. Since this register provides for a generic range, it can be used to protect any system DRAM region or MMIO region from DMA accesses. But the expected usage for this range is to abort all PCIe accesses to the PCI-Segments region. 15:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 162 Datasheet, Volume 2
3.3.3.5 GENPROTRANGE1_LIMIT—Generic Protected Memory Range 1
Limit Address Register
000h Limit address This field indicates bits 50:16 of the generic memory address range that needs to be protected from inbound DMA accesses. The protected memory range can be anywhere in the memory space addressable by the processor. Addresses that fall in this range; that is, GenProtRange.Base[63:16] Address [63:16] GenProtRange.Limit [63:16]) are completer aborted by IIO. Setting the Protected range base address greater than the limit address disables the protected memory region. This range is orthogonal to Intel VT-d specification defined protected address range. This register is programmed once at boot time and does not change after that, including any quiesce flows. Since this register provides for a generic range, it can be used to protect any system DRAM region from DMA accesses. The expected usage for this range is to abort all PCIe accesses to the PCI-Segments region. 15:0 RV 0h Reserved GENPROTRANGE2_BASE Bus: 0 Device: 5 Function: 0 Offset: C0 Bit Attr Reset Value Description 63:51 RV 0h Reserved 50:16 RW-LB 7FFFFFF FFh Base address This field indicates bits 50:16 of the generic memory address range that needs to be protected from inbound DMA accesses. The protected memory range can be anywhere in the memory space addressable by the processor. Addresses that fall in this range; that is, GenProtRange.Base[63:16] Address [63:16] GenProtRange.Limit [63:16]) are completer aborted by IIO. Setting the Protected range base address greater than the limit address disables the protected memory region. This range is orthogonal to Intel VT-d Specification defined protected address range. This register is programmed once at boot time and does not change after that, including any quiesce flows. This region is expected to be used to protect against PAM region accesses inbound, but could also be used for other purposes, if needed. 15:0 RV 0h ReservedDatasheet, Volume 2 163
Processor Integrated I/O (IIO) Configuration Registers
3.3.3.7 GENPROTRANGE2_LIMIT—Generic Protected Memory Range 2
Limit Address Register
3.3.3.8 TOLM—Top of Low Memory Register
3.3.3.9 TOHM—Top of High Memory Register
000h Limit address This field indicates bits 50:16 of the generic memory address range that needs to be protected from inbound DMA accesses. The protected memory range can be anywhere in the memory space addressable by the processor. Addresses that fall in this range; that is, GenProtRange.Base[63:16] Address [63:16] GenProtRange. Limit [63:16] are completer aborted by IIO.Setting the Protected range base address greater than the limit address disables the protected memory region. This range is orthogonal to Intel VT-d specification defined protected address range. This register is programmed once at boot time and does not change after that, including any quiesce flows. This region is expected to be used to protect against PAM region accesses inbound, but could also be used for other purposes, if needed. 15:0 RV 0h Reserved TOLM Bus: 0 Device: 5 Function: 0 Offset: D0 Bit Attr Reset Value Description 31:26 RW-LB 00h TOLM address This field indicates the top of low DRAM memory which is aligned to a 64 MB boundary. A 32-bit transaction that satisfies ’0 Address[31:26] TOLM[31:26]’ is a transaction towards main memory. 25:0 RV 0h Reserved TOHM Bus: 0 Device: 5 Function: 0 Offset: D4 Bit Attr Reset Value Description 63:26 RW-LB
0000h TOHM address This field indicates the limit of an aligned 64 MB granular region that decodes >4 GB addresses towards system DRAM memory. A 64-bit transaction that satisfies ’4G A[63:26] TOHM[63:26]’ is a transaction towards main memory. This register is programmed once at boot time and does not change after that, including during quiesce flows. 25:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 164 Datasheet, Volume 2
Management Engine (Intel
ME) Non-coherent Memory Base Address Register NCMEM_BASE Bus: 0 Device: 5 Function: 0 Offset: E0 Bit Attr Reset Value Description 63:26 RW-LB 3FFFFFF FFFh Non Coherent memory base address This field describes the base address of a 64 MB aligned DRAM memory region on Intel QPI that is non-coherent. Address bits 63:26 of an inbound address if it satisfies ’NcMem.Base[63:26] A[63:26] NcMem.Limit[63:26]’ is considered to be towards the non-coherent Intel QPI memory region. This means that IIO cannot ever use ’allocating’ write commands for accesses to this region, over IDI. This, in effect, means that DCA/TH writes cannot ever target this address region. The range indicated by the Non-coherent memory base and limit registers does not necessarily fall within the low DRAM or high DRAM memory regions as described using the corresponding base and limit registers. Usage Model for this range is ROL. Accesses to this range default to NSWr and NSRd accesses on Intel QPI. But accesses to this range will use non-allocating reads and writes, when enabled. This register is programmed once at boot time and does not change after that, including any quiesce flows. 25:0 RV 0h Reserved NCMEM_LIMIT Bus: 0 Device: 5 Function: 0 Offset: E8 Bit Attr Reset Value Description 63:26 RW-LB
0000h Non Coherent memory limit address Describes the limit address of a 64 MB aligned DRAM memory region on Intel QPI that is non-coherent. Address bits 63:26 of an inbound address if it satisfies ’NcMem.Base[63:26] A[63:26] NcMem.Limit[63:26]’ is considered to be towards the non-coherent Intel QPI memory region. This means that IIO cannot ever use ’allocating’ write commands for accesses to this region, over IDI. This in effect means that DCA/TH writes cannot ever target this address region. The range indicated by the Non-coherent memory base and limit registers does not necessarily fall within the low DRAM or high DRAM memory regions as described using the corresponding base and limit registers. This register is programmed once at boot time and does not change after that, including any quiesce flows. 25:0 RV 0h Reserved MENCMEM_BASE Bus: 0 Device: 5 Function: 0 Offset: F0 Bit Attr Reset Value Description 63:19 RW-LB 1FFFFFF FFFFFh Intel Management Engine (Intel ME) UMA Base Address Indicates the base address which is aligned to a 1MB boundary. Bits 63:19 corresponds to A[63:19] address bits. 18:0 RV 0h ReservedDatasheet, Volume 2 165
Processor Integrated I/O (IIO) Configuration Registers
ME Non-coherent Memory Limit Address Register
00000h Intel ME UMA Limit Address This field indicates the limit address which is aligned to a 1 MB boundary. Bits [63:19] corresponds to A[63:19] address bits. Any address that falls within MENCMEMBASE Addr MENCMEMLIMIT range is considered to target the UMA range. Setting the MCNCMEMBASE greater than the MCNCMEMLIMIT disables this range. The range indicated by this register must fall within the low DRAM or high DRAM memory regions as described using the corresponding base and limit registers. 18:0 RV 0h Reserved CPUBUSNO Bus: 0 Device: 5 Function: 0 Offset: 108 Bit Attr Reset Value Description 31:17 RV 0h Reserved 16 RW-LB 0h Valid 1 = IIO claims PCI config accesses from ring if: — Bus # matches the value in bits 7:0 of this register and Device # 16
— Bus # does not match either the value in bits 7:0 or 15:8 of this register 0 = IIO does not claim PCI config accesses from ring 15:8 RW-LB 00h Internal bus number 1 of CPU Uncore This field indicates the internal bus # of the rest of uncore. All devices are claimed by UBOX on behalf of this component. Devices that do not exist within this component on this bus number are master aborted by the UBOX. 7:0 RW-LB 00h Internal bus number 0 of CPU Uncore This field indicates the internal bus # of IIO and also PCH. Configuration requests that target Devices 16-31 on this bus number must be forwarded to the PCH by the IIO. Devices 0–15 on this bus number are claimed by the UBOX to send to IIO internal registers. UBOX master aborts devices 8-15 automatically, since these devices do not exist.Processor Integrated I/O (IIO) Configuration Registers 166 Datasheet, Volume 2
LMMIOL Bus: 0 Device: 5 Function: 0 Offset: 10C Bit Attr Reset Value Description 31:24 RW-LB 00h Local MMIO Low Limit Address This field corresponds to A[31:24] of MMIOL limit. An inbound memory address that satisfies ’local MMIOL base[15:8] A[31:24] local MMIOL limit[15:8]’ is treated as a local peer-to-peer transaction that does not cross the coherent interface. Notes:
2. This register is programmed once at boot time and does not change after
that, including any quiesce flows. 23:16 RV 0h Reserved 15:8 RW-LB 00h Local MMIO Low Base Address This field corresponds to A[31:24] of MMIOL base address. An inbound memory address that satisfies ’local MMIOL base[15:8] A[31:24] local MMIOL limit[15:8]’ is treated as a local peer-to-peer transaction that do not cross coherent interface. Notes:
2. This register is programmed once at boot time and does not change after
that, including any quiesce flows. 7:0 RV 0h Reserved LMMIOH_BASE Bus: N Device: 5 Function: 0 Offset: 110 Bit Attr Reset Value Description 63:51 RV 0h Reserved 50:26 RW-LB
Local MMIOH Base Address This field corresponds to A[50:26] of MMIOH base. An inbound memory address that satisfies local MMIOH base [50:26] A[63:26] local MMIOH limit [50:26] is treated as a local peer-to-peer transaction that does not cross the coherent interface. Notes:
2. This register is programmed once at boot time and does not change after
that, including any quiesce flows. 25:0 RV 0h ReservedDatasheet, Volume 2 167
Processor Integrated I/O (IIO) Configuration Registers
Local MMIOH Limit Address This field corresponds to A[50:26] of MMIOH limit. An inbound memory address that satisfies local MMIOH base [50:26] A[63:26] local MMIOH limit [50:26] is treated as local a peer-to-peer transactions that does not cross the coherent interface. Notes:
2. This register is programmed once at boot time and does not change after
that, including any quiesce flows. 25:0 RV 0h Reserved GENPROTRANGE0_BASE Bus: 0 Device: 5 Function: 0 Offset: 120 Bit Attr Reset Value Description 63:51 RV 0h Reserved 50:16 RW-LB 7FFFFFF FFh Base address This field indicates bits 50:16 of generic memory address range that needs to be protected from inbound DMA accesses. The protected memory range can be anywhere in the memory space addressable by the processor. Addresses that fall in this range; that is, GenProtRange.Base[63:16] Address [63:16] GenProtRange.Limit [63:16]) are completer aborted by IIO. Setting the Protected range base address greater than the limit address disables the protected memory region. Note that this range is orthogonal to Intel VT-d specification defined protected address range. Since this register provides for a generic range, it can be used to protect any system DRAM region or MMIO region from DMA accesses. But the expected usage for this range is to abort all PCIe accesses to the PCI-Segments region. 15:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 168 Datasheet, Volume 2
3.3.3.19 GENPROTRANGE0_LIMIT—Generic Protected Memory Range 0
Limit Address Register
000h Limit Address This field indicates bits 50:16 of generic memory address range that needs to be protected from inbound DMA accesses. The protected memory range can be anywhere in the memory space addressable by the processor. Addresses that fall in this range; that is, GenProtRange.Base[63:16] Address [63:16] GenProtRange.Limit [63:16]) are completer aborted by IIO. Setting the Protected range base address greater than the limit address disables the protected memory region. This range is orthogonal to Intel VT-d specification defined protected address range. This register is programmed once at boot time and does not change after that, including any quiesce flows. Since this register provides for a generic range, it can be used to protect any system DRAM region from DMA accesses. The expected usage for this range is to abort all PCIe accesses to the PCI-Segments region. 15:0 RV 0h Reserved CIPCTRL Bus: 0 Device: 5 Function: 0 Offset: 140 Bit Attr Reset Value Description 31 RW 0b Flush Currently Pending Writes to DRAM from Write Cache Whenever this bit is written to 1 (regardless what the current value of this bit is), IRP block first clears bit 0 in CIPSTS register and takes a snapshot of the currently pending write transactions to DRAM in Write Cache, wait for them to complete fully (that is, deallocate the corresponding Write Cache/RRB entry) and then set bit 0 in CIPSTS register. 30:29 RV 0h Reserved 28 RW 0b Disable WriteUpdate Flow When set, the PCIWriteUpdate command is never issued on IDI and the writes that triggered this flow would be treated as ’normal’ writes and the rules corresponding to the ’normal writes’ apply. 27:16 RV 0h Reserved 15 RW 1b Read Merge Enable 14:12 RW 0h Socket ID This is the BIOS programmed field that indicates the ’SocketID’ of this particular socket. ’SocketID’ is the unique value that each socket in the system gets for DCA/DIO target determination. Normally this value is the same as the APICID[7:5] of the cores in the socket, but it can be other values as well, if system topology were to not allow that straight mapping. IIO uses strapped NodeID to compare against the target NodeID determined by using the target SocketID value as a lookup into the CIPDCASAD register. If there is a match, then a PCIDCAHint is not sent (since the data is already located in the same LLC). This register is not used for this comparison. It is not used by hardware at all.Datasheet, Volume 2 169
Processor Integrated I/O (IIO) Configuration Registers 11:9 RW 0h RRB Size (Write Cache Size) Specifies the number of entries used in each half of the write cache. The default is to use all entries. 000 = 64 each side (128 total) 001 = 56 each side (112 total) 010 = 48 each side (96 total) 011 = 40 each side (80 total) 100 = 32 each side (64 total) 101 = 24 each side (48 total) 110 = 16 each side (32 total) 111 = 8 each side (16 total) Used to limit performance for tuning purposes. This size includes both isoch and non-isoch traffic. 8:6 RW 001b Number of RTIDs for VCp 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 Others = Reserved Limits the number of RTIDs used for VCp isoch. An equal number of RRB entries are also reserved for VCp isoch. BIOS programs a value into this register based on SKU. 5:3 RW 000b Number of RTIDs for VC1 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 Others = Reserved Limits the number of RTIDs used for VC1 isoch. An equal number of RRB entries are also reserved for VC1 isoch. BIOS programs a value into this register based on SKU. 2RW 0b Extended RTID Mode Enable When this bit is set, NDR responses that IIO sends back on AK ring to Ubox or Cbox and DRS responses it sends back on BL ring to Ubox or Cbox (and not to Intel QPI), IIO copies DNID[2] on to the RHNID[2] field. 1RW 0b Disable write combining Causes all writes to send a WB request as soon as M-state is acquired. 0 = Enable b2b Write Combining for writes from same port 1 = Disable b2b Write Combining for writes from same port 0RW 0b PCIRdCurrent/DRd.UC mode select On Inbound Coherent Reads selection of RdCur or DRd is done based on this configuration bit. 0 = PCIRdCurrent 1 = DRd.UC CIPCTRL Bus: 0 Device: 5 Function: 0 Offset: 140 Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 170 Datasheet, Volume 2
Decode Register CIPSTS Bus: 0 Device: 5 Function: 0 Offset: 144 Bit Attr Reset Value Description 31:3 RV 0h Reserved 2RO 1b RRB non-phold_arb Empty This indicates that there are no pending requests in the RRB with the exception of ProcLock/Unlock* messages to the lock arbiter. 0 = Pending RRB requests 1 = RRB Empty except for any pending Proclock*/Unlock This is a live bit and hence can toggle clock by clock. This is provided mostly as a debug visibility feature. 1RO 1b RRB Empty This indicates that there are no pending requests in the RRB. 0 = Pending RRB requests 1 = RRB Empty This is a live bit and hence can toggle clock by clock. This is provided mostly as a debug visibility feature. 0RO 0b Flush Currently Pending Writes from Write Cache Status This bit gets cleared whenever bit 31 in CPICTRL is written to 1 by software and gets set by hardware when the pending writes in the Write Cache (at the time bit 31 in CIPCTRL is written to 1 by software) complete; that is, the Write Cache/RRB entry is deallocated for all those writes. CIPDCASAD Bus: 0 Device: 5 Function: 0 Offset: 148 Bit Attr Reset Value Description 31:29 RW 000b DCA Lookup Table Entry 7 For a TPH/DCA request, this field specifies the target NodeID[2:0] when the inverted Tag[2:0] is 7. 28:26 RW 000b DCA Lookup Table Entry 6 For a TPH/DCA request, this field specifies the target NodeID[2:0] when the inverted Tag[2:0] is 6. 25:23 RW 000b DCA Lookup Table Entry 5 For a TPH/DCA request, this field specifies the target NodeID[2:0] when the inverted Tag[2:0] is 5. 22:20 RW 000b DCA Lookup Table Entry 4 For a TPH/DCA request, this field specifies the target NodeID[2:0] when the inverted Tag[2:0] is 4. 19:17 RW 000b DCA Lookup Table Entry 3 For a TPH/DCA request, this field specifies the target NodeID[2:0] when the inverted Tag[2:0] is 3. 16:14 RW 000b DCA Lookup Table Entry 2 For a TPH/DCA request, this field specifies the target NodeID[2:0] when the inverted Tag[2:0] is 2. 13:11 RW 000b DCA Lookup Table Entry 1 For a TPH/DCA request, this field specifies the target NodeID[2:0] when the inverted Tag[2:0] is 1.Datasheet, Volume 2 171
Processor Integrated I/O (IIO) Configuration Registers
This register is to be polled by BIOS to determine if internal pending system interrupts are drained out of IIO. 11 RW 1b INTR Mask 10 RW 1b SMI Mask 9RW 1bInit Mask 8RW 1bNMI Mask 7RW-L 0b IA32 or IPF Note: Locked by RSPLCK 6:2 RV 0h Reserved 1RW 0bInterrupt Logical Mode 0RW-L 0b Cluster Check Sampling Mode Note: Locked by RSPLCK CIPINTRC Bus: 0 Device: 5 Function: 0 Offset: 14C Bit Attr Reset Value Description CIPINTRS Bus: 0 Device: 5 Function: 0 Offset: 154 Bit Attr Reset Value Description 31 RW1CS 0b Externally generated VLWSignaled This is set when IIO forwards a VLW from PCH that had the SMI bit asserted. 30 RW1CS 0b Externally generated VLWSignaled This is set when IIO forwards a VLW from PCH that had the NMI bit asserted. 29:8 RV 0h Reserved 7RO-V 0bMCA RAS Event Pending 6RO-V 0bNMI RAS Event Pending 5RO-V 0bSMI RAS Event Pending 4RO-V 0bINTR Event Pending 3RO-V 0bA20M Event Pending 2RO-V 0bINIT Event Pending 1RO-V 0bNMI Event Pending 0RO-V 0b VLW message pending (either generated internally or externally)Datasheet, Volume 2 173
Processor Integrated I/O (IIO) Configuration Registers
VT-d General Control Register VTBAR Bus: 0 Device: 5 Function: 0 Offset: 180 Bit Attr Reset Value Description 31:13 RW-LB 00000h Intel VT-d Base Address This field provides an aligned 8K base address for IIO registers relating to Intel VT-d. All inbound accesses to this region are completer aborted by the IIO. 12:1 RV 0h Reserved 0RW-LB 0b Intel VT-d Base Address Enable Accesses to registers pointed to by VTBAR are accessible using message channel or JTAG mini-port, irrespective of the setting of this enable bit. That is, even if this bit is clear, read/write to Intel VT-d registers are completed normally (writes update registers and reads return the value of the register) for accesses from message channel or JTAG mini-port. This bit is RW-LB (that is, lock is determined based on the ’trusted’ bit in message channel) when VTGENCTRL[15] is set, else it is RO. VTGENCTRL Bus: 0 Device: 5 Function: 0 Offset: 184 Bit Attr Reset Value Description 15 RW-O 0b Lock Intel VT-d When this bit is 0, the VTBAR[0]is RW-LB else it is RO. 14:8 RV 0h Reserved 7:4 RW-LB 0011b Isoch/Non-Isoch HPA_LIMIT Represents the host processor addressing limit 0000 = 2^36 (that is, bits 35:0) 0001 = 2^37 (that is, bits 36:0)
1010 = 2^46 (that is, bits 45:0) When Intel VT-d translation is enabled on an Intel VT-d engine (isoch or non- isoch), all host addresses (during page walks) that go beyond the limit specified in this register will be aborted by IIO. Pass-through and ’translated’ ATS accesses carry the host-address directly in the access and are subject to this check as well. 3:0 RW-LB 8h Isoch/Non-Isoch GPA_LIMIT Represents the guest virtual addressing limit for the non-Isoch Intel VT-d engine. 0000 = 2^40 (That is, bits 39:0) 0001 = 2^41 (That is, bits 40:0)
0111 = 2^47 1000 = 2^48 Others = Reserved When Intel VT-d translation is enabled, all incoming guest addresses from PCI Express, associated with the non-isoch Intel VT-d engine, that go beyond the limit specified in this register will be aborted by IIO and a UR response returned. This register is not used when translation is not enabled. Note that ’translated’ and ’pass-through’ addresses are in the ’host-addressing’ domain and NOT ’guest- addressing’ domain and hence GPA_LIMIT checking on those accesses are bypassed and instead HPA_LIMIT checking applies.Processor Integrated I/O (IIO) Configuration Registers 174 Datasheet, Volume 2
VT-d Isoch Related Control Register VTISOCHCTRL Bus: 0 Device: 5 Function: 0 Offset: 188 Bit Attr Reset Value Description 31:9 RV 0h Reserved 8RW-LB 0b Intel High Definition Audio traffic to use VCp channel 1 = all VCp traffic uses the Intel High Definition Audio optimizations in Intel VT-d pagewalk request. 0 = non-Intel High Definition Audio VCp traffic uses VC0 channel for Intel VT-d pagewalk request. This bit should be set whenever Intel High Definition Audio traffic is sharing VCp with non-Intel High Definition Audio rather than running on VC1 to avoid and non- Intel High Definition Audio to Intel High Definition Audio dependencies that can crop up when Intel High Definition Audio traffic is also on VCp. When this bit is cleared, VC0 can block non-Intel High Definition Audio VCp traffic. If Intel High Definition Audio traffic is running on VCp, then VCp traffic can block Intel High Definition Audio. Therefore, VC0 can block Intel High Definition Audio traffic. Intel High Definition Audio traffic will always use the optimizations regardless of the value of this bit. This bit makes it is possible to allow non-Intel High Definition Audio VCp to also use the Intel High Definition Audio optimizations. 7:5 RW-LB 0h L3 Dedicated Resource for ISOCH Number of Isoch L3 entries reserved for Intel High Definition Audio and non-Intel High Definition Audio VCp. USB VCp would use these reserved entries only when Isoch engine is enabled and USB VCP is set to take High priority switch path. 000 = 16 entries when Isoch engine is enabled. 001 = 1 entry 010 = 2 entries 011 = 4 entries 100 = 8 entries 101 = 16 entries Others = Reserved 4:2 RW-LB 0h Number of Isoch L1 entries for Intel High Definition Audio when Isoch Intel VT-d Engine is Enabled 000 = 16 entries (when ISOCH is enabled only) 001 = 1 entry 010 = 2 entries 011 = 4 entries 100 = 8 entries 101 = 16 entries Others = Reserved 1RV 0hReserved 0RW-LB 1b Steer Intel High Definition Audio to non-Intel High Definition Audio Intel VT-d Engine When this bit is set, it causes Intel High Definition Audio traffic to use the Non- Isoch Intel VT-d engineDatasheet, Volume 2 175
Processor Integrated I/O (IIO) Configuration Registers
VT-d General Control 2 Register VTGENCTRL2 Bus: 0 Device: 5 Function: 0 Offset: 18C Bit Attr Reset Value Description 31:12 RV 0h Reserved 11 RW-L 0b LRU Count Control This bit controls what increments the LRU counter that is used to degrade the LRU bits in the IOTLB, L1/L2, and L3 caches. 1 = Count Cycles (same as TB) 0 = Count Requests 10:7 RW-LB 7h LRU Timer This bit controls the rate at which the LRU buckets should degrade. If in "Request" mode (LRUCTRL = 0), then LRU will be degraded after 16 * N requests where N is the value of this field. If we are in "Cycles" mode (CRUCTRL = 1), then LRU will be degraded after 256 * N cycles where N is the value of this field. The default value of 7h (along with LRUCTRL=0) will provide a default behavior of decreasing the LRU buckets every 112 requests. 6:5 RW-LB 01b Prefetch Control Queued invalidation, interrupt table read, context table reads and root table reads NEVER have prefetch/snarf/reuse capability. This is a general rule. Beyond that the Prefetch Control bits control additional behavior as shown below. 00 = Prefetch/snarf/reuse is turned off, that is, IRP cluster never reuses the Intel VT-d read data 01 = Prefetch/snarf/reuse is enabled for all leaf/non-leaf Intel VT-d page walk reads. 10 = Prefetch/snarf/reuse is enabled only on leaf (not non-leaf) Intel VT-d page walks reads with CC.ALH bit set 11 = Prefetch/snarf/reuse is enabled on ALL leaf (not non-leaf) Intel VT-d page walks reads regardless of the setting of the CC.ALH bit 4RV 0hReserved 3RW-LB 0b Do Not use U bit in leaf entry for leaf eviction policy on untranslated DMA requests (AT=00b) 2RW-LB 0b Mark non-leaf entries on translation requests with AT=01 for early eviction 1RW-LB 0b Do Not mark leaf entries with U=0 on translation requests with AT=01 for early eviction 0RV 0hReservedProcessor Integrated I/O (IIO) Configuration Registers 176 Datasheet, Volume 2
Processor Integrated I/O (IIO) Configuration Registers
VT Uncorrectable Error Severity Register VTUNCERRMSK Bus: 0 Device: 5 Function: 0 Offset: 1AC Bit Attr Reset Value Description 31 RWS 0b Mask reporting Intel VT-d defined errors to IIO core logic 30:9 RV 0h Reserved 8RWS 0bProtected memory region space violated mask 7RWS 0b Illegal request to FEEh Mask Illegal request to FEEh, GPA/HPA limit error mask 6RWS 0b Unsuccessful status received in the coherent interface read completion mask 5RWS 0bTLB1 Parity Error Mask 4RWS 0bTLB0 Parity Error Mask 3RWS 0bData Parity Error while doing a L3 lookup mask 2RWS 0bData Parity Error while doing a L2 lookup mask 1RWS 0bData Parity Error while doing a L1 lookup mask 0RWS 0bData Parity Error while doing a context cache look up mask VTUNCERRSEV Bus: 0 Device: 5 Function: 0 Offset: 1B0 Bit Attr Reset Value Description 31 RWS 0b VT-d Specification Defined Error Severity When set, this bit escalates reporting of Intel VT-d specification defined errors, as FATAL errors. When clear, those errors are escalated as Nonfatal errors. 30:9 RV 0h Reserved 8RWS 1bProtected memory region space violated severity 7RWS 1b Illegal Request to FEEh Severity Illegal request to FEEh, GPA/HPA limit error severity 6RWS 0b Unsuccessful status received in the coherent interface read completion severity 5RWS 1bTLB1 Parity Error Severity 4RWS 1bTLB0 Parity Error Severity 3RWS 1bData Parity Error while doing a L3 lookup severity 2RWS 1bData Parity Error while doing a L2 lookup severity 1RWS 1bData Parity Error while doing a L1 lookup severity 0RWS 1bData Parity Error while doing a context cache look up severityProcessor Integrated I/O (IIO) Configuration Registers 178 Datasheet, Volume 2
VTUNCERRPTR Bus: 0 Device: 5 Function: 0 Offset: 1B4 Bit Attr Reset Value Description 7:5 RV 0h Reserved 4:0 ROS-V 00h Intel VT Uncorrectable First Error Pointer This field points to which of the unmasked uncorrectable errors happened first. This field is only valid when the corresponding error is unmasked and the status bit is set and this field is rearmed to load again when the status bit indicated to by this pointer is cleared by software from 1 to 0. A value of 0h corresponds to bit 0 in VTUNCERRSTS register, a value of 1h corresponds to bit 1, and so forth. IIOMISCCTRL Bus: 0 Device: 5 Function: 0 Offset: 1C0 Bit Attr Reset Value Description 63:42 RV 0h Reserved 41 RW 0b Enable Poison Message Specification Behavior In the processor, a received poison packet is treated as a Fatal error if its severity bit is set, but treated as correctable if the severity bit is cleared (and logged in both the UNCERRSTS register and the Advisory Non-Fatal Error bit in the CORERRSTS register). In the processor, a POISFEN bit forces the poison error to be logged as an Advisory Non-Fatal error. When this bit is set, the poison severity bit can force Fatal behavior regardless of POISFEN. Generally however, MCA needs to have priority over AER drivers, so this bit default is 0. The PCIe specification requires this bit to be 0. When this bit is clear: sev pfen Error 0 0 non-fatal 0 1 correctable 1 0 fatal 1 1 correctable When this bit is set: sev pfen Error 0 0 non-fatal 0 1 correctable 1 0 fatal 11 fatal 40 RV 0h Reserved 39 RW 0b Disable New APIC Ordering When this bit is set, behavior returns to the original behavior. 38 RWS-O 0b UNIPHY Enable Power Down 37 RW 0b Poison Forwarding Enable This bit enables poisoned data received inbound (either inbound posted data or completions for outbound reads that have poisoned data) to be forwarded to the destination (DRAM or Cache or PCIe Peer). 0 = Poison indication is not forwarded with the data (this may result in silent corruption if AER poison reporting is disabled). 1 = Poison indication is forwarded with the data (this may result in a conflict with MCA poison reporting if AER poison reporting is enabled)Datasheet, Volume 2 179
Processor Integrated I/O (IIO) Configuration Registers 36:35 RV 0h Reserved 34:32 RWS 000b Show the PCI Express Port identifier in Intel QPI packets A Port Identifier that identifies which PCI Express port a transaction comes from will be placed in the AD Ring TNID[2:0] field of the request packet, when enabled. This field is normally used for DCAHint and is not used for normal demand read. Since there are up to 11 specific ports, then Port ID is encoded in 4 bits. Only three bits can be selected to be sent in TNID as follows: 100 = TNID[2:0] = PortID[3:1] 011 = TNID[2:0] = PortID[3:2, 0] 010 = TNID[2:0] = PortID[3, 1:0] 001 = TNID[2:0] = PortID[2:0] 000 = IIO will not send Port ID information in the TNID[2:0] field The PortIDs are mapped as follows: 0 = Device 0 Function 0 DMI/PCIe port 0 (IOU2) 1 = Device 1 Function 0 Port 1a (x4 or x8) (IOU2) 2 = Device 1 Function 1 Port 1b (x4) (IOU2) 3 = Device 2 Function 0 Port 2a (x4, x8, or x16) (IOU0) 4 = Device 2 Function 1 Port 2b (x4) (IOU0) 5 = Device 2 Function 2 Port 2c (x4 or x8) (IOU0) 6 = Device 2 Function 3 Port 2d (x4) (IOU0) 7 = Device 3 Function 0 Port 3a (x4, x8, or x16) 8 = Device 3 Function 1 Port 3b (x4) (IOU1) 9 = Device 3 Function 2 Port 3c (x4 or x8) (IOU1) 10 = Device 3 Function 3 Port 3d (x4) (IOU1) 11 = CB 12 = VT Note: The TNID[2:0] value will be copied to the TORID[4:0] by CBo, if the packet is to be sent to the Intel QPI port. 31 RV 0h Reserved 30 RW 1b Treat last write in descriptor Specially Treat CB DMA writes with NS=RO=1 & NS is enabled in CB DMA & ’last write in descriptor’, as-if NS=1 and RO=0 write. 29 RW 0b Disable local P2P memory writes When set, local peer-to-peer memory writes are aborted by IIO . 28 RW 0b Disable local P2P Reads When set, local peer-to-peer memory reads are aborted by IIO and a UR response returned 27 RW 0b Disable Remote P2P memory writes When set, remote peer-to-peer memory writes are aborted by IIO. 26 RW 0b Disable Remote P2P Reads When set, remote peer-to-peer memory reads are aborted by IIO and a UR response returned. 25 RWS 1b Use Allocating Flows for CB DMA When set, use Allocating Flows for non-DCA writes from CB DMA. This bit does not affect DCA requests when DCA requests are enabled (bit 21 of this register). A DCA request is identified as matching the DCA requestor ID and having a Tag of non-zero. All DCA requests are always allocating, unless they are disabled, or unless all allocating flows are disabled (bit 24). If all allocating flows are disabled, then DCA requests are also disabled. BIOS is to leave this bit at default of 1b for all but DMI port. IIOMISCCTRL Bus: 0 Device: 5 Function: 0 Offset: 1C0 Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 180 Datasheet, Volume 2 24 RW 0b Disable all allocating flows When this bit is set, IIO will no more issue any new inbound IDI command that can allocate into LLC. Instead, all the writes will use one of the non-allocating commands – PCIWiL/PCIWiLF/PCINSWr/PCINSWrF. This is provided primarily for PSMI where a mode is needed to not allocate into the LLC. Software should set this bit only when no requests are being actively issued on IDI. So either a lock/ quiesce flow should be employed before this bit is set/cleared or it should be set up before DMA is enabled in system. 23 RV 0h Reserved 22 RW 0b Disable RO on writes from CB DMA 21 RW 0b Disable DCA from CB DMA 1 = DCA is disabled from CB DMA engine and the write are treated as normal non-DCA writes 20 RW 0b Switch Arbitration Weight for CB DMA 1 = CB DMA arbitration weight is treated equivalent to a x16 PCIe port. 0 = It is equivalent to a x8 PCie port. 19 RW 0b RVGAEN Remote VGA Enable Enables VGA accesses to be sent to remote node. 1 = Accesses to the VGA region (A_0000h to B_FFFFh) will be forwarded to the CBo where it will determine the node ID where the VGA region resides. It will then be forwarded to the given remote node. 0 = VGA accesses will be forwarded to the local PCIe port that has its VGAEN set. If none have their VGAEN set, then the request will be forwarded to the local DMI port, if operating in DMI mode. If it is not operating in DMI mode, then the request will be aborted. 18 RW 1b Disable inbound RO for VC0/VCp writes When enabled, this mode will treat all inbound write traffic as RO=0 for VC0. This affects all PCI Express ports and the DMI port. 0 = Ordering of inbound transactions is based on RO bit for VC0 1 = RO bit is treated as ’0’ for all inbound VC0 traffic This impacts only the NS write traffic because for snooped traffic RO bit is ignored by hardware. When this bit is set, the NS write (if enabled) BW is going to be generally bad. This bit does not impact VC1 and VCm writes. 17:16 RW 01b VC1 Write Ordering This mode is used to control VC1 write traffic from DMI (Intel High Definition Audio). 00 = Reserved 01 = Serialize writes on CSI issuing one at a time 10 = Pipeline writes on CSI except for writes with Tag value of 21h which are issued only after prior writes have all completed and reached global observability 11 = Pipeline writes on CSI based on RO bit. That is, if RO=1, pipeline a write on Intel QPI without waiting for prior write to have reached global observability. If RO=0, then it needs to wait till prior writes have all reached global observability. 15 RW 0b DMI VC1 Intel VT-d fetch Ordering This mode is to allow VC1 Intel VT-d conflicts with outstanding VC0 Intel VT-d reads on IDI to be pipelined. This can occur when Intel VT-d tables are shared between Intel High Definition Audio (VC1) and other devices. To ensure QoS the Intel VT-d reads from VC1 need to be issued in parallel with non-Isoc accesses to the same cacheline. 0 = Serialize all IDI address conflicts to DRAM 1 = Pipeline Intel VT-d reads from VC1 with address conflict on IDI Note: A maximum of 1 VC1 Intel VT-d read and 1 non-VC1 Intel VT-d read to the same address can be outstanding on IDI. IIOMISCCTRL Bus: 0 Device: 5 Function: 0 Offset: 1C0 Bit Attr Reset Value DescriptionDatasheet, Volume 2 181
Processor Integrated I/O (IIO) Configuration Registers 14 RW 0b Pipeline Non-Snooped Writes on the Coherent Interface When this bit is set, it allows inbound non-snooped writes to pipeline at the coherent interface; issuing the writes before previous writes are completed in the coherent domain. 13 RW 0b VC1 Reads Bypass VC1 Writes 0 = VC1 Reads push VC1 writes 1 = VC1 Reads are allowed to bypass VC1 writes 12 RW 0b Lock Thawing Mode This mode controls how inbound queues in the south agents (PCIe, DMI) thaw when they are target of a locked read. See xref for details on when this should be used and on the restrictions in its use. 0 = Thaw only posted requests 1 = Thaw posted and non-posted requests. If the lock target is also a ’problematic’ port (as indicated by bit TBD in MISCCTRLSTS register), then this becomes meaningless because both posted and non-posted requests are thawed. 11 RV 0h Reserved 10 RW 0b Legacy Port Sockets where the NodeID=0 are generally identified as having the legacy DMI port. But there is still a possibility that another socket also has a NodeID=0. The system is configured by software to route legacy transactions to the correct socket. However, inbound legacy messages received on a PCIe port of a socket with NodeID=0 that is not the true legacy port need to be routed to a remote socket that is the true legacy port. For a local NodeID is zero, this bit is used to determine if inbound messages should be routed to a DMI port on a remote socket with NodeID=0, or if the messages should be sent to the local DMI port, since the local NodeID is also 0. If the local NodeID is not zero, then this bit is ignored. 0 = indicates this socket has the true DMI legacy port, send legacy transactions to local DMI port 1 = indicates this is a non-legacy socket, send legacy transactions to the Coherent Interface Notes:
1. This bit does not affect routing for non-message transactions. It only affects
inbound messages that need to be routed to the true legacy port.
2. This bit is NOT used for any outbound address decode/routing purposes.
Outbound traffic that is subtractively decoded will always be forwarded to local DMI port, if one exists, or it will be aborted.
3. The default value of this field is based on the NodeID and
FWAGENT_DMIMODE straps.
4. Software can only change this bit after reset during early boot phase, but
must guarantee there is no traffic flowing through the system, except for the write that changes this bit. 9RW 1b Intel High Definition Audio traffic to use VCp channel This bit indicates whether Isoch Intel High Definition Audio traffic from PCH will use the VCp channel or the VC1 channel. It is used to optimized isoch traffic flow. 0 = Isoch Intel High Definition Audio traffic optimized for VC1 - only VC1 traffic will use the low latency paths 1 = Isoch Intel High Definition Audio traffic optimized for VCp - VC1 and VCp will use the low latency paths 8RW 0bTOCM field is valid Enables the TOCM field. IIOMISCCTRL Bus: 0 Device: 5 Function: 0 Offset: 1C0 Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 182 Datasheet, Volume 2
3.3.3.35 IRP_MISC_DFX0—Coherent Interface Miscellaneous
Bus: 0 Device: 5 Function: 0 Offset: 800 Bit Attr Reset Value Description 31 RW-L 0b Disable Prefetch Ack Bypass Path A bypass path for the pf_ack reduces latency by 3 cycles. This bit disables the bypass. Note: Locked by DBGBUSLCK 30 RW-L 0b Enable Parity Error Checking Enables Parity Error Checking in the IRP on the data received from the IIO switch Note: Locked by DBGBUSLCK 29 RW-L 0b Force No-Snoop on VC1 and VCm This bit forces no snp on vc1 vcm transactions. This bit needs to be used in conjunction with fast path disable for vc1 vcm transactions. otherwise switch will receive an additional prh_done Note: Locked by DBGBUSLCK 28 RW-L 1b Dump Prefetch with Conflicts This bit is a performance optimization. If there is a wr pf that is followed by a conflicting transaction, this just sends a fake pf_ack without sending it to CBO Note: Locked by DBGBUSLCK 27 RW-L 1b Use Latest Read Prefetch This bit is a performance optimization. if a rd pf 1, rd pf 2, rd f 1, rd f 2 is sent, then the data from rd pf 2 is used for rd f 1. This is ok since the data being sent is an even later version than what is ok. Note: Locked by DBGBUSLCK 26 RW-L 0b Disregard SNUM while merging This bit merges non back to back writes. This might cause deadlock. It needs to be used with flush transactions on timeout knob. Note: Locked by DBGBUSLCK 25 RW-L 0b Disregard Posted Ordering Writes are sent in any random order. This might cause deadlock. It needs to be used with aging timer rollover. Note: Locked by DBGBUSLCK 24 RW-L 1b Disregard Intel VT-d Reuse Hint This bit disregards the reuse hint from Intel VT-d. Results are in a fetch to CBO every time. Note: Locked by DBGBUSLCK 23:22 RW-L 00b Ageing Timer Rollover 0h = Disabled 1h = 32 us 2h = 128 us 3h = 512 us There is an error of abt +100%. The numbers maybe moved around a little to facilitate pre-si validation Note: Locked by DBGBUSLCK 21:15 RW-L 03h Threshold to flush reusable lines The number of free lines left before some of the older Intel VT-d reuse lines are flushed Note: Locked by DBGBUSLCK 14 RW-L 0b Repeat Dumped Prefetch This bit is a performance optimization. if ownership is lost due to a tickle, it is reissued independent of the switch coming back without a fetch from switch. Note: Locked by DBGBUSLCKDatasheet, Volume 2 183
Processor Integrated I/O (IIO) Configuration Registers
3.3.3.36 IRP_MISC_DFX1—Coherent Interface Miscellaneous
DFx 1 Register 13:9 RW-L 09h Minimum Free Conflict Queue Entries The number of free conflict entries at which the non-isoc transactions are throttled. There are a total of 32 entries to begin with. Note: Locked by DBGBUSLCK 8RW-L 1b Check IO Config Format Does some format checking (address alignment) for io and cfg transactions. Note: Locked by DBGBUSLCK 7RW-L 1b Check LT Read Format Does some format checking for lt transactions. Note: Locked by DBGBUSLCK 6RW-L 1b Use Isoch Overflow Queue Use a different queue between switch and IRP for isoc transaction. Note: Locked by DBGBUSLCK 5RW-L 1b Enable spl Isoch Intel VT Requests Issue an isoc Intel VT transaction irrespective of whether another trans to the same address is pending or not. Note: Locked by DBGBUSLCK 4:1 RW-L 4h Minimum Free Isoch HQ Entry Note: Locked by DBGBUSLCK 0RV 0hReserved
Bus: 0 Device: 5 Function: 0 Offset: 804 Bit Attr Reset Value Description 31:14 RV 0h Reserved 13 RW-L 0b Use BGF Credit for BGF Empty 12 RV 0h Reserved 11:10 RW-L 00b Config Retry Timeout 0h = 32 us 1h = 256 ms 2h = 4 sec 3h = 64 sec Has a +100% timeout error Note: Locked by DBGBUSLCK 9:8 RW-L 00b Debug Field Select Note: Locked by DBGBUSLCK 7:2 RW-L 0h Debug Entry Number Select Note: Locked by DBGBUSLCK 1RW-L 1b Auto Debug Signal Enable puts out cache entry related info on a round robin basis Note: Locked by DBGBUSLCK 0RW-L 0b Debug Signal Enable Enables reading address CAM in unused cycles. Note: Locked by DBGBUSLCK
Select Register IRP0DELS Bus: 0 Device: 5 Function: 0 Offset: 808 Bit Attr Reset Value Description 63:36 RV 0h Reserved 35:32 RW-L 0h Debug Event Set Lane Select 8 Note: Locked by DBGBUSLCK 31:28 RW-L 0h Debug Event Set Lane Select 7 Note: Locked by DBGBUSLCK 27:24 RW-L 0h Debug Event Set Lane Select 6 Note: Locked by DBGBUSLCK 23:20 RW-L 0h Debug Event Set Lane Select 5 Note: Locked by DBGBUSLCK 19:16 RW-L 0h Debug Event Set Lane Select 4 Note: Locked by DBGBUSLCK 15:12 RW-L 0h Debug Event Set Lane Select 3 Note: Locked by DBGBUSLCK 11:8 RW-L 0h Debug Event Set Lane Select 2 Note: Locked by DBGBUSLCK 7:4 RW-L 0h Debug Event Set Lane Select 1 Note: Locked by DBGBUSLCK 3:0 RW-L 0h Debug Event Set Lane Select 0 Note: Locked by DBGBUSLCK IRP1DELS Bus: 0 Device: 5 Function: 0 Offset: 810 Bit Attr Reset Value Description 63:36 RV 0h Reserved 35:32 RW-L 0h Debug Event Set Lane Select 8 Note: Locked by DBGBUSLCK 31:28 RW-L 0h Debug Event Set Lane Select 7 Note: Locked by DBGBUSLCK 27:24 RW-L 0h Debug Event Set Lane Select 6 Note: Locked by DBGBUSLCK 23:20 RW-L 0h Debug Event Set Lane Select 5 Note: Locked by DBGBUSLCK 19:16 RW-L 0h Debug Event Set Lane Select 4 Note: Locked by DBGBUSLCK 15:12 RW-L 0h Debug Event Set Lane Select 3 Note: Locked by DBGBUSLCK 11:8 RW-L 0h Debug Event Set Lane Select 2 Note: Locked by DBGBUSLCK 7:4 RW-L 0h Debug Event Set Lane Select 1 Note: Locked by DBGBUSLCK 3:0 RW-L 0h Debug Event Set Lane Select 0 Note: Locked by DBGBUSLCKDatasheet, Volume 2 185
Processor Integrated I/O (IIO) Configuration Registers
Control Register IRP0RNG Bus: 0 Device: 5 Function: 0 Offset: 830 Bit Attr Reset Value Description 31 RWS-L 0b Select Trigger This bit selects the cluster trigger output signals (ClusterTrigOut[1:0]) from this cluster and places them onto the two LSBs of the lane selected by primary lane (bits 30:27). Note: Locked by DBGBUSLCK 30:27 RWS-L 0000b Primary Lane Selection for placement of a trigger This field selects the lane this cluster will use to place the designated trigger enabled by bit 31. When cluster trigger out is enabled by bit 31, the lane selected with bits 30:27 will display the CTO triggers on its two LSB bits – Only if this cluster supports CTO outputs. Note: Locked by DBGBUSLCK 26:24 RWS-L 000b Debug ring source lane 8 select This field selects the source of data to be driven to the next cluster on lane 8. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 8 onto debug ring 111 = Select debug bus lane 3 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 23:21 RWS-L 000b Debug ring source lane 7 select This field selects the source of data to be driven to the next cluster on lane 7. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 7 onto debug ring 111 = Select debug bus lane 2 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 20:18 RWS-L 000b Debug ring source lane 6 select This field selects the source of data to be driven to the next cluster on lane 6. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 6 onto debug ring 111 = Select debug bus lane 1 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 17:15 RWS-L 000b Debug ring source lane 5 select This field selects the source of data to be driven to the next cluster on lane 5. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 5 onto debug ring 111 = Select debug bus lane 0 onto debug ring Others = Reserved Note: Locked by DBGBUSLCKDatasheet, Volume 2 187
Processor Integrated I/O (IIO) Configuration Registers 14:12 RWS-L 000b Debug ring source lane 4 select This field selects the source of data to be driven to the next cluster on lane 4. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 4 onto debug ring 111 = Select debug bus lane 8 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 11:9 RWS-L 000b Debug ring source lane 3 select This field selects the source of data to be driven to the next cluster on lane 3. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 3 onto debug ring 111 = Select debug bus lane 7 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 8:6 RWS-L 000b Debug ring source lane 2 select This field selects the source of data to be driven to the next cluster on lane 2. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 2 onto debug ring 111 = Select debug bus lane 6 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 5:3 RWS-L 000b Debug ring source lane 1 select This field selects the source of data to be driven to the next cluster on lane 1. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 1 onto debug ring 111 = Select debug bus lane 5 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 2:0 RWS-L 000b Debug ring source lane 0 select This field selects the source of data to be driven to the next cluster on lane 0. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 0 onto debug ring 111 = Select debug bus lane 4 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK IRP0RNG Bus: 0 Device: 5 Function: 0 Offset: 830 Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 188 Datasheet, Volume 2
3.3.3.44 IRP1RNG—Coherent Interface 1 Cluster Debug Ring
Control Register IRP1RNG Bus: 0 Device: 5 Function: 0 Offset: 834 Bit Attr Reset Value Description 31 RWS-L 0b Select Trigger This bit selects the cluster trigger output signals (ClusterTrigOut[1:0]) from this cluster and places them onto the two LSBs of the lane selected by primary lane (bits 30:27). Note: Locked by DBGBUSLCK 30:27 RWS-L 0000b Primary Lane Selection for Placement of a Trigger This field selects the lane this cluster will use to place the designated trigger enabled by bit 31. When cluster trigger out is enabled by bit 31, then the lane selected with bits 30:27 will display the CTO triggers on it’s two LSB bits – Only if this cluster supports CTO outputs. Note: Locked by DBGBUSLCK 26:24 RWS-L 000b DebugRring Source lane 8 Select This field selects the source of data to be driven to the next cluster on lane 8. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 8 onto debug ring 111 = Select debug bus lane 3 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 23:21 RWS-L 000b Debug ring source lane 7 select This field selects the source of data to be driven to the next cluster on lane 7. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 7 onto debug ring 111 = Select debug bus lane 2 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 20:18 RWS-L 000b Debug ring source lane 6 select This field selects the source of data to be driven to the next cluster on lane 6. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 6 onto debug ring 111 = Select debug bus lane 1 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 17:15 RWS-L 000b Debug ring source lane 5 select This field selects the source of data to be driven to the next cluster on lane 5. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 5 onto debug ring 111 = Select debug bus lane 0 onto debug ring Others = Reserved Note: Locked by DBGBUSLCKDatasheet, Volume 2 189
Processor Integrated I/O (IIO) Configuration Registers 14:12 RWS-L 000b Debug ring source lane 4 select This field selects the source of data to be driven to the next cluster on lane 4. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 4 onto debug ring 111 = Select debug bus lane 8 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 11:9 RWS-L 000b Debug ring source lane 3 select This field selects the source of data to be driven to the next cluster on lane 3. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 3 onto debug ring 111 = Select debug bus lane 7 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 8:6 RWS-L 000b Debug ring source lane 2 select This field selects the source of data to be driven to the next cluster on lane 2. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 2 onto debug ring 111 = Select debug bus lane 6 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 5:3 RWS-L 000b Debug ring source lane 1 select This field selects the source of data to be driven to the next cluster on lane 1. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 1 onto debug ring 111 = Select debug bus lane 5 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK 2:0 RWS-L 000b Debug ring source lane 0 select This field selects the source of data to be driven to the next cluster on lane 0. 000 = Select ring contents from previous cluster onto debug ring 001 = Select cluster outgoing data onto debug ring 010 = Select cluster incoming data onto debug ring 011 = Select debug bus lane 0 onto debug ring 111 = Select debug bus lane 4 onto debug ring Others = Reserved Note: Locked by DBGBUSLCK IRP1RNG Bus: 0 Device: 5 Function: 0 Offset: 834 Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 190 Datasheet, Volume 2
3.3.3.45 IRPEGCREDITS—R2PCIe Egress Credits Register
This register specifies the Credits used by IRP when transmitting messages to various destinations on various rings. BIOS should leave this register at default unless noted otherwise in the individual bit descriptions. These registers are made CSR only for the scenario that this might be needed for testing purposes. IRPEGCREDITS Bus: 0 Device: 5 Function: 0 Offset: 840 Bit Attr Reset Value Description 63:34 RV 0h Reserved 33:30 RW-L 8h FIFO Credits The IRP has a FIFO on the inbound path feeding the R2PCIe. This is only a staging FIFO to assist in the flow of inbound traffic. This field specifies the number of FIFO entries to use in this IRP staging FIFO. 29:28 RW-L 1h IIO to UBox NCB/NCS Credits This field specifies the number of credits allocated for IIO to UBox NCB and NCS combined. Uses entries in R2PCIe BL Pool B. 27:24 RW-L 8h IIO IDI Credits Specifies the credits used for:
- DRS to CBox These use R2PCIe BL Pool A entries. 23:22 RW-L 1h BL Egress - DRS to Intel QPI Credits 21:20 RW-L 1h AD Egress - IIO VC1 Credits This field specifies the credits used for VC1 and VCm combined. Uses R2PCIe AD Pool A credits. 19:18 RW-L 1h AD Egress - IIO VCp Credits 17:14 RW-L 9h AD Egress - IIO VC0 Write Credits 13:10 RW-L Bh AD Egress - IIO VC0 Read Credits These are the total credits allocated for read requests for VC0. There are three transaction types that can use this pool:
- Non-posted read requests (used for remote peer-to-peer) A credit from this pool will be used to send these.
- Posted read requests (used for read requests to HA, either local or remote) A credit from this pool will be used to send these. A credit from the vc0_rd_p0_cdt_threshold pool will be used.
- NDR to Intel QPI requests A credit from the qpi_ndr_cdt_threshold will be used. If more than one credit is used, then a credit will be used from this pool too. The total number of credits reserved for all three types is 12, regardless of how these registers are programmed. 9:6 RW-L 7h AD Egress – IIO VC0 Non-Posted Read Credits This field represents how many of the vc0_rd_cdt_threshold credits may be used for non-posted reads (remote peer-to-peer). Posted read requests (used for read requests to HA, either local or remote) A credit from this pool will be used to send these. A credit from the vc0_rd_cdt_threshold pool will be used. 5:3 RW-L 7h IIO to CBox NDR Credits 2:0 RW-L 4h AD Egress - IIO NDR to Intel QPI Credits These are the total credits allocated for NDR packets. NDR to Intel QPI requests
- If more than one credit is used, a credit from the vc0_rd_cdt_threshold pool will be used.
- A credit from this pool will be used. The first credit out of this pool is not shared with vc0_rd_cdt_threshold, but all additional credits are shared from that pool.Datasheet, Volume 2 191
Processor Integrated I/O (IIO) Configuration Registers
3.3.4 Global System Control and Error Registers
3.3.4.1 IRPPERRSV—IRP Protocol Error Severity Register
IRPPERRSV Bus: 0 Device: 5 Function: 2 Offset: 80 Bit Attr Reset Value Description 63:30 RV 0h Reserved 29:28 RWS 10b Protocol Parity Error (DB) 00 = Error Severity Level 0 (Correctable) 01 = Error Severity Level 1 (Recoverable) 10 = Error Severity Level 2 (Fatal) 11 = Reserved 27:26 RWS 10b Protocol Queue/Table Overflow or Underflow (DA) 00 = Error Severity Level 0 (Correctable) 01 = Error Severity Level 1 (Recoverable) 10 = Error Severity Level 2 (Fatal) 11 = Reserved 25:22 RV 0h Reserved 21:20 RWS 10b Protocol Layer Received Unexpected Response/Completion (D7) 00 = Error Severity Level 0 (Correctable) 01 = Error Severity Level 1 (Recoverable) 10 = Error Severity Level 2 (Fatal) 11 = Reserved 19:10 RV 0h Reserved 9:8 RWS 01b CSR access crossing 32-bit boundary (C3) 00 = Error Severity Level 0 (Correctable) 01 = Error Severity Level 1 (Recoverable) 10 = Error Severity Level 2 (Fatal) 11 = Reserved 7:6 RWS 01b Write Cache Un-correctable ECC (C2) 00 = Error Severity Level 0 (Correctable) 01 = Error Severity Level 1 (Recoverable) 10 = Error Severity Level 2 (Fatal) 11 = Reserved 5:4 RWS 01b Protocol Layer Received Poisoned Packet (C1) 00 = Error Severity Level 0 (Correctable) 01 = Error Severity Level 1 (Recoverable) 10 = Error Severity Level 2 (Fatal) 11 = Reserved 3:2 RWS 00b Write Cache Correctable ECC (B4) 00 = Error Severity Level 0 (Correctable) 01 = Error Severity Level 1 (Recoverable) 10 = Error Severity Level 2 (Fatal) 11 = Reserved 1:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 192 Datasheet, Volume 2
3.3.4.2 IIOERRSV—IIO Core Error Severity Register
This register associates the detected IIO internal core errors to an error severity level. An individual error is reported with the corresponding severity in this register. Software can program the error severity to one of the three severities supported by IIO. This register is sticky and can only be reset by PWRGOOD.
Processor Integrated I/O (IIO) Configuration Registers
3.3.4.4 PCIERRSV—PCIe* Error Severity Map Register
This register allows remapping of the PCIe errors to the IIO error severity.
This register provides the option to generate viral alert upon the detection of fatal error. Viral is not officially supported in the processor but am still leaving it in here because IVB might need it.
3.3.4.7 ERRPINCTL—Error Pin Control Register
This register provides the option to configure an error pin to either as a special purpose error pin that is asserted based on the detected error severity, or as a general purpose output that is asserted based on the value in the ERRPINDAT. The assertion of the error pins can also be completely disabled by this register. VIRAL Bus: 0 Device: 5 Function: 2 Offset: A0 Bit Attr Reset Value Description 31:3 RV 0h Reserved 2RWS 0b Fatal Viral Alert Enable This bit enables viral alert for Fatal Error. 0 = Disable Viral Alert for error severity 2. 1 = IIO goes viral when error severity 2 is set in the system event status register. Notes:
1. Recommendation is for BIOS to leave this bit at 0 always.
2. This is unsupported in the processor
1:0 RV 0h Reserved ERRPINCTL Bus: 0 Device: 5 Function: 2 Offset: A4 Bit Attr Reset Value Description 31:6 RV 0h Reserved 5:4 RW 00b Error[2] Pin Assertion Control 11 = Reserved 10 = Assert Error Pin when error severity 2 is set in the system event status reg. 01 = Assert and Deassert Error pin according to error pin data register. 00 = Disable Error pin assertion 3:2 RW 00b Error[1] Pin Assertion Control 11 = Reserved 10 = Assert Error Pin when error severity 1 is set in the system event status reg. 01 = Assert and Deassert Error pin according to error pin data register. 00 = Disable Error pin assertion 1:0 RW 00b Error[0] Pin Assertion Control 11 = Reserved 10 = Assert Error Pin when error severity 0 is set in the system event status reg. 01 = Assert and Deassert Error pin according to error pin data register. 00 = Disable Error pin assertionDatasheet, Volume 2 195
Processor Integrated I/O (IIO) Configuration Registers
3.3.4.8 ERRPINST—Error Pin Status Register
This register reflects the state of the error pin assertion. The status bit of the corresponding error pin is set upon the deassertion to assertion transition of the error pin. This bit is cleared by the software with writing 1 to the corresponding bit.
3.3.4.9 ERRPINDAT—Error Pin Data Register
This register provides the data value when the error pin is configured as a general purpose output. ERRPINST Bus: 0 Device: 5 Function: 2 Offset: A8 Bit Attr Reset Value Description 31:3 RV 0h Reserved 2RW1CS 0b Error[2] Pin Status This bit is set upon the transition of deassertion to assertion of the Error pin. Software write 1 to clear the status. 1RW1CS 0b Error[1] Pin Status This bit is set upon the transition of deassertion to assertion of the Error pin. Software write 1 to clear the status. 0RW1CS 0b Error[0] Pin Status This bit is set upon the transition of deassertion to assertion of the Error pin. Software write 1 to clear the status. ERRPINDAT Bus: 0 Device: 5 Function: 2 Offset: AC Bit Attr Reset Value Description 31:3 RV 0h Reserved 2RW-LB 0b Error[2] Pin Data This bit acts as the general purpose output for the Error[2] pin. Software sets/ clears this bit to assert/deassert Error[2] pin. This bit applies only when ERRPINCTL[5:4]=01; otherwise it is reserved. 0 = Deassert Error[2] pin 1 = Assert Error[2] pin 1RW-LB 0b Error[1] Pin Data This bit acts as the general purpose output for the Error[1] pin. Software sets/ clears this bit to assert/deassert Error[1] pin. This bit applies only when ERRPINCTL[3:2]=01; otherwise it is reserved. 0 = Deassert Error[1] pin 1 = Assert Error[1] pin 0RW-LB 0b Error[0] Pin Data This bit acts as the general purpose output for the Error[0] pin. Software sets/ clears this bit to assert/deassert Error[0] pin. This bit applies only when ERRPINCTL[1:0]=01; otherwise it is reserved. 0 = Deassert Error[0] pin 1 = Assert Error[0] pinProcessor Integrated I/O (IIO) Configuration Registers 196 Datasheet, Volume 2
3.3.4.10 VPPCTL—VPP Control Register
This register defines the control/command for PCA9555.
3.3.4.11 VPPSTS—VPP Status Register
This register defines the status from PCA9555. VPPCTL Bus: 0 Device: 5 Function: 2 Offset: B0 Bit Attr Reset Value Description 63:56 RV 0h Reserved 55 RWS 0b VPP Reset Mode 0 = Power good reset will reset the VPP state machines and hard reset will cause the VPP state machine to terminate at the next ’logical’ VPP stream boundary and then reset the VPP state machines 1 = Both power good and hard reset will reset the VPP state machines 54:44 RWS 000h VPP Enable When set, the VPP function for the corresponding root port is enabled. Enable Root Port [54] Port 3d [53] Port 3c [52] Port 3b [51] Port 3a [50] Port 2d [49] Port 2c [48] Port 2b [47] Port 2a [46] Port 1b [45] Port 1a [44] Port 0 (PCIe mode only) 43:0 RWS
00000h VPP Address This field assigns the VPP address of the device on the VPP interface and assigns the port address for the ports within the VPP device. There are more address bits than root ports so assignment must be spread across VPP ports. Port Addr Root Port [43] [42:40] Port 3d [39] [38:36] Port 3c [35] [34:32] Port 3b [31] [30:28] Port 3a [27] [27:24] Port 2d [23] [22:20] Port 2c [19] [18:16] Port 2b [15] [14:12] Port 2a [11] [10:8] Port 1b [7] [6:4] Port 1a [3] [2:0] Port 0 (PCIe mode only) VPPSTS Bus: 0 Device: 5 Function: 2 Offset: B8 Bit Attr Reset Value Description 31:1 RV 0h Reserved 0 RW1CS 00b VPP Error VPP Port error happened; that is, an unexpected STOP of NACK was seen on the VPP port.Datasheet, Volume 2 197
Processor Integrated I/O (IIO) Configuration Registers
3.3.4.12 GNERRST—Global Non-Fatal Error Status Register
This register indicates the non-fatal error reported to the IIO global error logic. An individual error status bit that is set indicates that a particular local interface has detected an error. GNERRST Bus: 0 Device: 5 Function: 2 Offset: 1C0 Bit Attr Reset Value Description 31:26 RV 0h Reserved 25 RW1CS 0b VTd Error Status 24 RW1CS 0b Miscellaneous Error Status 23 RW1CS 0b IIO Core Error Status This bit indicates that IIO core has detected an error. 22 RW1CS 0b DMA Error Status This bit indicates that IIO has detected an error in its DMA engine. 21 RV 0h Reserved 20 RW1CS 0b DMI Error Status This bit indicates that IIO DMI port 0 has detected an error. 19:16 RV 0h Reserved 15:5 RW1CS 000h PCIe Error Status Associated PCIe logical port has detected an error. Bit 5 = Port 0 Bit 6 = Port 1a Bit 7 = Port 1b Bit 8 = Port 2a Bit 9 = Port 2b Bit 10 = Port 2c Bit 11 = Port 2d Bit 12 = Port 3a Bit 13 = Port 3b Bit 14 = Port 3c Bit 15 = Port 3d 4:2 RV 0h Reserved 1RW1CS 0bIRP1 Coherent Interface Error 0RW1CS 0bIRP0 Coherent Interface ErrorProcessor Integrated I/O (IIO) Configuration Registers 198 Datasheet, Volume 2
3.3.4.13 GFERRST—Global Fatal Error Status Register
This register indicates the fatal error reported to the IIO global error logic. An individual error status bit that is set indicates that a particular local interface has detected an error. GFERRST Bus: 0 Device: 5 Function: 2 Offset: 1C4 Bit Attr Reset Value Description 31:26 RV 0h Reserved 25 RW1CS 0b Intel VT-d Error Status This register indicates the fatal error reported to the Intel VT-d error logic. An individual error status bit that is set indicates that a particular local interface has detected an error. 24 RV 0h Reserved 23 RW1CS 0b IIO Core Error Status This bit indicates that IIO core has detected an error. 22 RW1CS 0b DMA Error Status This bit indicates that IIO has detected an error in its DMA engine. 21 RV 0h Reserved 20 RW1CS 0b DMI Error Status This bit indicates that IIO DMI port 0 has detected an error. 19:16 RV 0h Reserved 15:5 RW1CS 000h PCIe Error Status Associated PCIe logical port has detected an error. Bit 5 = Port 0 Bit 6 = Port 1a Bit 7 = Port 1b Bit 8 = Port 2a Bit 9 = Port 2b Bit 10 = Port 2c Bit 11 = Port 2d Bit 12 = Port 3a Bit 13 = Port 3b Bit 14 = Port 3c Bit 15 = Port 3d 4:2 RV 0h Reserved 1RW1CS 0bIRP1 Coherent Interface Error 0RW1CS 0bIRP0 Coherent Interface ErrorDatasheet, Volume 2 199
Processor Integrated I/O (IIO) Configuration Registers
3.3.4.14 GERRCTL—Global Error Control Register
This register controls/masks the reporting of errors detected by the IIO local interfaces. An individual error control bit that is set masks error reporting of the particular local interface; software may set or clear the control bit. This register is sticky and can only be reset by PWRGOOD. Note that bit fields in this register can become reserved depending on the port configuration. For example, if the PCIe port is configured as 2X8 ports, then only the corresponding PCIe X8 bit fields are valid; other bits are unused and reserved. Global error control register masks errors reported from the local interface to the global register. If the an error reporting is disabled in this register, all errors from the corresponding local interface will not set any of the global error status bits. GERRCTL Bus: 0 Device: 5 Function: 2 Offset: 1C8 Bit Attr Reset Value Description 31:26 RV 0h Reserved 25 RW 0b VTd Error Mask 24 RW 0b Miscellaneous Error Mask 23 RW 0b IIO Core Error Enable This bit enables/masks the error detected in the IIO Core. 22 RW 0b DMA Error Enable This bit enables/masks the error detected in the DMA . 21 RV 0h Reserved 20 RW 0b DMI Error Enable This bit enables/masks the error detected in the DMI[0] Port. 19:16 RV 0h Reserved 15:5 RW 000h PCIe Error Mask Masks the error detected with the associated PCIe port. Bit 5 = Port 0 Bit 6 = Port 1a Bit 7 = Port 1b Bit 8 = Port 2a Bit 9 = Port 2b Bit 10 = Port 2c Bit 11 = Port 2d Bit 12 = Port 3a Bit 13 = Port 3b Bit 14 = Port 3c Bit 15 = Port 3d 4:2 RV 0h Reserved 1RW 0bIRP1 Error Mask 0RW 0b IRP0 Error Mask When set, disables logging of this errorProcessor Integrated I/O (IIO) Configuration Registers 200 Datasheet, Volume 2
3.3.4.15 GSYSST—Global System Event Status Register
This register indicates the error severity signaled by the IIO global error logic. Setting of an individual error status bit indicates that the corresponding error severity has been detected by the IIO.
3.3.4.16 GSYSCTL—Global System Event Control Register
The system event control register controls/masks the reporting the errors indicated by the system event status register. When cleared, the error severity does not cause the generation of the system event. When set, detection of the error severity generates system event(s) according to system event map register (SYSMAP).
Global Error Status Log This field logs the global error status register content when the first fatal error is reported. This has the same format as the global error status register (GFERRST).Datasheet, Volume 2 201
Processor Integrated I/O (IIO) Configuration Registers
Global Error Status Log This filed logs the global error status register content when the next fatal error is reported. This has the same format as the global error status register (GFERRST). GNFERRST Bus: 0 Device: 5 Function: 2 Offset: 1EC Bit Attr Reset Value Description 31:27 RV 0h Reserved 26:0 ROS-V
Global Error Status Log This filed logs the global error status register content when the first non-fatal error is reported. This has the same format as the global error status register (GNERRST). GNNERRST Bus: 0 Device: 5 Function: 2 Offset: 1F8 Bit Attr Reset Value Description 31:27 RV 0h Reserved 26:0 ROS-V
Global Error Status Log This filed logs the global error status register content when the subsequent non- fatal error is reported. This has the same format as the global error status register (GNERRST).Processor Integrated I/O (IIO) Configuration Registers 202 Datasheet, Volume 2
3.3.5 Local Error Registers
3.3.5.1 IRPP0ERRST—IRP Protocol Error Status Register
This register indicates the error detected by the Coherent Interface.
3.3.5.2 IRPP0ERRCTL—IRP Protocol Error Control Register
This register enables the error status bit setting for a Coherent Interface detected error. Setting of the bit enables the setting of the corresponding error status bit in IRPPERRST register. If the bit is cleared, the corresponding error status will not be set. IRPP0ERRST Bus: 0 Device: 5 Function: 2 Offset: 230 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 RW1CS 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface; however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 RW1CS 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 RW1CS 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4RW1CS 0bCSR access crossing 32-bit boundary (C3) 3RW1CS 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2RW1CS 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface. 1RW1CS 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReserved IRPP0ERRCTL Bus: 0 Device: 5 Function: 2 Offset: 234 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 RWS 0b Protocol Parity Error (DB) 0 = Disable error status logging for this error 1 = Enable Error status logging for this error 13 RWS 0b Protocol Queue/Table Overflow or Underflow (DA) 0 = Disable error status logging for this error 1 = Enable Error status logging for this error 12:11 RV 0h Reserved 10 RWS 0b Protocol Layer Received Unexpected Response/Completion (D7) 0 = Disable error status logging for this error 1 = Enable Error status logging for this error 9:5 RV 0h ReservedDatasheet, Volume 2 203
Processor Integrated I/O (IIO) Configuration Registers
3.3.5.3 IRPP0FFERRST—IRP Protocol Fatal FERR Status Register
The error status log indicates which error is causing the report of the first fatal error event. 4RWS 0b CSR Access Crossing 32-bit Boundary (C3) 0 = Disable error status logging for this error 1 = Enable Error status logging for this error 3RWS 0b Write Cache Un-correctable ECC (C2) 0 = Disable error status logging for this error 1 = Enable Error status logging for this error 2RWS 0b Protocol Layer Received Poisoned Packet (C1) 0 = Disable error status logging for this error 1 = Enable Error status logging for this error 1RWS 0b Write Cache Correctable ECC (B4) 0 = Disable error status logging for this error 1 = Enable Error status logging for this error 0RV 0hReserved IRPP0ERRCTL Bus: 0 Device: 5 Function: 2 Offset: 234 Bit Attr Reset Value Description IRPP0FFERRST Bus: 0 Device: 5 Function: 2 Offset: 238 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 ROS-V 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface; however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 ROS-V 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 ROS-V 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4ROS-V 0bCSR Access Crossing 32-bit Boundary (C3) 3ROS-V 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2ROS-V 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface. 1ROS-V 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReservedProcessor Integrated I/O (IIO) Configuration Registers 204 Datasheet, Volume 2
3.3.5.4 IRPP0FNERRST—IRP Protocol Fatal NERR Status Register
The error status log indicates which error is causing the report of the next fatal error event (any event that is not the first).
3.3.5.5 IRPP0FFERRHD[0:3]—IRP Protocol Fatal FERR Header
Log 0 Register IRPP0FNERRST Bus: 0 Device: 5 Function: 2 Offset: 23C Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 ROS-V 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface; however, no parity checks exist. Thus, this logs parity errors on data from the IIO switch on the inbound path. 13 ROS-V 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 ROS-V 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4ROS-V 0bCSR Access Crossing 32-bit Boundary (C3) 3ROS-V 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2ROS-V 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface. 1ROS-V 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReserved IRPP0FFERRHD[0:3] Bus: 0 Device: 5 Function: 2 Offset: 240, 244, 248, 24C Bit Attr Reset Value Description 31:0 ROS-V
00h Log of Header DWord 0 Logs the first DWord of the header on an error conditionDatasheet, Volume 2 205
Processor Integrated I/O (IIO) Configuration Registers
3.3.5.6 IRPP0NFERRST—IRP Protocol Non-Fatal FERR Status Register
The error status log indicates which error is causing the report of the first non-fatal error event.
3.3.5.7 IRPP0NNERRST—IRP Protocol Non-Fatal NERR Status Register
The error status log indicates which error is causing the report of the next non-fatal error event (any event that is not the first). IRPP0NFERRST Bus: 0 Device: 5 Function: 2 Offset: 250 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 ROS-V 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface; however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 ROS-V 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 ROS-V 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4ROS-V 0bCSR access crossing 32-bit boundary (C3) 3ROS-V 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2ROS-V 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface. 1ROS-V 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReserved IRPP0NNERRST Bus: 0 Device: 5 Function: 2 Offset: 254 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 ROS-V 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface; however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 ROS-V 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 ROS-V 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4ROS-V 0bCSR Access Crossing 32-bit Boundary (C3) 3ROS-V 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2ROS-V 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface.Processor Integrated I/O (IIO) Configuration Registers 206 Datasheet, Volume 2
1ROS-V 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReserved IRPP0NFERRHD[0:3] Bus: 0 Device: 5 Function: 2 Offset: 258, 25C, 260, 264 Bit Attr Reset Value Description 31:0 ROS-V
00h Log of Header DWord 0 Logs the first DWord of the header on an error condition IRPP0ERRCNTSEL Bus: 0 Device: 5 Function: 2 Offset: 268 Bit Attr Reset Value Description 31:19 RV 0h Reserved 18:0 RW 00000h Select Error Events for Counting See IRPP0ERRST for per bit description of each error. Each bit in this field has the following behavior: 0 = Do not select this error type for error counting 1 = Select this error type for error counting IRPP0ERRCNT Bus: 0 Device: 5 Function: 2 Offset: 26C Bit Attr Reset Value Description 31:8 RV 0h Reserved 7RW1CS 0b ERROVF: Error Accumulator Overflow 0 = No overflow occurred 1 = Error overflow. The error count may not be valid. 6:0 RW1CS 00h Error Accumulator (Counter) This counter accumulates errors that occur when the associated error type is selected in the ERRCNTSEL register. Notes:
1. This register is cleared by writing 7Fh.
Processor Integrated I/O (IIO) Configuration Registers
3.3.5.11 IRPP1ERRST—IRP Protocol Error Status Register
This register indicates the error detected by the Coherent Interface. IRPP1ERRST Bus: 0 Device: 5 Function: 2 Offset: 2B0 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 RW1CS 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface; however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 RW1CS 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 RW1CS 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4RW1CS 0bCSR Access Crossing 32-bit Boundary (C3) 3RW1CS 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2RW1CS 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface. 1RW1CS 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReservedProcessor Integrated I/O (IIO) Configuration Registers 208 Datasheet, Volume 2
Processor Integrated I/O (IIO) Configuration Registers
3.3.5.13 IRPP1FFERRST—IRP Protocol Fatal FERR Status Register
The error status log indicates which error is causing the report of the first fatal error event.
3.3.5.14 IRPP1FNERRST—IRP Protocol Fatal NERR Status Register
The error status log indicates which error is causing the report of the next fatal error event (any event that is not the first). IRPP1FFERRST Bus: 0 Device: 5 Function: 2 Offset: 2B8 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 ROS-V 0b Protocol Parity Error (DB) This bit was Originally used for detecting parity error on coherent interface; however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 ROS-V 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 ROS-V 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4ROS-V 0bCSR Access Crossing 32-bit Boundary (C3) 3ROS-V 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2ROS-V 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface. 1ROS-V 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReserved IRPP1FNERRST Bus: 0 Device: 5 Function: 2 Offset: 2BC Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 ROS-V 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface; however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 ROS-V 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 ROS-V 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4ROS-V 0bCSR Access Crossing 32-bit Boundary (C3) 3ROS-V 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2ROS-V 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface.Processor Integrated I/O (IIO) Configuration Registers 210 Datasheet, Volume 2
The error status log indicates which error is causing the report of the first non-fatal error event. 1ROS-V 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReserved IRPP1FFERRHD[0:3] Bus: 0 Device: 5 Function: 2 Offset: 2C0, 2C4, 2C8, 2CC Bit Attr Reset Value Description 31:0 ROS-V
00h Log of Header DWord 0 Logs the first DWord of the header on an error condition IRPP1FNERRST Bus: 0 Device: 5 Function: 2 Offset: 2BC Bit Attr Reset Value Description IRPP1NFERRST Bus: 0 Device: 5 Function: 2 Offset: 2D0 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 ROS-V 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface: however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 ROS-V 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 ROS-V 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4ROS-V 0bCSR Access Crossing 32-bit Boundary (C3) 3ROS-V 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2ROS-V 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface. 1ROS-V 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReservedDatasheet, Volume 2 211
Processor Integrated I/O (IIO) Configuration Registers
3.3.5.17 IRPP1NNERRST—IRP Protocol Non-Fatal NERR Status Register
The error status log indicates which error is causing the report of the next non-fatal error event (any event that is not the first).
IRPP1NNERRST Bus: 0 Device: 5 Function: 2 Offset: 2D4 Bit Attr Reset Value Description 31:15 RV 0h Reserved 14 ROS-V 0b Protocol Parity Error (DB) This bit was originally used for detecting parity error on coherent interface: however, no parity checks exist. Thus, this bit logs parity errors on data from the IIO switch on the inbound path. 13 ROS-V 0b Protocol Queue/Table Overflow or Underflow (DA) 12:11 RV 0h Reserved 10 ROS-V 0b Protocol Layer Received Unexpected Response/Completion (D7) A completion has been received from the Coherent Interface that was unexpected. 9:5 RV 0h Reserved 4ROS-V 0bCSR Access Crossing 32-bit Boundary (C3) 3ROS-V 0b Write Cache Un-correctable ECC (C2) A double bit ECC error was detected within the Write Cache. 2ROS-V 0b Protocol Layer Received Poisoned Packet (C1) A poisoned packet has been received from the Coherent Interface. 1ROS-V 0b Write Cache Correctable ECC (B4) A single bit ECC error was detected and corrected within the Write Cache. 0RV 0hReserved IRPP1NFERRHD[0:3] Bus: 0 Device: 5 Function: 2 Offset: 2D8, 2DC, 2E0, 2E4 Bit Attr Reset Value Description 31:0 ROS-V
00h Log of Header DWord 0 Logs the first DWord of the header on an error condition IRPP1ERRCNTSEL Bus: 0 Device: 5 Function: 2 Offset: 2E8 Bit Attr Reset Value Description 31:19 RV 0h Reserved 18:0 RW 00000h Select Error Events for Counting See IRPP0ERRST for per bit description of each error. Each bit in this field has the following behavior: 0 = Do not select this error type for error counting 1 = Select this error type for error countingProcessor Integrated I/O (IIO) Configuration Registers 212 Datasheet, Volume 2
This register indicates the IIO internal core errors detected by the IIO error logic. An individual error status bit that is set indicates that a particular error occurred; software may clear an error status by writing a 1 to the respective bit. This register is sticky and can only be reset by PWRGOOD. Clearing of the IIO**ERRST is done by clearing the corresponding IIOERRST bits.
3.3.5.22 IIOERRCTL—IIO Core Error Control Register
This register controls the reporting of IIO internal core errors detected by the IIO error logic. An individual error control bit that is cleared masks reporting of that a particular error; software may set or clear the respective bit. This register is sticky and can only be reset by PWRGOOD. IRPP1ERRCNT Bus: 0 Device: 5 Function: 2 Offset: 2EC Bit Attr Reset Value Description 31:8 RV 0h Reserved 7RW1CS 0b Error Accumulator Overflow 0 = No overflow occurred 1 = Error overflow. The error count may not be valid. 6:0 RW1CS 00h Error Accumulator (Counter) This counter accumulates errors that occur when the associated error type is selected in the ERRCNTSEL register. Notes:
1. This register is cleared by writing 7Fh.
Processor Integrated I/O (IIO) Configuration Registers
Header log stores the IIO data path header information of the associated IIO core error. The header indicates where the error is originating from and the address of the cycle.
00h Log of Header DWord 0 Logs the first DWord of the header on an error condition IIOFNERRST Bus: 0 Device: 5 Function: 2 Offset: 31C Bit Attr Reset Value Description 31:7 RV 0h Reserved 6:0 ROS-V 00h IIO Core Error Status Log The error status log indicates which error is causing the report of the first error event. The encoding indicates the corresponding bit position of the error in the error status register. IIONFERRST Bus: 0 Device: 5 Function: 2 Offset: 320 Bit Attr Reset Value Description 31:7 RV 0h Reserved 6:0 ROS-V 00h IIO Core Error Status Log The error status log indicates which error is causing the report of the first error event. The encoding indicates the corresponding bit position of the error in the error status register.Processor Integrated I/O (IIO) Configuration Registers 214 Datasheet, Volume 2
3.3.5.27 IIONFERRHD[0:3]—IIO Core Non-Fatal FERR Header Register
Header log stores the IIO data path header information of the associated IIO core error. The header indicates where the error is originating from and the address of the cycle.
Processor Integrated I/O (IIO) Configuration Registers
IIOERRCNT Bus: 0 Device: 5 Function: 2 Offset: 340 Bit Attr Reset Value Description 31:8 RV 0h Reserved 7RW1CS 0b Error Accumulator Overflow 0 = No overflow occurred 1 = Error overflow. The error count may not be valid. 6:0 RW1CS 00h Error Accumulator This counter accumulates errors that occur when the associated error type is selected in the ERRCNTSEL register. Notes:
1. This register is cleared by writing 7Fh.
2. Maximum counter available is 127d (7Fh).
MIERRST Bus: 0 Device: 5 Function: 2 Offset: 380 Bit Attr Reset Value Description 31:5 RV 0h Reserved 4RW1CS 0bDFx Injected Error 3RW1CS 0bVPP Error Status 2RW1CS 0bJTAG Tap Port Status 1RW1CS 0b SMBus Port Status (not used) This bit will never be set since there is no longer an SMBus slave device. 0RW1CS 0bConfig Register Parity Error MIERRCTL Bus: 0 Device: 5 Function: 2 Offset: 384 Bit Attr Reset Value Description 31:5 RV 0h Reserved 4RWS 0bDFx Injected Error Enable 3RWS 0bVPP Error Status Enable 2RWS 0bJTAG Tap Port Status Enable 1RWS 0b SMBus Port Status Enable This bit has no effect. 0RWS 0bConfig Register Parity Error EnableProcessor Integrated I/O (IIO) Configuration Registers 216 Datasheet, Volume 2
3.3.5.33 MIFFERRST—Miscellaneous Fatal First Error Status Register
3.3.5.34 MIFFERRHDR_[0:3]—Miscellaneous Fatal First Error Header 0
3.3.5.35 MIFNERRST—Miscellaneous Fatal Next Error Status Register
3.3.5.36 MINFERRST—Miscellaneous Non-Fatal First Error Status Register
Processor Integrated I/O (IIO) Configuration Registers
3.3.5.37 MINFERRHDR_[0:3]—Miscellaneous Non-Fatal First Error
Header 0 Log Register
3.3.5.38 MINNERRST—Miscellaneous Non-Fatal Next Error Status Register
3.3.5.39 MIERRCNTSEL—Miscellaneous Error Count Select Register
3.3.5.40 MIERRCNT—Miscellaneous Error Counter Register
00h Header MINNERRST Bus: 0 Device: 5 Function: 2 Offset: 3B4 Bit Attr Reset Value Description 31:11 RV 0h Reserved 10:0 ROS-V 000h Miscellaneous Error Status Log MIERRCNTSEL Bus: 0 Device: 5 Function: 2 Offset: 3BC Bit Attr Reset Value Description 31:5 RV 0h Reserved 4RW 0bDFx Injected Error Count Select 3RW 0bVPP Error Status Count Select 2RW 0bJTAG Tap Port Status Count Select 1RW 0b SMBus Port Status Count Select This bit has no effect. 0RW 0bConfig Register Parity Error Count Select MIERRCNT Bus: 0 Device: 5 Function: 2 Offset: 3C0 Bit Attr Reset Value Description 31:8 RV 0h Reserved 7RW1CS 0b Error Accumulator Overflow 0 = No overflow occurred 1 = Error overflow. The error count may not be valid. 6:0 RW1CS 00h Error Accumulator This counter accumulates errors that occur when the associated error type is selected in the ERRCNTSEL register. Notes:
1. This register is cleared by writing 7Fh.
This section covers the I/OxAPIC related registers
MBAR Bus: 0 Device: 5 Function: 4 Offset: 10 Bit Attr Reset Value Description 31:12 RW 0h BAR This marks the 4 KB aligned 32-bit base address for memory-mapped registers of I/OxAPIC Note: Any accesses using message channel or JTAG mini port to registers pointed to by the MBAR address, are not gated by MSE bit (in PCICMD register) being set; that is, even if MSE bit is a 0, message channel accesses to the registers pointed to by MBAR address are allowed/completed normally. 11:4 RO 0h Reserved 3RO 0b Prefetchable The IOxAPIC registers are not prefetchable. 2:1 RO 00b Type The IOAPIC registers can only be placed below 4G system address space. 0RO 0b Memory Space This Base Address Register indicates memory space. SVID Bus: 0 Device: 5 Function: 4 Offset: 2C Bit Attr Reset Value Description 15:0 RW-O 8086h Subsystem Vendor Identification Number. The default value specifies Intel but can be set to any value once after reset. SDID Bus: 0 Device: 5 Function: 4 Offset: 2E Bit Attr Reset Value Description 15:0 RW-O 0000h Subsystem Device Identification Number Assigned by the subsystem vendor to uniquely identify the subsystemDatasheet, Volume 2 219
Processor Integrated I/O (IIO) Configuration Registers
3.3.6.4 INTL—Interrupt Line Register
3.3.6.5 INTPIN—Interrupt Pin Register - Others
3.3.6.6 ABAR—I/OxAPIC Alternate BAR Register
INTL Bus: 0 Device: 5 Function: 4 Offset: 3C Bit Attr Reset Value Description 7:0 RO 00h Interrupt Line Not applicable for these devices INTPIN Bus: 0 Device: 5 Function: 4 Offset: 3D Bit Attr Reset Value Description 7:0 RO 00h Interrupt Pin Not applicable since these devices do not generate any interrupt on their own ABAR Bus: 0 Device: 5 Function: 4 Offset: 40 Bit Attr Reset Value Description 15 RW 0b ABAR Enable When set, the range FECX_YZ00 to FECX_YZFF is enabled as an alternate access method to the IOxAPIC registers and these addresses are claimed by the IIO’s internal I/OxAPIC, regardless of the setting the MSE bit in the I/OxAPIC configuration space. Bits ’XYZ’ are defined below. Note: Any accesses using message channel or JTAG mini port to registers pointed to by the ABAR address, are not gated by this bit being set. That is, even if this bit is a 0, message channel accesses to the registers pointed to by ABAR address are allowed/completed normally. 14:12 RO 0h Reserved 11:8 RW 0h Base Address [19:16] (XBAD) These bits determine the high order bits of the I/O APIC address map. When a memory address is recognized by the IIO which matches FECX_YZ00-to- FECX_YZFF, the IIO will respond to the cycle and access the internal I/O APIC. 7:4 RW 0h Base Address [15:12] (YBAD) These bits determine the low order bits of the I/O APIC address map. When a memory address is recognized by the IIO which matches FECX_YZ00-to- FECX_YZFF, the IIO will respond to the cycle and access the internal I/O APIC. 3:0 RW 0h Base Address [11:8] (ZBAD) These bits determine the low order bits of the I/O APIC address map. When a memory address is recognized by the IIO which matches FECX_YZ00-to- FECX_YZFF, the IIO will respond to the cycle and access the internal I/O APIC.Processor Integrated I/O (IIO) Configuration Registers 220 Datasheet, Volume 2
PMCAP Bus: 0 Device: 5 Function: 4 Offset: 6C Bit Attr Reset Value Description 31:27 RO 0h PME Support Bits 31, 30, and 27 must be set to 1 for PCI-PCI bridge structures representing ports on root complexes. 26 RO 0b D2 Support I/OxAPIC does not support power management state D2. 25 RO 0b D1 Support I/OxAPIC does not support power management state D1. 24:22 RO 0h AUX Current 21 RO 0b Device Specific Initialization 20 RV 0h Reserved 19 RO 0b PME Clock This field is hardwired to 0h as it does not apply to PCI Express. 18:16 RW-O 011b Version This field is set to 3h (PM 1.2 compliant) as version number. The bits are RW-O to make the version 2h incase legacy operating systems have any issues. 15:8 RO 00h Next Capability Pointer This is the last capability in the chain and hence set to 0. 7:0 RO 01h Capability ID This field provides the PM capability ID assigned by PCI-SIG. PMCSR Bus: 0 Device: 5 Function: 4 Offset: 70 Bit Attr Reset Value Description 31:24 RO 00h Data Not relevant for I/OxAPIC 23 RO 0h Bus Power/Clock Control Enable Not relevant for I/OxAPIC 22 RO 0h B2/B3 Support Not relevant for I/OxAPIC 21:16 RV 0h Reserved 15 RO 0h PME Status Not relevant for I/OxAPIC 14:13 RO 0h Data Scale Not relevant for I/OxAPIC 12:9 RO 0h Data Select Not relevant for I/OxAPIC 8RO 0h PME Enable Not relevant for I/OxAPIC 7:4 RV 0h ReservedDatasheet, Volume 2 221
Processor Integrated I/O (IIO) Configuration Registers
3.3.6.9 RDINDEX—Alternate Index to read Indirect I/OxAPIC Register
3.3.6.10 RDWINDOW—Alternate Window to read Indirect
I/OxAPIC Register 3RO 1b No Soft Reset This bit indicates I/OxAPIC does not reset its registers when transitioning from D3hot to D0. 2RV 0hReserved 1:0 RW-V 0h Power State This 2-bit field is used to determine the current power state of the function and to set a new power state as well. 00 = D0 01 = D1 (not supported by IOAPIC) 10 = D2 (not supported by IOAPIC) 11 = D3_hot If Software tries to write 01 or 10 to this field, the power state does not change from the existing power state (which is either D0 or D3hot), nor do these bits 1:0 change value. When in D3hot state, I/OxAPIC will
- respond to only Type 0 configuration transactions targeted at the device’s configuration space, when in D3hot state
- will not respond to memory (That is, D3hot state is equivalent to MSE ) accesses to MBAR region. Note: ABAR region access still go through in D3hot state, if it enabled.
- will not generate any MSI writes RDINDEX Bus: 0 Device: 5 Function: 4 Offset: 80 Bit Attr Reset Value Description 7:0 RW 0h Index When PECI/JTAG wants to read the indirect RTE registers of I/OxAPIC, this register is used to point to the index of the indirect register, as defined in the I/OxAPIC indirect memory space. Software writes to this register and then does a read of the RDWINDOW register to read the contents at that index. Note: Hardware does not preclude software from accessing this register over the coherent interface, but that is not what this register is defined for. RDWINDOW Bus: 0 Device: 5 Function: 4 Offset: 90 Bit Attr Reset Value Description 31:0 RO 0h Window When SMBUS/JTAG reads this register, the data contained in the indirect register pointed to by the RDINDEX register is returned on the read. PMCSR Bus: 0 Device: 5 Function: 4 Offset: 70 Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 222 Datasheet, Volume 2
IOAPICTETPC Bus: 0 Device: 5 Function: 4 Offset: A0 Bit Attr Reset Value Description 31:17 RV 0h Reserved 16 RW 0b CB DMA Channel 0 IntA Interrupt Assignment 0 = src/int is connected to IOAPIC table entry 7 1 = src/int is connected to IOAPIC table entry 23 15:13 RV 0h Reserved 12 RW 0b NTB Interrupt Assignment 0 = src/int is connected to IOAPIC table entry 16 1 = src/int is connected to IOAPIC table entry 23 11 RV 0h Reserved 10 RW 0b Port 3c IntB Interrupt Assignment 0 = src/int is connected to IOAPIC table entry 21 1 = src/int is connected to IOAPIC table entry 19 9RV 0hReserved 8RW 0b Port 3a IntB Interrupt Assignment 0 = src/int is connected to IOAPIC table entry 20 1 = src/int is connected to IOAPIC table entry 17 7RV 0hReserved 6RW 0b Port 2c IntB Interrupt Assignment 0 = src/int is connected to IOAPIC table entry 13 1 = src/int is connected to IOAPIC table entry 11 5RV 0hReserved 4RW 0b Port 2a IntB Interrupt Assignment 0 = src/int is connected to IOAPIC table entry 12 1 = src/int is connected to IOAPIC table entry 9 3:1 RV 0h Reserved 0RW 0b Port 0 IntB Interrupt Assignment 0 = src/int is connected to IOAPIC table entry 1 1 = src/int is connected to IOAPIC table entry 3 IOADSELS0 Bus: 0 Device: 5 Function: 4 Offset: 288 Bit Attr Reset Value Description 31:29 RV 0h Reserved 28 RWS 0b SW2IPC AER Negative Edge Mask 27 RWS 0b SW2IPC AER Event Select 26:0 RWS 0h gttcfg2SIpcIOADels0[26:0]Datasheet, Volume 2 223
Processor Integrated I/O (IIO) Configuration Registers
3.3.6.16 IOREMINTCNT—Remote IO Interrupt Count Register
Number of remote interrupts D received 23:16 RW 0h
Number of remote interrupts C received 15:8 RW 0h
Number of remote interrupts B received 7:0 RW 0h
Number of remote interrupts A receivedDatasheet, Volume 2 225
Processor Integrated I/O (IIO) Configuration Registers
Number of remote HPGPEs received 15:8 RW 0h
Number of remote PMGPEs received 7:0 RW 0h
3.3.7 I/OxAPIC Memory Mapped Registers
I/OxAPIC has a direct memory mapped space. An index/data register pair is located within the directed memory mapped region and is used to access the redirection table entries. provides the direct memory mapped registers of the I/OxAPIC. The offsets shown in the table are from the base address in either ABAR or MBAR or both. Accesses to addresses beyond 40h return all 0s. Only addresses up to offset FFh can be accessed using the ABAR register; whereas offsets up to FFFh can be accessed using MBAR. Only aligned DWord reads and write are allowed towards the I/OxAPIC memory space. Any other accesses will result in an error. Table 3-19. I/OxAPIC Direct Memory Mapped Registers INDX 0h
The Index Register will select which indirect register appears in the window register to be manipulated by software. Software will program this register to select the desired APIC internal register.
3.3.7.2 WNDW—Window Register
3.3.7.3 PAR—Pin Assertion Register
00h Data Data to be written to the indirect register on writes, and location of read data from the indirect register on reads. Note: Locked in D3hot state. PAR Bus: 0 Device: 5 Function: 4 MMIO BAR: MBAR Offset: 20 Bit Attr Reset Value Description 7:0 RO 0h Pin Assertion IIO does not allow writes to the PAR to cause MSI interrupts.Datasheet, Volume 2 229
Processor Integrated I/O (IIO) Configuration Registers
This register uniquely identifies an APIC in the system. This register is not used by operating systems anymore and is still implemented in hardware because of FUD.
3.3.7.6 VER—Version Register
This register uniquely identifies an APIC in the system. This register is not used by operating systems anymore and is still implemented in hardware because of FUD. EOI Bus: 0 Device: 5 Function: 4 MMIO BAR: MBAR Offset: 40 Bit Attr Reset Value Description 7:0 RW-L 00h EOI The EOI register is present to provide a mechanism to efficiently convert level interrupts to edge triggered MSI interrupts. When a write is issued to this register, the I/O(x)APIC will check the lower 8 bits written to this register, and compare it with the vector field for each entry in the I/O Redirection Table. When a match is found, the Remote_IRR bit for that I/O Redirection Entry will be cleared. If multiple I/O Redirection entries, for any reason, assign the same vector, each of those entries will have the Remote_IRR bit reset to 0. This will cause the corresponding I/OxAPIC entries to resample their level interrupt inputs and if they are still asserted, cause more MSI interrupt(s) (if unmasked) which will again set the Remote_IRR bit. Note: Locked in D3hot state APICID Bus: 0 Device: 5 Function: 4 MMIO BAR: WINDOW_0 Offset: 0 Bit Attr Reset Value Description 27:24 RW 0b APICID Allows for up to 16 unique APIC IDs in the system. 23:0 RV 0h Reserved 7:28 RV 0h Reserved VER Bus: 0 Device: 5 Function: 4 MMIO BAR: WINDOW_0 Offset: 1 Bit Attr Reset Value Description 23:16 RO 17h Maximum Redirection Entries This is the entry number of the highest entry in the redirection table. It is equal to the number of interrupt inputs minus one. This field is hardwired to 17h to indicate 24 interrupts. 15 RO 0b IRQ Assertion Register Supported This bit is set to 0 to indicate that this version of the I/OxAPIC does not implement the IRQ Assertion register and does not allow PCI devices to write to it to cause interrupts. 14:8 RV 0h Reserved 7:0 RO 20h Version This identifies the implementation version. This field is hardwired to 20h indicate this is an I/OxAPIC. 7:24 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 230 Datasheet, Volume 2
3.3.7.7 ARBID—Arbitration ID Register
This is a legacy register carried over from days of serial bus interrupt delivery. This register has no meaning in IIO. It just tracks the APICID register for compatibility reasons.
3.3.7.8 BCFG—Boot Configuration Register
ARBID Bus: 0 Device: 5 Function: 4 MMIO BAR: WINDOW_0 Offset: 2 Bit Attr Reset Value Description 27:24 RO 0b Arbitration ID Just tracks the APICID register. 23:0 RV 0h Reserved 7:28 RV 0h Reserved BCFG Bus: 0 Device: 5 Function: 4 MMIO BAR: WINDOW_0 Offset: 3 Bit Attr Reset Value Description 7:1 RV 0h Reserved 0RW 1b Boot Configuration This bit is default = 1 to indicate FSB delivery mode. A value of 0 has no effect. Its left as RW for software compatibility reasons.Datasheet, Volume 2 231
Processor Integrated I/O (IIO) Configuration Registers
3.3.7.9 RTL[0:23]—Redirection Table Low DWord Register
The information in this register along with Redirection Table High DWord register is used to construct the MSI interrupt. There is one of these pairs of registers for every interrupt. The first interrupt has the redirection registers at offset 10h. The second interrupt at 12h, third at 14h, etc. until the final interrupt (interrupt 23) at 3Eh. RTL[0:23] Bus: 0 Device: 5 Function: 4 MMIO BAR: WINDOW_0 Offset: 10 Bit Attr Reset Value Description 17 RW 0b Disable Flushing This bit has no meaning in IIO. This bit is RW for software compatibility reasons only 16 RW 1b Mask When cleared, an edge assertion or level (depending on bit 15 in this register) on the corresponding interrupt input results in delivery of an MSI interrupt using the contents of the corresponding redirection table high/low entry. When set, an edge or level on the corresponding interrupt input does not cause MSI Interrupts and no MSI interrupts are held pending as well (that is, if an edge interrupt asserted when the mask bit is set, no MSI interrupt is sent and the hardware does not remember the event to cause an MSI later when the mask is cleared). When set, assertion/deassertion of the corresponding interrupt input causes Assert/ Deassert_INTx messages to be sent to the legacy ICH, provided the ’Disable PCI INTx Routing to ICH’ bit is clear. If the latter is set, Assert/Deassert_INTx messages are not sent to the legacy ICH. When mask bit goes from 1 to 0 for an entry and the entry is programmed for level input, the input is sampled and if asserted, an MSI is sent. Also, if an Assert_INTx message was previously sent to the legacy ICH/internal-coalescing logic on behalf of the entry, when the mask bit is clear, then a Deassert_INTx event is scheduled on behalf of the entry (whether this event results in a Deassert_INTx message to the legacy ICH depends on whether there were other outstanding Deassert_INTx messages from other sources). When the mask bit goes from 0 to 1, and the corresponding interrupt input is already asserted, an Assert_INTx event is scheduled on behalf of the entry. Note though that if the interrupt is deasserted when the bit transitions from 0 to 1, a Deassert_INTx is not scheduled on behalf of the entry. 15 RW 0b Trigger Mode This field indicates the type of signal on the interrupt input that triggers an interrupt. 0 = Indicates edge sensitive 1 = Indicates level sensitive. 14 RO 0b Remote IRR This bit is used for level triggered interrupts; its meaning is undefined for edge triggered interrupts. For level triggered interrupts, this bit is set when an MSI interrupt has been issued by the I/OxAPIC into the system fabric (noting that if BME bit is clear or when the mask bit is set, no new MSI interrupts cannot be generated and this bit cannot transition from 0 to 1 in those conditions). It is reset (if set) when an EOI message is received from a local APIC with the appropriate vector number, at which time the level interrupt input corresponding to the entry is resampled causing one more MSI interrupt (if other enable bits are set) and causing this bit to be set again. 13 RW 0b Interrupt Input Pin Polarity 0 = Active high 1 = Active low Strictly, speaking this bit has no meaning in IIO since the Assert/Deassert_INTx messages are level in-sensitive. But the core I/OxAPIC logic that is reused from PXH might be built to use this bit to determine the correct polarity. Most operating systems today support only active low interrupt inputs for PCI devices. Given that, the OS is expected to program a 1 into this register and so the ’internal’ virtual wire signals in the IIO need to be active low (that is, 0=asserted and 1=deasserted).Processor Integrated I/O (IIO) Configuration Registers 232 Datasheet, Volume 2
3.3.7.10 RTH[0:23]—Redirection Table High DWord Register
12 RO 0b Delivery Status When trigger mode is set to level and the entry is unmasked, this bit indicates the state of the level interrupt. That is, 1b if interrupt is asserted; else 0b. When the trigger mode is set to level but the entry is masked, this bit is always 0b. This bit is always 0b when trigger mode is set to edge. 11 RW 0b Destination Mode
0 - Physical1 - Logical
10:8 RW 0b Delivery Mode This field specifies how the APICs listed in the destination field should act upon reception of the interrupt. Certain Delivery modes will only operate as intended when used in conjunction with a specific trigger mode. The encodings are: 000 = Fixed: Trigger mode can be edge or level. Examine TM bit to determine. 001 = Lowest Priority: Trigger mode can be edge or level. Examine TM bit to determine. 010 = SMI/PMI: Trigger mode is always edge and TM bit is ignored. 011 = Reserved 100 = NMI. Trigger mode is always edge and TM bit is ignored. 101 = INIT. Trigger mode is always edge and TM bit is ignored. 110 = Reserved 111 = ExtINT. Trigger mode is always edge and TM bit is ignored. 7:0 RW 0h Vector This field contains the interrupt vector for this interrupt 7:18 RV 0h Reserved RTH[0:23] Bus: 0 Device: 5 Function: 4 MMIO BAR: WINDOW_0 Offset: 11 Bit Attr Reset Value Description 31:24 RW 00h Destination ID They are bits [19:12] of the MSI address. 23:16 RW 00h Extended Destination ID These bits become bits [11:4] of the MSI address. 15:0 RV 0h Reserved 7:32 RV 0h Reserved RTL[0:23] Bus: 0 Device: 5 Function: 4 MMIO BAR: WINDOW_0 Offset: 10 Bit Attr Reset Value DescriptionDatasheet, Volume 2 233
Processor Integrated I/O (IIO) Configuration Registers
VT-d Memory Mapped Register Intel VT-d registers are all addressed using aligned DWord or aligned QWord accesses. Any combination of bits is allowed within a DWord or QWord access. The Intel VT-d remap engine registers corresponding to the non-Isochronous port represented by Device 0, occupy the first 4 K of offset starting from the base address defined by VTBAR register. The Intel VT-d Isochronous remap engine registers occupies the second 4 K of offset starting from the base address. Figure 3-3. Base Address of Intel VT-d Remap Engines Non-Isoch Intel VT-d Isoch Intel VT-d VT_BAR VT_ BAR + 8 KB Total VT_ BAR + 4KBProcessor Integrated I/O (IIO) Configuration Registers 234 Datasheet, Volume 2 Table 3-21. Intel
VT-d Memory Mapped Registers – 00h–FFh (VTD0) VTD0_VERSION 0h
VT-d Memory Mapped Registers – 100h–1FCh (VTD0)
VT-d Memory Mapped Registers – 1000h–11FCh (VTD1) VTD1_VERSION 1000h
VT-d Memory Mapped Registers – 1100h–11FCh (VTD1)
Processor Integrated I/O (IIO) Configuration Registers
VT-d Capabilities Register VTD0_VERSION Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 0h Bit Attr Reset Value Description 31:8 RV 0h Reserved 7:4 RO 1h Major Revision 3:0 RO 0h Minor Revision VTD0_CAP Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 8h Bit Attr Reset Value Description 63:56 RV 0h Reserved 55 RO 1b DMA Read Draining The processor supports hardware based draining 54 RO 1b DMA Write Draining The processor supports hardware based write draining 53:48 RO 12h MAMV The processor support MAMV value of 12h (up to 1G super pages). 47:40 RO 07h Number of Fault Recording Registers The processor supports 8 fault recording registers 39 RO 1b Page Selective Invalidation Supported in IIO 38 RV 0h Reserved 37:34 RWO 3h Super Page Support 2 MB, 1G supported. 33:24 RO 10h Fault Recording Register Offset Fault registers are at offset 100h 23 RW-O 0b ISOCH Remapping Engine has ISOCH Support. Note: This bit used to be for "Spatial Separation". This is no longer the case. 22 RWO 1b ZLR ZLR: Zero-length DMA requests to write-only pages supported. 21:16 RO 2Fh MGAW This register is set by the processor-based on the setting of the GPA_LIMIT register. The value is the same for both the Intel High Definition Audio and non- Intel High Definition Audio engines. This is because the translation for Intel High Definition Audio has been extended to be 4-level (instead of 3). 15:13 RV 0h Reserved 12:8 RO 04h SAGAW Supports 4-level walk on both Intel High Definition Audio and non-Intel High Definition Audio engines.Processor Integrated I/O (IIO) Configuration Registers 240 Datasheet, Volume 2
The processor does not cache invalid pages. This bit should always be set to 0 on hardware. It can be set to 1 when doing software virtualization of Intel VT-d. 6RO 1b PHMR Support The processor supports protected high memory range. 5RO 1b PLMR Support The processor supports protected low memory range. 4RO 0b RWBF Not applicable for the processor. 3RO 0b Advanced Fault Logging The processor does not support advanced fault logging. 2:0 RO 010b Number of Domains Supported The processor supports 256 domains with 8 bit domain ID.
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 10h Bit Attr Reset Value Description 63:24 RV 0h Reserved 23:20 RO Fh Maximum Handle Mask Value IIO supports all 16 bits of handle being masked. Note: IIO always performs global interrupt entry invalidation on any interrupt cache invalidation command and hardware never really looks at the mask value. 19:18 RV 0h Reserved 17:8 RO 20h Invalidation Unit Offset IIO has the invalidation registers at offset 200h. 7RWO 1b Snoop Control 0 = Hardware does not support 1-setting of the SNP field in the page-table entries. 1 = Hardware supports the 1-setting of the SNP field in the page-table entries. IIO supports snoop override only for the non-isoch Intel VT-d engine. 6RW-O 1b Pass through IIO supports pass through. This bit is RW-O for defeaturing in case of post-si bugs. 5RO 1b Caching Hints IIO supports caching hints 4RO 1b IA32 Extended Interrupt Mode IIO supports the extended interrupt mode 3RWO 1b Interrupt Remapping Support IIO supports this 2RW-O 1b Device TLB Support IIO supports ATS for the non-isoch Intel VT-d engine. This bit is RW-O for non- isoch engine in case we might have to defeature ATS post-si. VTD0_CAP Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 8h Bit Attr Reset Value DescriptionDatasheet, Volume 2 241
Processor Integrated I/O (IIO) Configuration Registers
3.3.8.4 VTD0_GLBCMD—Global Command Register
1RWO 1b Queued Invalidation Support IIO supports this 0RW-O 0b Coherency Support BIOS can write to this bit to indicate to hardware to either snoop or not-snoop the DMA/Interrupt table structures in memory (root/context/pd/pt/irt). Note that this bit is expected to be always set to 0 for the Intel High Definition Audio Intel VT-d engine and programmability is only provided for that engine for debug reasons. VTD0_GLBCMD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 18h Bit Attr Reset Value Description 31 RW 0b Translation Enable Software writes to this field to request hardware to enable/disable DMA- remapping hardware. 0 = Disable DMA-remapping hardware 1 = Enable DMA-remapping hardware Hardware reports the status of the translation enable operation through the TES field in the Global Status register. Before enabling (or re-enabling) DMA- remapping hardware through this field, software must:
- Setup the DMA-remapping structures in memory
- Flush the write buffers (through WBF field), if write buffer flushing is reported as required.
- Set the root-entry table pointer in hardware (through SRTP field).
- Perform global invalidation of the context-cache and global invalidation of IOTLB
- If advanced fault logging supported, setup fault log pointer (through SFL field) and enable advanced fault logging (through EAFL field). There may be active DMA requests in the platform when software updates this field. Hardware must enable or disable remapping logic only at deterministic transaction boundaries, so that any in-flight transaction is either subject to remapping or not at all. 30 RW 0b Set Root Table Pointer Software sets this field to set/update the root-entry table pointer used by hardware. The root-entry table pointer is specified through the Root-entry Table Address register. Hardware reports the status of the root table pointer set operation through the RTPS field in the Global Status register. The root table pointer set operation must be performed before enabling or re-enabling (after disabling) DMA remapping hardware. After a root table pointer set operation, software must globally invalidate the context cache followed by global invalidate of IOTLB. This is required to ensure hardware uses only the remapping structures referenced by the new root table pointer, and not any stale cached entries. While DMA-remapping hardware is active, software may update the root table pointer through this field. However, to ensure valid in-flight DMA requests are deterministically remapped, software must ensure that the structures referenced by the new root table pointer are programmed to provide the same remapping results as the structures referenced by the previous root table pointer. Clearing this bit has no effect. 29 RO 0b Set Fault Log Pointer Not Applicable to the processor 28 RO 0b Enable Advanced Fault Logging Not Applicable to the processor
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 10h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 242 Datasheet, Volume 2 27 RO 0b Write Buffer Flush Not Applicable to the processor 26 RW 0b Queued Invalidation Enable Software writes to this field to enable queued invalidations. 0 = Disable queued invalidations. In this case, invalidations must be performed through the Context Command and IOTLB Invalidation Unit registers. 1 = Enable use of queued invalidations. Once enabled, all invalidations must be submitted through the invalidation queue and the invalidation registers cannot be used till the translation has been disabled. The invalidation queue address register must be initialized before enabling queued invalidations. Also software must make sure that all invalidations submitted prior using the register interface are all completed before enabling the queued invalidation interface. Hardware reports the status of queued invalidation enable operation through QIES field in the Global Status register. Value returned on read of this field is undefined. 25 RW 0b Interrupt Remapping Enable 0 = Disable Interrupt Remapping Hardware 1 = Enable Interrupt Remapping Hardware Hardware reports the status of the interrupt-remap enable operation through the IRES field in the Global Status register. Before enabling (or re-enabling) Interrupt-remapping hardware through this field, software must:
- Setup the interrupt-remapping structures in memory
- Set the Interrupt Remap table pointer in hardware (through IRTP field).
- Perform global invalidation of IOTLB There may be active interrupt requests in the platform when software updates this field. Hardware must enable or disable remapping logic only at deterministic transaction boundaries, so that any in-flight interrupts are either subject to remapping or not at all. IIO must drain any in-flight translated DMA read/write, MSI interrupt requests queued within the root complex before completing the translation enable command and reflecting the status of the command through the IRES field in the GSTS_REG. Value returned on read of this field is undefined. 24 RW 0b Set Interrupt Remap Table Pointer Software sets this field to set/update the interrupt remapping table pointer used by hardware. The interrupt remapping table pointer is specified through the Interrupt Remapping Table Address register.Hardware reports the status of the interrupt remapping table pointer set operation through the IRTPS field in the Global Status register. The interrupt remap table pointer set operation must be performed before enabling or re-enabling (after disabling) interrupt remapping hardware through the IRE field. After an interrupt remap table pointer set operation, software must globally invalidate the interrupt entry cache. This is required to ensure hardware uses only the interrupt remapping entries referenced by the new interrupt remap table pointer, and not any stale cached entries. While interrupt remapping is active, software may update the interrupt remapping table pointer through this field. However, to ensure valid in-flight interrupt requests are deterministically remapped, software must ensure that the structures referenced by the new interrupt remap table pointer are programmed to provide the same remapping results as the structures referenced by the previous interrupt remap table pointer. Clearing this bit has no effect. IIO hardware internally clears this field before the ’set’ operation requested by software has take effect. VTD0_GLBCMD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 18h Bit Attr Reset Value DescriptionDatasheet, Volume 2 243
Processor Integrated I/O (IIO) Configuration Registers
3.3.8.5 VTD0_GLBSTS—Global Status Register
23 RW 0b Compatibility Format Interrupt Software writes to this field to enable or disable Compatibility Format interrupts on Intel 64 platforms. The value in this field is effective only when interrupt- remapping is enabled and Legacy Interrupt Mode is active. 0 = Block Compatibility format interrupts. 1 = Process Compatibility format interrupts as pass-through (bypass interrupt remapping). Hardware reports the status of updating this field through the CFIS field in the Global Status register. This field is not implemented on Itanium
platforms. 22:0 RV 0h Reserved VTD0_GLBSTS Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1Ch Bit Attr Reset Value Description 31 RO 0b Translation Enable Status When set, this bit indicates that translation hardware is enabled and when clear indicates the translation hardware is not enabled. 30 RO 0b Set Root Table Pointer Status This field indicates the status of the root- table pointer in hardware.This field is cleared by hardware when software sets the SRTP field in the Global Command register. This field is set by hardware when hardware finishes the set root-table pointer operation (by performing an implicit global invalidation of the context- cache and IOTLB, and setting/updating the root-table pointer in hardware with the value provided in the Root-Entry Table Address register). 29 RO 0b Set Fault Log Pointer Status Not applicable to the processor 28 RO 0b Advanced Fault Logging Status Not applicable to the processor 27 RO 0b Write Buffer Flush Status Not applicable to the processor 26 RO 0b Queued Invalidation Interface Status IIO sets this bit once it has completed the software command to enable the queued invalidation interface. Until then, this bit is 0. 25 RO 0b Interrupt Remapping Enable Status OH sets this bit once it has completed the software command to enable the interrupt remapping interface. Until then, this bit is 0. 24 RO 0b Interrupt Remapping Table Pointer Status This field indicates the status of the interrupt remapping table pointer in hardware. This field is cleared by hardware when software sets the SIRTP field in the Global Command register. This field is set by hardware when hardware completes the set interrupt remap table pointer operation using the value provided in the Interrupt Remapping Table Address register. 23 RO 0b Compatibility Format Interrupt Status The value reported in this field is applicable only when interrupt-remapping is enabled and Legacy interrupt mode is active. 0 = Compatibility format interrupts are blocked. 1 = Compatibility format interrupts are processed as pass-through (bypassing interrupt remapping). VTD0_GLBCMD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 18h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 244 Datasheet, Volume 2
22:0 RV 0h Reserved VTD0_ROOTENTRYADD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 20h Bit Attr Reset Value Description 63:12 RW 0h Root Entry Table Base Address 4K aligned base address for the root entry table. The processor does not use bits 63:43 and checks for them to be 0. Software specifies the base address of the root-entry table through this register, and enables it in hardware through the SRTP field in the Global Command register. Reads of this register returns a value that was last programmed to it. 11:0 RV 0h Reserved VTD0_CTXCMD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 28h Bit Attr Reset Value Description 63 RW 0b Invalidate Context Entry Cache Software requests invalidation of context-cache by setting this field. Software must also set the requested invalidation granularity by programming the CIRG field. Software must read back and check the ICC field to be clear to confirm the invalidation is complete. Software must not update this register when this field is set. Hardware clears the ICC field to indicate the invalidation request is complete. Hardware also indicates the granularity at which the invalidation operation was performed through the CAIG field. Software must not submit another invalidation request through this register while the ICC field is set.Software must submit a context cache invalidation request through this field only when there are no invalidation requests pending at this DMA-remapping hardware unit. Since information from the context-cache may be used by hardware to tag IOTLB entries, software must perform domain-selective (or global) invalidation of IOTLB after the context cache invalidation has completed. VTD0_GLBSTS Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1Ch Bit Attr Reset Value DescriptionDatasheet, Volume 2 245
Processor Integrated I/O (IIO) Configuration Registers 62:61 RW 0b Context Invalidation Request Granularity When requesting hardware to invalidate the context-entry cache (by setting the ICC field), software writes the requested invalidation granularity through this field. Following are the encodings for the 2-bit IRG field. 00 = Reserved. Hardware ignores the invalidation request and reports invalidation complete by clearing the ICC field and reporting 00 in the CAIG field. 01 = Global Invalidation request. The processor supports this. 10 = Domain-selective invalidation request. The target domain-id must be specified in the DID field. The processor supports this. 11 = Device-selective invalidation request. The target SID must be specified in the SID field, and the domain-id (programmed in the context-entry for this device) must be provided in the DID field. The processor aliases the hardware behavior for this command to the ’Domain-selective invalidation request’. Hardware indicates completion of the invalidation request by clearing the ICC field. At this time, hardware also indicates the granularity at which the actual invalidation was performed through the CAIG field. 60:59 RO 0b Context Actual Invalidation Granularity Hardware reports the granularity at which an invalidation request was processed through the CAIG field at the time of reporting invalidation completion (by clearing the ICC field). The following are the encoding for the 2-bit CAIG field. 00 = Reserved. This is the value on reset. 01 = Global Invalidation performed. The processor sets this in response to a global invalidation request. 10 = Domain-selective invalidation performed using the domain-id that was specified by software in the DID field. The processor set this in response to a domain-selective or device-selective invalidation request. 11 = Device-selective invalidation. The processor never sets this encoding. 58:34 RV 0h Reserved 33:32 RW 00b Function Mask Used by the processor when performing device selective invalidation. 31:16 RW 0h Source ID Used by the processor when performing device selective context cache invalidation. 15:0 RW 0h Domain ID Indicates the id of the domain whose context-entries needs to be selectively invalidated. Software needs to program this for both domain and device selective invalidates. The processor ignores bits 15:8 since it supports only a 8 bit Domain ID. VTD0_CTXCMD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 28h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 246 Datasheet, Volume 2
3.3.8.8 VTD0_FLTSTS—Fault Status Register
VTD0_FLTSTS Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 34h Bit Attr Reset Value Description 31:16 RV 0h Reserved 15:8 ROS-V 0h Fault Record Index This field is valid only when the Primary Fault Pending field is set. This field indicates the index (from base) of the fault recording register to which the first pending fault was recorded when the Primary Fault pending field was set by hardware. 7RV 0hReserved 6RW1CS 0b Invalidation Timeout Error Hardware detected a Device-IOTLB invalidation completion time-out. At this time, a fault event may be generated based on the programming of the Fault Event Control register. 5RW1CS 0b Invalidation Completion Error Hardware received an unexpected or invalid Device-IOTLB invalidation completion. At this time, a fault event is generated based on the programming of the Fault Event Control register. 4RW1CS 0b Invalidation Queue Error Hardware detected an error associated with the invalidation queue. For example, hardware detected an erroneous or un-supported Invalidation Descriptor in the Invalidation Queue. At this time, a fault event is generated based on the programming of the Fault Event Control register. 3:2 RV 0h Reserved 1ROS-V 0b Primary Fault Pending This field indicates if there are one or more pending faults logged in the fault recording registers. Hardware computes this field as the logical OR of Fault (F) fields across all the fault recording registers of this DMA-remap hardware unit. 0 = No pending faults in any of the fault recording registers 1 = One or more fault recording registers has pending faults. The fault recording index field is updated by hardware whenever this field is set by hardware. Also, depending on the programming of fault event control register, a fault event is generated when hardware sets this field. 0RW1CS 0b Primary Fault Overflow Hardware sets this bit to indicate overflow of fault recording registersDatasheet, Volume 2 247
Processor Integrated I/O (IIO) Configuration Registers
VTD0_FLTEVTCTRL Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 38h Bit Attr Reset Value Description 31 RW 1b Interrupt Message Mask 1 = Hardware is prohibited from issuing interrupt message requests. 0 = Software has cleared this bit to indicate interrupt service is available. When a faulting condition is detected, hardware may issue an interrupt request (using the fault event data and fault event address register values) depending on the state of the interrupt mask and interrupt pending bits. 30 RO 0b Interrupt Pending Hardware sets the IP field whenever it detects an interrupt condition. The interrupt condition is defined as when an interrupt condition occurs when hardware records a fault through one of the Fault Recording registers and sets the PPF field in Fault Status register. - Hardware detected error associated with the Invalidation Queue, setting the IQE field in the Fault Status register.
- Hardware detected invalidation completion timeout error, setting the ICT field in the Fault Status register.
- If any of the above status fields in the Fault Status register was already set at the time of setting any of these fields, it is not treated as a new interrupt condition. The IP field is kept set by hardware while the interrupt message is held pending. The interrupt message could be held pending due to interrupt mask (IM field) being set, or due to other transient hardware conditions. The IP field is cleared by hardware as soon as the interrupt message pending condition is serviced. This could be due to either
- Hardware issuing the interrupt message due to either change in the transient hardware condition that caused interrupt message to be held pending or due to software clearing the IM field.
- Software servicing all the pending interrupt status fields in the Fault Status register. — PPF field is cleared by hardware when it detects all the Fault Recording registers have Fault (F) field clear. — Other status fields in the Fault Status register is cleared by software writing back the value read from the respective fields. 29:0 RV 0h Reserved VTD0_FLTEVTDATA Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 3Ch Bit Attr Reset Value Description 31:16 RV 0h Reserved 15:0 RW 0h Interrupt DataProcessor Integrated I/O (IIO) Configuration Registers 248 Datasheet, Volume 2
0000h Interrupt Address The interrupt address is interpreted as the address of any other interrupt from a PCI Express port. 1:0 RV 0h Reserved VTD0_PMEN Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 64h Bit Attr Reset Value Description 31 RW-LB 0b Enable Protected Memory Enable Protected Memory PROT_LOW_BASE/LIMIT and PROT_HIGH_BASE/LIMIT memory regions. Software can use the protected low/high address ranges to protect both the DMA remapping tables and the interrupt remapping tables. There is no separate set of registers provided for each. 30:1 RV 0h Reserved 0RO 0b Protected Region Status This bit is set by the processor when it has completed enabling the protected memory region per the rules stated in the Intel VT-d specification.
VTD0_PROT_LOW_MEM_BASE
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 68h Bit Attr Reset Value Description 31:21 RW-LB 000h Low protected DRAM region base 16 MB aligned base address of the low protected DRAM region Intel VT-d engine generated reads/writes (page walk, interrupt queue, invalidation queue read, invalidation status) are allowed toward this region; but no DMA accesses (non-translated DMA or ATS translated DMA or pass through DMA; that is, no DMA access of any kind) from any device is allowed toward this region (regardless of whether TE is 0 or 1), when enabled. 20:0 RV 0h ReservedDatasheet, Volume 2 249
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 6Ch Bit Attr Reset Value Description 31:21 RW-LB 000h Low protected DRAM region 16 MB aligned limit address of the low protected DRAM region Intel VT-d engine generated reads/writes (page walk, interrupt queue, invalidation queue read, invalidation status) are allowed toward this region; but no DMA accesses (non-translated DMA or ATS translated DMA or pass through DMA; that is, no DMA access of any kind) from any device is allowed toward this region (regardless of whether TE is 0 or 1), when enabled. 20:0 RV 0h Reserved
00000h High protected DRAM region 16 MB aligned base address of the high protected DRAM region Intel VT-d engine generated reads/writes (page walk, interrupt queue, invalidation queue read, invalidation status) are allowed toward this region; but no DMA accesses (non-translated DMA or ATS translated DMA or pass through DMA; that is, no DMA access of any kind) from any device is allowed toward this region (regardless of whether TE is 0 or 1), when enabled. 20:0 RV 0h Reserved
00000h High protected DRAM region 16 MB aligned limit address of the high protected DRAM region Intel VT-d engine generated reads/writes (page walk, interrupt queue, invalidation queue read, invalidation status) are allowed toward this region; but no DMA accesses (non-translated DMA or ATS translated DMA or pass through DMA; that is, no DMA access of any kind) from any device is allowed toward this region (regardless of whether TE is 0 or 1), when enabled. 20:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 250 Datasheet, Volume 2
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 80h Bit Attr Reset Value Description 63:19 RV 0h Reserved 18:4 RO-V 0000h Queue Head This field specifies the offset (128-bit aligned) to the invalidation queue for the command that will be fetched next by hardware. This field is incremented after the command has been fetched successfully and has been verified to be a valid/ supported command. 3:0 RV 0h Reserved
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 88h Bit Attr Reset Value Description 63:19 RV 0h Reserved 18:4 RW 0000h Queue Tail This field specifies the offset (128-bit aligned) to the invalidation queue for the command that will be written next by software. 3:0 RV 0h Reserved
Invalidation Request Queue Base Address This field points to the base of size-aligned invalidation request queue. 11:3 RV 0h Reserved 2:0 RW 0h Queue Size This field specifies the length of the invalidation request queue. The number of entries in the invalidation queue is defined as 2^(X + 8) , where X is the value programmed in this field.Datasheet, Volume 2 251
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 9Ch Bit Attr Reset Value Description 31:1 RV 0h Reserved 0RW1CS 0b Invalidation Wait Descriptor Complete This field indicates completion of Invalidation Wait Descriptor with Interrupt Flag (IF) field set. Hardware clears this field when it is executing a wait descriptor with IF field set and sets this bit when the descriptor is complete.
VTD0_INV_COMP_EVT_CTL
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: A0h Bit Attr Reset Value Description 31 RW 1b Interrupt Mask 0 = No masking of interrupt. When a invalidation event condition is detected, hardware issues an interrupt message (using the Invalidation Event Data & Invalidation Event Address register values). 1 = This is the value on reset. Software may mask interrupt message generation by setting this field. Hardware is prohibited from sending the interrupt message when this field is set. 30 RO 0b Interrupt Pending Hardware sets the IP field when it detects an interrupt condition. Interrupt condition is defined as: — An Invalidation Wait Descriptor with Interrupt Flag (IF) field set completed, setting the IWC field in the Fault Status register.
- If the IWC field in the Invalidation Event Status register was already set at the time of setting this field, it is not treated as a new interrupt condition. The IP field is kept set by hardware while the interrupt message is held pending. The interrupt message could be held pending due to interrupt mask (IM field) being set, or due to other transient hardware conditions. The IP field is cleared by hardware as soon as the interrupt message pending condition is serviced. This could be due to either:
- Hardware issuing the interrupt message due to either change in the transient hardware condition that caused interrupt message to be held pending or due to software clearing the IM field.
- Software servicing the IWC field in the Fault Status register. 29:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 252 Datasheet, Volume 2
Event Address Register
3.3.8.24 VTD0_INTR_REMAP_TABLE_BASE—Interrupt Remapping Table
Base Address Register
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: B8h Bit Attr Reset Value Description 63:12 RW 0h Intr Remap Base This field points to the base of page-aligned interrupt remapping table. If the Interrupt Remapping Table is larger than 4 KB in size, it must be size-aligned. Reads of this field return the value that was last programmed to it. 11 RW-LB 0b IA32 Extended Interrupt Enable 0 = IA32 system is operating in legacy IA32 interrupt mode. Hardware interprets only 8-bit APICID in the Interrupt Remapping Table entries. 1 = IA32 system is operating in extended IA32 interrupt mode. Hardware interprets 32-bit APICID in the Interrupt Remapping Table entries. 10:4 RV 0h Reserved 3:0 RW 0b Size This field specifies the size of the interrupt remapping table. The number of entries in the interrupt remapping table is 2^(X+1), where X is the value programmed in this field.Datasheet, Volume 2 253
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 100h Bit Attr Reset Value Description 63:12 ROS-V 0h GPA 4k aligned GPA for the faulting transaction. Valid only when F field is set 11:0 RV 0h Reserved
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 108h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field provies the Reason for the first translation fault. See Intel VT-d specification for details. This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 118h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request. 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field provides the Reason for the first translation fault. See Intel VT-d specification for details. This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 128h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request. 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field provides the Reason for the first translation fault. See Intel VT-d specification for details. This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 138h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request. 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field provides the Reason for the first translation fault. See Intel VT-d specification for details. This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 148h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request. 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field provides the Reason for the first translation fault. See Intel VT-d specification for details. This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 158h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request. 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field provides the Reason for the first translation fault. See Intel VT-d specification for details. This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 168h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request. 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field provides the Reason for the first translation fault. See Intel VT-d specification for details. This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 178h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request. 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field provides the Reason for the first translation fault. See Intel VT-d specification for details. This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set VTD0_INVADDRREG Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 200h Bit Attr Reset Value Description 63:12 RW
addr To request a page-specific invalidation request to hardware, software must first write the corresponding guest physical address to this register, and then issue a page-specific invalidate command through the IOTLB_REG. 11:7 RV 0h Reserved 6RW 0b
The field provides hint to hardware to preserve or flush the respective non-leaf page-table entries that may be cached in hardware. 0 = Software may have modified both leaf and non-leaf page-table entries corresponding to mappings specified in the ADDR and AM fields. On a page- selective invalidation request, IIO must flush both the cached leaf and nonleaf page-table entries corresponding to mappings specified by ADDR and AM fields. IIO performs a domain-level invalidation on non-leaf entries and page-selective-domain-level invalidation at the leaf level. 1 = Software has not modified any non-leaf page-table entries corresponding to mappings specified in the ADDR and AM fields. On a page-selective invalidation request, IIO preserves the cached non-leaf page-table entries corresponding to mappings specified by ADDR and AM fields and performs only a page-selective invalidation at the leaf level. 5:0 RW 0h
Processor Integrated I/O (IIO) Configuration Registers
3.3.8.42 VTD0_IOTLBINV—IOTLB Invalidate Register
VTD0_IOTLBINV Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 208h Bit Attr Reset Value Description 63 RW 0b Invalidate IOTLB cache Software requests IOTLB invalidation by setting this field. Software must also set the requested invalidation granularity by programming the IIRG field. Hardware clears the IVT field to indicate the invalidation request is complete. Hardware also indicates the granularity at which the invalidation operation was performed through the IAIG field. Software must read back and check the IVT field to be clear to confirm the invalidation is complete. When IVT field is set, software must not update the contents of this register (and Invalidate Address register, if it is being used), nor submit new IOTLB invalidation requests. 62 RV 0h Reserved 61:60 RW 00b IOTLB Invalidation Request Granularity When requesting hardware to invalidate the I/OTLB (by setting the IVT field), software writes the requested invalidation granularity through this IIRG field. Following are the encoding for the 2-bit IIRG field. 00 = Reserved. Hardware ignores the invalidation request and reports invalidation complete by clearing the IVT field and reporting 00 in the AIG field. 01 = Global Invalidation request. The processor supports this. 10 = Domain-selective invalidation request. The target domain-id must be specified in the DID field. The processor supports this 11 = Page-selective invalidation request. The target address, mask and invalidation hint must be specified in the Invalidate Address register, the domain-id must be provided in the DID field. The processor supports this. 59 RV 0h Reserved 58:57 RO 00b IOTLB Actual Invalidation Granularity Hardware reports the granularity at which an invalidation request was proceed through the AIG field at the time of reporting invalidation completion (by clearing the IVT field).The following are the encoding for the 2-bit IAIG field. 00 = Reserved. This indicates hardware detected an incorrect invalidation request and ignored the request. Examples of incorrect invalidation requests include detecting an unsupported address mask value in Invalidate Address register for page-selective invalidation requests or an unsupported/undefined encoding in IIRG. 01 = Global Invalidation performed. The processor sets this in response to a global IOTLB invalidation request. 10 = Domain-selective invalidation performed using the domain-id that was specified by software in the DID field. The processor sets this in response to a domain selective IOTLB invalidation request. 11 = Processor sets this in response to a page selective invalidation request. 56:50 RV 0h Reserved 49 RW 0b
Processor uses this to drain or not drain reads on an invalidation request. 48 RW 0b
Processor uses this to drain or not drain writes on an invalidation request. 47:32 RW 0000h did Domain to be invalidated and is programmed by software for both page and domain selective invalidation requests. Processor ignores the bits 47:40 since it supports only an 8 bit Domain ID. 31:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 262 Datasheet, Volume 2
VT-d Capabilities Register VTD1_VERSION Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1000h Bit Attr Reset Value Description 31:8 RV 0h Reserved 7:4 RO 1h Major Revision 3:0 RO 0h Minor Revision VTD1_CAP Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1008h Bit Attr Reset Value Description 63:56 RV 0h Reserved 55 RO 1b DMA Read Draining Processor supports hardware based draining 54 RO 1b DMA Write Draining Processor supports hardware based write draining 53:48 RO 12h MAMV Processor support MAMV value of 12h (up to 1G super pages). 47:40 RO 00h Number of Fault Recording Registers Processor supports 1 fault recording register on the Intel High Definition Audio engine. 39 RO 1b Page Selective Invalidation Supported in IIO 38 RV 0h Reserved 37:34 RWO 3h Super Page Support 2 MB, 1G super pages supported 33:24 RO 10h Fault Recording Register Offset Fault registers are at offset 100h 23 RW-O 1b ISOCH Remapping Engine has ISOCH Support. Note: This bit used to be for "Spatial Separation". This is no longer the case. 22 RWO 1b ZLR Zero-length DMA requests to write-only pages supported. 21:16 RO 2Fh MGAW This register is set by processor based on the setting of the GPA_LIMIT register. The value is the same for both the Intel High Definition Audio and non-Intel High Definition Audio engines . This is because the translation for Intel High Definition Audio has been extended to be 4-level (instead of 3). 15:13 RV 0h Reserved 12:8 RO 04h SAGAW Supports 4-level walks on both Intel High Definition Audio and non-Intel High Definition Audio Intel VT-d engines. 7RO 0b
Processor Integrated I/O (IIO) Configuration Registers
VT-d Capability Register 6RO 1b PHMR Support Processor supports protected high memory range 5RO 1b PLMR Support Processor supports protected low memory range 4RO 0b RWBF Not applicable for the processor 3RO 0b Advanced Fault Logging Processor does not support advanced fault logging 2:0 RO 010b Number of Domains Supported Processor supports 256 domains with 8 bit domain ID
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1010h Bit Attr Reset Value Description 63:24 RV 0h Reserved 23:20 RO Fh Maximum Handle Mask Value IIO supports all 16 bits of handle being masked. Note IIO always performs global interrupt entry invalidation on any interrupt cache invalidation command and hardware never really looks at the mask value. 19:18 RV 0h Reserved 17:8 RO 20h Invalidation Unit Offset IIO has the invalidation registers at offset 200h 7RWO 0b Snoop Control 0 = Hardware does not support 1-setting of the SNP field in the page-table entries. 1 = Hardware supports the 1-setting of the SNP field in the page-table entries. IIO supports snoop override only for the non-isoch Intel VT-d engine 6RW-O 1b Pass through IIO supports pass through. This bit is RW-O for defeaturing in case of post-si bugs. 5RO 1b Caching Hints IIO supports caching hints 4RO 1b IA32 Extended Interrupt Mode IIO supports the extended interrupt mode 3RWO 1b Interrupt Remapping Support IIO supports this 2RO 0b Device TLB support IIO supports ATS for the non-isoch Intel VT-d engine. This bit is RW-O for non- isoch engine in case we might have to defeature ATS post-si. 1RWO 1b Queued Invalidation support IIO supports this 0RW-O 0b Coherency Support BIOS can write to this bit to indicate to hardware to either snoop or not-snoop the DMA/Interrupt table structures in memory (root/context/pd/pt/irt). This bit is expected to be always set to 0 for the Intel High Definition Audio Intel VT-d engine and programmability is only provided for that engine for debug reasons. VTD1_CAP Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1008h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 264 Datasheet, Volume 2
3.3.8.46 VTD1_GLBCMD—Global Command Register
VTD1_GLBCMD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1018h Bit Attr Reset Value Description 31 RW 0b Translation Enable Software writes to this field to request hardware to enable/disable DMA- remapping hardware. 0 = Disable DMA-remapping hardware 1 = Enable DMA-remapping hardware Hardware reports the status of the translation enable operation through the TES field in the Global Status register. Before enabling (or re-enabling) DMA- remapping hardware through this field, software must:
- Setup the DMA-remapping structures in memory
- Flush the write buffers (through WBF field), if write buffer flushing is reported as required.
- Set the root-entry table pointer in hardware (through SRTP field).
- Perform global invalidation of the context-cache and global invalidation of IOTLB
- If advanced fault logging supported, setup fault log pointer (through SFL field) and enable advanced fault logging (through EAFL field). There may be active DMA requests in the platform when software updates this field. Hardware must enable or disable remapping logic only at deterministic transaction boundaries, so that any in-flight transaction is either subject to remapping or not at all. 30 RW 0b Set Root Table Pointer Software sets this field to set/update the root-entry table pointer used by hardware. The root-entry table pointer is specified through the Root-entry Table Address register.Hardware reports the status of the root table pointer set operation through the RTPS field in the Global Status register. The root table pointer set operation must be performed before enabling or re-enabling (after disabling) DMA remapping hardware. After a root table pointer set operation, software must globally invalidate the context cache followed by global invalidate of IOTLB. This is required to ensure hardware uses only the remapping structures referenced by the new root table pointer, and not any stale cached entries. While DMA-remapping hardware is active, software may update the root table pointer through this field. However, to ensure valid in-flight DMA requests are deterministically remapped, software must ensure that the structures referenced by the new root table pointer are programmed to provide the same remapping results as the structures referenced by the previous root table pointer. Clearing this bit has no effect. 29 RO 0b Set Fault Log Pointer Not applicable to the processor 28 RO 0b Enable Advanced Fault Logging Not applicable to the processor 27 RO 0b Write Buffer Flush Not applicable to the processor 26 RW 0b Queued Invalidation Enable Software writes to this field to enable queued invalidations. 0 = Disable queued invalidations. In this case, invalidations must be performed through the Context Command and IOTLB Invalidation Unit registers. 1 = Enable use of queued invalidations. Once enabled, all invalidations must be submitted through the invalidation queue and the invalidation registers cannot be used till the translation has been disabled. The invalidation queue address register must be initialized before enabling queued invalidations. Also software must make sure that all invalidations submitted prior using the register interface are all completed before enabling the queued invalidation interface. Hardware reports the status of queued invalidation enable operation through QIES field in the Global Status register. Value returned on read of this field is undefined.Datasheet, Volume 2 265
Processor Integrated I/O (IIO) Configuration Registers 25 RW 0b Interrupt Remapping Enable 0 = Disable Interrupt Remapping Hardware 1 = Enable Interrupt Remapping Hardware Hardware reports the status of the interrupt-remap enable operation through the IRES field in the Global Status register. Before enabling (or re-enabling) Interrupt-remapping hardware through this field, software must:
- Setup the interrupt-remapping structures in memory
- Set the Interrupt Remap table pointer in hardware (through IRTP field).
- Perform global invalidation of IOTLB There may be active interrupt requests in the platform when software updates this field. Hardware must enable or disable remapping logic only at deterministic transaction boundaries, so that any in-flight interrupts are either subject to remapping or not at all. IIO must drain any in-flight translated DMA read/write, MSI interrupt requests queued within the root complex before completing the translation enable command and reflecting the status of the command through the IRES field in the GSTS_REG. Value returned on read of this field is undefined. 24 RW 0b Set Interrupt Remap Table Pointer Software sets this field to set/update the interrupt remapping table pointer used by hardware. The interrupt remapping table pointer is specified through the Interrupt Remapping Table Address register.Hardware reports the status of the interrupt remapping table pointer set operation through the IRTPS field in the Global Status register. The interrupt remap table pointer set operation must be performed before enabling or re-enabling (after disabling) interrupt remapping hardware through the IRE field. After an interrupt remap table pointer set operation, software must globally invalidate the interrupt entry cache. This is required to ensure hardware uses only the interrupt remapping entries referenced by the new interrupt remap table pointer, and not any stale cached entries. While interrupt remapping is active, software may update the interrupt remapping table pointer through this field. However, to ensure valid in-flight interrupt requests are deterministically remapped, software must ensure that the structures referenced by the new interrupt remap table pointer are programmed to provide the same remapping results as the structures referenced by the previous interrupt remap table pointer. Clearing this bit has no effect. IIO hardware internally clears this field before the ’set’ operation requested by software has take effect. 23 RW 0b Compatibility Format Interrupt Software writes to this field to enable or disable Compatibility Format interrupts on IntelÆ64 platforms. The value in this field is effective only when interrupt- remapping is enabled and Legacy Interrupt mode is active. 0 = Block Compatibility format interrupts. 1 = Process Compatibility format interrupts as pass-through (bypass interrupt emapping). Hardware reports the status of updating this field through the CFIS field in the Global Status register. This field is not implemented on Itanium platforms. 22:0 RV 0h Reserved VTD1_GLBCMD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1018h Bit Attr Reset Value DescriptionProcessor Integrated I/O (IIO) Configuration Registers 266 Datasheet, Volume 2
VTD1_GLBSTS Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 101Ch Bit Attr Reset Value Description 31 RO 0b Translation Enable Status When set, indicates that translation hardware is enabled and when clear indicates the translation hardware is not enabled. 30 RO 0b Set Root Table Pointer Status This field indicates the status of the root- table pointer in hardware.This field is cleared by hardware when software sets the SRTP field in the Global Command register. This field is set by hardware when hardware finishes the set root-table pointer operation (by performing an implicit global invalidation of the context- cache and IOTLB, and setting/updating the root-table pointer in hardware with the value provided in the Root-Entry Table Address register). 29 RO 0b Set Fault Log Pointer Status Not applicable to the processor 28 RO 0b Advanced Fault Logging Status Not applicable to the processor 27 RO 0b Write Buffer Flush Status Not applicable to the processor 26 RO 0b Queued Invalidation Interface Status IIO sets this bit once it has completed the software command to enable the queued invalidation interface. Till then this bit is 0. 25 RO 0b Interrupt Remapping Enable Status OH sets this bit once it has completed the software command to enable the interrupt remapping interface. Till then this bit is 0. 24 RO 0b Interrupt Remapping Table Pointer Status This field indicates the status of the interrupt remapping table pointer in hardware. This field is cleared by hardware when software sets the SIRTP field in the Global Command register. This field is set by hardware when hardware completes the set interrupt remap table pointer operation using the value provided in the Interrupt Remapping Table Address register. 23 RO 0b Compatibility Format Interrupt Status The value reported in this field is applicable only when interrupt-remapping is enabled and Legacy interrupt mode is active. 0 = Compatibility format interrupts are blocked. 1 = Compatibility format interrupts are processed as pass-through (bypassing interrupt remapping). 22:0 RV 0h Reserved VTD1_ROOTENTRYADD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1020h Bit Attr Reset Value Description 63:12 RW 0h Root Entry Table Base Address 4K aligned base address for the root entry table. The processor does not use bits 63:43 and checks for them to be 0. Software specifies the base address of the root-entry table through this register, and enables it in hardware through the SRTP field in the Global Command register. Reads of this register returns value that was last programmed to it. 11:0 RV 0h ReservedDatasheet, Volume 2 267
Processor Integrated I/O (IIO) Configuration Registers
3.3.8.49 VTD1_CTXCMD—Context Command Register
VTD1_CTXCMD Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1028 Bit Attr Reset Value Description 63 RW 0b Invalidate Context Entry Cache Software requests invalidation of context-cache by setting this field. Software must also set the requested invalidation granularity by programming the CIRG field. Software must read back and check the ICC field to be clear to confirm the invalidation is complete. Software must not update this register when this field is set. Hardware clears the ICC field to indicate the invalidation request is complete. Hardware also indicates the granularity at which the invalidation operation was performed through the CAIG field. Software must not submit another invalidation request through this register while the ICC field is set.Software must submit a context cache invalidation request through this field only when there are no invalidation requests pending at this DMA-remapping hardware unit. Since information from the context-cache may be used by hardware to tag IOTLB entries, software must perform domain-selective (or global) invalidation of IOTLB after the context cache invalidation has completed. 62:61 RW 0b Context Invalidation Request Granularity When requesting hardware to invalidate the context-entry cache (by setting the ICC field), software writes the requested invalidation granularity through this field. Following are the encoding for the 2-bit IRG field. 00 = Reserved. Hardware ignores the invalidation request and reports invalidation complete by clearing the ICC field and reporting 00 in the CAIG field. 01 = Global Invalidation request. The processor supports this. 10 = Domain-selective invalidation request. The target domain-id must be specified in the DID field. The processor supports this. 11 = Device-selective invalidation request. The target SID must be specified in the SID field, and the domain-id (programmed in the context-entry for this device) must be provided in the DID field. The processor aliases the hardware behavior for this command to the ’Domain-selective invalidation request’. Hardware indicates completion of the invalidation request by clearing the ICC field. At this time, hardware also indicates the granularity at which the actual invalidation was performed through the CAIG field. 60:59 RO 0b Context Actual Invalidation Granularity Hardware reports the granularity at which an invalidation request was processed through the CAIG field at the time of reporting invalidation completion (by clearing the ICC field). The following are the encoding for the 2-bit CAIG field. 00 = Reserved. This is the value on reset. 01 = Global Invalidation performed. The processor sets this in response to a global invalidation request. 10 = Domain-selective invalidation performed using the domain-id that was specified by software in the DID field. The processor set this in response to a domain-selective or device-selective invalidation request. 11 = Device-selective invalidation. The processor never sets this encoding. 58:34 RV 0h Reserved 33:32 RW 00b
Used by the processor when performing device selective invalidation. 31:16 RW 0h Source ID Used by the processor when performing device selective context cache invalidation. 15:0 RW 0h Domain ID Indicates the id of the domain whose context-entries needs to be selectively invalidated. S/W needs to program this for both domain and device selective invalidates. The processor ignores bits 15:8 since it supports only a 8 bit Domain ID.Processor Integrated I/O (IIO) Configuration Registers 268 Datasheet, Volume 2
3.3.8.50 VTD1_FLTSTS—Fault Status Register
VTD1_FLTSTS Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1034h Bit Attr Reset Value Description 31:16 RV 0h Reserved 15:8 ROS-V 0h Fault Record Index This field is valid only when the Primary Fault Pending field is set. This field indicates the index (from base) of the fault recording register to which the first pending fault was recorded when the Primary Fault pending field was set by hardware. 7RV 0hReserved 6RW1CS 0b Invalidation Timeout Error Hardware detected a Device-IOTLB invalidation completion time-out. At this time, a fault event may be generated based on the programming of the Fault Event Control register. 5RW1CS 0b Invalidation Completion Error Hardware received an unexpected or invalid Device-IOTLB invalidation completion. At this time, a fault event is generated based on the programming of the Fault Event Control register. 4RW1CS 0b Invalidation Queue Error Hardware detected an error associated with the invalidation queue. For example, hardware detected an erroneous or un-supported Invalidation Descriptor in the Invalidation Queue. At this time, a fault event is generated based on the programming of the Fault Event Control register. 3:2 RV 0h Reserved 1ROS-V 0b Primary Fault Pending This field indicates if there are one or more pending faults logged in the fault recording registers. Hardware computes this field as the logical OR of Fault (F) fields across all the fault recording registers of this DMA-remap hardware unit. 0 = No pending faults in any of the fault recording registers 1 = One or more fault recording registers has pending faults. The fault recording index field is updated by hardware whenever this field is set by hardware. Also, depending on the programming of fault event control register, a fault event is generated when hardware sets this field. 0RW1CS 0b Primary Fault Overflow Hardware sets this bit to indicate overflow of fault recording registersDatasheet, Volume 2 269
Processor Integrated I/O (IIO) Configuration Registers
VTD1_FLTEVTCTRL Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1038h Bit Attr Reset Value Description 31 RW 1b Interrupt Message Mask 0 = Hardware is prohibited from issuing interrupt message requests. 1 = Software has cleared this bit to indicate interrupt service is available. When a faulting condition is detected, hardware may issue a interrupt request (using the fault event data and fault event address register values) depending on the state of the interrupt mask and interrupt pending bits. 30 RO 0b Interrupt Pending Hardware sets the IP field whenever it detects an interrupt condition. Interrupt condition is defined as when an interrupt condition occurs when hardware records a fault through one of the Fault Recording registers and sets the PPF field in Fault Status register. - Hardware detected error associated with the Invalidation Queue, setting the IQE field in the Fault Status register.
- Hardware detected invalidation completion timeout error, setting the ICT field in the Fault Status register.
- If any of the above status fields in the Fault Status register was already set at the time of setting any of these fields, it is not treated as a new interrupt condition. The IP field is kept set by hardware while the interrupt message is held pending. The interrupt message could be held pending due to interrupt mask (IM field) being set, or due to other transient hardware conditions. The IP field is cleared by hardware as soon as the interrupt message pending condition is serviced. This could be due to either
- Hardware issuing the interrupt message due to either change in the transient hardware condition that caused interrupt message to be held pending or due to software clearing the IM field.
- Software servicing all the pending interrupt status fields in the Fault Status register. — PPF field is cleared by hardware when it detects all the Fault Recording registers have Fault (F) field clear. — Other status fields in the Fault Status register is cleared by software writing back the value read from the respective fields. 29:0 RV 0h Reserved VTD1_FLTEVTDATA Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 103Ch Bit Attr Reset Value Description 31:16 RV 0h Reserved 15:0 RW 0h Interrupt DataProcessor Integrated I/O (IIO) Configuration Registers 270 Datasheet, Volume 2
3.3.8.53 VTD1_FLTEVTADDR—Fault Event Address Register
3.3.8.54 VTD1_PMEN—Protected Memory Enable Register
0000h Interrupt Address The interrupt address is interpreted as the address of any other interrupt from a PCI Express port. 1:0 RV 0h Reserved VTD1_PMEN Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1064h Bit Attr Reset Value Description 31 RW-LB 0b Enable Protected Memory Enable Protected Memory PROT_LOW_BASE/LIMIT and PROT_HIGH_BASE/LIMIT memory regions. Software can use the protected low/high address ranges to protect both the DMA remapping tables and the interrupt remapping tables. There is no separate set of registers provided for each. 30:1 RV 0h Reserved 0RO 0b Protected Region Status This bit is set by the processor whenever it has completed enabling the protected memory region per the rules stated in the Intel VT-d Specification.
VTD1_PROT_LOW_MEM_BASE
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1068h Bit Attr Reset Value Description 31:21 RW-LB 000h Low protected DRAM region base 16 MB aligned base address of the low protected DRAM region Intel VT-d engine generated reads/writes (page walk, interrupt queue, invalidation queue read, invalidation status) are allowed toward this region; but no DMA accesses (non-translated DMA or ATS translated DMA or pass through DMA; that is, no DMA access of any kind) from any device is allowed toward this region (regardless of whether TE is 0 or 1), when enabled. 20:0 RV 0h ReservedDatasheet, Volume 2 271
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 106Ch Bit Attr Reset Value Description 31:21 RW-LB 000h Low protected DRAM region 16 MB aligned limit address of the low protected DRAM region Intel VT-d engine generated reads/writes (page walk, interrupt queue, invalidation queue read, invalidation status) are allowed toward this region; but no DMA accesses (non-translated DMA or ATS translated DMA or pass through DMA; that is no DMA access of any kind) from any device is allowed toward this region (regardless of whether TE is 0 or 1), when enabled. 20:0 RV 0h Reserved
00000h High protected DRAM region 16 MB aligned base address of the high protected DRAM region Intel VT-d engine generated reads/writes (page walk, interrupt queue, invalidation queue read, invalidation status) are allowed toward this region; but no DMA accesses (non-translated DMA or ATS translated DMA or pass through DMA; that is, no DMA access of any kind) from any device is allowed toward this region (regardless of whether TE is 0 or 1), when enabled. 20:0 RV 0h Reserved
00000h High protected DRAM region 16 MB aligned limit address of the high protected DRAM region Intel VT-d engine generated reads/writes (page walk, interrupt queue, invalidation queue read, invalidation status) are allowed toward this region; but no DMA accesses (non-translated DMA or ATS translated DMA or pass through DMA; that is, no DMA access of any kind) from any device is allowed toward thisregion (regardless of whether TE is 0 or 1), when enabled. 20:0 RV 0h ReservedProcessor Integrated I/O (IIO) Configuration Registers 272 Datasheet, Volume 2
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1080h Bit Attr Reset Value Description 63:19 RV 0h Reserved 18:4 RO-V 0000h Queue Head This field specifies the offset (128-bit aligned) to the invalidation queue for the command that will be fetched next by hardware. This field is incremented after the command has been fetched successfully and has been verified to be a valid/ supported command. 3:0 RV 0h Reserved
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1088h Bit Attr Reset Value Description 63:19 RV 0h Reserved 18:4 RW 0h Queue Tail This field specifies the offset (128-bit aligned) to the invalidation queue for the command that will be written next by software. 3:0 RV 0h Reserved
Invalidation Request Queue Base Address This field points to the base of size-aligned invalidation request queue. 11:3 RV 0h Reserved 2:0 RW 0h Queue Size This field specifies the length of the invalidation request queue. The number of entries in the invalidation queue is defined as 2^(X + 8) , where X is the value programmed in this field.Datasheet, Volume 2 273
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 109Ch Bit Attr Reset Value Description 31:1 RV 0h Reserved 0RW1CS 0b Invalidation Wait Descriptor Complete This field indicates completion of Invalidation Wait Descriptor with Interrupt Flag (IF) field set. Hardware clears this field whenever it is executing a wait descriptor with IF field set and sets this bit when the descriptor is complete.
VTD1_INV_COMP_EVT_CTL
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 10A0h Bit Attr Reset Value Description 31 RW 1b Interrupt Mask 0 = No masking of interrupt. When a invalidation event condition is detected, hardware issues an interrupt message (using the Invalidation Event Data & Invalidation Event Address register values). 1 = This is the value on reset. Software may mask interrupt message generation by setting this field. Hardware is prohibited from sending the interrupt message when this field is set. 30 RO 0b Interrupt Pending Hardware sets the IP field whenever it detects an interrupt condition. Interrupt condition is defined as:- An Invalidation Wait Descriptor with Interrupt Flag (IF) field set completed, setting the IWC field in the Fault Status register.
- If the IWC field in the Invalidation Event Status register was already set at the time of setting this field, it is not treated as a new interrupt condition. The IP field is kept set by hardware while the interrupt message is held pending. The interrupt message could be held pending due to interrupt mask (IM field) being set, or due to other transient hardware conditions. The IP field is cleared by hardware as soon as the interrupt message pending condition is serviced. This could be due to either:
- Hardware issuing the interrupt message due to either change in the transient hardware condition that caused interrupt message to be held pending or due to software clearing the IM field.
- Software servicing the IWC field in the Fault Status register. 29:0 RV 0h Reserved
Event Address Register
3.3.8.66 VTD1_INTR_REMAP_TABLE_BASE—Interrupt Remapping Table
Base Address Register
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 10B8h Bit Attr Reset Value Description 63:12 RW 0h Intr Remap Base This field points to the base of page-aligned interrupt remapping table. If the Interrupt Remapping Table is larger than 4 KB in size, it must be size-aligned. Reads of this field returns value that was last programmed to it. 11 RW-LB 0b IA-32 Extended Interrupt Enable 0 = IA-32 system is operating in legacy IA32 interrupt mode. Hardware interprets only 8-bit APICID in the Interrupt Remapping Table entries. 1 = IA-32 system is operating in extended IA-32 interrupt mode. Hardware interprets 32-bit APICID in the Interrupt Remapping Table entries. 10:4 RV 0h Reserved 3:0 RW 0b Size This field specifies the size of the interrupt remapping table. The number of entries in the interrupt remapping table is 2^(X+1), where X is the value programmed in this field.
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1100h Bit Attr Reset Value Description 63:12 ROS-V 0h GPA 4k aligned GPA for the faulting transaction. Valid only when F field is set 11:0 RV 0h Reserved
Processor Integrated I/O (IIO) Configuration Registers
Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1108h Bit Attr Reset Value Description 63 RW1CS 0b Fault Hardware sets this field to indicate a fault is logged in this fault recording register. The F field is set by hardware after the details of the fault is recorded in the PADDR, SID, FR and T fields.When this field is set, hardware may collapse additional faults from the same requestor (SID). Software writes the value read from this field to clear it. 62 ROS-V 0b Type Type of the first faulted DMA request 0 = DMA write 1 = DMA read request This field is only valid when Fault (F) bit is set. 61:60 ROS-V 00b Address Type This field captures the AT field from the faulted DMA request. This field is valid only when the F field is set. 59:40 RV 0h Reserved 39:32 ROS-V 00h Fault Reason This field indicates the Reason for the first translation fault. See Intel VT-d specification for details.This field is only valid when Fault bit is set. 31:16 RV 0h Reserved 15:0 ROS-V 0000h Source Identifier Requester ID of the DMA request that faulted. Valid only when F bit is set VTD1_INVADDRREG Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1200h Bit Attr Reset Value Description 63:12 RW
addr To request a page-specific invalidation request to hardware, software must first write the corresponding guest physical address to this register, and then issue a page-specific invalidate command through the IOTLB_REG. 11:7 RV 0h Reserved 6RW 0b
The field provides hint to hardware to preserve or flush the respective non-leaf page-table entries that may be cached in hardware. 0 = Software may have modified both leaf and non-leaf page-table entries corresponding to mappings specified in the ADDR and AM fields. On a page- selective invalidation request, IIO must flush both the cached leaf and nonleaf page-table entries corresponding to mappings specified by ADDR and AM fields. IIO performs a domain-level invalidation on non-leaf entries and page-selective-domain-level invalidation at the leaf level 1 = Software has not modified any non-leaf page-table entries corresponding to mappings specified in the ADDR and AM fields. On a page-selective invalidation request, IIO preserves the cached non-leaf page-table entries corresponding to mappings specified by ADDR and AM fields and performs only a page-selective invalidation at the leaf level 5:0 RW 0h
VTD1_IOTLBINV Bus: 0 Device: 5 Function: 0 MMIO BAR: VTBAR Offset: 1208 Bit Attr Reset Value Description 63 RW 0b Invalidate IOTLB cache Software requests IOTLB invalidation by setting this field. Software must also set the requested invalidation granularity by programming the IIRG field.Hardware clears the IVT field to indicate the invalidation request is complete. Hardware also indicates the granularity at which the invalidation operation was performed through the IAIG field. Software must read back and check the IVT field to be clear to confirm the invalidation is complete. When IVT field is set, software must not update the contents of this register (and Invalidate Address register, i if it is being used), nor submit new IOTLB invalidation requests. 62 RV 0h Reserved 61:60 RW 00b IOTLB Invalidation Request Granularity When requesting hardware to invalidate the I/OTLB (by setting the IVT field), software writes the requested invalidation granularity through this IIRG field. Following are the encodings for the 2-bit IIRG field. 00 = Reserved. Hardware ignores the invalidation request and reports invalidation complete by clearing the IVT field and reporting 00 in the AIG field. 01 = Global Invalidation request. The processor supports this. 10 = Domain-selective invalidation request. The target domain-id must be specified in the DID field. The processor supports this 11 = Page-selective invalidation request. The target address, mask and invalidation hint must be specified in the Invalidate Address register, the domain-id must be provided in the DID field. The processor supports this. 59 RV 0h Reserved 58:57 RO 00b IOTLB Actual Invalidation Granularity Hardware reports the granularity at which an invalidation request was proceed through the AIG field at the time of reporting invalidation completion (by clearing the IVT field). The following are the encodings for the 2-bit IAIG field. 00 = Reserved. This indicates hardware detected an incorrect invalidation request and ignored the request. Examples of incorrect invalidation requests include detecting an unsupported address mask value in Invalidate Address register for page-selective invalidation requests or an unsupported/undefined encoding in IIRG. 01 = Global Invalidation performed. The processor sets this in response to a global IOTLB invalidation request. 10 = Domain-selective invalidation performed using the domain-id that was specified by software in the DID field. The processor sets this in response to a domain selective IOTLB invalidation request. 11 = The processor sets this in response to a page selective invalidation request. 56:50 RV 0h Reserved 49 RW 0b
The processor uses this to drain or not drain reads on an invalidation request. 48 RW 0b
The processor uses this to drain or not drain writes on an invalidation request. 47:32 RW 0000h did Domain to be invalidated and is programmed by software for both page and domain selective invalidation requests. The processor ignores the bits 47:40 since it supports only an 8 bit Domain ID. 31:0 RV 0h ReservedDatasheet, Volume 2 277 Processor Uncore Configuration Registers 4 Processor Uncore Configuration Registers This chapter also contains the Integrated Memory Controller Registers for all 4 Channels and the Power Control Unit (PCU) registers.
4.1 PCI Standard Registers
These registers appear in every function for every uncore device and can be accessed using the provided offset.
4.1.3 PCICMD—PCI Command Register
PCICMD Offset: 4h Bit Attr Reset Value Description 15:11 RV 0h Reserved 10 RO 0b INTx Disable Not applicable for these devices 9RO 0b Fast Back-to-Back Enable Not applicable to PCI Express and is hardwired to 0 8RO 0b SERR Enable This bit has no impact on error reporting from these devices 7RO 0b IDSEL Stepping/Wait Cycle Control Not applicable to internal devices. Hardwired to 0. 6RO 0b Parity Error Response This bit has no impact on error reporting from these devices 5RO 0b VGA palette snoop Enable Not applicable to internal devices. Hardwired to 0. 4RO 0b Memory Write and Invalidate Enable Not applicable to internal devices. Hardwired to 0. 3RO 0b Special Cycle Enable Not applicable. Hardwired to 0. 2RO 0b Bus Master Enable Hardwired to 0 since these devices do not generate any transactions 1RO 0b Memory Space Enable Hardwired to 0 since these devices do not decode any memory BARs 0RO 0b IO Space Enable Hardwired to 0 since these devices do not decode any IO BARsDatasheet, Volume 2 279
PCISTS Offset: 6h Bit Attr Reset Value Description 15 RO 0b Detected Parity Error This bit is set when the device receives a packet on the primary side with an uncorrectable data error (including a packet with poison bit set) or an uncorrectable address/control parity error. The setting of this bit is regardless of the Parity Error Response bit (PERRE) in the PCICMD register. R2PCIe will never set this bit. 14 RO 0b Signaled System Error Hardwired to 0 13 RO 0b Received Master Abort Hardwired to 0 12 RO 0b Received Target Abort Hardwired to 0 11 RO 0b Signaled Target Abort Hardwired to 0 10:9 RO 0h DEVSEL# Timing Not applicable to PCI Express. Hardwired to 0. 8RO 0b Master Data Parity Error Hardwired to 0 7RO 0b Fast Back-to-Back Not applicable to PCI Express. Hardwired to 0. 6RO 0bReserved 5RO 0b 66MHz capable Not applicable to PCI Express. Hardwired to 0. 4RO 0b Capabilities List This bit indicates the presence of a capabilities list structure 3RO 0b INTx Status Hardwired to 0 2:0 RV 0h ReservedProcessor Uncore Configuration Registers 280 Datasheet, Volume 2
4.1.8 PLAT—Primary Latency Timer Register
RID Offset: 8h Bit Attr Reset Value Description 7:0 RO 00h Revision_ID Reflects the Uncore Revision ID after reset. Reflects the Compatibility Revision ID after BIOS writes 69h to any RID register in any processor function. Implementation Note: Read and write requests from the host to any RID register in any processor function are re-directed to the IIO cluster. Accesses to the CCR field are also redirected due to DWord alignment. It is possible that JTAG accesses are direct, so will not always be redirected. CCR Offset: 9h Bit Attr Reset Value Description 23:16 RO 08h Base Class Generic Device 15:8 RO 80h Sub-Class Generic Device 7:0 RO 00h Register-Level Programming Interface Set to 00h for all non-APIC devices. CLSR Offset: Ch Bit Attr Reset Value Description 7:0 RW 0h Cacheline Size This register is set as RW for compatibility reasons only. Cacheline size for processor is always 64B. PLAT Offset: Dh Bit Attr Reset Value Description 7:0 RO 0h Primary Latency Timer Not applicable to PCI Express. Hardwired to 00h.Datasheet, Volume 2 281
4.1.14 INTL—Interrupt Line Register
4.1.15 INTPIN—Interrupt Pin Register
4.1.16 MINGNT—Minimum Grant Register
4.1.17 MAXLAT—Maximum Latency Register
CAPPTR Offset: 34h Bit Attr Reset Value Description 7:0 RO 00h Capability Pointer Points to the first capability structure for the device which is the PCIe capability. INTL Offset: 3Ch Bit Attr Reset Value Description 7:0 RO 00h Interrupt Line Not applicable for these devices INTPIN Offset: 3Dh Bit Attr Reset Value Description 7:0 RO 00h Interrupt Pin Not applicable since these devices do not generate any interrupt on their own Offset: 3Eh Bit Attr Reset Value Description 7:0 RO 00h Minimum Grant Value This register does not apply to PCI Express. It is hard-coded to ‘00’h. Offset: 3Fh Bit Attr Reset Value Description 7:0 RO 00h Maximum Latency Value This register does not apply to PCI Express. It is hard-coded to ‘00’h.Datasheet, Volume 2 283
4.2 Integrated Memory Controller Configuration
Registers The Integrated Memory Controller unit contains four controllers. Up to four channels can be operated independently. The DRAM controllers share a common address decode. Configuration registers may be per channel or common.
4.2.1 Processor Registers
All Integrated Memory Controller registers listed below are specific to the the processor.
4.2.3 CBO unicast CSRs
4.2.3.3 RTID_Config_Pool45_Size—Ring Global Configuration Register
Register related to VNA Credit Configuration
BL VNA credit count for R2PCIE (processor note, the VNA credit count toward R2PCIE can’t exceed 3, so the maximum value should be 3 or less) 11:9 RWS 001b
Pipe Debug Bus Select
4.2.3.8 SadDbgMm2 Register
4.2.3.9 Cbsads_Unicast_Cfg_Spare Register
00h reservedDatasheet, Volume 2 305
This register is controlled by lock bit GDXCLCK in XXX register. The register may be readable with the lock bit set but no writes will take effect unless the lock bit is set to 0.
Core™ i7 processor family for the LGA-2011 socket approach. The message format is not otherwise affected. 2RWS-L 0b CBo GDXC PMA IDI Message Enable The IDI-like message issued from the PMA (generally associated with certain power management events) is enabled by this bit. When not asserted, the CBo MCI arbiter will not receive any PMA IDI message valid signal. 1RWS-L 0b GDXC Time Stamp NOP Message Enable GDXC ësyncí and ësuper syncí events result in a construction of a NOP with the appropriate Time Stamp value. When this bit not asserted, the CBo MCI arbiter will not receive any NOP message valid signal (effectively dropping this message).Processor Uncore Configuration Registers 306 Datasheet, Volume 2
4.2.3.11 RTID_Config_Pool01_Base—Ring Global Configuration Register
This control register contain the RTID pool information for Cbo. RTID_Config_Pool01_Base Bus: 1 Device: 12 Function: 0 CFG Mode: Parent Offset: A0h Bus: 1 Device: 12 Function: 0 Offset: A0h Bus: 1 Device: 12 Function: 1 Offset: A0h Bus: 1 Device: 12 Function: 2 Offset: A0h Bus: 1 Device: 12 Function: 3 Offset: A0h Bus: 1 Device: 13 Function: 0 Offset: A0h Bus: 1 Device: 13 Function: 1 Offset: A0h Bus: 1 Device: 13 Function: 2 Offset: A0h Bus: 1 Device: 13 Function: 3 Offset: A0h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25 RW-V 0h Pool1_ExtendedMode To indicate that this pool is in use for RTID extension feature. 24:22 RV 0h Reserved 21:16 RW-V 00h Pool1_Base_RTID Starting RTID number for Pool0 15:10 RV 0h Reserved 9RW-V 0h Pool0_ExtendedMode To indicate that this pool is in use for RTID extension feature. 8:6 RV 0h Reserved 5:0 RW-V 00h Pool0_Base_RTID Starting RTID number for Pool0Datasheet, Volume 2 307
This control register contain the RTID pool information for Cbo. RTID_Config_Pool45_Base Bus: 1 Device: 12 Function: 0 CFG Mode: Parent Offset: A8h Bus: 1 Device: 12 Function: 0 Offset: A8h Bus: 1 Device: 12 Function: 1 Offset: A8h Bus: 1 Device: 12 Function: 2 Offset: A8h Bus: 1 Device: 12 Function: 3 Offset: A8h Bus: 1 Device: 13 Function: 0 Offset: A8h Bus: 1 Device: 13 Function: 1 Offset: A8h Bus: 1 Device: 13 Function: 2 Offset: A8h Bus: 1 Device: 13 Function: 3 Offset: A8h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25 RW-V 0h Pool5_ExtendedMode To indicate that this pool is in use for RTID extension feature. 24:22 RV 0h Reserved 21:16 RW-V 00h Pool5_Base_RTID Starting RTID number for Pool0 15:10 RV 0h Reserved 9RW-V 0h Pool4_ExtendedMode To indicate that this pool is in use for RTID extension feature. 8:6 RV 0h Reserved 5:0 RW-V 00h Pool4_Base_RTID Starting RTID number for Pool0Datasheet, Volume 2 309
Configuration Shadow Register This control register contain the RTID pool information for Cbo. RTID_Config_Pool45_Base_Shadow Bus: 1 Device: 12 Function: 0 CFG Mode: Parent Offset: C8h Bus: 1 Device: 12 Function: 0 Offset: C8h Bus: 1 Device: 12 Function: 1 Offset: C8h Bus: 1 Device: 12 Function: 2 Offset: C8h Bus: 1 Device: 12 Function: 3 Offset: C8h Bus: 1 Device: 13 Function: 0 Offset: C8h Bus: 1 Device: 13 Function: 1 Offset: C8h Bus: 1 Device: 13 Function: 2 Offset: C8h Bus: 1 Device: 13 Function: 3 Offset: C8h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25 RWS-V 0h Pool5_ExtendedMode To indicate that this pool is in use for RTID extension feature. 24:22 RV 0h Reserved 21:16 RWS-V 00h Pool5_Base_RTID Starting RTID number for Pool0 15:10 RV 0h Reserved 9RWS-V 0h Pool4_ExtendedMode To indicate that this pool is in use for RTID extension feature. 8:6 RV 0h Reserved 5:0 RWS-V 00h Pool4_Base_RTID Starting RTID number for Pool0Processor Uncore Configuration Registers 314 Datasheet, Volume 2
PAM0123 Bus: 1 Device: 12 Function: 6 Offset: 40h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:28 RW 0h PAM3_HIENABLE: 0D4000h–0D7FFFh Attribute (HIENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0D4000h to 0D7FFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 27:26 RV 0h Reserved 25:24 RW 0h PAM3_LOENABLE: 0D0000h-0D3FFFh Attribute (LOENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0D0000h to 0D3FFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 23:22 RV 0h Reserved 21:20 RW 0h PAM2_HIENABLE: 0CC000h-0CFFFFh Attribute (HIENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0CC000h to 0CFFFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 19:18 RV 0h Reserved 17:16 RW 0h PAM2_LOENABLE: 0C8000h-0CBFFFh Attribute (LOENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0C8000h to 0CBFFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 15:14 RV 0h Reserved 13:12 RW 0h PAM1_HIENABLE: 0C4000h-0C7FFFh Attribute (HIENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0C4000h to 0C7FFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 11:10 RV 0h ReservedDatasheet, Volume 2 317
9:8 RW 0h PAM1_LOENABLE: 0C0000h-0C3FFFh Attribute (LOENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0C0000h to 0C3FFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 7:6 RV 0h Reserved 5:4 RW-LB 0h PAM0_HIENABLE: 0F0000h-0FFFFFh Attribute (HIENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0F0000h to 0FFFFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 3:0 RV 0h Reserved PAM456 Bus: 1 Device: 12 Function: 6 Offset: 44h Bit Attr Reset Value Description 31:22 RV 0h Reserved 21:20 RW 0h PAM6_HIENABLE: 0EC000h-0EFFFFh Attribute (HIENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0EC000h to 0EFFFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 19:18 RV 0h Reserved 17:16 RW 0h PAM6_LOENABLE: 0E8000h-0EBFFFh Attribute (LOENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0E8000h to 0EBFFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 15:14 RV 0h Reserved 13:12 RW 0h PAM5_HIENABLE: 0E4000h-0E7FFFh Attribute (HIENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0E4000h to 0E7FFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 11:10 RV 0h Reserved PAM0123 Bus: 1 Device: 12 Function: 6 Offset: 40h Bit Attr Reset Value DescriptionProcessor Uncore Configuration Registers 318 Datasheet, Volume 2 9:8 RW 0h PAM5_LOENABLE: 0E0000h-0E3FFFh Attribute (LOENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0E0000h to 0E3FFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 7:6 RV 0h Reserved 5:4 RW 0h PAM4_HIENABLE: 0DC000h-0DFFFFh Attribute (HIENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0DC000h to 0DFFFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. 3:2 RV 0h Reserved 1:0 RW 0h PAM4_LOENABLE: 0D8000h-0DBFFFh Attribute (LOENABLE) This field controls the steering of read and write cycles that address the BIOS area from 0D8000h to 0DBFFFh. 00 = DRAM Disabled: All accesses are directed to DMI. 01 = Read Only: All reads are sent to DRAM. All writes are forwarded to DMI. 10 = Write Only: All writes are send to DRAM. Reads are serviced by DMI. 11 = Normal DRAM Operation: All reads and writes are serviced by DRAM. PAM456 Bus: 1 Device: 12 Function: 6 Offset: 44h Bit Attr Reset Value DescriptionDatasheet, Volume 2 319
SMRAMC Bus: 1 Device: 12 Function: 6 Offset: 4Ch Bit Attr Reset Value Description 31:7 RV 0h Reserved 6RW-LB 0b D_OPEN: SMM Space Open (D_OPEN) When D_OPEN=1 and D_LCK=0, the SMM space DRAM is made visible even when SMM decode is not active. This is intended to help BIOS initialize SMM space. Software should ensure that D_OPEN=1 and D_CLS=1 are note set at the same time. 5RW-LB 0b D_CLS: SMM Space Closed (D_CLS) When D_CLS = 1 SMM space DRAM is not accessible to data references, even if SMM decode is active. Code references may still access SMM space DRAM. This will allow SMM software to reference through SMM space to update the display even when SMM is mapped over the VGA range. Software should ensure that D_OPEN=1 and D_CLS=1 are not set at the same time. 4RW-LB 0b D_LCK Processor note: The following described the original intention of D_LCK. In the processor ES1, D_LCK set to 1 will make DRAM_RULEs and INTERLEAVE_LIST read only. However, the plan is to fix this in ES2 where D_LCK will effectively have no effect to any other registers. <Stale D_LCK information, does not apply to the processor> SMM Space Locked (D_LCK): When D_LCK is set to 1 then D_OPEN is reset to 0 and D_LCK, D_OPEN, C_BASE_SEG, G_SMRAME, PCIEXBAR, (DRAM_RULEs and INTERLEAVE_LISTs) become read only. D_LCK can be set to 1 using a normal configuration space write but can only be cleared by a Reset. The combination of D_LCK and D_OPEN provide convenience with security. The BIOS can use the D_OPEN function to initialize SMM space and then use D_LCK to ’lock down’ SMM space in the future so that no application software (or BIOS itself) can violate the integrity of SMM space, even if the program has knowledge of the D_OPEN function. 3RW-LB 0b G_SMRAM: Global SMRAM Enable (G_SMRAME) If set to a 1, then Compatible SMRAM functions are enabled, providing 128 KB of DRAM accessible at the A0000h address while in SMM (ADSB with SMM decode). To enable Extended SMRAM function this bit has to be set to 1. Once D_LCK is set, this bit becomes read only. 2:0 RO 010b C_BASE_SEG: Compatible SMM Space Base Segment (C_BASE_SEG) This field indicates the location of SMM space. SMM DRAM is not remapped. It is simply made visible if the conditions are right to access SMM space; otherwise, the access is forwarded to HI. Only SMM space between A0000h and BFFFFh is supported so this field is hardwired to 010.Processor Uncore Configuration Registers 320 Datasheet, Volume 2
4.2.4.4 MESEG_BASE—Manageability Engine Base Address Register
4.2.4.5 MESEG_LIMIT—Manageability Engine Limit Address Register
MEBASE This field corresponds to A[45:19] of the base address memory range that is allocated to the ME. 18:0 RV 0h Reserved MESEG_LIMIT Bus: 1 Device: 12 Function: 6 Offset: 78h Bit Attr Reset Value Description 63:46 RV 0h Reserved 45:19 RW-LB
MELIMIT This field corresponds to A[45:19] of the limit address memory range that is allocated to the ME. Minimum granularity is 1 MB for this region. 18:12 RV 0h Reserved 11 RW-LB 0h
This bit indicates whether the ME Stolen Memory range is enabled or not. When enabled, all IA access to this range must be aborted. 10 RW-LB 0h MELCK This field indicates whether all bits in the MESEG_BASE and MESEG_MASK registers are locked. When locked, updates to any field for these registers must be dropped. 9:0 RV 0h ReservedDatasheet, Volume 2 321
DRAM_RULE[0:9] Bus: 1 Device: 12 Function: 6 Offset: 80h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This field correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for the DRAM Rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB 0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB 0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST[0:9] Bus: 1 Device: 12 Function: 6 Offset: 84h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Processor Uncore Configuration Registers 322 Datasheet, Volume 2
DRAM_RULE_1 Bus: 1 Device: 12 Function: 6 Offset: 88h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This field correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b attribute for DRAM rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = 1: Address bits {8,7,6}. 0 = 0: Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_1 Bus: 1 Device: 12 Function: 6 Offset: 8Ch Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Datasheet, Volume 2 323
DRAM_RULE_2 Bus: 1 Device: 12 Function: 6 Offset: 90h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for DRAM rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB 0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB 0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_2 Bus: 1 Device: 12 Function: 6 Offset: 94h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Processor Uncore Configuration Registers 324 Datasheet, Volume 2
DRAM_RULE_3 Bus: 1 Device: 12 Function: 6 Offset: 98h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This field correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for DRAM rule
00 - DRAM, 01 - MMCFG , 10 - NXM (not POR for the processor)
1RW-LB0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_3 Bus: 1 Device: 12 Function: 6 Offset: 9Ch Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Datasheet, Volume 2 325
DRAM_RULE_4 Bus: 1 Device: 12 Function: 6 Offset: A0h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This field correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for DRAM rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB 0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB 0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_4 Bus: 1 Device: 12 Function: 6 Offset: A4h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Processor Uncore Configuration Registers 326 Datasheet, Volume 2
DRAM_RULE_5 Bus: 1 Device: 12 Function: 6 Offset: A8h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This field correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for DRAM rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_5 Bus: 1 Device: 12 Function: 6 Offset: ACh Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Datasheet, Volume 2 327
DRAM_RULE_6 Bus: 1 Device: 12 Function: 6 Offset: B0h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for DRAM rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB 0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB 0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_6 Bus: 1 Device: 12 Function: 6 Offset: B4h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Processor Uncore Configuration Registers 328 Datasheet, Volume 2
DRAM_RULE_7 Bus: 1 Device: 12 Function: 6 Offset: B8h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This field correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for DRAM rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_7 Bus: 1 Device: 12 Function: 6 Offset: BCh Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Datasheet, Volume 2 329
DRAM_RULE_8 Bus: 1 Device: 12 Function: 6 Offset: C0h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This field correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for DRAM rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB 0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB 0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_8 Bus: 1 Device: 12 Function: 6 Offset: C4h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Processor Uncore Configuration Registers 330 Datasheet, Volume 2
DRAM_RULE_9 Bus: 1 Device: 12 Function: 6 Offset: C8h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:6 RW-LB 00000h Limit This field correspond to Addr[45:26] of the DRAM rule top limit address. Must be strictly greater then previous rule, even if this rule is disabled, unless this rule and all following rules are disabled. Lower limit is the previous rule (or 0 if this is the first rule) 5:4 RV 0h Reserved 3:2 RW-LB 00b Attribute for DRAM rule 00 = DRAM 01 = MMCFG 10 = NXM (not POR for the processor) 1RW-LB0h Interleave_Mode DRAM rule interleave mode. If a dram_rule hits a 3 bit number is used to index into the corresponding interleave_list to determine which package the DRAM belongs to. This mode selects how that number is computed. 1 = Address bits {8,7,6}. 0 = Address bits {8,7,6} XORed with {18,17,16}. 0RW-LB0h RULE_ENABLE Enable for this DRAM rule. INTERLEAVE_LIST_9 Bus: 1 Device: 12 Function: 6 Offset: CCh Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW-LB 0h Package7 NodeID of the Interleave List target. 26:24 RW-LB 0h Package6 NodeID of the Interleave List target. 23:22 RV 0h Reserved 21:19 RW-LB 0h Package5 NodeID of the Interleave List target. 18:16 RW-LB 0h Package4 NodeID of the Interleave List target. 15:14 RV 0h Reserved 13:11 RW-LB 0h Package3 NodeID of the Interleave List target. 10:8 RW-LB 0h Package2 NodeID of the Interleave List target. 7:6 RV 0h Reserved 5:3 RW-LB 0h Package1 NodeID of the Interleave List target. 2:0 RW-LB 0h Package0 NodeID of the Interleave List target.Datasheet, Volume 2 331
4.2.5.4 TOHM—Top of High Memory Register
4.2.5.5 MMIO_RULE[0:7]—MMIO Rule 0 Register
11 RW 0h DowngradeFtoS Downgrade all F state to S state 10 RW 0h MtoIBias Use MtoI policy as opposed to MtoS policy 9RV 0hReserved 8RW 0b DrdGOSonEM Enable GOS on E/M state for DRD 7RW 0h DPSrcSnoop Enable DP Early Snoop optimization 6:1 RV 0h Reserved 0RW 0h EGO Enable Cbo Early GO mode TOLM Bus: 1 Device: 12 Function: 7 Offset: 80h Bit Attr Reset Value Description 31:4 RV 0h Reserved 3:0 RW-LB 1h Top of low memory This register contains bits 31 to 28 of an address one byte above the maximum DRAM memory below 4G that is usable by the operating system. TOHM Bus: 1 Device: 12 Function: 7 Offset: 84h Bit Attr Reset Value Description 31:21 RV 0h Reserved 20:0 RW-LB 007FFFh Top of High Memory This register contains bits 45:25 of an address one byte above the maximum DRAM memory; above 4 GB that is usable by the operating system. MMIO_RULE[0:7] Bus: N Device: 13 Function: 6 Offset: 80h, 88h, 90h, 98h, A0h, A8h, B0h, B8h Bit Attr Reset Value Description 63:46 RV 0h Reserved Cbo_Coh_Config Bus: 1 Device: 12 Function: 7 Offset: 50h Bit Attr Reset Value DescriptionDatasheet, Volume 2 333
Processor Uncore Configuration Registers 45:26 RW-LB 00000h Limit address This field correspond to Addr[45:26] of the MMIO rule top limit address. Both base and limit must match to declare a match to this MMIO rule. 25:21 RV 0h Reserved 20:1 RW-LB 00000h Base address This field correspond to Addr[45:26] of the MMIO rule base address. Both base and limit must match to declare a match to this MMIO rule. The granularity of MMIO rule is 64 MB. 0RW-LB 0h RULE_ENABLE Enable for this MMIO rule. MMIO_RULE[0:7] Bus: N Device: 13 Function: 6 Offset: 80h, 88h, 90h, 98h, A0h, A8h, B0h, B8h Bit Attr Reset Value DescriptionProcessor Uncore Configuration Registers 334 Datasheet, Volume 2
4.2.5.6 MMCFG_Rule—MMCFG Rule for Interleave Decoder Register
Base address This field correspond to Addr[45:20] of the MMCFG rule base address. The granularity of MMCFG rule is 64 MB. This interleave decoder can be used for higher segments of the MMCFG and is not restricted to Segment 0 of MMCFG. Check MMCFG_TargetList for Interleaved target list used by this decoder. 19:3 RV 0h Reserved 2:1 RW-LB 00b Length This field documents the maximum bus number supported by the interleave decoder. MaxBusNumber is a 3-bit field that represents an exponential number 2^(n)-1. If the 3-bits are zero, then n=8; else n=value. That is, 255, 1, 3, 7, 15, 31, 63,
Processor only support the following configuration:
- 2’b10 : MaxBusNumber = 63 (that is, 64 MB MMCFG range)
4.2.5.9 MMIO_Target_LIST—MMIO Target List Register
4.2.6 Integrated Memory Controller Target Address Registers
This section describes the PCI/PCIe registers that are present in this unit. It covers registers from offset 40h to FFh for PCI configuration space or 80h to FFFh for PCIe configuration space. The following Memory Controller Main Registers are part of the address decode functions.
4.2.6.1 PXPCAP—PCI Express* Capability Register
SAD_Control Bus: N Device: 13 Function: 6 Offset: F4h Bit Attr Reset Value Description 31:3 RV 0h Reserved 2:0 RW-L 0h Local_NodeID NodeID of the local Socket. PXPCAP Bus: 1 Device: 15 Function: 0 Offset: 40h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:25 RO 00h Interrupt Message Number Not applicable for this device 24 RO 0b Slot Implemented Not applicable for integrated endpoints 23:20 RO 9h Device/Port Type Device type is Root Complex Integrated Endpoint 19:16 RO 1h Capability Version PCI Express Capability is Compliant with Version 1.0 of the PCI Express Specification. Note: This capability structure is not compliant with Versions beyond 1.0, since they require additional capability registers to be reserved. The only purpose for this capability structure is to make enhanced configuration space available. Minimizing the size of this structure is accomplished by reporting version 1.0 compliancy and reporting that this is an integrated root port device. As such, only three DWords of configuration space are required for this structure. 15:8 RO 00h Next Capability Pointer Pointer to the next capability. Set to 0 to indicate there are no more capability structures. 7:0 RO 10h Capability ID Provides the PCI Express capability ID assigned by PCI-SIG.Processor Uncore Configuration Registers 338 Datasheet, Volume 2
4.2.6.2 MCMTR—MC Memory Technology Register
MCMTR Bus: 1 Device: 15 Function: 0 Offset: 7Ch Bit Attr Reset Value Description 31:10 RV 0h Reserved 8RW-LB 0b NORMAL 0 = IOSAV mode 1 = Normal Mode 7:4 RV 0h Reserved 3RW-LB 0b DIR_EN Note: This bit will only work if the SKU is enabled for this feature. Changing this bit will require BIOS to re-initialize the memory. 2RW-LB0h ECC_EN: ECC Enable Note: This bit will only work if the SKU is enabled for this feature 1RW-LB0h LS_EN Use lock-step channel mode if set; otherwise, independent channel mode. Note: This bit will only work if the SKU is enabled for this feature 0RW-LB0h CLOSE_PG Use close page address mapping if set; otherwise, open page.Datasheet, Volume 2 339
Target Register There are total of 12 TAD ranges (N+P+1= number of TAD ranges; P= how many times channel interleave changes within the SAD ranges.).
4.2.6.4 MCMTR2—MC Memory Technology Register 2
MC Memory Technology Register 2 TADWAYNESS_[0:11] Bus: 1 Device: 15 Function: 0 Offset: 80h, 84h, 88h, 8Ch, 90h, 94h, 98h, 9Ch Bus: 1 Device: 15 Function: 0 Offset: A0h, A4h, A8h, ACh Bit Attr Reset Value Description 31:12 RW-LB 00000h TAD_LIMIT highest address of the range in system address space, 64 MB granularity; that is, TADRANGLIMIT[45:26]. 11:10 RW-LB 0h
socket interleave wayness 00 = 1 way, 01 = 2 way, 10 = 4 way, 11 = 8 way. 9:8 RW-LB 0h TAD_CH_WAY: Channel Interleave Wayness 00 = interleave across 1 channel 01 = interleave across 2 channels 10 = interleave across 3 channels 11 = interleave across 4 channels Note: This parameter effectively tells iMC how much to divide the system address by when adjusting for the channel interleave. Since both channels in a pair store every line of data, divide by 1 when interleaving across one pair and 2 when interleaving across two pairs. For HA, it tells how may channels to distribute the read requests across. When interleaving across 1 pair, distribute the reads to two channels; when interleaving across 2 pairs, distribute the reads across 4 pairs. Writes always go to both channels in the pair when the read target is either channel. 7:6 RW-LB 0h
Target channel for channel interleave 3 (used for 4-way TAD interleaving). This register is used in the iMC only for reverse address translation for logging spare/patrol errors, converting a rank address back to a system address. 5:4 RW-LB 0h
Target channel for channel interleave 2 (used for 3/4-way TAD interleaving). 3:2 RW-LB 0h
Target channel for channel interleave 1 (used for 2/3/4-way TAD interleaving). 1:0 RW-LB 0h
Target channel for channel interleave 0 (used for 1/2/3/4-way TAD interleaving). MCMTR2 Bus: 1 Device: 15 Function: 0 Offset: B0h Bit Attr Reset Value Description 31:4 RV 0h Reserved 3:0 RW-L 0h MONROE_CHN_FORCE_SR: Monroe Technology software channel force SRcontrol. When set, the corresponding channel is ignoring the ForceSRExit. A new transaction arrive at this channel will still cause the SR exit.Processor Uncore Configuration Registers 340 Datasheet, Volume 2
4.2.6.5 MC_INIT_STATE_G—Initialization State for Boot, Training
and IOSAV Register This register defines the high-level behavior in IOSAV mode. It defines the DDR reset pin value, DCLK enable, refresh enable IOSAV synchronization features and bits indicating the MRC status This register is lock by uCR LT_IOSAV_MEMINIT_DIS
Bus: 1 Device: 15 Function: 0 Offset: B4h Bit Attr Reset Value Description 31:13 RV 0h Reserved 12:9 RWS-L 0h cs_oe_en Per channel CS output enable override 8RWS-L 1b MC is in SR This bit indicates if it is safe to keep the MC in SR during MC-reset. If it is clear when reset occurs, it means that the reset is without warning and the DDR-reset should be asserted. If set when reset occurs, it indicates that DDR is already in SR and it can keep it this way. This bit can also indicate MRC if reset without warning has occurred, and if it has, cold-reset flow should be selected. 7RW-L 0b MRC_DONE This bit indicates the PCU that the MRC is done, MC is in normal mode, ready to serve, and PCU may begin power-control operations. MRC should set this bit when MRC is done, but it doesn’t need to wait until training results are saved in BIOS flas.h 5RW-L 1b DDRIO Reset (internal logic): DDR IO reset (also known as TrainReset in RTL) To reset the I/O this bit has to be set for 20 DCLKs and then cleared. Setting this bit will reset the DDRIO receive FIFO registers only. It is required in some of the training steps 4RW-L 1b IOSAV sequence channel sync This bit is used to sync the IOSAV operation in four channels. It is expected that BIOS clear the bit after IOSAV test. Clearing the bit during test may lead to unknown behavior. By setting it four channels get the enable together 3RW-L 0b Refresh Enable If cold reset, this bit should be set by BIOS after:
1. Initializing the refresh timing parameters
2. Running DDR through reset and init sequence
If warm reset or S3 exit, this bit should be set immediately after SR exit 2RW-L 0b DCLK Enable (for all channels) DCLK Enable (for all channels) 1RW-L 1b DDR_RESET DDR reset for all DIMMs from all channels within this socket. No IMC/DDRIO logic is reset by asserting this register. This bit is negative logic! That is, writing 0 to induce a reset and write 1 for not reset.Datasheet, Volume 2 341
Defines the time from IO starting to run RCOMP evaluation until RCOMP results are definitely ready. This counter is added in order to keep determinism of the process if operated in different modes The register also indicates that first RCOMP has been done - required by BIOS RCOMP_TIMER Bus: 1 Device: 15 Function: 0 Offset: C0h Bit Attr Reset Value Description 31 RW 0b rcomp_in_progress rcomp in progress status bit 30:22 RV 0h Reserved 21 RW 0b ignore_mdll_locked_bit Ignore DDRIO MDLL lock status during rcomp when set 20 RW 0b no_mdll_fsm_override Do not force DDRIO MDLL on during rcomp when set 19:17 RV 0h Reserved 16 RW-LV 0b First RCOMP has been done in DDRIO This is a status bit that indicates the first RCOMP has been completed. It is cleared on reset, and set by MC hardware when the first RCOMP is completed. BIOS should wait until this bit is set before executing any DDR command Locked by the inverted output of MCMAIN.PSMI_QSC_CNTL.FORCERW 15:0 RW 044Ch COUNT DCLK cycle count that MC needs to wait from the point it has triggered RCOMP evaluation until it can trigger the load to registersProcessor Uncore Configuration Registers 342 Datasheet, Volume 2
4.2.7 Integrated Memory Controller MemHot Registers
These registers Control for the Integrated Memory Controller thermal throttle logic for each channel.
Generate SMI event when either MEMHOT[1:0]# is externally asserted. 17 RW 0h
Generate SMI during internal MEMHOT# event assertion 16 RW 0b Enabling external MEM_HOT sensing logic Externally asserted MEM_HOTsense control enable bit. When set, the MEM_HOT sense logic is enabled. 15 RW 1b Enabling mem_hot output generation logic MEM_HOT output generation logic enable control. When 0, the MEM_HOT output generation logic is disabled (that is, MEM_HOT[1:0]# outputs are in de-asserted state) no assertion regardless of the memory temperature. Sensing of externally asserted MEM_HOT[1:0]# is not affected by this bit. iMC will always reset the MH1_DIMM_VAL and MH0_DIMM_VAL bits in the next DCLK so there is no impact to the PCODE update to the MH_TEMP_STAT registers. When 1, the MEM_HOT output generation logic is enabled.Datasheet, Volume 2 343
Period and Min Assertion Counter Register
MEMHOT Input Sense Assertion Time in number of CNTR_500_NANOSEC. BIOS calculates the number of CNFG_500_NANOSEC for 1 usec/2 usec input_sense duration. Here is MH_IN_SENSE_ASSERT ranges: 0 or 1 = Reserved 2–7 = 1 usec – 3.5 usec sense assertion time in 500 nsec increment 12:10 RV 0h Reserved 9:0 RWS 190h CNFG_500_NANOSEC 500 ns equivalent in DCLK. BIOS calculates the number of DCLK to be equivalent to 500 nanoseconds. This value is loaded into CNTR_500_NANOSEC when it is decremented to zero. For pre-Si validation, minimum 2 can be set to speed up the simulation. The following are the recommended CNFG_500_NANOSEC values based from each DCLK frequency: DCLK=400 MHz, CNFG_500_NANOSEC = 0C8h DCLK=533 MHz, CNFG_500_NANOSEC = 10Ah DCLK=667 MHz, CNFG_500_NANOSEC = 14Dh DCLK=800 MHz, CNFG_500_NANOSEC = 190h DCLK=933 MHz, CNFG_500_NANOSEC = 1D2h
MEM_HOT[1:0]# Minimum Assertion Time Current Count in number of CNTR_500_NANOSEC (decrement by 1 every CNTR_500_NANOSEC). When the counter is zero, the counter is remain at zero and it is only loaded with MH_MIN_ASRTN when MH_DUTY_CYC_PRD_CNTR is reloaded. 19:0 RW-LV 00000h
MH_DUTY_CYC_PRD_CNTR
MEM_HOT[1:0]# DUTY Cycle Period Current Count in number of CNTR_500_NANOSEC (decrement by 1 every CNTR_500_NANOSEC). When the counter is zero, the next cycle is loaded with MH_DUTY_CYC_PRD. PMSI pause (at quiencense) and resume (at wipe)Processor Uncore Configuration Registers 344 Datasheet, Volume 2
MEM_HOT[1:0]# Input Output Counter in number of CNTR_500_NANOSEC. When MH0_IO_CNTR is zero, the counter is loaded with MH_SENSE_PERIOD in the next CNTR_500_NANOSEC. When count is greater than MH_IN_SENSE_ASSERT, the MEM_HOT[1]# output driver may be turned on if the corresponding MEM_HOT#event is asserted. The receiver is turned off during this time. When count is equal or less than MH_IN_SENSE_ASSERT, MEM_HOT[1:0]#, output is disabled and receiver is turned on. Hardware will decrement this counter by 1 every time CNTR_500_NANOSEC is decremented to zero. When the counter is zero, the next CNFG_500_NANOSEC count is loaded with MH_IN_SENSE_ASSERT. This counter is subject to PMSI pause (at quiencense) and resume (at wipe). 21:12 RW-LV 000h
MEM_HOT[1:0]# Input Output Counter in number of CNTR_500_NANOSEC. When MH_IO_CNTR is zero, the counter is loaded with MH_SENSE_PERIOD in the next CNTR_500_NANOSEC. When count is greater than MH_IN_SENSE_ASSERT, the MEM_HOT[1:0]# output driver may be turn on if the corresponding MEM_HOT#event is asserted. The receiver is turned off during this time. When count is equal or less than MH_IN_SENSE_ASSERT, MEM_HOT[1:0]# output is disabled and receiver is turned on. BIOS calculates the number of CNTR_500_NANOSEC (hardware will decrement this register by 1 every CNTR_500_NANOSEC). When the counter is zero, the next CNTR_500_NANOSEC count is loaded with MH_IN_SENSE_ASSERT. This counter is subject to PMSI pause (at quiencense) and resume (at wipe). 11:10 RV 0h Reserved 9:0 RW-LV 000h CNTR_500_NANOSEC 500 ns base counters used for the MEM_HOT counters and the SMBus counters. BIOS calculates the number of DCLK to be equivalent to 500 nanoseconds. CNTR_500_NANOSEC (hardware will decrement this register by 1 every CNTR_500_NANOSEC). When the counter is zero, the next CNTR_500_NANOSEC count is loaded with CNFG_500_NANOSEC. This counter is subject to PMSI pause (at quiencense) and resume (at wipe).Datasheet, Volume 2 345
MemHot[1]# 2nd Channel Association bit 23 is valid bit. Note: Valid bit means the association is valid and it does not imply the channel is populated. bit 22-20 = 2nd channel ID within this MEMHOT domain. Note: This register is hardcoded in design. It is read-accessible by firmware. Design must make sure this register is not removed by downstream tools. 19:16 RO Ah
MemHot[1]# 1st Channel Association bit 19 is valid bit. Note: Valid bit means the association is valid and it does not implies the channel is populated. bit 18-16 = 1st channel ID within this MEMHOT domain Note: This register is hardcoded in design. It is read-accessible by firmware. Design must make sure this register is not removed by downstream tools. 15:8 RV 0h Reserved 7:4 RO 9h
MemHot[0]# 2nd Channel Association bit 7 is valid bit. Note: Valid bit means the association is valid and it does not implies the channel is populated. bit 6-4 = 2nd channel ID within this MEMHOT domain Note: This register is hardcoded in design. It is read-accessible by firmware. Design must make sure this register is not removed by downstream tools. 3:0 RO 8h
MemHot[0]# 1st Channel Association bit 3 is valid bit. Note: Valid bit means the association is valid and it does not implies the channel is populated or exist. bit 2-0 = 1st channel ID within this MEMHOT domain Note: This register is hardcoded in design. It is read-accessible by firmware. Design must make sure this register is not removed by downstream tools.Processor Uncore Configuration Registers 346 Datasheet, Volume 2
Valid if set. PCODE searches the hottest DIMM temperature and writes the hottest temperature and the corresponding Hottest DIMM CID/ID and sets the valid bit. MEMHOT hardware logic processes the corresponding MEMHOT data when there is a MEMHOT event. Upon processing, the valid bit is reset. PCODE can write over an existing valid temperature since a valid temperature may not occur during a MEMHOT event. If PCODE setting the valid bit occurs at the same cycle that the MEMHOT logic processing and tries to clear, the PCODE set will dominate since it is a new temperature is updated while processing logic tries to clear an existing temperature. 30:28 RW 0h
Hottest DIMM Channel ID for MEM_HOT[1]#. PCODE searches the hottest DIMM temperature and writes the hottest temperature and the corresponding Hottest DIMM CID/ID. 27:24 RW 0h
Hottest DIMM ID for MEM_HOT[1]#. PCODE searches the hottest DIMM temperature and writes the hottest temperature and the corresponding Hottest DIMM CID/ID. 23:16 RW 00h MH1_TEMP Hottest DIMM Sensor Reading for MEM_HOT[1]#. This reading represents the temperature of the hottest DIMM. PCODE searches the hottest DIMM temperature and writes the hottest temperature and the corresponding Hottest DIMM CID/ID. Note: iMC hardware loads this value into the MEM_HOT duty cycle generator counter since PCode may update this field at different rate/time. This field ranges from 0 to 127; that is, the most significant bit is always zero. 15 RW-V 0h
Valid if set. PCODE searches the hottest DIMM temperature and writes the hottest temperature and the corresponding Hottest DIMM CID/ID and sets the valid bit. MEMHOT hardware logic processes the corresponding MEMHOT data when there is a MEMHOT event. Upon processing, the valid bit is reset. PCODE can write over an existing valid temperature since a valid temperature may not occur during a MEMHOT event. If PCODE setting the valid bit occurs at the same cycle that the MEMHOT logic processing and tries to clear, the PCODE set will dominate since it is a new temperature updated while processing logic tries to clear an existing temperature. 14:12 RW 0h
Hottest DIMM Channel ID for MEM_HOT[0]#. PCODE searches the hottest DIMM temperature and writes the hottest temperature and the corresponding Hottest DIMM CID/ID. 11:8 RW 0h
Hottest DIMM ID for MEM_HOT[0]#. PCODE searches the hottest DIMM temperature and writes the hottest temperature and the corresponding Hottest DIMM CID/ID. 7:0 RW 00h MH0_TEMP Hottest DIMM Sensor Reading for MEM_HOT[0]#. This reading represents the temperature of the hottest DIMM. PCODE searches the hottest DIMM temperature and writes the hottest temperature and the corresponding Hottest DIMM CID/ID. Note: iMC hardware loads this value into the MEM_HOT duty cycle generator counter since PCode may update this field at different rate/time. This field ranges from 0 to 127; that is, the most significant bit is always zero.Datasheet, Volume 2 347
Capture externally asserted MEM_HOT[1:0]# assertion detection.
4.2.8 Integrated Memory Controller SMBus Registers
4.2.8.1 SMB_STAT_[0:1]—SMBus Status Register
This register provides the interface to the SMBus/I
C (SCL and SDA signals) that is used to access the Serial Presence Detect EEPROM or Thermal Sensor on DIMM (TSOD) that defines the technology, configuration, and speed of the DIMM's controlled by iMC.
MEM_HOT[1]# assertion status at this sense period. Set if MEM_HOT[1]# is asserted externally for this sense period. This running status bit will automatically update with the next sensed value in the next MEM_HOT input sense phase. 0RW1C 0b
MEM_HOT[0]# assertion status at this sense period. Set if MEM_HOT[0]# is asserted externally for this sense period. This running status bit will automatically update with the next sensed value in the next MEM_HOT input sense phase. SMB_STAT_[0:1] Bus: 1 Device: 15 Function: 0 Offset: 180h Bit Attr Reset Value Description 31 RO-V 0h SMB_RDO Read Data Valid This bit is set by iMC when the Data field of this register receives read data from the SPD/TSOD after completion of an SMBus read command. It is cleared by iMC when a subsequent SMBus read command is issued. 30 RO-V 0h SMB_WOD Write Operation Done This bit is set by iMC when a SMBus Write command has been completed on the SMBus. It is cleared by iMC when a subsequent SMBus Write command is issued. 29 RW-V 0h SMB_SBE SMBus Error This bit is set by iMC if an SMBus transaction (including the TSOD polling or message channel initiated SMBus access) that does not complete successfully (non-Ack has been received from slave at expected Ack slot of the transfer). If a slave device is asserting clock stretching, IMC does not have logic to detect this condition to set the SBE bit directly; however, the SMBus master will detect the error at the corresponding transaction’s expected ACK slot. Note: Once the SMBUS_SBE bit is set, iMC stops issuing hardware-initiated TSOD polling SMBUS transactions until the SMB_SBE is cleared. iMC will not increment the SMB_STAT_x.TSOD_SA until the SMB_SBE is cleared. Manual SMBus command interface is not affected; that is, new command issue will clear the SMB_SBEProcessor Uncore Configuration Registers 348 Datasheet, Volume 2 28 ROS-V 0h SMB_BUSY: SMBus Busy state This bit is set by iMC while an SMBus/I
C command (including TSOD command issued from IMC hardware) is executing. Any transaction that is completed normally or gracefully will clear this bit automatically. By setting the SMB_SOFT_RST will also clear this bit. This register bit is sticky across reset; thus, any surprise reset during pending SMBus operation will sustain the bit assertion across surprised warm-reset. The BIOS reset handler can read this bit before issuing any SMBus transaction to determine whether a slave device may need special care to force the slave to idle state (such as, using clock override toggling (SMB_CKOVRD) and/or using induced time-out by asserting SMB_CKOVRD for 25-35 ms). 27 RV 0h Reserved 26:24 RO-V 111b Last Issued TSOD Slave Address This field captures the last issued TSOD slave address. Following is the slave address and the DDR CHN and DIMM slot mapping: Slave Address: 0 -- Channel: Even Chn; Slot #: 0 Slave Address: 1 -- Channel: Even Chn; Slot #: 1 Slave Address: 2 -- Channel: Even Chn; Slot #: 2 Slave Address: 3 -- Channel: Even Chn; Slot #: 3 (reserved for future use) Slave Address: 4 -- Channel: Odd Chn; Slot #: 0 Slave Address: 5 -- Channel: Odd Chn; Slot #: 1 Slave Address: 6 -- Channel: Odd Chn; Slot #: 2 Slave Address: 7 -- Channel: Odd Chn; Slot #: 3 (reserved for future use) Since this field only captures the TSOD polling slave address, during SMB error handling, software should check the hung SMB_TSOD_POLL_EN state before disabling the SMB_TSOD_POLL_EN in order to qualify whether this field is valid. 23:16 RV 0h Reserved 15:0 RO-V 0000h SMB_RDATA Read DataHolds data read from SMBus Read commands. Since TSOD/EEPROM are I
C devices and the byte order is MSByte first in a word read, reading of I
A write to this register initiates a DIMM EEPROM access through the SMBus/I
C*. SMBCMD_[0:1] Bus: 1 Device: 15 Function: 0 Offset: 184h Bit Attr Reset Value Description 31 RW-V 0b SMB_CMD_TRIGGER: CMD Trigger After setting this bit to 1, the SMBus master will issue the SMBus command using the other fields written in SMBCMD_[0:1] and SMBCntl_[0:1]. Note: The ’-V’ in the attribute implies the hardware will reset this bit when the SMBus command is being started. 30 RWS 0b SMB_PNTR_SEL: Pointer Selection SMBus/I
C present pointer based access enable when set; otherwise, use random access protocol. Hardware based TSOD polling will also use this bit to enable the pointer word read. Important Note: The processor hardware based TSOD polling can be configured with pointer based access. If software manually issues a SMBus transaction to other address (that is, changing the pointer in the slave device), it is software’s responsibility to restore the pointer in each TSOD before returning to hardware based TSOD polling while keeping the SMB_PNTR_SEL=1. 29 RWS 0b SMB_WORD_ACCESS: Word access SMBus/I
Bit[28:27] = 00: SMBus Read Bit[28:27] = 01: SMBus Write Bit[28:27] = 10: illegal combination Bit[28:27] = 11: Write to pointer register SMBus/I
0 = Read command 1 = Write command 26:24 RWS 000b SMB_SA: Slave Address This field identifies the DIMM SPD/TSOD to be accessed. 23:16 RWS 00h SMB_BA: Bus Txn Address This field identifies the bus transaction address to be accessed. Note: In WORD access, 23:16 specifies 2B access address. In Byte access, 23:16 specified 1B access address. 15:0 RWS 0000h SMB_WDATA: Write Data Holds data to be written by SPDW commands. Since TSOD/EEPROM are I
C devices and the byte order is MSByte first in a word write, writing of I
C using byte write, the SMB_WDATA[15:8]=donít care; SMB_WDATA[7:0]=write_byte. If we have a SMB slave connected on the bus, writing of the SMBus slave using word write should use SMB_WDATA[15:8]=SMB_LSB and SMB_WDATA[7:0]=SMB_MSB. It is software responsibility to figure out the byte order of the slave access.Processor Uncore Configuration Registers 350 Datasheet, Volume 2
4.2.8.3 SMBCntl_[0:1]—SMBus Control Register
SMBCntl_[0:1] Bus: 1 Device: 15 Function: 0 Offset: 188h Bit Attr Reset Value Description 31:28 RWS 1010b SMB_DTI: Device Type Identifier This field specifies the device type identifier. Only devices with this device-type will respond to commands. 0011 = Specifies TSOD. 1010 = Specifies EEPROMs. 0110 = Specifies a write-protect operation for an EEPROM. Other identifiers can be specified to target non-EEPROM devices on the SMBus. Note: IMC based hardware TSOD polling uses hardcoded DTI. Changing this field has no effect on the hardware based TSOD polling. 27 RWS-V 1h SMB_CKOVRD: Clock Override 0 = Clock signal is driven low, overriding writing a ’1’ to CMD. 1 = Clock signal is released high, allowing normal operation of CMD. Toggling this bit can be used to ’budge’ the port out of a ’stuck’ state. Software can write this bit to 0 and the SMB_SOFT_RST to 1 to force hung SMBus controller and the SMB slaves to idle state without using power good reset or warm reset. Note: software need to set the SMB_CKOVRD back to 1 after 35 ms in order to force slave devices to time-out in case there is any pending transaction. The corresponding SMB_STAT_x.SMB_SBE error status bit may be set if there was such pending transaction time-out (non-graceful termination). If the pending transaction was a write operation, the slave device content may be corrupted by this clock override operation. A subsequent SMB command will automatically clear the SMB_SBE. Note: iMC added SMBus time-out control timer in ES2. When the time-out control timer expires, the SMB_CKOVRD# will "de-assert"; that is, return to 1 value and clear the SMB_SBE=0. 26 RW-O 0h SMB_DIS_WRT: Disable SMBus Write Writing a 0 to this bit enables CMD to be set to 1; Writing a 1 to force CMD bit to be always 0; that is, disabling SMBus write. This bit can only be written 0/1 once to enable SMB write disable feature. SMBus Read is not affected. The I
C Write Pointer Update Command is not affected. Important Note to BIOS: Since BIOS is the source to update SMBCNTL_x register initially after reset, it is important to determine whether the SMBus can have write capability before writing any upper bits (bit 24:31) using byte-enable config write (or writing any bit within this register using 32b config write) within the SMBCNTL register. 25:24 RV 0h Reserved 20:11 RV 0h Reserved 10 RW 0h
SMBus software reset strobe to graceful terminate pending transaction (after ACK) and keep the SMB from issuing any transaction until this bit is cleared. If slave device is hung, software can write this bit to 1 and the SMB_CKOVRD to 0 (for more than 35 ms) to force hung the SMB slaves to time-out and put it in idle state without using power good reset or warm reset. Note: Software needs to set the SMB_CKOVRD back to 1 after 35 ms in order to force slave devices to time-out in case there is any pending transaction. The corresponding SMB_STAT_x.SMB_SBE error status bit may be set if there was such pending transaction time-out (non-graceful termination). If the pending transaction was a write operation, the slave device content may be corrupted by this clock override operation. A subsequent SMB command will automatically cleared the SMB_SBE. 9RV 0hReservedDatasheet, Volume 2 351
Counter Register 8RW-LB 0h SMB_TSOD_POLL_EN: TSOD Polling Enable 0 = Disable TSOD polling and enable SPDCMD accesses. 1 = Disable SPDCMD access and enable TSOD polling. It is important to make sure no pending SMBus transaction and the TSOD polling must be disabled (and pending TSOD polling must be drained) before changing the TSODPOLLEN. 7:0 RW-LB 00h TSOD_PRESENT for the lower and upper channels DIMM slot mask to indicate whether the DIMM is equipped with TSOD sensor. Bit 7: must be programmed to zero. Upper channel slot #3 is not supported Bit 6: TSOD PRESENT at upper channel (ch 1 or ch 3) slot #2 Bit 5: TSOD PRESENT at upper channel (ch 1 or ch 3) slot #1 Bit 4: TSOD PRESENT at upper channel (ch 1 or ch 3) slot #0 Bit 3: must be programmed to zero. Lower channel slot #3 is not supported Bit 2: TSOD PRESENT at lower channel (ch 0 or ch 2) slot #2 Bit 1: TSOD PRESENT at lower channel (ch 0 or ch 2) slot #1 Bit 0: TSOD PRESENT at lower channel (ch 0 or ch 2) slot #0
This register provides the interface to the SMBus/I
C (SCL and SDA signals) that is used to access the Serial Presence Detect EEPROM or Thermal Sensor on DIMM (TSOD) that defines the technology, configuration, and speed of the DIMMs controlled by iMC. SMB_STAT_1 Bus: 1 Device: 15 Function: 0 Offset: 190h Bit Attr Reset Value Description 31 RO-V 0h SMB_RDO: Read Data Valid This bit is set by iMC when the Data field of this register receives read data from the SPD/TSOD after completion of an SMBus read command. It is cleared by iMC when a subsequent SMBus read command is issued. 30 RO-V 0h SMB_WOD: Write Operation Done This bit is set by iMC when a SMBus Write command has been completed on the SMBus. It is cleared by iMC when a subsequent SMBus Write command is issued. 29 RO-V 0h SMB_SBE: SMBus Error This bit is set by iMC if an SMBus transaction (including the TSOD polling or message channel initiated SMBus access) that does not complete successfully (non-Ack has been received from slave at expected Ack slot of the transfer). If a slave device is asserting clock stretching, IMC does not have logic to detect this condition to set the SBE bit directly; however, the SMBus master will detect the error at the corresponding transaction’s expected ACK slot. This bit is cleared by iMC when an SMBus read/write command is issued or by setting the SMBSoftRst. 28 ROS-V 0h SMB_BUSY: SMBus Busy state This bit is set by iMC while an SMBus/I
C command (including TSOD command issued from IMC hardware) is executing. Any transaction that is completed normally or gracefully will clear this bit automatically. By setting the SMB_SOFT_RST will also clear this bit. This register bit is sticky across reset so any surprise reset during pending SMBus operation will sustain the bit assertion across surprised warm-reset. BIOS reset handler can read this bit before issuing any SMBus transaction to determine whether a slave device may need special care to force the slave to idle state (such as, using clock override toggling (SMB_CKOVRD) and/or using induced time-out by asserting SMB_CKOVRD for 25-35ms). 27 RV 0h Reserved 26:24 RO-V 111b Last Issued TSOD Slave Address This field captures the last issued TSOD slave address. Here is the slave address and the DDR CHN and DIMM slot mapping: Slave Address: 0 -- Channel: Even Chn; Slot #: 0 Slave Address: 1 -- Channel: Even Chn; Slot #: 1 Slave Address: 2 -- Channel: Even Chn; Slot #: 2 Slave Address: 3 -- Channel: Even Chn; Slot #: 3 (reserved for future use) Slave Address: 4 -- Channel: Odd Chn; Slot #: 0 Slave Address: 5 -- Channel: Odd Chn; Slot #: 1 Slave Address: 6 -- Channel: Odd Chn; Slot #: 2 Slave Address: 7 -- Channel: Odd Chn; Slot #: 3 (reserved for future use) Since this field only captures the TSOD polling slave address. During SMB error handling, software should check the hung SMB_TSOD_POLL_EN state before disabling the SMB_TSOD_POLL_EN in order to qualify whether this field is valid. 23:16 RV 0h ReservedDatasheet, Volume 2 353
4.2.8.6 SMBCMD_1—SMBus Command Register
A write to this register initiates a DIMM EEPROM access through the SMBus/I
15:0 RO-V 0000h SMB_RDATA: Read Data Holds data read from SMBus Read commands. Since TSOD/EEPROM are I
C devices and the byte order is MSByte first in a word read, reading of I
C or SMBus slave, use byte access. SMB_STAT_1 Bus: 1 Device: 15 Function: 0 Offset: 190h Bit Attr Reset Value Description SMBCMD_1 Bus: 1 Device: 15 Function: 0 Offset: 194h Bit Attr Reset Value Description 31 RW-V 0b SMB_CMD_TRIGGER: CMD Trigger After setting this bit to 1, the SMBus master will issue the SMBus command using the other fields written in SMBCMD_[0:1] and SMBCntl_[0:1]. Note: the “-V” in the attribute implies the hardware will reset this bit when the SMBus command is being started. 30 RWS 0b SMB_PNTR_SEL: Pointer Selection SMBus/I
C present pointer based access enable when set; otherwise, use random access protocol. Hardware based TSOD polling will also use this bit to enable the pointer word read. Important Note: The processor hardware based TSOD polling can be configured with pointer based access. If software manually issue SMBus transaction to an other address (that is, changing the pointer in the slave device), it is software’s responsibility to restore the pointer in each TSOD before returning to hardware based TSOD polling while keeping the SMB_PNTR_SEL=1. 29 RWS 0b SMB_WORD_ACCESS: Word Access SMBus/I
Bit[28:27] = 00: SMBus Read Bit[28:27] = 01: SMBus Write Bit[28:27] = 10: illegal combination Bit[28:27] = 11: Write to pointer register SMBus/I
C pointer update (byte). bit 30, and 29 are ignored. Note: SMBCntl_[0:1][26] will NOT disable WrtPntr update command. 27 RWS 0b
15:0 RWS 0000h SMB_WDATA: Write Data Holds data to be written by SPDW commands. Since TSOD/EEPROM are I
C devices and the byte order is MSByte first in a word write, writing of I
C using byte write, the SMB_WDATA[15:8]=donít care; SMB_WDATA[7:0]=write_byte. If we have a SMB slave connected on the bus, writing of the SMBus slave using word write should use SMB_WDATA[15:8]=SMB_LSB and SMB_WDATA[7:0]=SMB_MSB. It is software responsibility to figure out the byte order of the slave access. SMBCntl_1 Bus: 1 Device: 15 Function: 0 Offset: 198h Bit Attr Reset Value Description 31:28 RWS 1010b SMB_DTI: Device Type Identifier This field specifies the device type identifier. Only devices with this device-type will respond to commands. 0011 = Specifies TSOD. 1010 = Specifies EEPROMs. 0110 = Specifies a write-protect operation for an EEPROM. Other identifiers can be specified to target non-EEPROM devices on the SMBus. Note: IMC based hardware TSOD polling uses hardcoded DTI. Changing this field has no effect on the hardware based TSOD polling. 27 RWS 1h SMB_CKOVRD: Clock Override 0 = Clock signal is driven low, overriding writing a ’1’ to CMD. 1 = Clock signal is released high, allowing normal operation of CMD. Toggling this bit can be used to ’budge’ the port out of a ’stuck’ state. Software can write this bit to 0 and the SMB_SOFT_RST to 1 to force hung SMBus controller and the SMB slaves to idle state without using power good reset or warm reset. Note: software need to set the SMB_CKOVRD back to 1 after 35 ms in order to force slave devices to time-out in case there is any pending transaction. The corresponding SMB_STAT_x.SMB_SBE error status bit may be set if there was such pending transaction time-out (non-graceful termination). If the pending transaction was a write operation, the slave device content may be corrupted by this clock override operation. A subsequent SMB command will automatically cleared the SMB_SBE. 26 RW-O 0h SMB_DIS_WRT: Disable SMBus Write Writing a 0 to this bit enables CMD to be set to 1; Writing a 1 to force CMD bit to be always 0; that is, disabling SMBus write. This bit can only be written 0/1 once to enable SMB write disable feature. SMBus Read is not affected. I
C Write Pointer Update Command is not affected. Important Note to BIOS: Since BIOS is the source to update SMBCNTL_x register initially after reset, it is important to determine whether the SMBus can have write capability before writing any upper bits (bit 24:31) using byte-enable config write (or writing any bit within this register using 32b config write) within the SMBCNTL register. 25:11 RV 0h Reserved SMBCMD_1 Bus: 1 Device: 15 Function: 0 Offset: 194h Bit Attr Reset Value DescriptionDatasheet, Volume 2 355
Counter Register 10 RW 0h
SMBus software reset strobe to graceful terminate pending transaction (after ACK) and keep the SMB from issuing any transaction until this bit is cleared. If slave device is hung, software can write this bit to 1 and the SMB_CKOVRD to 0 (for more than 35ms) to force hung the SMB slaves to time-out and put it in idle state without using power good reset or warm reset. Note: software need to set the SMB_CKOVRD back to 1 after 35 ms in order to force slave devices to time-out in case there is any pending transaction. The corresponding SMB_STAT_x.SMB_SBE error status bit may be set if there was such pending transaction time-out (non-graceful termination). If the pending transaction was a write operation, the slave device content may be corrupted by this clock override operation. A subsequent SMB command will automatically cleared the SMB_SBE. 9RV 0hReserved 8RW-LB 0h SMB_TSOD_POLL_EN: TSOD Ppolling Enable 0 = Disable TSOD polling and enable SPDCMD accesses. 1 = Disable SPDCMD access and enable TSOD polling. It is important to make sure no pending SMBus transaction and the TSOD polling must be disabled (and pending TSOD polling must be drained) before changing the TSODPOLLEN. 7:0 RW-LB 00h TSOD_PRESENT for the lower and upper channels DIMM slot mask to indicate whether the DIMM is equipped with TSOD sensor. Bit 7: must be programmed to zero. Upper channel slot #3 is not supported Bit 6: TSOD PRESENT at upper channel (ch 1 or ch 3) slot #2 Bit 5: TSOD PRESENT at upper channel (ch 1 or ch 3) slot #1 Bit 4: TSOD PRESENT at upper channel (ch 1 or ch 3) slot #0 Bit 3: must be programmed to zero. Lower channel slot #3 is not supported Bit 2: TSOD PRESENT at lower channel (ch 0 or ch 2) slot #2 Bit 1: TSOD PRESENT at lower channel (ch 0 or ch 2) slot #1 Bit 0: TSOD PRESENT at lower channel (ch 0 or ch 2) slot #0
This field specifies both SMBus Clock in number of DCLK. Note: To generate a 50% duty cycle SCL, half of the SMB_CLK_PRD is used to generate SCL high. SCL must stay low for at least another half of the SMB_CLK_PRD before pulling high. It is recommend to program an even value in this field since the hardware is simply doing a right shift for the divided by 2 operation. Note: The 100KHz SMB_CLK_PRD default value is calculated based on 800MT/s (400MHz) DCLK.
SMBus #1 Clock Period Counter for Ch 23This field is the current SMBus Clock Period Counter Value. 15:0 RO-V 0000h
SMBus #0 Clock Period Counter for Ch 01This field is the current SMBus Clock Period Counter Value.
TSOD poll rate configuration between consecutive TSOD accesses to the TSOD devices on the same SMBus segment. This field specifies the TSOD poll rate in number of 500 ns per CNFG_500_NANOSEC register field definition.Datasheet, Volume 2 357
4.2.9 Integrated Memory Controller DIMM Memory Technology
PXPCAP Bus: 1 Device: 15 Function: 2 Offset: 40h Bus: 1 Device: 15 Function: 3 Offset: 40h Bus: 1 Device: 15 Function: 4 Offset: 40h Bus: 1 Device: 15 Function: 5 Offset: 40h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:25 RO 00h Interrupt Message Number Not applicable for this device 24 RO 0b Slot Implemented Not applicable for integrated endpoints 23:20 RO 9h Device/Port Type Device type is Root Complex Integrated Endpoint 19:16 RO 1h Capability Version PCI Express Capability is Compliant with Version 1.0 of the PCI Express Specification. Note: This capability structure is not compliant with Versions beyond 1.0, since they require additional capability registers to be reserved. The only purpose for this capability structure is to make enhanced configuration space available. Minimizing the size of this structure is accomplished by reporting version 1.0 compliancy and reporting that this is an integrated root port device. As such, only three DWords of configuration space are required for this structure. 15:8 RO 00h Next Capability Pointer Pointer to the next capability. Set to 0 to indicate there are no more capability structures. 7:0 RO 10h Capability ID Provides the PCI Express capability ID assigned by PCI-SIG.Processor Uncore Configuration Registers 358 Datasheet, Volume 2
4.2.9.2 DIMMMTR_[0:2]—DIMM Memory Technology Register
DIMMMTR_[0:2] Bus: 1 Device: 15 Function: 2 Offset: 80h, 84h, 88h Bus: 1 Device: 15 Function: 3 Offset: 80h, 84h, 88h Bus: 1 Device: 15 Function: 4 Offset: 80h, 84h, 88h Bus: 1 Device: 15 Function: 5 Offset: 80h, 84h, 88h Bit Attr Reset Value Description 31:20 RV 0h Reserved 19:16 RW-LB 0h RANK_DISABLE Control RANK Disable Control to disable patrol, refresh, and ZQCAL operation. This bit setting must be set consistently with TERM_RNK_MSK; that is, both corresponding bits cannot be set at the same time. Thus, a disabled rank must not be selected for the termination rank. RANK_DISABLE[3]; that is, bit 19: rank 3 disable. Note: DIMMMTR_2.RANK_DISABLE[3] is don’t care since DIMM 2 must not be quad-rank. RANK_DISABLE[2]; that is, bit 18: rank 2 disable. Note: DIMMMTR_2.RANK_DISABLE[2] is don’t care since DIMM 2 must not be quad-rank. RANK_DISABLE[1]; that is, bit 17: rank 1 disable RANK_DISABLE[0]; that is, bit 16: rank 0 disable When set, no patrol or refresh will be perform on this rank. ODT termination is not affected by this bit. 15 RV 0h Reserved 14 RW-LB 0h DIMM_POP DIMM populated if set; otherwise, unpopulated. 13:12 RW-LB 0h RANK_CNT 00 = SR 01 = DR 10 = QR 11 = reserved 11:9 RV 0h Reserved 4:2 RW-LB 0h RA_WIDTH 000 = reserved (the processor does not support 512Mb DDR3) 001 = 13 bits 010 = 14 bits 011 = 15 bits 100 = 16 bits 101 = 17 bits 110 = 18 bits 111 = reserved 1:0 RW-LB 0h CA_WIDTH 00 = 10 bits 01 = 11 bits 10 = 12 bits 11 = reservedDatasheet, Volume 2 359
4.2.10 Integrated Memory Controller Memory Target Address
OFFSET Register TADCHNILVOFFSET_[0:11] Bus: 1 Device: 15 Function: 2 Offset: 90h, 94h, 98h, 9Ch, A0h, A4h, A8h, ACh Bus: 1 Device: 15 Function: 2 Offset: B0h, B4h, B8h, BCh Bus: 1 Device: 15 Function: 3 Offset: 90h, 94h, 98h, 9Ch, A0h, A4h, A8h, ACh Bus: 1 Device: 15 Function: 3 Offset: B0h, B4h, B8h, BCh Bus: 1 Device: 15 Function: 4 Offset: 90h, 94h, 98h, 9Ch, A0h, A4h, A8h, ACh Bus: 1 Device: 15 Function: 4 Offset: B0h, B4h, B8h, BCh Bus: 1 Device: 15 Function: 5 Offset: 90h, 94h, 98h, 9Ch, A0h, A4h, A8h, ACh Bus: 1 Device: 15 Function: 5 Offset: B0h, B4h, B8h, BCh Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:28 RW-LB 0h CHN_IDX_OFFSET: Reverse Address Translation Channel Index Offset BIOS programs this field by calculating: (TAD[N].BASE / TAD[N].TAD_SKT_WAY) % TAD[N].TAD_CH_WAY where % is the modulo function. CHN_IDX_OFFSET can have a value of 0, 1, or 2. In this equation, the BASE is the lowest address in the TAD range. The TAD_SKT_WAY is 1, 2, 4, or 8, and TAD_CH_WAY is 1, 2, 3, or 4. CHN_IDX_OFFSET will always end up being zero if TAD_CH_WAY is not equal to 3. If TAD_CH_WAY is 3, CHN_IDX_OFFSET can be 0, 1, or 2. 27:26 RV 0h Reserved 25:6 RW-LB 0h TAD_OFFSET Channel interleave 0 offset; that is, CHANNELOFFSET[45:26] == channel interleave i offset, 64 MB granularity . 5:0 RV 0h ReservedProcessor Uncore Configuration Registers 360 Datasheet, Volume 2
4.2.11 Integrated Memory Controller Channel Rank Registers
There are a total of 6 RIR ranges (represents how many rank interleave ranges supported to cover DIMM configuration).
OFFSET Register RIRWAYNESSLIMIT_[0:4] Bus: 1 Device: 15 Function: 2 Offset: 108h, 10Ch, 110h, 114h, 118h Bus: 1 Device: 15 Function: 3 Offset: 108h, 10Ch, 110h, 114h, 118h Bus: 1 Device: 15 Function: 4 Offset: 108h, 10Ch, 110h, 114h, 118h Bus: 1 Device: 15 Function: 5 Offset: 108h, 10Ch, 110h, 114h, 118h Bit Attr Reset Value Description 31 RW 0b RIR_VAL Range Valid when set; otherwise, invalid 30 RV 0h Reserved 29:28 RW 0h RIR_WAY rank interleave wayness 00 = 1 way, 01 = 2 way, 10 = 4 way, 11 = 8 way. 27:11 RV 0h Reserved 10:1 RW 0h RIR_LIMIT RIR[5:0].LIMIT[38:29] == highest address of the range in channel address space, 384 GB in lock-step/192 GB in independent channel, 512 MB granularity. M= How many rank interleave ranges supported to cover customer DIMM configuration. In the processor M=6. 0RV 0hReserved RIRILV0OFFSET_[0:4] Bus: 1 Device: 15 Function: 2 Offset: 120h Bus: 1 Device: 15 Function: 3 Offset: 120h Bus: 1 Device: 15 Function: 4 Offset: 120h Bus: 1 Device: 15 Function: 5 Offset: 120h Bit Attr Reset Value Description 31:20 RV 0h Reserved 19:16 RW 0h
Complete address match (Addr[45:3]) and mask is supported for all Home Agent writes. Error injection does not use the response logic triggers and uses the match mask logic output to determine which writes need to get error injection. Users can program up to two x4 device masks (8-bits per chunk - 64 bits per cacheline).
4.2.12.1 PXPENHCAP—PCI Express* Capability Register
This field points to the next Capability in extended configuration space.
4.2.12.2 RIRWAYNESSLIMIT_[0:4]—RIR Range Wayness and
Limit Register There are total of 5 RIR ranges (represents how many rank interleave ranges supported to cover customer DIMM configuration.). PXPENHCAP Bus: 1 Device: 15 Function: 2 Offset: 100h Bus: 1 Device: 15 Function: 3 Offset: 100h Bus: 1 Device: 15 Function: 4 Offset: 100h Bus: 1 Device: 15 Function: 5 Offset: 100h Bit Attr Reset Value Description 31:20 RO 000h Next Capability Offset RIRWAYNESSLIMIT_[0:4] Bus: 1 Device: 15 Function: 2 Offset: 108h, 10Ch, 110h, 114h, 118h Bus: 1 Device: 15 Function: 3 Offset: 108h, 10Ch, 110h, 114h, 118 Bus: 1 Device: 15 Function: 4 Offset: 108h, 10Ch, 110h, 114h, 118h Bus: 1 Device: 15 Function: 5 Offset: 108h, 10Ch, 110h, 114h, 118h Bit Attr Reset Value Description 31 RW-LB 0b RIR_VAL Range Valid when set; otherwise, invalid 30 RV 0h Reserved 29:28 RW-LB 0h RIR_WAY rank interleave wayness 00 = 1 way 01 = 2 way 10 = 4 way 11 = 8 way 27:11 RV 0h Reserved 10:1 RW-LB 0h RIR_LIMIT RIR[5:0].LIMIT[38:29] == highest address of the range in channel address space, 192 GB in independent channel, 512 MB granularity. M= How many rank interleave ranges supported to cover customer DIMM configuration. In the processor M=6. 0RV 0hReservedDatasheet, Volume 2 381
Complete address match (Addr[45:3]) and mask is supported for all HA writes. Instead of using DFx global response logic triggers, the error injection logic uses the address match mask logic output to determine which memory writes need to get error injection. Users can program up to two x4 device masks (8-bits per chunk – 64 bits per cacheline). RIRILV7OFFSET_4 Bus: 1 Device: 15 Function: 2 Offset: 1BCh Bus: 1 Device: 15 Function: 3 Offset: 1BCh Bus: 1 Device: 15 Function: 4 Offset: 1BCh Bus: 1 Device: 15 Function: 5 Offset: 1BCh Bit Attr Reset Value Description 31:20 RV 0h Reserved 19:16 RW-LB 0h
Complete address match (Addr[45:3]) and mask is supported for all HA writes. Instead of using DFx global response logic triggers, the error injection logic uses the address match mask logic output to determine which memory writes need to get error injection. Users can program up to two x4 device masks (8-bits per chunk – 64 bits per cacheline).
4.2.12.45 RSP_FUNC_ADDR_MASK_LO Register
Complete address match (Addr[45:3]) and mask is supported for all HA writes. Error injection does not use the response logic triggers and uses the match mask logic output to determine which writes need to get error injection. Users can program up to two x4 device masks (8-bits per chunk - 64 bits per cacheline). The address match function is gated by EPMCMAIN_DFX_LCK_CNTL.RSPLCK (uCR) AND MC_ERR_INJ_LCK.MC_ERR_INJ_LCK (MSR) registers; that is, match operation occurs only when either locks are cleared.
Address Mask to deselect (when set) the corresponding Addr[34:3] for the address match.Datasheet, Volume 2 403
Complete address match (Addr[45:3]) and mask is supported for all HA writes. Error injection does not use the response logic triggers and uses the match mask logic output to determine which writes need to get error injection. Users can program up to two x4 device masks (8-bits per chunk – 64 bits per cacheline). The address match function is gated by EPMCMAIN_DFX_LCK_CNTL.RSPLCK (uCR) AND MC_ERR_INJ_LCK.MC_ERR_INJ_LCK (MSR) registers; that is, match operation occurs only when either locks are cleared.
Address Mask to deselect (when set) the corresponding Addr[45:35] for the address match. PXPCAP Bus: 1 Device: 16 Function: 0 Offset: 40h Bus: 1 Device: 16 Function: 1 Offset: 40h Bus: 1 Device: 16 Function: 4 Offset: 40h Bus: 1 Device: 16 Function: 5 Offset: 40h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:25 RO 00h Interrupt Message Number Not applicable for this device 24 RO 0b Slot Implemented Not applicable for integrated endpoints 23:20 RO 9h Device/Port Type Device type is Root Complex Integrated Endpoint 19:16 RO 1h Capability Version PCI Express Capability is Compliant with Version 1.0 of the PCI Express specification. Note: This capability structure is not compliant with Versions beyond 1.0, since they require additional capability registers to be reserved. The only purpose for this capability structure is to make enhanced configuration space available. Minimizing the size of this structure is accomplished by reporting version 1.0 compliancy and reporting that this is an integrated root port device. As such, only three DWords of configuration space are required for this structure. 15:8 RO 00h Next Capability Pointer Pointer to the next capability. Set to 0 to indicate there are no more capability structures. 7:0 RO 10h Capability ID Provides the PCI Express capability ID assigned by PCI-SIG.Processor Uncore Configuration Registers 404 Datasheet, Volume 2
4.2.13.2 ET_CFG—Electrical Throttling Configuration Register
ET_CFG Bus: 1 Device: 16 Function: 0 Offset: 104h Bus: 1 Device: 16 Function: 1 Offset: 104h Bus: 1 Device: 16 Function: 4 Offset: 104h Bus: 1 Device: 16 Function: 5 Offset: 104h Bit Attr Reset Value Description 31:16 RV 0h Reserved 15 RW 0h ET_EN: Electrical Throttling Enable 14:10 RV 0h Reserved 9:8 RW 1h ET_DIV: Energy Equation Divider Control 00 = divider=2 (the energy counter is right shift by 1 bit) 01 = divider=4 (the energy counter is right shift by 2 bit) 10 = divider=8 (the energy counter is right shift by 3 bit) 11 = divider=16 (the energy counter is right shift by 4 bit) 7:0 RW 00h ET_SMPL_PRD: Energy Calculation Sample Period (in number of DCLK) This value is loaded onto the corresponding ETSAMPLEPERIOD count-down counter. The counter is reload with the ETSAMPLEPERIOD count after it counted zero. When ET_EN is zero (disable electrical throttling), ET_SMPL_PRD should be set to zero to avoid the corresponding SMI ET quiecense ack bit (CH_FRZE_ET_CNTR_ACK) never asserted. Recommended setting when ET_EN is enabled: DCLK Setting 400 MHz 33h 533 MHz 44h 667 MHz 55h 800 MHz 66h 933 MHz 77h However, the setting is subject to change per platform power delivery recommendation.Datasheet, Volume 2 405
The TEMP_STAT byte update multiplexer select control to direct the source to update DIMMTEMPSTAT_[0:3][7:0]: 0 = Corresponding to the DIMM TEMP_STAT byte from PCODE_TEMP_OUTPUT. 1 = TSOD temperature reading from CLTT logic. 28 RW-O 1b CLTT_DEBUG_DISABLE_LOCK: lock bit of DIMMTEMPSTAT_[0:3][7:0] Set this lock bit to disable configuration write to DIMMTEMPSTAT_[0:3][7:0]. When this bit is clear, system debug/test software can update the DIMMTEMPSTAT_[0:3][7:0] to verify various temperature scenerios. 27 RW 1b Enables thermal bandwidth throttling limit 26:24 RV 0h Reserved 23:16 RW 00h THRT_EXT Maximum number of throttled transactions to be issued during BWLIMITTF due to externally asserted MEMHOT#. 15 RW 0b
When this bit is zero, MC will lower CKE during Thermal Throttling, and ISOCH is blocked. When this bit is one, MC will NOT lower CKE during Thermal Throttling, and ISOCH will be allowed base on bandwidth throttling setting. However, setting this bit would mean more power consumption due to CKE is asserted during thermal or power throttling. This bit can be updated dynamically in independent channel configuration only. 14:11 RV 0h Reserved 10:0 RW 3FFh
BW Throttle Window Size in DCLK
Bus: 1 Device: 16 Function: 0 Offset: 110, 114, 118h Bus: 1 Device: 16 Function: 1 Offset: 110, 114, 118h Bus: 1 Device: 16 Function: 4 Offset: 110, 114, 118h Bus: 1 Device: 16 Function: 5 Offset: 110, 114, 118h Bit Attr Reset Value Description 31:27 RV 0h Reserved 26:24 RW 0h TEMP_OEM_HI_HYST: Positive going Threshold Hysteresis Value This value is subtracted from TEMPOEMHI to determine the point where the asserted status for that threshold will clear. Set to 00h if sensor does not support positive-going threshold hysteresis 23:19 RV 0h Reserved 18:16 RW 0h TEMP_OEM_LO_HYST: Negative going Threshold Hysteresis Value This value is added to TEMPOEMLO to determine the point where the asserted status for that threshold will clear. Set to 00h if sensor does not support negative- going threshold hysteresis. 15:8 RW 50h TEMP_OEM_HI: Upper Threshold Value TCase threshold at which to Initiate System Interrupt (SMI or MEMHOT#) at a + going rate. Note: The default value is listed in decimal.valid range: 32–127 °C. Others = Reserved. 7:0 RW 4Bh TEMP_OEM_LO: Lower Threshold Value TCase threshold at which to Initiate System Interrupt (SMI or MEMHOT#) at a - going rate. Note: The default value is listed in decimal.valid range: 32 - 127 °C. Others = Reserved.Datasheet, Volume 2 407
Bus: 1 Device: 16 Function: 0 Offset: 120, 124, 128h Bus: 1 Device: 16 Function: 1 Offset: 120, 124, 128h Bus: 1 Device: 16 Function: 4 Offset: 120, 124, 128h Bus: 1 Device: 16 Function: 5 Offset: 120, 124, 128h Bit Attr Reset Value Description 31:27 RV 0h Reserved 26:24 RW 0h TEMP_THRT_HYST: Positive going Threshold Hysteresis Value Set to 00h if sensor does not support positive-going threshold hysteresis. This value is subtracted from TEMP_THRT_XX to determine the point where the asserted status for that threshold will clear. 23:16 RW 5Fh TEMP_HI TCase threshold at which to Initiate THRTCRIT and assert THERMTRIP# valid range: 32–127 °C. Note: The default value is listed in decimal. FF = Disabled Others = Reserved TEMP_HI should be programmed so it is greater than TEMP_MID 15:8 RW 5Ah TEMP_MID TCase threshold at which to Initiate THRTHI and assert valid range: 32–127 °C. Note: The default value is listed in decimal. FF = Disabled Others = Reserved TEMP_MID should be programmed so it is less than TEMP_HI 7:0 RW 55h TEMP_LO TCase threshold at which to Initiate 2x refresh and/or THRTMID and initiate Interrupt (MEMHOT#). Note: The default value is listed in decimal.valid range: 32–127 °C. FF = Disabled Others = Reserved TEMP_LO should be programmed so it is less than TEMP_MIDProcessor Uncore Configuration Registers 408 Datasheet, Volume 2
4.2.13.7 DIMM_TEMP_THRT_LMT_[0:2]—DIMM TEMP
Configuration Register All three THRT_CRIT, THRT_HI and THRT_MID are per DIMM BW limit; that is, all activities (ACT, READ, WRITE) from all ranks within a DIMM are tracked together in one DIMM activity counter.
DIMM_TEMP_THRT_LMT_[0:2]
Bus: 1 Device: 16 Function: 0 Offset: 130, 134, 138h Bus: 1 Device: 16 Function: 1 Offset: 130, 134, 138h Bus: 1 Device: 16 Function: 4 Offset: 130, 134, 138h Bus: 1 Device: 16 Function: 5 Offset: 130, 134, 138h Bit Attr Reset Value Description 31:24 RV 0h Reserved 23:16 RW 00h THRT_CRIT Maximum number of throttled transactions (ACT, READ, WRITE) to be issued during BWLIMITTF. 15:8 RW 0Fh THRT_HI Maximum number of throttled transactions (ACT, READ, WRITE) to be issued during BWLIMITTF. 7:0 RW FFh THRT_MID Maximum number of throttled transactions (ACT, READ, WRITE) to be issued during BWLIMITTF.Datasheet, Volume 2 409
Configuration Register
Temperature data is averaged over this period. At the end of averaging period (ms) , averaging process starts again. 1h–FFh = Averaging data is read using TEMPDIMM STATUSREGISTER (Byte 1/2) as well as used for generating hysteresis based interrupts. 00 = Instantaneous Data (non-averaged) is read using TEMPDIMM STATUSREGISTER (Byte 1/2) as well as used for generating hysteresis based interrupts. Note: The processor does not support temperature averaging. 23:15 RV 0h Reserved 14 RW 0b Initiate THRTMID on TEMPLO Initiate THRTMID on TEMPLO 13 RW 1b Initiate 2X refresh on TEMPLO DIMM with extended temperature range capability will need double refresh rate in order to avoid data lost when DIMM temperature is above 85 °C, but below 95 °C.
Warning: If the 2x refresh is disable with extended temperature range DIMM
configuration, system cooling and power thermal throttling scheme must ensure the DIMM temperature will not exceed 85 °C. 12 RW 0b Assert MEMHOT Event on TEMPHI Assert MEMHOT# Event on TEMPHI 11 RW 0b Assert MEMHOT Event on TEMPMID Assert MEMHOT# Event on TEMPMID 10 RW 0b Assert MEMHOT Event on TEMPLO Assert MEMHOT# Event on TEMPLO 9RW 0b Assert MEMHOT Event on TEMPOEMHI Assert MEMHOT# Event on TEMPOEMHI 8RW 0b Assert MEMHOT Event on TEMPOEMLO Assert MEMHOT# Event on TEMPOEMLO 7:4 RV 0h Reserved 3:0 RW 0h
DIMMTEMPSTAT_[0:2] Bus: 1 Device: 16 Function: 0 Offset: 150h, 154h, 158h Bus: 1 Device: 16 Function: 1 Offset: 150h, 154h, 158h Bus: 1 Device: 16 Function: 4 Offset: 150h, 154h, 158h Bus: 1 Device: 16 Function: 5 Offset: 150h, 154h, 158h Bit Attr Reset Value Description 31:29 RV 0h Reserved 28 RW1C 0b Event Asserted on TEMPHI going HIGH It is assumed that each of the event assertion is going to trigger Configurable interrupt (Either MEMHOT# only or both SMI and MEMHOT#) defined in bit 30 of ìCHN_TEMP_CFGî 27 RW1C 0b Event Asserted on TEMPMID going High It is assumed that each of the event assertion is going to trigger Configurable interrupt (Either MEMHOT# only or both SMI and MEMHOT#) defined in bit 30 of ìCHN_TEMP_CFGî 26 RW1C 0b Event Asserted on TEMPLO Going High It is assumed that each of the event assertion is going to trigger Configurable interrupt (Either MEMHOT# only or both SMI and MEMHOT#) defined in bit 30 of ìCHN_TEMP_CFGî 25 RW1C 0b Event Asserted on TEMPOEMLO Going Low It is assumed that each of the event assertion is going to trigger Configurable interrupt (Either MEMHOT# only or both SMI and MEMHOT#) defined in bit 30 of ìCHN_TEMP_CFGî 24 RW1C 0b Event Asserted on TEMPOEMHI Going High It is assumed that each of the event assertion is going to trigger Configurable interrupt (Either MEMHOT# only or both SMI and MEMHOT#) defined in bit 30 of ìCHN_TEMP_CFGî 23:8 RV 0h Reserved 7:0 RW-LV 55h DIMM_TEMP Current DIMM Temperature for thermal throttlingLock by
CLTT_DEBUG_DISABLE_LOCK
When the CLTT_DEBUG_DISABLE_LOCK is cleared (unlocked), debug software can write to this byte to test various temperature scenarios. When the CLTT_DEBUG_DISABLE_LOCK is set, this field becomes read-only; that is, configuration write to this byte is aborted. This byte is updated from internal logic from a 2:1 Multiplexing, which can be selected from either CLTT temperature or from the corresponding uCR temperature registers output (PCODE_TEMP_OUTPUT) updated from pcode. The mux select is controlled by CLTT_OR_PCODE_TEMP_MUX_SEL defined in CHN_TEMP_CFG register. Valid range from 0 to 127 (that is, 0 °C to +127 °C). Any negative value read from TSOD is forced to 0. TSOD decimal point value is also truncated to integer value. The default value is changed to 85 °C to avoid missing refresh during S3 resume or during warm-reset flow after the DIMM is exiting self-refresh. The correct temperature may not be fetched from TSOD yet but the DIMM temperature may be still high and need to be refreshed at 2x rate.Datasheet, Volume 2 411
Throttling Command Power Register
Bus: 1 Device: 16 Function: 0 Offset: 160h, 164h, 168h Bus: 1 Device: 16 Function: 1 Offset: 160h, 164h, 168h Bus: 1 Device: 16 Function: 4 Offset: 160h, 164h, 168h Bus: 1 Device: 16 Function: 5 Offset: 160h, 164h, 168h Bit Attr Reset Value Description 31:27 RW 10h ODT termination power weight This field defines the number of DCLK of ODT-assertion to increase the OLTT and ET energy counters (that is, corresponding PMSUMPCCXRY, ET_DIMMSUM and ET_CH_SUM) by 16. Hardware provides internal ODT counters (two per DIMM slot) to track each ODT. When the internal count decrement to zero, the corresponding OLTT and ET energy counters are incremented by 16 and the internal ODT counter is loaded with the content of this register field. Possible Valid Range of the register field: 1–31. Others = Reserved. Due to the energy accumulator width limitation, an additional programming limitation is imposed – this field must be programmed equal to or greater than 4 DCLKs. Programming below 4 is not validated and may jeopardize missing thermal event or proper electrical/power throttling during certain corner cases due to energy accumulator over-flow. 26:22 RW 10h
This field defines the number of DCLK of CKE-assertion to increase the OLTT and ET energy counters (that is, corresponding PMSUMPCCXRY, ET_DIMMSUM and ET_CH_SUM) by 4. Hardware provides internal CKE counters (two per DIMM slot) to track each CKE. When the internal count decrement to zero, the corresponding OLTT and ET energy counters are increment by 4 and the internal CKE counter is loaded with the content of this register field. Valid Range of the register field : 1–31. Others = Reserved. Due to the energy accumulator width limitation, an additional programming limitation is imposed – this field must be programmed equal to or greater than 4 DCLKs Programming below 4 is not validated and may jeopardize missing thermal event or proper electrical/power throttling during certain corner cases due to energy accumulator over-flow. 21:14 RW 00h PWRREF_DIMM Power contribution of 1x REF or SRE command. The 8b refresh weight defined here is actually being multiplied by 8 (shift left by 3 bits) before being accumulated in the electrical throttling and OLTT counters. 13:8 RW 0h PWRACT_DIMM Power contribution of ACT command in both OLTT and ET energy counters. 7:4 RW 0h PWRCASW_DIMM Power contribution of CAS WR/WRS4 command in both OLTT and ET energy counters. 3:0 RW 0h PWRCASR_DIMM Power contribution of CAS RD/RDS4 command in both OLTT and ET energy counters.Processor Uncore Configuration Registers 412 Datasheet, Volume 2
4.2.13.11 ET_DIMM_AVG_SUM_[0:2]—Electrical Throttling Energy
Accumulator Register
ET_DIMM_AVG_SUM_[0:2]
DIMM Average EnergyAvg(i) = Sum(i)/ET_DIV+Avg(i-1)-Avg(i-1)/ET_DIV 15:0 RW-V 0000h ET_DIMM_SUM: DIMM Energy Current Sum Counter When the ET_SAMPLE_PERIOD counter is counting to zero, the current sum (that is, sum(i)) is used in the above Avg(i) calculation. The ET_DIMM_SUM is reset in the next DCLK. This counter is sized to be sufficient for all scenarios and should not overlap within valid ET_SAMPLE_PERIOD range.
Assert electrical throttling when ET_DIMM_AVG is greater than ET_DIMM_HI_TH. Note: Pcode may dynamically change and restore the programmed threshold. Updating the threshold should take effect in the next DCLK. 15:0 RW FFFFh
Deassert electrical throttling when ET_DIMM_AVG is less than or equal to ET_DIMM_LO_TH. Note: Pcode may dynamically change and restore the programmed threshold. Updating the threshold should take effect in the next DCLK.Datasheet, Volume 2 413
4.2.13.13 THRT_PWR_DIMM_[0:2]—THRT_PWR_DIMM_0 Register
bit[10:0]: Max number of transactions (ACT, READ, WRITE) to be allowed during the 1 usec throttling time frame per power throttling.
1 = Enable the power throttling for the DIMM. 14:12 RV 0h Reserved 11:0 RW FFFh Power Throttling Control This field indicates the maximum number of transactions (ACT, READ, WRITE) to be allowed (per DIMM) during the 1 usec throttling time frame per power throttling. PCODE can update this register dynamically. PM_PDWN Bus: 1 Device: 16 Function: 0 Offset: 1D0h Bus: 1 Device: 16 Function: 1 Offset: 1D0h Bus: 1 Device: 16 Function: 4 Offset: 1D0h Bus: 1 Device: 16 Function: 5 Offset: 1D0h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:28 RW 01b
PDWN_RDIMM_RC9_A4_A3
Bit 29 = Driven on DA4 during the RC9 control word access. Reserved in non-LR- DIMM. In LR-DIMM, for LR-DIMM, DA4=1 for DQ clocking disable in CKE power down. Bit 28 = Driven on DA3 during the RC9 control word access. For non-LR-DIMM, when set (default), register is in weak drive mode; otherwise, the register is in float mode. 27 RW 0b CKE output tri-state control during self-refresh 0 = CKE is not tri-stated during SR. UDIMM must have this bit set to 0. 1 = CKE is tri-stated during register clock off power down self-refresh. This bit must set to zero if it is not doing register clock off power down self- refresh.Processor Uncore Configuration Registers 414 Datasheet, Volume 2 26:25 RW 00b Power Down Clock Modes for UDIMM The field defines how CK and CK# are turned off during SR: 00 = CK_ON Mode: This mode defines the CK to be continue to be driven during self-refresh. 01 = CK_TRI-STATE_AFTER_PULL_LOW_MODE: after tCKEoff timing delay from SRE CKE de-assertion, iMC waits for tCKoff before dropping CK-ALIGN and CK#-ALIGN (internal signal to DDRIO) to low. The CK-ALIGN and CK#- ALIGN control the CK/CK# clock outputs directly. iMC waits for tCKEv before de-asserting CKOutputEnable to DDRIO; that is, tri-stating CK, CK#. Note: DDRIO will have additional 5 QCLK delay of the CK/CK# tri-state. Note: CKE signal tri-state is under separate control. All other drivers (except DDR_RESET#) will be tri-stated. 10 = CK_PULL_LOW_MODE: after tCKEoff timing delay from SRE CKE de- assertion, iMC waits for tCKoff before dropping CK-ALIGN and CK#-ALIGN (internal signal to DDRIO) to LOW throughout the self-refresh. CKE tri-state is under separate configuration control. All other signals (except DDR_RESET#) are tri-stated after tCKEv delay. 11 = CK_PULL_HIGH_MODE: after tCKEoff timing delay from SRE CKE de- assertion, iMC waits for tCKoff before pulling both CK-ALIGN and CK#- ALIGN (internal signal to DDRIO) to HIGH throughout the self-refresh. CKE tri-state is under separate configuration control. All other signals (except DDR_RESET#) are tri-stated after tCKEv delay. 24 RW 0b Enable IBT_OFF Register Power Down Mode Enable IBT_OFF Register Power Down Mode when set; otherwise, IBT_ON is enabled. 23:17 RV 0h Reserved 16 RW 0b CKE Slow Exit (DLL-OFF) Mode 0 = Fast Exit; that is, DLL-ON 1 = Slow Exit; that is, DLL-OFF, PDWN_MODE_PPD (Bit 15) must be set if setting this bit. MR0 for all non-termination ranks need to be set as PPD slow, where MR0 for all termination ranks need to be set as PPD fast. IMC hardware will dynamically update the MR0.A12 of the termination ranks upon entering/ exiting channel-level PPD-S. This bit is set by BIOS during boot and it is unchanged after boot. 15 RW 0b CKE Precharge Power Down Mode Enable 0 = PPD is disabled 1 = PPD is enabled For Independent channel mode, this register field can be updated dynamically. 14 RW 0b CKE Active Power Down Mode Enable 0 = APD is disabled 1 = APD is enabled For Independent channel mode, this register field can be updated dynamically. 13:8 RV 0h Reserved 7:0 RW 80h
This field defines the rank idle period that causes power-down entrance. The number of idle cycles are based from command CS assertion. It is important to program this parameter to be greater than roundtrip latency parameter in order to avoid the CKE de-assertion sooner than data return. For Independent channel mode, this register field can be updated dynamically. PM_PDWN Bus: 1 Device: 16 Function: 0 Offset: 1D0h Bus: 1 Device: 16 Function: 1 Offset: 1D0h Bus: 1 Device: 16 Function: 4 Offset: 1D0h Bus: 1 Device: 16 Function: 5 Offset: 1D0h Bit Attr Reset Value DescriptionDatasheet, Volume 2 415
Physical Rank Mask to select which rank is used in the termination rank. BIOS programs the PHYSICAL rank select for the termination rank from each DIMM. It is important to note that this is the PHYSICAL CS# mapping instead of the LOGICAL rank mapping. Recommended Programming Method: Deciding and selecting the termination rank on each populated DIMM. For simplicity, BIOS can always select rank 0 of each populated DIMM as the termination rank unless rank 0 is marked as bad rank. Note: BIOS may also optionally enable rank interleaving to separate the termination ranks and non-termination ranks so OS can map more frequently used address ranges into the RIR with termination ranks while mapping less frequently used address ranges into RIR with non-termination ranks. This mapping enables a better power optimization to exploit our PPD-S capability. BIOS must also keep RD_ODT_TBL0-2 and WR_ODT_TBL0-2 consistent. Refer to those registers for further details. This field CAN NOT be set as all zeros for populated channel. Minimum one termination rank per DIMM. It has match rank occupancy for the ranks set as 1. PM_SREF Bus: 1 Device: 16 Function: 0 Offset: 1D8h Bus: 1 Device: 16 Function: 1 Offset: 1D8h Bus: 1 Device: 16 Function: 4 Offset: 1D8h Bus: 1 Device: 16 Function: 5 Offset: 1D8h Bit Attr Reset Value Description 31:29 RV 0h Reserved 23:21 RV 0h Reserved 20 RW 0h SREF_EN Enable or disable opportunistic self-refresh mechanism. 19:0 RW FFFFFh
This field defines the rank idle period that causes self-refresh entrance. This value is used when the ’SREFenable’ field is set. It defines the # of idle cycles after the command issue; that there should not be any transaction in order to enter self- refresh. It is programmable 1 to 1M-1 dynamically. In DCLK=800 MHz it determines time of up to 1.3 ms. FFFFEh is a reserved value and should not be used in normal operation. The minimum setting needs to allow for a refresh, a zqcal, a retry read, and a handful of cycles for the HA to issue a demand scrub write: TCZQCAL.T_ZQCS + TCRFTP.T_RFC + 100 decimal. In reality, the idle counter should be much larger to avoid unnecessary SRE+SRX overhead. For Independent channel mode, this register field can be updated dynamically.Processor Uncore Configuration Registers 416 Datasheet, Volume 2
4.2.13.17 PM_DLL—PM DLL Config Register
This register controls the master and slave DLL of the MC I/O. The slave DLL, if configured to disable, is disabled when all ranks are in power-down. The master DLL, if configured to disable, is disabled when self-refresh. Both slave DLL and master DLL have wake-up time. Slave DLL disable has wake-up time of ~50 ns, and master DLL wake-up time is ~500 ns. BIOS must programm with the delay in DCLK cycles during power configuration or during the frequency change flow. If the MDLL_sd_en or SDLL_sd_en is programmed to 0, this means that the corresponding mode is disabled. If IO channel disable option is disabled and master DLL is enabled, this means that in power-down the slave IO channel disable remains active; but in self refresh both IO channel disable and master DLL are shut-down. Note: This register will be updated by BIOS only after reset. PCODE will sample this register at the end of Phase 4. After this the register is assumed to remain unchanged. PM_DLL Bus: 1 Device: 16 Function: 0 Offset: 1DCh Bus: 1 Device: 16 Function: 1 Offset: 1DCh Bus: 1 Device: 16 Function: 4 Offset: 1DCh Bus: 1 Device: 16 Function: 5 Offset: 1DCh Bit Attr Reset Value Description 31:19 RV 0h Reserved 17:16 RW 00b MDLL_SDEN: Master DLL Shut-down Enable 00 = no DLL shut-down Example - in 1.6 GHz, if DLL lock is 3 us (== 2400 DCLK cycles), the DLL_W_timer should be set to 1888 DCLK cycles. In practice after DLL wakes-up, it will count 1888 DCLK cycles until SR is exit, and another tXSDLL (typically 512 DCLK cycles) until the first data command is issued. 01 or 1X = Shut-down all MDLLs – command/control and data. 11:0 RW FFFh MDLL_WTIMER: Master DLL Wake Up Timer (delay in DCLK) Per DDRIO design input: The MDLL lock time after the DLL Enable is issued, the lock time is about 100 ns at 1600 MHz and 200 ns at 800 MHz. It should be guardbanded to 500 ns. Thus, if the wake up time from when the DLL enable is issued is counted, the wake up time is 500 ns. This field is defaulted to 533 MHz DCLK initial boot setting. BIOS need to reprogram this register according to ~500 ns equivalent target speed. The recommended setting for each DCLK speed is as follows: DCLK (MHz) Setting 400 0C8h 533 10Bh 667 14Eh 800 190h 933 1D3h 1067 258hDatasheet, Volume 2 417
Channel Average EnergyAvg(i)=Sum(i)/ET_DIV+Avg(i-1) – Avg(i-1)/ET_DIV
Bus: 1 Device: 16 Function: 0 Offset: 1F8h Bus: 1 Device: 16 Function: 1 Offset: 1F8h Bus: 1 Device: 16 Function: 4 Offset: 1F8h Bus: 1 Device: 16 Function: 5 Offset: 1F8h Bit Attr Reset Value Description 31:18 RV 0h Reserved 17:0 RW-V 00000h ET_CH_SUM: Channel Energy Current Sum Counter When the ET_SAMPLE_PERIOD counter is counting zero, the current sum (that is, sum(i)) is used in the above Avg(i) calculation), the ET_CH_SUM is reset in the next DCLK. The ET_CH_SUM is sized to be sufficient for worst case scenarios to avoid overflowing within valid ET_SAMPLE_PERIOD range. ET_CH_TH Bus: 1 Device: 16 Function: 0 Offset: 1FCh Bus: 1 Device: 16 Function: 1 Offset: 1FCh Bus: 1 Device: 16 Function: 4 Offset: 1FCh Bus: 1 Device: 16 Function: 5 Offset: 1FCh Bit Attr Reset Value Description 31:16 RW FFFFh ET_CH_HI_TH The 16b ET_CH_HI_TH field is actually the high order 16b of the 18b threshold value; that is, ET_CH_HI_TH[17:2]. 00b bits are the two least significant bits of the 18b threshold. Channel energy high threshold.Assert electrical throttling when ET_CH_AVG[17:0] is greater than ET_CH_HI_TH[17:0]. Note: Firmware may dynamically change and restore the programmed threshold. Updating the threshold should take effect in the next DCLK. 15:0 RW FFFFh ET_CH_LO_TH The 16b ET_CH_LO_TH field is actually the high order 16b of the 18b threshold value; that is, ET_CH_LO_TH[17:2]. 00b bits are the two least significant bits of the 18b threshold. Channel energy low threshold.de-assert electrical throttling when ET_CH_AVG[17:0] is less than or equal to ET_CH_LO_TH[17:0]. Note: Firmware may dynamically change and restore the programmed threshold. Updating the threshold should take effect in the next DCLK.Processor Uncore Configuration Registers 418 Datasheet, Volume 2
4.2.14 Integrated Memory Controller DIMM Channels
Note: T_AL register field has been removed in this release due to design complexity. Throughout this document, T_AL has a constant zero value. TCDBP Bus: 1 Device: 16 Function: 0 Offset: 200h Bus: 1 Device: 16 Function: 1 Offset: 200h Bus: 1 Device: 16 Function: 4 Offset: 200h Bus: 1 Device: 16 Function: 5 Offset: 200h Bit Attr Reset Value Description 31:27 RV 0h Reserved 26 RW 0b cmd_oe_cs Command/Address output enable follows CS output enable. Cmd_oe_on overrides cmd_ow_cs 25 RW 0b cmd_oe_on Command/Address output enable always on. 24:19 RW 1Ch T_RAS ACT to PRE command period (must be at least 10, and at most 40) 18:14 RW 07h T_CWL CAS Write Latency (must be at least 5) Note: tWL=tAL+tCWL Programming Limitation: tCL - tWL can not be more than 4 DCLK cycles 13:9 RW 0Ah T_CL CAS Latency (must be at least 5) Note: RL=tAL+tCL. Programming Limitation: tCL - tWL can not be more than 4 DCLK cycles. 8:5 RW Ah T_RP PRE command period (must be at least 5) 4:0 RW 0Ah T_RCD ACT to internal read or write delay time in DCLK (must be at least 5) Programming Limitation: T_RCD must be smaller than T_RASDatasheet, Volume 2 419
Parameter Register TCRAP Bus: 1 Device: 16 Function: 0 Offset: 204h Bus: 1 Device: 16 Function: 1 Offset: 204h Bus: 1 Device: 16 Function: 4 Offset: 204h Bus: 1 Device: 16 Function: 5 Offset: 204h Bit Attr Reset Value Description 31:30 RW 0h CMD_STRETCH This field defines the number of cycles the command is stretched. 00 = 1N operation 01 = Reserved 10 = 2N operation 11 = 3N operation 28:24 RW Ch T_WR WRITE recovery time (must be at least 15 ns equivalent) 23:22 RV 0h Reserved 21:16 RW 20h T_FAW Four activate window (must be at least 4*tRRD and at most 63) 15:12 RW 6h T_WTR DCLK delay from start of internal write transaction to internal read command (must be at least the larger value of 4 DCLK or 7.5 ns) iMC’s Write to Read Same Rank (T_WRSR) is automatically calculated based from TCDBP.T_CWL + 4 + T_WTR. 11:8 RW 3h T_CKE CKE minimum pulse width (must be at least the larger value of 3 DCLK or 5 ns) 7:4 RW Ah T_RTP Internal READ Command to PRECHARGE Command delay, (must be at least the larger value of 4 DCLK or 7.5 ns) 3RV 0hReserved 2:0 RW 5h T_RRD ACTIVE to ACTIVE command period, (must be at least the larger value of 4 DCLK or 6 ns)Processor Uncore Configuration Registers 420 Datasheet, Volume 2
4.2.14.3 TCRWP—Timing Constraints DDR3 Read Write Parameter
Register TCRWP Bus: 1 Device: 16 Function: 0 Offset: 208h Bus: 1 Device: 16 Function: 1 Offset: 208h Bus: 1 Device: 16 Function: 4 Offset: 208h Bus: 1 Device: 16 Function: 5 Offset: 208h Bit Attr Reset Value Description 31:30 RV 0h Reserved 29:27 RW 0h T_CCD Back to back CAS to CAS (that is, READ to READ or WRITE to WRITE) from same rank separation parameter. The actual JEDEC CAS to CAS command separation is (T_CCD + 4) DCLKs measured between the clock assertion edges of the two corresponding asserted command CS#. 26:24 RW 2h Reserved 23:21 RW 2h T_WRDD Back to back WRITE to READ from different DIMM separation parameter. The actual WRITE to READ command separation is: TCDBP.T_CWL – TCDBP.T_CL + T_WRDD + 6 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. 20:18 RW 2h T_WRDR Back to back WRITE to READ from different RANK separation parameter.The actual WRITE to READ command separation is: TCDBP.T_CWL – TCDBP.T_CL + T_WRDR + 6 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. 17:15 RW 2h Reserved 14:12 RW 2h Reserved 11:9 RW 2h T_WWDD Back to back WRITE to WRITE from different DIMM separation parameter. The actual WRITE to WRITE command separation is: T_WWDD + 5 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. Note: te minimum setting of the field must meet the DDRIO requirement for WRITE to WRITE turnaround time to be at least 6 DClk at the DDRIO pin. The maximum design range from the above calculation is 15. 8:6 RW 2h T_WWDR Back to back WRITE to WRITE from different RANK separation parameter. The actual WRITE to WRITE command separation is: T_WWDR + 5 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. Note: The minimum setting of the field must meet the DDRIO requirement for WRITE to WRITE turnaround time to be at least 6 DClk at the DDRIO pin. The maximum design range from the above calculation is 15. 5:3 RW 2h T_RRDD Back to back READ to READ from different DIMM separation parameter. The actual READ to READ command separation is: T_RRDD + 5 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. Note: The minimum setting of the field must meet the DDRIO requirement for READ to READ turnaround time to be at least 5 DClk at the DDRIO pin. The maximum design range from the above calculation is 31.Datasheet, Volume 2 421
Processor Uncore Configuration Registers 2:0 RW 2h T_RRDR Back to back READ to READ from different RANK separation parameter. The actual READ to READ command separation is: T_RRDR + 5 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. Note: The minimum setting of the field must meet the DDRIO requirement for READ to READ turnaround time to be at least 5 DClk at the DDRIO pin. The maximum design range from the above calculation is 31. TCRWP Bus: 1 Device: 16 Function: 0 Offset: 208h Bus: 1 Device: 16 Function: 1 Offset: 208h Bus: 1 Device: 16 Function: 4 Offset: 208h Bus: 1 Device: 16 Function: 5 Offset: 208h Bit Attr Reset Value DescriptionProcessor Uncore Configuration Registers 422 Datasheet, Volume 2
4.2.14.4 TCOTHP—Timing Constraints DDR3 Other Timing
Parameter Register TCOTHP Bus: 1 Device: 16 Function: 0 Offset: 20Ch Bus: 1 Device: 16 Function: 1 Offset: 20Ch Bus: 1 Device: 16 Function: 4 Offset: 20Ch Bus: 1 Device: 16 Function: 5 Offset: 20Ch Bit Attr Reset Value Description 31:28 RW 6h t_cs_oe Delay in Dclks to disable CS output after all CKE pins are low. 27:24 RW 6h t_odt_oe Delay in Dclks to disable ODT output after all CKE pins are low and either in self- refresh or in IBTOff mode. 23:20 RW 2h t_rwsr Back to back READ to WRITE from same rank separation parameter. The actual READ to WRITE command separation targeting same rank is: TCDBP.T_CL – TCDBP.T_CWL + T_RWSR + 6 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. The maximum design range from the above calculation is 23. 19:16 RW 2h t_rwdd Back to back READ to WRITE from different DIMM separation parameter. The actual READ to WRITE command separation is: TCDBP.T_CL – TCDBP.T_CWL + T_RWDD + 6 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. The maximum design range from the above calculation is 23. 15:12 RW 2h t_rwdr Back to back READ to WRITE from different RANK separation parameter. The actual READ to WRITE command separation is: TCDBP.T_CL – TCDBP.T_CWL + T_RWDR + 6 DCLKs This is measured between the clock assertion edges of the two corresponding asserted command CS#. The maximum design range from the above calculation is 23. 11 RW 0b shift_odt_early New in ES2: This shifts the ODT waveform one cycle early relative to the timing set up in the ODT_TBL2 register, when in 2N or 3N mode. This bit has no effect in 1N mode. 10:8 RW 0h
This register defines additional WR data delay per channel in order to overcome the WR-flyby issue. The total CAS write latency that the DDR sees is the sum of T_CWL and the T_CWL_ADJ. 000 = no added latency (default) 001 = 1 Dclk of added latency 010 = 2 Dclk of added latency 011 = 3 Dclk of added latency 1xx = Reduced latency by 1 Dclk. Not supported at tCWL=5 7:5 RW 3h T_XP Exit Power Down with DLL on to any valid command; Exit Precharge Power Down with DLL frozen to commands not requiring a locked DLL. 4:0 RW Ah T_XPDLL Exit Precharge Power Down with DLL frozen to commands requiring a locked DLL.Datasheet, Volume 2 423
tREFI count level in which the refresh priority is panic (default is 9) It is recommended to set the panic WM at least to 9, in order to utilize the maximum no-refresh period possible 11:8 RW 8h
tREFI count level that turns the refresh priority to high (default is 8) 7:0 RW 3Fh OREFNI Rank idle period that defines an opportunity for refresh, in DCLK cycles TCRFTP Bus: 1 Device: 16 Function: 0 Offset: 214h Bus: 1 Device: 16 Function: 1 Offset: 214h Bus: 1 Device: 16 Function: 4 Offset: 214h Bus: 1 Device: 16 Function: 5 Offset: 214h Bit Attr Reset Value Description 31:25 RW 9h T_REFIX9 This field indicates the minimum period between 9*T_REFI and tRAS maximum (normally 70 us) in 1024 * DCLK cycles. The default value will need to reduce 100 DCLK cycles – uncertainty on timing of panic refresh. 24:15 RW 080h T_RFC Time of refresh from beginning of refresh until next ACT or refresh is allowed (in DCLK cycles) The recommended T_RFC for 2Gb DDR3 are: 0800 MT/s = 040h 1067 MT/s = 056h 1333 MT/s = 06Bh 1600 MT/s = 080h 1867 MT/s = 096h 14:0 RW 062Ch T_REFI Defines the average period between refreshes in DCLK cycles. This register defines the 15b tREFI counter limit. The recommended T_REFI[14:0] setting for 7.8 usec: 0800 MT/s = 0C30h 1067 MT/s = 1040h 1333 MT/s = 1450h 1600 MT/s = 1860h 1867 MT/s = 1C70hProcessor Uncore Configuration Registers 424 Datasheet, Volume 2
Parameter Register TCSRFTP Bus: 1 Device: 16 Function: 0 Offset: 218h Bus: 1 Device: 16 Function: 1 Offset: 218h Bus: 1 Device: 16 Function: 4 Offset: 218h Bus: 1 Device: 16 Function: 5 Offset: 218h Bit Attr Reset Value Description 31:27 RW ch T_MOD Mode Register Set command update delay. 26 RV 0h Reserved 25:16 RW 100h T_ZQOPER Normal operation Full calibration time 15:12 RW Bh T_XSOFFSET tXS = T_RFC + 10 ns. Setup of T_XSOFFSET is number of cycles for 10 ns. Range is between 3 and 11 DCLK cycles 11:0 RW 100h T_XSDLL Exit Self Refresh to commands requiring a locked DLL in the range of 128 to 4095 DCLK cycles TCMR2SHADOW Bus: 1 Device: 16 Function: 0 Offset: 21Ch Bus: 1 Device: 16 Function: 1 Offset: 21Ch Bus: 1 Device: 16 Function: 4 Offset: 21Ch Bus: 1 Device: 16 Function: 5 Offset: 21Ch Bit Attr Reset Value Description 31:27 RV 0h Reserved 26:24 RW-LV 000b
Each bit is set in case of the corresponding 2-rank UDIMM requires address mirroring/swizzling. It indicates that some of the address bits are swizzled for rank 1 (or rank 3), and this has to be considered in MRS command. The address swizzling bits: A3 and A4 A5 and A6 A7 and A8 BA0 and BA1 Bit 24 refers to DIMM 0 Bit 25 refers to DIMM 1 Bit 26 refers to DIMM 2 23:16 RW 02h
Copy of MR2 A[15:8] shadow. Bit 23-19: zero, copy of MR2 A[15:11], reserved for future JEDEC use Bit 18-17: Rtt_WR; that is, copy of MR2 A[10:9] Bit 16: zero, copy of MR2 A[8], reserved for future JEDEC use 15 RV 0h ReservedDatasheet, Volume 2 425
Copy of MR2 A[7] shadow that defines per DIMM availability of SRT mode – set if extended temperature range and ASR is not supported; otherwise, cleared. Bit 14: DIMM 2 Bit 13: DIMM 1 Bit 12: DIMM 0 11 RV 0h Reserved 10:8 RW 000b
Copy of MR2 A[6] shadow which defines per DIMM availability of ASR mode – set if Auto Self-Refresh (ASR) is supported; otherwise, cleared. Bit 10: DIMM 2 Bit 9: DIMM 1 Bit 8: DIMM 0 7:6 RV 0h Reserved 5:0 RW 18h
This register provides the tRFC like timing constraint parameter except it is a timing constraint applicable to REF-REF separation between different ranks on a channel. Note: This register value only becomes effective after MCMNT_UCR_CHKN_BIT.STAGGER_REF_EN is set.
tRFC like timing constraint parameter except it is a timing constraint applicable to REF-REF separation between different ranks on a channel. It is recommended to set T_STAGGER_REF equal or less than the TRFC parameter which is defined as: 0800 MT/s = 040h 1067 MT/s = 056h 1333 MT/s = 06Bh 1600 MT/s = 080h 1867 MT/s = 096h TCMR0SHADOW Bus: 1 Device: 16 Function: 0 Offset: 22Ch Bus: 1 Device: 16 Function: 1 Offset: 22Ch Bus: 1 Device: 16 Function: 4 Offset: 22Ch Bus: 1 Device: 16 Function: 5 Offset: 22Ch Bit Attr Reset Value Description 31:12 RV 0h Reserved 11:0 RW 000h MR0_SHADOW BIOS programs this field for MR0 register A11:A0 for all DIMMs in this channel. iMC hardware is dynamically issuing MRS to MR0 to control the fast and slow exit PPD (MRS MR0 A12). Other address bits (A[11:0]) is defined by this register field. A15:A13 are always zero.Datasheet, Volume 2 427
This register allows the Read of Pending Queue Age Counters.
4.2.14.13 IDLETIME—Page Policy and Timing Parameter Register
At a high level, the goal of any page closing policy is to trade off some Premature Page Closes (PPCs) in order to avoid more Overdue Page Closes (OPCs). In other words, avoid costly Page Misses and turn them into Page Empties at the expense of occasionally missing a Page Hit and instead getting a Page Empty. The processor scheme achieves this by tracking the number of PPCs and OPCs over a certain configurable window (of requests). It then compares the two values to configurable thresholds, and adjusts the amount of time before closing pages accordingly. RPQAGE Bus: 1 Device: 16 Function: 0 Offset: 234h Bus: 1 Device: 16 Function: 1 Offset: 234h Bus: 1 Device: 16 Function: 4 Offset: 234h Bus: 1 Device: 16 Function: 5 Offset: 234h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25:16 RW 000h IOCount The name is misleading. Instead, it is RPQ Age Counter for the Medium and Low priority (VC0) non-isoch transactions issued from HA. The counter is increased by one every time there is a CAS command sent. When the RPQ Age Counter is equal to this configured field value, the non-isoch transaction is aged to the next priority level. BIOS must set this field to non-zero value before setting the MCMTR.NORMAL=1. Recommended settings: 100h but subject to revision based from post-silicon application specific performance tuning. 15:10 RV 0h Reserved 9:0 RW 000h CPUGTCount The name is misleading. Instead, it is RPQ Age Counter for the High priority (VCP) transactions and Critical priority (VC1) isoch transactions issued from HA. The counter is increased by one every time there’s a CAS command sent. When the RPQ Age Counter is equal to this configured field value, the isoch transaction is aged to the next priority level. BIOS must set this field to non-zero value before setting the MCMTR.NORMAL=1. Recommended settings: 40h but subject to revision based from post-silicon application specific performance tuning. IDLETIME Bus: 1 Device: 16 Function: 0 Offset: 238h Bus: 1 Device: 16 Function: 1 Offset: 238h Bus: 1 Device: 16 Function: 4 Offset: 238h Bus: 1 Device: 16 Function: 5 Offset: 238h Bit Attr Reset Value Description 31:29 RV 0h Reserved 28 RW 1b
This register is programmed in conjunction with MCMTR.CLOSE_PG to enable three different modes: MCMTR.CLOSE_PG ADAPT_PG_CLSE Mode 00Open Page Mode 01Adaptive Open Mode 1 0 Closed Page Mode 1 1 Illegal When ADAPT_PG_CLSE=0, the page close idle timer gets set with IDLE_PAGE_RST_VAL times 4.Processor Uncore Configuration Registers 428 Datasheet, Volume 2
4.2.14.14 RDIMMTIMINGCNTL—RDIMM Timing Parameter Register
27:21 RW 06h OPC_TH: Overdue Page Close (OPC) Threshold If the number of OPCs in a given window is larger than this threshold, The RV is decreased. 20:14 RW 06h PPC_TH: Premature Page Close (PPC) Threshold If the number of PPCs in a given window is larger than this threshold, The RV is increased. 13:6 RW 40h WIN_SIZE: Window Size (WS) The number of requests tracked before making a decision to adapt the RV. 5:0 RW 08h IDLE_PAGE_RST_VAL: Idle Counter Reset Value (RV) This is the value that effectively adapts. It determines what value the various ICs are set to whenever they are reset. It therefore controls the number of cycles before an automatic page close is triggered for an entire channel. RDIMMTIMINGCNTL Bus: 1 Device: 16 Function: 0 Offset: 23Ch Bus: 1 Device: 16 Function: 1 Offset: 23Ch Bus: 1 Device: 16 Function: 4 Offset: 23Ch Bus: 1 Device: 16 Function: 5 Offset: 23Ch Bit Attr Reset Value Description 31:29 RV 0h Reserved 28:16 RW 12C0h T_STAB This field provides the stabilizing time in number of DCLK; that is, the DCLK must be stable for T_STAB before any access to the device take place. Note: zero value in T_STAB is reserved and it is important to AVOID programming a zero value in the T_STAB. Recommended settings: FREQ T_STAB for RDIMM (including tCKSRX value) 0800 0960h+5h=0965h 1067 0C80h+5h=0c85h 1333 0FA0h+7h=0FA7h 1600 12C0h+8h=12C8h 1867 15E0h+Ah=15EAh 2133 1900h+Bh=190Bh FREQ T_STAB for UDIMM (that is, tCKSRX value) 0800 5h 1067 5h 1333 7h 1600 8h 1867 Ah 2133 Bh 15:4 RV 0h Reserved 3:0 RW 8h T_MRD Command word to command word programming delay in DCLK IDLETIME Bus: 1 Device: 16 Function: 0 Offset: 238h Bus: 1 Device: 16 Function: 1 Offset: 238h Bus: 1 Device: 16 Function: 4 Offset: 238h Bus: 1 Device: 16 Function: 5 Offset: 238h Bit Attr Reset Value DescriptionDatasheet, Volume 2 429
One entry for each physical rank on each channel. Each entry defines which ODT signals are asserted when accessing that rank. The register also includes ODT timing control. The recommended BIOS settings to keep the MC_TERM_RNK_MSK consistent are:
- Set Read ODT mapping – read ODT specifies all ODT pins assertion for a read targeting at this rank. Clear read target DIMM’s termination rank bit. The non- target DIMM’s termination rank bits must be set. All non-termination rank in the ODT mapping table must be cleared. RDIMMTIMINGCNTL2 Bus: 1 Device: 16 Function: 0 Offset: 240h Bus: 1 Device: 16 Function: 1 Offset: 240h Bus: 1 Device: 16 Function: 4 Offset: 240h Bus: 1 Device: 16 Function: 5 Offset: 240h Bit Attr Reset Value Description 31:8 RV 0h Reserved 3:0 RW 5h T_CKOFF This field provides the tCKOFF timing parameter. The number of tCK required for both DCKE0 and DCKE1 to remain LOW before both CK/CK# are driven Low. Minimum setting is 2. TCMRS Bus: 1 Device: 16 Function: 0 Offset: 244h Bus: 1 Device: 16 Function: 1 Offset: 244h Bus: 1 Device: 16 Function: 4 Offset: 244h Bus: 1 Device: 16 Function: 5 Offset: 244h Bit Attr Reset Value Description 31:4 RV 0h Reserved 3:0 RW 8h TMRD_DDR3 This field provides the DDR3 tMRD timing parameter. MRS to MRS minimum delay in number of DCLK.
One entry for each physical rank on each channel. Each entry defines which ODT signals are asserted when accessing that rank. This register also includes ODT timing control. The recommended BIOS settings to keep the MC_TERM_RNK_MSK consistent are:
- Set Read ODT mapping – read ODT specifies all ODT pins assertion for a read targeting at this rank. Cear read target DIMM’s termination rank bit. The non-target DIMM's termination rank bits must be set. All non-termination rank in the ODT mapping table must be cleared. 13:8 RW 0h
One entry for each physical rank on each channel. Each entry defines which ODT signals are asserted when accessing that rank. This register also includes ODT timing control. The recommended BIOS settings to keep the MC_TERM_RNK_MSK consistent are:
- Set Read ODT mapping – read ODT specifies all ODT pins assertion for a read targeting at this rank. Please clear read target DIMM's termination rank bit. The non-target DIMM's termination rank bits must be set. All non-termination rank in the ODT mapping table must be cleared.
One entry for each physical rank on each channel. Each entry defines which ODT signals are asserted when accessing that rank. This register also includes ODT timing control. The recommended BIOS settings to keep the MC_TERM_RNK_MSK consistent are:
- Set Write ODT mapping - write ODT specified all ODT pins assertion for a write targeting at this rank. All DIMM's termination rank must have the ODT mask asserted. All non-termination rank in the ODT mapping table must be cleared.
Rank 3 Write ODT 23:22 RV 0h Reserved 21:16 RW 0h
Rank 2 Write ODT 15:14 RV 0h Reserved 13:8 RW 0h
One entry for each physical rank on each channel. Each entry defines which ODT signals are asserted when accessing that rank. This register also includes ODT timing control. The recommended BIOS settings to keep the MC_TERM_RNK_MSK consistent are:
- Set Write ODT mapping – write ODT specified all ODT pins assertion for a write targeting at this rank. All DIMM's termination rank must have the ODT mask asserted. All non-termination rank in the ODT mapping table must be cleared
Rank 7 Write ODT 23:22 RV 0h Reserved 21:16 RW 0h
Rank 6 Write ODT 15:14 RV 0h Reserved 13:8 RW 0h
One entry for each physical rank on each channel. Each entry defines which ODT signals are asserted when accessing that rank. This register also includes ODT timing control. The recommended BIOS settings to keep the MC_TERM_RNK_MSK consistent are:
- Set Write ODT mapping – write ODT specified all ODT pins assertion for a write targeting at this rank. All DIMM's termination rank must have the ODT mask asserted. All non-termination rank in the ODT mapping table must be cleared
4.2.14.23 MC_INIT_STAT_C Register
State register per channel. Sets control signals static values. Power-up default is state 0h set by global reset. BIOS should leave this register default to zero since the processor has Read/Write ODT table logic to control ODT dynamically during IOSAV or NORMAL modes.
Extra Leading ODT cycles 15:14 RV 0h Reserved 13:8 RW 0h
1 = The bit overrides and asserts the corresponding CKE[5:0] output signal during IOSAV mode. 0 = CKE pin is controlled by the IMC IOSAV logic.Datasheet, Volume 2 435
Error Injection Response Function This register is locked by EPMCMAIN_DFX_LCK_CNTL.RSPLCK (uCR) AND MC_ERR_INJ_LCK.MC_ERR_INJ_LCK (MSR). The referenced Used Trigger-0/Use Trigger-1/Use Trigger-2 are being mapped as the followings:
- 01 - Use Trigger-0 from MCGLBRSPCNTL.GlbRsp0
- 10 - Use Trigger-1 from MCGLBRSPCNTL.GlbRsp1
This register is the Partial Write Starvation Counter Pre-scaler
Read Retry Error Injection Selection: 00 = Do not Inject, 01 = Use Trigger-0, 10 = Use Trigger-1, 11 = Use Trigger-2 7:4 RV 0h Reserved
PWMM_STARV_CNTR_PRESCALER
Bus: 1 Device: 16 Function: 0 Offset: 304h Bus: 1 Device: 16 Function: 1 Offset: 304h Bus: 1 Device: 16 Function: 4 Offset: 304h Bus: 1 Device: 16 Function: 5 Offset: 304h Bit Attr Reset Value Description 31 RW 0b dis_wim_exit_block Disable scheduler blocking when exiting write isoch mode 30 RW 0b wmm_exit_in_wim Allow write major mode exit while in write isoch mode 29:24 RW 1Dh WPQ Isoch WM When WDB level reaches this WM, the MC is in Isoch mode. Value must be greater than WMM_ENTER and between (RPQ size + 5) and 29.Processor Uncore Configuration Registers 436 Datasheet, Volume 2
4.2.14.26 WDBWM—WDB Watermarks Register
This register configures the WMM behavior – watermarks and the starvation counter. Setup rules that must be kept are:
- 1 WMM_EXIT < WMM_ENTER - 1
This is the Write Data Always Response Mode register Lock by EPMCCTRL_DFX_LCK_CNTL.WDAR_LCK WDBWM Bus: 1 Device: 16 Function: 0 Offset: 308h Bus: 1 Device: 16 Function: 1 Offset: 308h Bus: 1 Device: 16 Function: 4 Offset: 308h Bus: 1 Device: 16 Function: 5 Offset: 308h Bit Attr Reset Value Description 31:16 RW 0020h STARVE_CNT This count is used for the starvation switch. If after the WMM transaction count reaches the value in this field and WDB did not go under WMMExit WM, MC returns to RMM for the same number of DCLK and returns back to WMM. 15:8 RW 15h WMM_EXIT When channel is in WMM, when WDB level gets to this level the MC goes back to RMM. The value must be between 1 and (WMM_Enter – 1). Initial value is 22 7:0 RW 19h WMM_ENTER When WDB reaches the level defined by this pointer, channel goes into WMM, The value must be between 2 and (WPQ_IS – 1). WDAR_MODE Bus: 1 Device: 16 Function: 0 Offset: 30Ch Bus: 1 Device: 16 Function: 1 Offset: 30Ch Bus: 1 Device: 16 Function: 4 Offset: 30Ch Bus: 1 Device: 16 Function: 5 Offset: 30Ch Bit Attr Reset Value Description 31:1 RV 0h Reserved 0RW-L 0b WdarMode 0 = Not enabled 1 =EnabledDatasheet, Volume 2 437
This is the Sparing Credit register
4.2.15 Integrated Memory Controller DDR3 Training Registers
4.2.15.1 IOSAV_SPEC_CMD_ADDR_[0:3]—IOSAV Special Command
ADDR Seq 0 Register The RW-L field is locked by either NORMAL bit in MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register. SPARING Bus: 1 Device: 16 Function: 0 Offset: 338h Bus: 1 Device: 16 Function: 1 Offset: 338h Bus: 1 Device: 16 Function: 4 Offset: 338h Bus: 1 Device: 16 Function: 5 Offset: 338h Bit Attr Reset Value Description 31:14 RV 0h Reserved 13:8 RW 05h WRFIFOHWM This field provides the maximum number of merged write isoch transactions allowed in a channel. When this level is exceeded, write credits will not be returned. A value of 0 disables this feature and allows any number of merged write isoch transactions, which can lead to unexpected behavior. 7:6 RV 0h Reserved 5:0 RW 00h SpareCrdts This field provides the number of WPQ credits to withhold from HA while sparing is in progress.
For different DDR chip size, this field defines how many ADDR bits are relevant: 0h = 10 bits (9:0) - Only in this mode AP bit in IOSAV_ch#_<ssq>_special_command_CTL is valid 1h = 18 bits (17:0) (reserved for HDRL-2) 2h = 12 bits (11:0) 3h = 13 bits (12:0) 4h = 14 bits (13:0) 5h = 15 bits (14:0) 6h = 16 bits (15:0) 7h = 17 bits (16:0) (reserved for HDRL-2) 17:0 RW-L 00000h ROW_COL_ADR: Row Column AddressProcessor Uncore Configuration Registers 438 Datasheet, Volume 2
4.2.15.2 IOSAV_CH_ADDR_UPDT_[0:3]—IOSAV Channel Address
Update Seq 0 Register Need to accommodate slot increment The RW-L field is locked by either NORMAL bit in MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register.
IOSAV_CH_ADDR_UPDT_[0:3]
Bus: 1 Device: 16 Function: 0 Offset: 410h, 414h, 418h, 41Ch Bus: 1 Device: 16 Function: 1 Offset: 410h, 414h, 418h, 41Ch Bus: 1 Device: 16 Function: 4 Offset: 410h, 414h, 418h, 41Ch Bus: 1 Device: 16 Function: 5 Offset: 410h, 414h, 418h, 41Ch Bit Attr Reset Value Description 31:18 RV 0h Reserved 17:16 RW-L 00b Deselect Cycles Control This field defines the behavior of LFSR on the deselect cycles (cycles in which no sub-seq command is issued) 0h = No change – last issued command is driven with no change 1h = LFSR is XORing with address & command (not including CS), but not updating 2h = LFSR is XORing with address & command (not including CS), and updating 15:12 RW-L 0h UPDT_RATE This field defines once every how many command issues the address is updated. The programmed value should be the (required-rate – 1). For example, in order to get an update every second command issue, the programmed value should be 1. If the programmed value is zero, address is updated every command issue. 11:10 RW-L 00b LFSR_UPDT: LFSR Update This field defines the LFSR function as following 00 = No LFSR function 10 = LFSR function on bits [Address wrap : 0] 11 = LFSR function on bits [Address wrap : 3] 9:5 RW-L 0h
This field defines the bit range of the address may be updated. Bit range is [(Address wrap) : 0] 4:0 RW-L 0h ADR_INC: Address Increment The address field is incremented by this field every time there is an address update. Bit 0 = Increment RAS / CAS address by 1 Bit 1 = Increment RAS / CAS address by 8 Bit 2 = Increment bank select by 1 Bits 4:3 = Increment rank select by 1, 2 or 3 (two bits) Except for bits 0 & 1, any bit combination may be applied. For example, by setting bits 0 and 2, the address and bank select are incremented every time the address is updated Note: The address that is incremented is the concatenation of rank # (encoded), bank # and row/column relevant address bits. Example Rank (CS) = 0b0010 (rank #1 is selected) Bank = 0b101 (bank 5) # of row bits = 14 Row address = 2BCDh == 0b 10 1011 1100 1101 This case address is 0b 01 101 10101111001101 (rank, bank row) == 36BCDhDatasheet, Volume 2 439
LFSR Seq 0 Register The RW-L field is locked by either NORMAL bit in MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register.
4.2.15.4 IOSAV_CH_SPCL_CMD_CTRL_[0:3]—IOSAV Channel Special
Command Control Seq 0 Register The RW-L field is locked by either NORMAL bit in MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register.
IOSAV_CH_ADDR_LFSR_[0:3]
Bus: 1 Device: 16 Function: 0 Offset: 420h, 424h, 428h, 42Ch Bus: 1 Device: 16 Function: 1 Offset: 420h, 424h, 428h, 42Ch Bus: 1 Device: 16 Function: 4 Offset: 420h, 424h, 428h, 42Ch Bus: 1 Device: 16 Function: 5 Offset: 420h, 424h, 428h, 42Ch Bit Attr Reset Value Description 31:24 RV 0h Reserved 23:0 RW-L 000000h LFSR: 23-bit LFSR Field This keeps the LFSR current value of the sequence. It is written into the LFSR when sub-sequence is loaded and loaded from LFSR when the sub-sequence is done.
Auto PrechargeAddress bit 10 as Auto Precharged (when 10 address bits are relevant) 28:18 RW-L 000h CS_CTL Control the CS signal 00XX_XXXX_XXXX: all CS’ are X 01XX_XXXX_XXXX: !((decode of IOSAV_ch#_<ssq>_special_command_ADDR Rank (CS) field) | !X (bitwise OR) Example: CS_ctl == 0x403, and IOSAV_ch#_<ssq>_special_command_ADDR Rank (CS) ==1h, CS pins shall be 2h (bits 0, 2 & 3 are asserted, bit 1 is de- asserted, all active low) 17:10 RW-L 00h ODT: On Die Termination ODT[7] = reserved for future use ODT[6] = reserved for future use
Control Seq 0 Register The RW-L field is locked by either NORMAL bit in MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register. 9:4 RW-L 0h CKE: Clock Enables
3RV 0hReserved 2RW-L 1b WE_NN: WE# Control A value zero means asserted. 1RW-L 1b CAS_NN: CAS# Control A value zero means asserted. 0RW-L 1b RAS_NN: RAS# Control Avalue zero means asserted.
Bus: 1 Device: 16 Function: 0 Offset: 440h, 444h, 448h, 44Ch Bus: 1 Device: 16 Function: 1 Offset: 440h, 444h, 448h, 44Ch Bus: 1 Device: 16 Function: 4 Offset: 440h, 444h, 448h, 44Ch Bus: 1 Device: 16 Function: 5 Offset: 440h, 444h, 448h, 44Ch Bit Attr Reset Value Description 31:22 RV 0h Reserved 21:20 RW-L 00b DIR 00 = Non-data command 01 = RD 10 = WR 11 = RD&WR 19:16 RW-L 4h GAP This field defines the number of DCLK cycles (GAP+1) between issuing commands within the sub-sequence (minimum setting GAP=3 for minimum actual gap time of 4). 15:8 RW-L 04h WAIT This field defines the number of DCLK cycles (WAIT+1) between completion of this sub-sequence and beginning the next sub-sequence (minimum setting WAIT=3 for minimum wait time of 4). 7:0 RW-L 00h REPEAT How many times this command is repeated in single execution of the sub- sequence. The value FFh stands for infinity.Datasheet, Volume 2 441
Control Register The RW-L field is locked by either NORMAL bit in MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register.
Bus: 1 Device: 16 Function: 0 Offset: 450h Bus: 1 Device: 16 Function: 1 Offset: 450h Bus: 1 Device: 16 Function: 4 Offset: 450h Bus: 1 Device: 16 Function: 5 Offset: 450h Bit Attr Reset Value Description 31:25 RV 0h Reserved 24 RW-L 0b en_inf_subseq Enable infinite subsequence repeat. 23 RW-L 0b ref_dur_wait Enable refresh during the sequence wait period when set. 22 RW-L 0b ALLOW_REF when this bit is set, refresh is not blocked during sequence execution. Note: This bit cannot be set with ’keep_refresh_disabled’ bit on the same sequence or during previous sequence. The purpose of the bit is to allow using sequence machine as timer without affecting DDR. 21 RV 0h Reserved 20 RW-L 0b
if this bit is set, the refresh remains disabled until the next sequence is programmed and begins to execute. In this case it is users responsibility to complete all sequences (until the last which is programmed with this bit cleared) within the 9*T_REFI period. 19:18 RW-L 0h LOOP_LEN 0h = One subsequence 1h = Two subsequences 2h = Three subsequences 3h = Four subsequences 17 RW-L 0h
If this bit is set, the sequence shall stop on the first error that occurs in the sequence. The point that the error is detected is delayed to the command issue; thus, several commands are issued after the command that caused the error was issued. 16:8 RW-LV 004h WAIT This field is the number of cycles to wait at the end of each sequence-iteration. Purpose of this wait (contrary to the wait at the end of the last sub-sequence) is to allow maintenance operations in infinite loops. If this field is zero, no maintenance operations are allowed. If the field is non-zero, RCOMP, refresh and ZQCx may occur. During the first 16 (TBD) cycles of this wait period, refresh is enabled. On the next 16 (TBD) cycles, RCOMP is allowed. ZQCx, if required, shall occur at the end of the refresh. In the cases of wait > 0 (maintenance is allowed) it is recommended not to have each sequence-iteration longer than T_REFI (including the wait period). The wait value must be larger than T_RFC + T_ZQCS + 32- DCLK. 7:0 RW-LV 01h REPEAT This field is the number of iterations. This field is updated in run-time. Sequence starts running as soon as this field is non-zero. The field is decremented every time that a full sequence iteration is completed, and when zero, the sequence is done. If field is set to FFh, infinite repeat is executed; that is, no decrement is done, and sequence is executed until aborted by writing 0 into the repeat field.Processor Uncore Configuration Registers 442 Datasheet, Volume 2
4.2.15.7 IOSAV_CH_STAT—IOSAV Channel Status Register
This register is cleared when writing to the REPEAT field of IOSAV_CH_SEQ_CTRL.
This bit is cleared with the Idle-done bit when a new sequence is written. It is set when the sequence is completed and the refresh counter is drained. For example, if during the sequence the T_REFI counter has accumulated to 6, then this bit remains clear until 6 refreshes have been executed after sequence (assuming no additional T_REFI increment has occurred during this time). 6RO-V 0bRCOMP failure 5RV 0hReserved 4RO-V 0b REF_FAILURE This bit is set when a sequence was stopped by a panic refresh, and cleared when a new sequence is loaded (repeat is rewritten). 3RO-V 0b STOP_ERROR This bit is set when a sequence was stopped by error, and cleared when a new sequence is loaded (repeat is rewritten). 2RO-V 0b IDLE_DONE This bit is set when execution is completed and cleared when a new sequence is loaded (repeat is rewritten). 1RO-V 0b RUN This bit is set when execution of the sequence begins and cleared when execution ends. 0RO-V 0b IDLE_READY This bit is set when a sequence is programmed (Repeat counter is non-zero) but sequence execution did not start because start conditions are not fulfilled. It is cleared when run has begun.Datasheet, Volume 2 443
Control Register This register controls the data flow. This register is read & write, but it is should not be written while a sequence is active (doing this shall cause unpredictable results). The RW-L field is locked by either NORMAL bit in MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register.
4.2.15.9 IOSAV_CH_DATA_CYC_MSK—IOSAV Channel Data Cycle
Mask Register This register controls the data flow. This register is read & write, but it is should not be written while a sequence is active (doing this shall cause unpredictable results). The RW-L field is locked by either the NORMAL bit in the MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register.
1 = Data pattern is LFSR based 0 = Data pattern is from WDB 30:25 RV 0h Reserved 23:16 RW-L 00h CMPP This pointer is used for reading from WDB data that is used for comparison on read transactions. 15:8 RW-L 00h WRP This pointer is used for reading from WDB data that is used for write transactions. 7:0 RW-L 00h PAT_LEN This field defines the length of the pattern in WDB in CL (8 * data transfers). Actual pattern length is PAT_LEN + 1. PAT_LEN=n-1 means WDB entries 0 to n-1 are used for the IOSAV data pattern with pattern length of n. The effective range of the PAT_LEN is {0..31}. A value greater than 31 is equivalent to truncated bit 4:0 value; that is, modulo of 32.
IOSAV_CH_DATA_CYC_MSK
Bus: 1 Device: 16 Function: 0 Offset: 460h Bus: 1 Device: 16 Function: 1 Offset: 460h Bus: 1 Device: 16 Function: 4 Offset: 460h Bus: 1 Device: 16 Function: 5 Offset: 460h Bit Attr Reset Value Description 31:11 RV 0h Reserved 10:8 RW-L 000b MODE Defines time-masking mode: 0h = No masking – check every cycle 1h = Mask all but one vector 2h = Mask all odd vectors, check all even vectors 3h = Mask all even vectors, check all odd vectors The RW-L field is locked by either NORMAL bit in MCMTR register or by IOSAV_DISABLE bit in LT_IOSAV_MEMINIT_DIS register. 7:0 RW-L 00h ROW_ENABLE This field defines the vector that is enabled if Mode is ’Mask all but one vector.Processor Uncore Configuration Registers 444 Datasheet, Volume 2
Rank 3 IO latency in QCLK 11:8 RW 0h
WDB Data Load Register 0 Bus: 1 Device: 16 Function: 2 Offset: 98h Bus: 1 Device: 16 Function: 3 Offset: 98h Bus: 1 Device: 16 Function: 6 Offset: 98h Bus: 1 Device: 16 Function: 7 Offset: 98h Bit Attr Reset Value Description 31:24 RW-LB 00h XFER4 4th transfer on a byte of the DDR Bus. 23:16 RW-LB 00h XFER3 3rd transfer on a byte of the DDR Bus. 15:8 RW-LB 00h XFER2 2nd transfer on a byte of the DDR Bus. 7:0 RW-LB 00h XFER1 1st transfer on a byte of the DDR Bus. WDBPRELOADREG1 Bus: 1 Device: 16 Function: 2 Offset: 9Ch Bus: 1 Device: 16 Function: 3 Offset: 9Ch Bus: 1 Device: 16 Function: 6 Offset: 9Ch Bus: 1 Device: 16 Function: 7 Offset: 9Ch Bit Attr Reset Value Description 31:24 RW-LB 00h XFER8 8th transfer on a byte of the DDR Bus. 23:16 RW-LB 00h XFER7 7th transfer on a byte of the DDR Bus. 15:8 RW-LB 00h XFER6 6th transfer on a byte of the DDR Bus. 7:0 RW-LB 00h XFER5 5th transfer on a byte of the DDR Bus.Datasheet, Volume 2 447
The following is an example to program this register. If you want to load entry 0 with a 01010101... Pattern on each DQ bit, the registers would be programmed as follows:
WDB entry number to write data into. 15:8 RW-LB 00h BYTEEN_2468XFER Byte Enables for each byte of the DDR bus on 2nd, 4th, 6th and 8th transfers. 7:0 RW-LB 00h BYTEEN_1357XFER Byte Enables for each byte of the DDR bus on 1st, 3rd, 5th, and 7th transfers.Processor Uncore Configuration Registers 448 Datasheet, Volume 2
4.2.16.8 CORRERRCNT_0—Corrected Error Count Register
This register has per Rank corrected error counters. CORRERRCNT_0 Bus: 1 Device: 16 Function: 2 Offset: 104h Bus: 1 Device: 16 Function: 3 Offset: 104h Bus: 1 Device: 16 Function: 6 Offset: 104h Bus: 1 Device: 16 Function: 7 Offset: 104h Bit Attr Reset Value Description 31 RW1CS 0b RANK 1 OVERFLOW The corrected error count for this rank has been overflowed. Once set, it can only be cleared using a write from BIOS. 30:16 RWS-V 0000h
RANK 1 CORRECTABLE ERROR COUNT
The corrected error count for this rank. Hardware automatically clear this field when the corresponding OVERFLOW_x bit is changing from 0 to 1. This counter increments in number of cacheline accesses – not by codewords. On a read access, if either of the codewords or both codewords have a corrected error, this counter increments by 1. Register: DEVTAG_CNTL<Rank>, Field FAILDEVICE: This field is updated once per cacheline access not by codeword. On a read access, the device is logged as follows: Corr_Err_On_CodeWord_0 Corr_Err_On_CoreWord_1 Device Logged Yes No Corrected Device from CodeWord0 No Yes Corrected Device from CodeWord1 Yes Yes Corrected Device from CodeWord0 15 RW1CS 0b RANK 0 OVERFLOW The corrected error count for this rank has been overflowed. Once set it can only be cleared using a write from BIOS. 14:0 RWS-V 0000h
RANK 0 CORRECTABLE ERROR COUNT
The corrected error count for this rank. Hardware automatically clear this field when the corresponding OVERFLOW_x bit is changing from 0 to 1. This counter increments in number of cacheline accesses – not by codewords. On a read access, if either of the codewords or both codewords have a corrected error, this counter increments by 1. Register: DEVTAG_CNTL<Rank>, Field FAILDEVICE: This field is updated once per cacheline access not by codeword. On a read access, the device is logged as follows: Corr_Err_On_CodeWord_0 Corr_Err_On_CoreWord_1 Device Logged Yes No Corrected Device from CodeWord0 No Yes Corrected Device from CodeWord1 Yes yes Corrected Device from CodeWord0Datasheet, Volume 2 449
4.2.16.9 CORRERRCNT_1—Corrected Error Count Register
This register has per Rank corrected error counters.
4.2.16.10 CORRERRCNT_2—Corrected Error Count Register
This register has per Rank corrected error counters. CORRERRCNT_1 Bus: 1 Device: 16 Function: 2 Offset: 108h Bus: 1 Device: 16 Function: 3 Offset: 108h Bus: 1 Device: 16 Function: 6 Offset: 108h Bus: 1 Device: 16 Function: 7 Offset: 108h Bit Attr Reset Value Description 31 RW1CS 0b RANK 3 OVERFLOW The corrected error count has crested over the limit for this rank. Once set it can only be cleared using a write from BIOS. 30:16 RWS-V 0000h
The corrected error count for this rank. 15 RW1CS 0b RANK 2 OVERFLOW The corrected error count has crested over the limit for this rank. Once set, it can only be cleared using a write from BIOS. 14:0 RWS-V 0000h
The corrected error count for this rank. 15 RW1CS 0b RANK 4 OVERFLOW The corrected error count has crested over the limit for this rank. Once set, it can only be cleared using a write from BIOS. 14:0 RWS-V 0000h
The corrected error count for this rank.Processor Uncore Configuration Registers 450 Datasheet, Volume 2
4.2.16.11 CORRERRCNT_3—Corrected Error Count Register
This register has per Rank corrected error counters.
The corrected error count for this rank. 15 RW1CS 0b RANK 6 OVERFLOW The corrected error count has crested over the limit for this rank. Once set, it can only be cleared using a write from BIOS. 14:0 RWS-V 0000h
The corrected error threshold for this rank that will be compared to the per rank corrected error counter. 15 RV 0h Reserved 14:0 RW 7FFFh
The corrected error threshold for this rank that will be compared to the per rank corrected error counter.Datasheet, Volume 2 451
This register holds the per rank corrected error thresholding value.
4.2.16.14 CORRERRTHRSHLD_2—Corrected Error Threshold Register
This register holds the per rank corrected error thresholding value.
The corrected error threshold for this rank that will be compared to the per rank corrected error counter. 15 RV 0h Reserved 14:0 RW 7FFFh
The corrected error threshold for this rank that will be compared to the per rank corrected error counter. CORRERRTHRSHLD_2 Bus: 1 Device: 16 Function: 2 Offset: 124h Bus: 1 Device: 16 Function: 3 Offset: 124h Bus: 1 Device: 16 Function: 6 Offset: 124h Bus: 1 Device: 16 Function: 7 Offset: 124h Bit Attr Reset Value Description 31 RV 0h Reserved 30:16 RW 7FFFh
The corrected error threshold for this rank that will be compared to the per rank corrected error counter. 15 RV 0h Reserved CORRERRTHRSHLD_3 Bus: 1 Device: 16 Function: 2 Offset: 128h Bus: 1 Device: 16 Function: 3 Offset: 128h Bus: 1 Device: 16 Function: 6 Offset: 128h Bus: 1 Device: 16 Function: 7 Offset: 128h Bit Attr Reset Value Description 31 RV 0h Reserved 30:16 RW 7FFFh
The corrected error threshold for this rank that will be compared to the per rank corrected error counter. 15 RV 0h Reserved 14:0 RW 7FFFh
The corrected error threshold for this rank that will be compared to the per rank corrected error counter.Processor Uncore Configuration Registers 452 Datasheet, Volume 2
This 8-bit field is the per rank error over-threshold status bits. The organization is as follows: Bit 0 = Rank 0 Bit 1 = Rank 1 Bit 2 = Rank 2 Bit 3 = Rank 3 Bit 4 = Rank 4 Bit 5 = Rank 5 Bit 6 = Rank 6 Bit 7 = Rank 7 Note: The field tracks which rank has reached or exceeded the corresponding CORRERRTHRSHLD threshold settings.Datasheet, Volume 2 453
Secondary Leaky Bucket Counter Limit (2b per DIMM). This register defines the secondary leaky bucket counter limit for all 8 logical ranks within channel. The counter logic will generate the secondary LEAK pulse to decrement the rank’s correctable error counter by 1 when the corresponding rank leaky bucket rank counter roll over at the predefined counter limit. The counter increment at the primary leak pulse from the LEAKY_BUCKET_CNTR_LO and LEAKY_BUCKET_CNTR_HI logic. Bit[31:30] = Rank 7 Secondary Leaky Bucket Counter Limit Bit[29:28] = Rank 6 Secondary Leaky Bucket Counter Limit Bit[27:26] = Rank 5 Secondary Leaky Bucket Counter Limit Bit[25:24] = Rank 4 Secondary Leaky Bucket Counter Limit Bit[23:22] = Rank 3 Secondary Leaky Bucket Counter Limit Bit[21:20] = Rank 2 Secondary Leaky Bucket Counter Limit Bit[19:18] = Rank 1 Secondary Leaky Bucket Counter Limit Bit[17:16] = Rank 0 Secondary Leaky Bucket Counter Limit 0h = LEAK pulse is generated one DCLK after the counter roll over at 3. 1h = LEAK pulse is generated one DCLK after the primary LEAK pulse is asserted. 2h = LEAK pulse is generated one DCLK after the counter roll over at 1. 3h = LEAK pulse is generated one DCLK after the counter roll over at 2. 15:0 RW-V 0000h
Per rank secondary leaky bucket counter (2b per rank) bit 15:14 = Rank 7 secondary leaky bucket counter bit 13:12 = Rank 6 secondary leaky bucket counter bit 11:10 = Rank 5 secondary leaky bucket counter bit 9:8 = Rank 4 secondary leaky bucket counter bit 7:6 = Rank 3 secondary leaky bucket counter bit 5:4 = Rank 2 secondary leaky bucket counter bit 3:2 = Rank 1 secondary leaky bucket counter bit 1:0 = Rank 0 secondary leaky bucket counterProcessor Uncore Configuration Registers 454 Datasheet, Volume 2
4.2.16.18 DEVTAG_CNTRL[0:7]—Device Tagging Control for Logical
Rank 0 Register Usage model – When the number of correctable errors (CORRERRCNT_x) from a particular rank exceeds the corresponding threshold (CORRERRTHRSHLD_y), hardware will generate a SMI interrupt and log (and preserve) the failing device in the FailDevice field. SMM software will read the failing device on the particular rank. Software then sets the EN bit to enable substitution of the failing device/rank with the parity from the rest of the devices inline. For independent channel configuration, each rank can tag once. Up to 8 ranks can be tagged. There is no hardware logic to report incorrect programming error. Unpredictable error and/or silent data corruption will be the consequence of such programming error. If the rank-sparing is enabled, it is recommend to prioritize the rank-sparing before triggering the device tagging due to the nature of the device tagging would drop the correction capability and any subsequent ECC error from this rank would cause uncorrectable error. Device Tagging Control CSR for Logical Rank 0 Bus: 1 Device: 16 Function: 2 Offset: 140h - 147h Bus: 1 Device: 16 Function: 3 Offset: 140h - 147h Bus: 1 Device: 16 Function: 6 Offset: 140h - 147h Bus: 1 Device: 16 Function: 7 Offset: 140h - 147h Bit Attr Reset Value Description 7RWS-LB0b Device Tagging Enable for this rank Once the bit is set, the parity device of the rank is used for the replacement device content. After tagging, the rank will no longer have the "correction" capability. ECC error "detection" capability will not degrade after setting this bit. Must never be enable prior to using IOSAV. 6:5 RV 0h Reserved 4:0 RWS-V 1Fh Fail Device ID for this rank When the corresponding rank’s CORRESRRCNT is greater than its CORERRTHRESHLD, the hardware will capture the fail device ID of the rank in the FailDevice field. Subsequent correctable error will not change this field until the field is cleared. Valid Range is 0–17 to indicate which x4 device (independent channel) had failed. If the value is equal or greater than 24, the field indicates no device failure had occurred on this rank.Datasheet, Volume 2 455
When an error occurs on one of the data pins, the corresponding bit in this register is set. Bits may be cleared by implicit write. At the end of a sequence (or few sequences ran one after the other without clearing the register), every bit that was set means that there was at least one error in the corresponding bit in the sequence. Every clear bit means that there were no errors in the whole sequence
4.2.16.20 IOSAV_CH_B4_B7_BW_SERR Register
When an error occurs on one of the data pins, the corresponding bit in this register is set. Bits may be cleared by implicit write. At the end of a sequence (or few sequences ran one after the other without clearing the register), every bit that was set means that there was at least one error in the corresponding bit in the sequence. Every clear bit means that there were no errors in the whole sequence
When an error occurs on one of the data pins, the corresponding bit in this register is set. Bits may be cleared by implicit write. At the end of a sequence (or few sequences ran one after the other without clearing the register), every bit that was set means that there was at least one error in the corresponding bit in the sequence. Every clear bit means that there were no errors in the whole sequence
Bit-wise compare maskDatasheet, Volume 2 457
Bit-wise compare mask
Bit-wise compare maskProcessor Uncore Configuration Registers 458 Datasheet, Volume 2
FBVEC LFSR XOR feedback tap points mask position. LFSR Example: MTLFSR.NUMBITS = 0x5 5 flop lsfr, with feedback taken lfsr[4] output MTLFSR.FBVEC = 0x9 Feedback tap points at X^3 and X^0 Generating function: G(X) = X^5 + X^3 + 1 Physical implementation
SEED Start value for LFSR address sequence.Datasheet, Volume 2 459
This register is used to scramble and unscramble the MC to DDR Pad data using the DDR command address and the scramble seed. All the fields CH_ENABLE, TX_ENABLE and RX_ENABLE must be set to 1 to enable scrambling, and must be cleared to disable scrambling. This register can only be changed in IOSAV mode before any accesses to memory. TX_ENABLE: "Hooked up to Receive De-scramble in the design – setting this bit causes MC Rx data from the DDR pads to be descrambled. This bit is locked during normal (non-IOSAV) mode". RX_ENABLE: "Hooked up to Transmit De-scramble in the design – setting this bit causes MC Tx data to the DDR pads to be scrambled. This bit is locked during normal (non-IOSAV) mode".
4.2.16.32 MCSCRAMBLE_SEED_SEL Register
This register is locked by SEED_LOCK bit in MCSCRAMBLECONFIG register. MCSCRAMBLECONFIG Bus: 1 Device: 16 Function: 2 Offset: 1E0h Bus: 1 Device: 16 Function: 6 Offset: 1E0h Bus: 1 Device: 16 Function: 3 Offset: 1E0h Bus: 1 Device: 16 Function: 7 Offset: 1E0h Bit Attr Reset Value Description 31:4 RV 0h Reserved 3RWS-O 0b SEED_LOCK: Seed Lock Lock bit for the seed update. 1b = lock 0b = unlock 2RWS-L 0h CH_ENABLE: Channel Enable This bit is locked during NORMAL (non-IOSAV) mode. 1RWS-L 0h TX_ENABLE "Hooked up to Receive De-scramble in the design – setting this bit causes MC Rx data from the DDR pads to be descrambled. This bit is locked during normal (non- IOSAV) mode". 0RWS-L 0h RX_ENABLE "Hooked up to Transmit De-scramble in the design – setting this bit causes MC Tx data to the DDR pads to be scrambled. This bit is locked during normal (non- IOSAV) mode".
Device 1 data inversion mask for error injection. Eight 4-bit values specify which bits of the nibble are inverted on each data cycle of a BL8 write. Bits 3:0 correspond to the first data cycle.Datasheet, Volume 2 463
This register is provides the Error Injection Response Function.
4.2.16.36 x4modesel—MDCP X4 Mode Select Register
The Home agent is responsible for memory transactions and interacts with the processor’s ring and handles incoming and outgoing transactions.
4.3.2.1 TMBAR—Thermal Memory Mapped Register Range Base
This is the base address for the Thermal Controller Memory Mapped space. There is no physical memory within this 32 KB window that can be addressed. The 32 KB reserved by this register does not alias to any PCI 2.2 compliant memory mapped space. All TMBAR space maps the access to this memory space towards MCHBAR space. For details of this BAR, refer to the MCHBAR specifications.
Thermal Memory Map Base Address This field corresponds to bits 31:15 of the base address TMBAR address space. BIOS programs this register resulting in a base address for a 32 KB block of contiguous memory address space. This register ensures that a naturally aligned 32 KB space is allocated within total addressable memory space. 14:0 RV 0h Reserved TAD[0:11] Bus: 1 Device: 14 Function: 0 Offset: 40h, 44h, 48h, 4Ch, 50h, 54h, 58h, 5Ch Bus: 1 Device: 14 Function: 0 Offset: 60h, 64h, 68h, 6Ch Bit Attr Reset Value Description 31:12 RWS-LB 00000h TAD Limit This field defines the memory region limit. It contains the physical address bit range [45:26]. 0 physical address [45:26] TAD[0].Limt , when N=0 TAD[N-1].limit+1 physical address [45:26] TAD[N].Limit; when N=1 to 11 Note: ì-LBî means uBox message ConfigRegWr can write to this register. However ComfigWrLtLock can not write to this register. 11:10 RWS-LB 00b Number of Socket Ways This field defines the number of sockets interleave in the system. 00 = 1 way 01 = 2 ways 10 = 4 ways 11 = 8 ways Reset Value value: 0 = 1 socket in the systemDatasheet, Volume 2 467
4.3.2.3 HaCrdtCnt—Home Agent Credit Counter Register
These registers are used for HA credit initialization and also for DFX debug. They can be accessed by the BIOS and uCode. This is special CSR register that required the initialization process following certain rules. 9:8 RWS-LB 00b Number of Channel Ways This field defines the number of memory channels interleave within a socket. Non-mirrored Configuration (default configuration) 00 = 1 way of memory channel 01 = 2 ways of memory channel interleaving 10 = 3 ways of memory channel interleaving 11 = 4 ways of memory channel interleaving Reset Value value: 00b = no memory channel interleaving 7:6 RWS-LB 00b
TAD_CHANNEL_TARGET (channel[0].id): Non-mirrored Configuration: Channel interleave 0 (used for 1/2/3/4-way TAD interleaving). TAD[0:11] Bus: 1 Device: 14 Function: 0 Offset: 40h, 44h, 48h, 4Ch, 50h, 54h, 58h, 5Ch Bus: 1 Device: 14 Function: 0 Offset: 60h, 64h, 68h, 6Ch Bit Attr Reset Value Description HaCrdtCnt Bus: 1 Device: 14 Function: 0 Offset: 70h Bit Attr Reset Value Description 31:18 RV 0h Reserved 17 RW 0b Shared Credit enable When this bit is set, HA allows scheduler to shared credits between the global credit counter to the local credit counters. To ensure the deterministic value of the credits for HA at the initialization, it must be prior for HA to service any ring request. 1 = Allows to share credits between the global counter and local counter 0 = Does not allow share the credits between the global counter and local counterProcessor Uncore Configuration Registers 468 Datasheet, Volume 2 16 RW 0b Shared Credit Release When set, prevents schedulers from speculatively allocating shared credits in the local credit counter. This causes the idle state of the local credit counter to be zero. When cleared, shared credits are pre-allocated to both schedulers’ local counters, allowing lower latency. 1 = Do not schedule from speculative allocating shared credit at local credit counter; 0 = Allows speculative pre-allocate the local credit counters from shared credit counter to reduce the latency 15 RW-V 0b Scheduler 1 read enable When set, read the credit counters from scheduler 1 and place the values in Main Counter and Performance. Then the register resets this bit to 0. This ensures the credit counter at the deterministic value at idle state for certain transitions. 1 = Read credit counters from scheduler 1 0 = Do not read credit from the scheduler 1. A 0 is default value at reset and immediately follows reading out all credits (or after its was set). 14 RW-V 0b Scheduler 0 read enable When set, read the credit counters from scheduler 0 and place the values in Main Counter and Performance. Then the register resets this bit to 0. This is insures the credit counter at the deterministic value at idle state for certain transition. 1 = Read credit counters from scheduler 1 0 = Do not read credit from the scheduler 1. A 0 is default value at the reset and immediately follows reading out all credits (or after its was set) 13 RW-V 0b Write Enable When set, write the credit counters in the both schedulers using the value from Main Count. Software must ensure that credits are in idle state (all credit returned) when writing the credit count. For shared credits, only the global count is written. Software must ensure that Local Credit counter is zero when doing the write by setting sharedCrditRls prior to doing the write. 1 = Write to schedulers by using main credit count value 0 = Do not write to scheduler counts HaCrdtCnt Bus: 1 Device: 14 Function: 0 Offset: 70h Bit Attr Reset Value DescriptionDatasheet, Volume 2 469
Processor Uncore Configuration Registers 12:8 RW 0h Type of Credit to Be Accessed The HA has two schedulers. Each scheduler uses its own credit pool. The credit type 0-15 decimal are private credit types. The credit type 16-31 decimal are shared credit types. Private Credits 0-3 (00000b-00011b): Write pull buffer credits per MC channel (default 6 each channel) 4-7 (00100b-00111b): Partial write pull credits for MC channel (default 3 each channel) 8 (01000b): BL egress credits (default 4 each direction) 9 (01001b): AK egress credits (default 8 each direction) 10 (01010b): AD egress credits (default 6 each direction). This does not include dedicated SNP and NDR credits. 11-15 (01011b-01111b): Reserved (RSVD) Shared Credits 16-19 (10000b-10011b): Shared MC read credits per MC channel (default 22 each channel) 20-23 (10100b-10111b): Shared MC write credits per MC channel (default 32 each channel) 24 (11000b): Shared QPI0 BL VNA credits (default 3 and will be initialized by BIOS based on the processor credit table value. credits, non-legacy socket 9 credits =5 normal+4 isoc) 25 (11001b): Shared QPI1 BL VNA credits (default 3 and will be initialized by BIOS based on the processor credit table value) 26 (11010b): Shared QPI0 AD VNA credits for NDR and SNP (default 4 and will be initialized by BIOS based on the processor credit table value.) 27 (11011b): Shared QPI1 AD VNA credits for NDR and SNP (default 4 and will be initialized by BIOS based on the processor credit table value.) 28-31 (11101b-11111b): Reserved (RSVD) 7:6 RW-V 00b Prefetch Counter This field does not apply to private credits. For shared credits, this is the local counter. It only applies to the credit reads. 5:0 RW-V 00h Main Counter For shared credits, this is the global counter. For private credits, this is the only credit counter. HaCrdtCnt Bus: 1 Device: 14 Function: 0 Offset: 70h Bit Attr Reset Value DescriptionProcessor Uncore Configuration Registers 470 Datasheet, Volume 2
4.3.2.4 HtBase—Home Track Base Selection Register
Each node has 4 bits mapping to the assigned HT segment starting address. There are 8 segments for each HT bank and total 16 segments. Each segment has 8 trackers. Two segments construct a sector. Each sector has 16 trackers. HtBase Bus: 1 Device: 14 Function: 0 Offset: 74h Bit Attr Reset Value Description 31:28 RW 0000b NID7 HT Base NID7 HT Base (Nid7HtBase): This field defines the HTID mapping. The base identifies the first entry of HTID allocated for this Node ID. The HTID entry address of node 7 is statically allocated at NID7HtBase. 27:24 RW 0000b NID6 HT Base NID6 HT Base (Nid6HtBase): This field defines the HTID mapping. The base identifies the first entry of HTID allocated for this Node ID. The HTID entry address of node 6 is statically allocated at NID6HtBase. 23:20 RW 0000b NID5 HT Base NID5 HT Base (Nid5HtBase): This field defines the HTID mapping. The base identifies the first entry of HTID allocated for this Node ID. The HTID entry address of node 5 is statically allocated at NID5HtBase. 19:16 RW 0000b NID4 HT Base NID4 HT Base (Nid4HtBase): This field defines the HTID mapping. The base identifies the first entry of HTID allocated for this Node ID. The HTID entry address of node 4 is statically allocated at NID0HtBase. 15:12 RW 0000b NID3 HT Base NID3 HT Base (Nid3HtBase): This field defines the HTID mapping. The base identifies the first entry of HTID allocated for this Node ID. The HTID entry address of node 3 is statically allocated at NID0HtBase. 11:8 RW 0000b NID2 HT Base NID2 HT Base (Nid2HtBase): This field defines the HTID mapping. The base identifies the first entry of HTID allocated for this Node ID. The HTID entry address of node 2 is statically allocated at NID2HtBase. 7:4 RW 0000b NID1 HT Base NID1 HT Base (Nid1HtBase): This field defines the HTID mapping. The base identifies the first entry of HTID allocated for this Node ID. The HTID entry address of node 1 is statically allocated at NID1HtBase. 3:0 RW 0000b NID0 HT Base NID0 HT Base (Nid0HtBase): This field defines the HTID mapping. The base identifies the first entry of HTID allocated for this Node ID. The HTID entry address of node 0 is statically allocated at NID0HtBase.Datasheet, Volume 2 471
4.3.2.5 HABGFTune—HA BGF Tuning Register
The flow accommodates BGF sync pulse frequencies of 100 MHz, 50 MHz, 33 MHz, and 25 MHz. However, the MC frequency is likely to be a multiple of 33 MHz. The ratio would have to be programmed with respect to a 33 MHz sync pulse, and the RatioType set to use the pcode-programmed ratio exactly. HABGFTune Bus: 1 Device: 14 Function: 0 Offset: A0h Bit Attr Reset Value Description 31 RV 0b Reserved 30 RWS-LV 0b Uratio Match Event Status This bit records the Uratio match event occurs for debug and performance tuning observation. 1 = Uratio match event occurs 0 = Uratio does not match 29:21 RW-L 0h BGF Bubble Generator Initial Value Tune bubble generator initial value for update debug and data bubble generator. It overrides the default initial value when Uratio matches. It contains ratio signal bits of initial value of BGF bubble generator counter value. It is U clock bubble generator value to communicate to Dclock domain (under U>D condition). The initial counter value is set up by pCode. The width of the signals must be properly to handle the arithmetic requirement. 20:12 RW-L 0h Command Bubble Generator Inital Value Tune Command BGF bubble generator initial value. Overrides default initial value when Uratio matches. 11:9 RW-L 000b Uclock vs. Dclock Separation Pointer Distance This field is used for the value of UD separation pointer distance. Tune U to D pointer distance and overrides parameter from PCU when Uratio matches. 8:1 RW-L 0h Uclock to Bgf Sync Pulse Frequency Ratio This is Uclock to 33 MHz BGF sync pulse frequency ratio. Uclock ratio at which tuning parameters take effect. 0RW-L 0b Bgf Override When set, this bit forces BgfRun to remain high when PMA deasserts BGF run. It overrides the PMA BGFrun signalProcessor Uncore Configuration Registers 472 Datasheet, Volume 2
The following register maps are for Power Control Unit registers Table 4-20. PCU0 Register Map: Device: 10 Function: 000h–104h DID VID 0h 80h PCISTS PCICMD 4h
80h PCISTS PCICMD 4h 84h CCR RID 8h
DRAM_ENERGY_STATUS_CH0
DRAM_ENERGY_STATUS_CH2
B8h MAXLAT MINGNT INTPIN INTL 3Ch BCh CPU_BUS_NUMBER 40h
DRAM_ENERGY_STATUS_CH3
Estimation Configuration Register This register contains configuration regarding DDR temperature calculations that are done by PCODE. For the BW estimation mode, the following formula is used: Temperature = T(n) + AMBIENT where: T(n) = T(n-1) - (1 - Alpha) * T(n-1) + Theta * BW This register is read by PCODE only during Reset Phase 4.
MEM_TRML_ESTIMATION_CONFIG
Bus: 1 Device: 10 Function: 0 Offset: 4Ch Bit Attr Reset Value Description 31:22 RW 001h DDR Thermal Resistance (Theta) The thermal resistance serves as a multiplier for the translation of the memory BW to temperature. The units are given in 1 / power(2,44). Was power(2,48). Thermal Resistance: Defines the thermal resistance. The thermal resistance serves as a multiplier for the translation of the memory BW to temperature. 21:12 RW 3FFh DDR Temperature Decay Factor This factor is relevant only for BW based temperature estimation. It is equal to "1 minus alpha". The value of the decay factor (1 – alpha) is determined by DDR_TEMP_DECAY_FACTOR / power(2,25) per 1 mSec. Temperature decay factor: Defines the decay factor per 1 mSec for the BW estimation modes (see FW temperature calculation). Relevant for BW based temperature estimation (options 4 and 5). The value is decay_factor/2^16 per 1 mSec. 11:4 RW 3Ch Ambient Temperature The Ambient temperature in units of 1 degree (C). This is relevant for BW-based temperature estimation mode only (option 4). Reset Value is 3Ch (60C) 3RV 0hReserved 2RW 1b Disable IMC Disable IMC 1RW 1b Disable Bandwidth Estimation BW estimation disable 0RW 1b Disable PECI Control Disable PECI controlDatasheet, Volume 2 477
Estimation Configuration 2 Register This register is used in addition to MEM_TRML_ESTIMATION_CONFIG and will be used to set the power constant of the DDR. This register is read by PCODE only during Reset Phase 4.
4.4.2.3 MEM_TRML_TEMPERATURE_REPORT Register
This register is used to report the thermal status of the memory. The channel max temperature field is used to report the maximal temperature of all ranks.
MEM_TRML_ESTIMATION_CONFIG2
Bus: 1 Device: 10 Function: 0 Offset: 50h Bit Attr Reset Value Description 31:10 RV 0h Reserved 9:0 RW 000h DDR Rank Static Power The static power of each rank. This is in format of 3.7 bits in units of W (or in units of 1 W /2^7)
MEM_TRML_TEMPERATURE_REPORT
Bus: 1 Device: 10 Function: 0 Offset: 60h Bit Attr Reset Value Description 31:24 RO-V 00h Channel 3 Maximum Temperature Temperature in Degrees (C). 23:16 RO-V 00h Channel 2 Maximum Temperature Temperature in Degrees (C). 15:8 RO-V 00h Channel 1 Maximum Temperature Temperature in Degrees (C). 7:0 RO-V 00h Channel 0 Maximum Temperature Temperature in Degrees (C).Processor Uncore Configuration Registers 478 Datasheet, Volume 2
4.4.2.4 MEM_ACCUMULATED_BW_CH_[0:3]—
MEM_ACCUMULATED_BW_CH_0 Register This register contains a measurement proportional to the weighted DRAM BW for the channel (including all ranks). The weights are configured in the memory controller channel register PM_CMD_PWR.
4.4.2.5 PRIP_NRG_STTS—Primary Plane Energy Status Register
This register reports total energy consumed. The counter will wrap around and continue counting when it reaches its limit. The energy status is reported in units which are defined in PACKAGE_POWER_SKU_UNIT_MSR[ENERGY_UNIT]. Software will read this value and subtract the difference from last value read. The value of this register is updated every 1 mSec.
4.4.2.6 PACKAGE_POWER_SKU—Package Power SKU Register
Defines allowed SKU power and timing parameters. PCODE will update the contents of this register.
00h Data The weighted BW value is calculated by the memory controller based on the following formula: Num_Precharge * PM_CMD_PWR[PWR_RAS_PRE] + Num_Reads * PM_CMD_PWR[PWR_CAS_R] + Num_Writes * PM_CMD_PWR[PWR_CAS_W]
00h Total Energy Consumed Energy Value
Bus: 1 Device: 10 Function: 0 Offset: 84h Bit Attr Reset Value Description 63:55 RV 0h Reserved 54:48 RO-V 18h Maximal Time Window The maximal time window allowed for the SKU. Higher values will be clamped to this value. The timing interval window is Floating Point number given by power(2,PKG_MAX_WIN). The unit of measurement is defined in PACKAGE_POWER_SKU_UNIT_MSR[TIME_UNIT]. 47 RV 0h ReservedDatasheet, Volume 2 479
This register defines units for calculating SKU power and timing parameters. PCODE will update the contents of this register.
4.4.2.8 PACKAGE_ENERGY_STATUS—Package Energy Status Register
Package energy consumed by the entire processor (including IA and uncore). The counter will wrap around and continue counting when it reaches its limit. 46:32 RO-V 0258h Maximal Package Power The maximal package power setting allowed for the SKU. Higher values will be clamped to this value. The maximum setting is typical (not guaranteed). 31 RV 0h Reserved 30:16 RO-V 0078h Minimal Package Power The minimal package power setting allowed for the SKU. Lower values will be clamped to this value. The minimum setting is typical (not guaranteed). 15 RV 0h Reserved 14:0 RO-V 0118h TDP Package Power The TDP package power setting allowed for the SKU. The TDP setting is typical (not ensured).
Bus: 1 Device: 10 Function: 0 Offset: 8Ch Bit Attr Reset Value Description 31:20 RV 0h Reserved 19:16 RO-V Ah Time Unit Time Units used for power control registers. The actual unit value is calculated by 1 s / Power(2,TIME_UNIT). The default value of Ah corresponds to 976 usec. 15:13 RV 0h Reserved 12:8 RO-V 10h Energy Units Energy Units used for power control registers. The actual unit value is calculated by 1 J / Power(2,ENERGY_UNIT). The default value of 10h corresponds to 15.3 uJ. 7:4 RV 0h Reserved 3:0 RO-V 3h Power Units Power Units used for power control registers. The actual unit value is calculated by 1 W / Power(2,PWR_UNIT). The default value of 0011b corresponds to 1/8 W.
Used for selecting which patch to use.
4.4.2.10 PLATFORM_INFO—Platform Information Register
This register contains information about platform’s frequency capabilities. PLATFORM_ID Bus: 1 Device: 10 Function: 0 Offset: A0h Bit Attr Reset Value Description 63:53 RV 0h Reserved 52:50 RO-V 000b Platform ID This field contains information concerning the intended platform for the processor. 49:0 RV 0h Reserved PLATFORM_INFO Bus: 1 Device: 10 Function: 0 Offset: A8h Bit Attr Reset Value Description 63:48 RV 0h Reserved 47:40 RO-V 00h Maximum Efficiency Ratio Maximum Efficiency Ratio. 39:31 RV 0h Reserved 30 RO-V 1b Programmable TJ Offset Enable Programmable TJ Offset Enable. 0 = Programming Not Allowed 1 = Programming Allowed 29 RO-V 1b Programming TDP Limits Enable Programmable TDP Limits for Turbo Mode. 0 = Programming Not Allowed 1 = Programming Allowed 28 RO-V 1b Programing Turbo Ratios Programmable Turbo Ratios per number of Active Cores 0 = Programming Not Allowed 1 = Programming Allowed 27 RO-V 0b Sample Part Encoding Description 0 = Production Part 1 = Sample Part 26 RO-V 0b DCU 16K Mode Support 0 = Indicates that the part does not support the 16K DCU mode. 1 = Indicates that the part supports 16K DCU mode. 25:17 RV 0h Reserved 16 RO-V 1b SMM Save Capability Capability of x87 instruction/data pointers save/restore in SMM always supported. 15:8 RO-V 00h Maximum Non Turbo Limit Ratio 7:0 RV 0h ReservedDatasheet, Volume 2 481
This register will count the BCLK cycles in which at least one of the IA cores was active. This is a 32 bit accumulation done by PCU hardware. Values exceeding 32b will wrap around.
4.4.2.12 PP0_Efficient_Cycles—Power Plane 0 Efficient Cycles Register
This register will store a value equal to the product of the number of BCLK cycles in which at least one of the IA cores was active and the efficiency score calculated by the PCODE. The efficiency score is a number between 0 and 1 that indicates the IA’s efficiency. This is a 32 bit accumulation done by P-code to this register out of the PUSH-BUS. Values exceeding 32b will wrap around. This value is used in conjunction with PP0_ANY_THREAD_ACTIVITY to generate statistics for software.
4.4.2.13 PP0_Thread_Activity—Power Plane 0 Thread Activity Register
This register will store a value equal to the product of the number of BCLK cycles and the number of IA threads that are running. This is a 32-bit accumulation done by PCU haredware. Values exceeding 32b will wrap around. This value is used in conjunction with PP0_ANY_THREAD_ACTIVITY to generate statistics for SW. PP0_Any_Thread_Activity Bus: 1 Device: 10 Function: 0 Offset: B4h Bit Attr Reset Value Description 31:0 RO-V
00h DATA Number of CyclesProcessor Uncore Configuration Registers 482 Datasheet, Volume 2
4.4.2.14 Package_Temperature Register
Package temperature in degrees (C).
4.4.2.15 PP0_temperature Register
This register provides the PP0 temperature in degrees C.
4.4.2.16 PCU_REFERENCE_CLOCK—PCU Reference Clock Register
This register will count BCLK cycles. Values exceeding 32b will wrap around. This value is used for energy and power calculations. Package_Temperature Bus: 1 Device: 10 Function: 0 Offset: C8h Bit Attr Reset Value Description 31:8 RV 0h Reserved 7:0 RO-V 00h Temperature Package temperature in degrees C. PP0_temperature Bus: 1 Device: 10 Function: 0 Offset: CCh Bit Attr Reset Value Description 31:8 RV 0h Reserved 7:0 RO-V 00h Temperature PP0 temperature in degrees C.
This register allows software to limit the maximum frequency allowed during run-time. PCODE will sample this register in slow loop. Functionality added in B-step.
Bus: 1 Device: 10 Function: 0 Offset: D8h Bit Attr Reset Value Description 31 RW-KL 0b Lock This bit will lock all settings in this register. 30:16 RV 0h Reserved 15:8 RW-L 00h P-State Offset Hardware P-State control on the relative offset from P1. The offset field determines the number of bins to drop P1 (dynamically). 7:0 RW-L FFh P-State Limitation This field indicates the maximum frequency limit allowed during run-time.Processor Uncore Configuration Registers 484 Datasheet, Volume 2
4.4.2.18 TEMPERATURE_TARGET—Temperature Target Register
This Legacy register holds temperature related constants for platform use.
4.4.2.19 TURBO_POWER_LIMIT—Turbo Power Limit Register
TEMPERATURE_TARGET Bus: 1 Device: 10 Function: 0 Offset: E4h Bit Attr Reset Value Description 31:28 RV 0h Reserved 27:24 RO-V 0h TJ Max TCC Offset Temperature offset in degrees (C) from the TJ Max. Used for throttling temperature. Will not impact temperature reading. If offset is allowed and set, the throttle will occur and reported at lower than Tj_max 23:16 RO-V 00h Thermal Monitor Reference Temperature This field indicates the maximum junction temperature, also referred to as the throttle temperature, TCC activation temperature or prochot temperature. This is the temperature at which the Thermal Monitor is activated. 15:8 RO-V 00h Fan Temperature target offset Fan Temperature target offset (also known as T-Control). This field indicates the relative offset from the Thermal Monitor Trip Temperature at which fans should be engaged. 7:0 RV 0h Reserved
Bus: 1 Device: 10 Function: 0 Offset: E8h Bit Attr Reset Value Description 63 RW-KL 0b Package Power Limit Lock When set, all settings in this register are locked and are treated as Read Only. This bit will typically set by BIOS during boot time or resume from Sx. 62:56 RV 0h Reserved 55:49 RW-L 00h Package Power Limit 2 Time Window x = PKG_PWR_LIM_2_TIME[55:54] y = PKG_PWR_LIM_2_TIME[53:49] The timing interval window is Floating Point number given by 1.x * power(2,y). The unit of measurement is defined in PACKAGE_POWER_SKU_UNIT_MSR[TIME_UNIT]. The maximal time window is bounded by PACKAGE_POWER_SKU_MSR[PKG_MAX_WIN]. The minimum time window is 1 unit of measurement (as defined above). 48 RW-L 0b Package Clamping Limitation 2 Package Clamping limitation #2 - Allow going below P1. 0 = PBM is limited between P1 and P0. 1 = PBM can go below P1. 47 RW-L 0b Package Power Limit 2 Enable This bit enables/disables PKG_PWR_LIM_2. 0 = Package Power Limit 2 is Disabled 1 = Package Power Limit 2 is EnabledDatasheet, Volume 2 485
Processor Uncore Configuration Registers 46:32 RW-L 0000h Package Power Limit 2 This field indicates the power limitation #2. The unit of measurement is defined in PACKAGE_POWER_SKU_UNIT_MSR[PWR_UNIT]. 31:24 RV 0h Reserved 23:17 RW-L 00h Package Power Limit 1 Time Window x = PKG_PWR_LIM_1_TIME[23:22] y = PKG_PWR_LIM_1_TIME[21:17] The timing interval window is Floating Point number given by 1.x * power(2,y). The unit of measurement is defined in PACKAGE_POWER_SKU_UNIT_MSR[TIME_UNIT]. The maximal time window is bounded by PACKAGE_POWER_SKU_MSR[PKG_MAX_WIN]. The minimum time window is 1 unit of measurement (as defined above). 16 RW-L 0b Package Clamping Limitation 1 Package Clamping limitation #1 - Allow going below P1. 0 = PBM is limited between P1 and P0. 1 = PBM can go below P1. 15 RW-L 0b Package Power Limit 1 Enable Package Power Limit 1 is always enabled 14:0 RW-L 0000h Package power limit 1 This field indicates the power limitation #1. The unit of measurement is defined in PACKAGE_POWER_SKU_UNIT_MSR[PWR_UNIT].
Limitation Register This register is used by BIOS/OS/Integrated Graphics Driver/CPM Driver to limit the power budget of the Primary Power Plane. The overall package turbo power limitation is controlled by PKG_TURBO_POWER_LIMIT.
Bus: 1 Device: 10 Function: 0 Offset: F0h Bit Attr Reset Value Description 31 RW-KL 0b Primary Plane Power Limit Lock When set, all settings in this register are locked and are treated as Read Only. 30:24 RV 0h Reserved 23:17 RW-L 00h Control Time Windows x = CTRL_TIME_WIN[23:22] y = CTRL_TIME_WIN[21:17] The timing interval window is Floating Point number given by 1.x * power(2,y). The unit of measurement is defined in PACKAGE_POWER_SKU_UNIT_MSR[TIME_UNIT]. The maximal time window is bounded by PACKAGE_POWER_SKU_MSR[PKG_MAX_WIN]. The minimum time window is zero. 16 RW-L 0b Power plane clamping limitation over TDP setting Power plane Clamping limitation over TDP setting 15 RW-L 0b Power Limitation Control Enable This bit must be set in order to limit the power of the IA cores power plane. 0 = IA cores power plane power limitation is disabled 1 = IA cores power plane power limitation is enabled 14:0 RW-L 0000h IA Cores Power Plane Power Limitation This is the power limitation on the IA cores power plane. The unit of measurement is defined in PACKAGE_POWER_SKU_UNIT_MSR[PWR_UNIT].Datasheet, Volume 2 487
Plane Current Configuration Control Register Limitation on the maximum current consumption of the primary power plane. PCODE will read this value during Reset Phase 4. On each slow loop, PCODE will calculate the maximum current possible and send the appropriate PS Code according to the thresholds in this register. The following algorithm is used for this Power Plane: If Package-C3 or deeper ---> PSI3_CODE, else If Current PSI3_THRESHOLD ---> PSI3_CODE, else If Current PSI2_THRESHOLD ---> PSI2_CODE, else If Current PSI1_THRESHOLD ---> PSI1_CODE, else ---> Hard code to 000b (all phases). Note: PSI codes are as VR sees them:
000 - All Phases, 001 - 2 Phases, 010 - 1 Phase, 011 - Async
Note: Thresholds are in Amps, not differential, and must be sorted. Note: For PSI3_CODE, must assume worst-case Pkg-C3 conditions.
PRIMARY_PLANE_CURRENT_CONFIG_CONTROL
Bus: 1 Device: 10 Function: 0 Offset: F8h Bit Attr Reset Value Description 63:62 RO-V 00b Reserved 61:59 RO-V 011b PSI3 Code 58:52 RO-V 01h PSI3 Threshold 51:49 RO-V 010b PSI2 Code 48:42 RO-V 05h PSI2 Threshold 41:39 RO-V 001b PSI1 Code 38:32 RO-V 14h PSI1 Threshold 31 RO-V 0b Lock Indication This bit will lock the CURRENT_LIMIT settings in this register and will also lock this setting. This means that once set to 1b, the CURRENT_LIMIT setting and this bit become Read Only until the next Warm Reset. 30:13 RV 0h Reserved 12:0 RO-V 0438h Current Limitation Current limitation in 1/8 A increments. This field is locked by PRIMARY_PLANE_CURRENT_CONFIG_CONTROL[LOCK]. When the LOCK bit is set to 1b, this field becomes Read Only. The default value of 438h corresponds to 135A.Processor Uncore Configuration Registers 488 Datasheet, Volume 2
This register holds 64 writable bits with no functionality behind them. It is for the convenience of BIOS and graphics drivers.
4.4.3.2 C2C3TT—C2 to C3 Transition Timer Register
Processor Usage – This register is being repurposed for the processor. Pcode will read the value from this register and load it into a firmware timer. The timer is armed when exiting PC3, and a status bit is set when the timer expires. The status bit serves as a gate for entering PC3. BIOS can update this value during run-time. Unit for this register is usec. So we have a range of 0-4095 us. Processor usage – This register contains the initial snoop timer (pop-down) value. BIOS can update this value during run-time. PCODE will sample this register at slow loop. If the value has changed since the previous sample and in addition there is no valid Hystereris parameter (HYS) from a previous PM_DMD or PM_RSP message, then PCODE will configure IMPH_CR_SNP_RELOAD[LIM] with this value. SSKPD Bus: 1 Device: 10 Function: 1 Offset: 6Ch Bit Attr Reset Value Description 63:0 RWS
Requirement (LTR) Override Register This register includes parameters that PCODE will use to override information received from PCI Express using LTR messages. PCODE will sample this register at slow loop.
Bus: 1 Device: 10 Function: 1 Offset: 78h Bit Attr Reset Value Description 31 RW 0b Snoop Latency Valid When this bit is set to 0b, PCODE will ignore the Snoop Latency override value. 30 RW 0b Force Snoop Latency Override 1 = PCODE will choose the snoop latency requirement from this register, regardless of the LTR messages that are recieved by any of the PCI Express controllers. 0 = PCODE will choose the snoop latency requirement as the minimum value taken between this register and each of the LTR messages that were received by the PCI Express controllers with the Requirement bit set to 1b. 29 RV 0h Reserved 28:26 RW 000b Snoop Latency Multiplier This field indicates the scale that the SXL value is multiplied by to yield a time value. 000b = Value times 1ns 001b = Value times 32ns 010b = Value times 1,024ns 011b = Value times 32,768ns 100b = Value times 1,048,576ns 101b = Value times 33,554,432ns Other = Not Permitted 25:16 RW 000h Snoop Latency Value Latency requirement for Snoop requests. This value is multiplied by the SXL_MULTIPLIER field to yield a time value, yielding an expressible range from 1ns to 34,326.183,936 ns. Setting this field and the SXL_MULTIPLIER to all 0s indicates that the device will be impacted by any delay and that the best possible service is requested. 15 RW 0b Non-Snoop Latency Valid When this bit is set to 0b, PCODE will ignore the Non-Snoop Latency override value. 14 RW 0b Force Non-Snoop Latency Override 1 = PCODE will choose the non-snoop latency requirement from this register, regardless of the LTR messages that are recieved by any of the PCI Express controllers. 0 = PCODE will choose the non-snoop latency requirement as the minimum value taken between this register and each of the LTR messages that were received by the PCI Express controllers with the Requirement bit set to 1b. 13 RV 0h Reserved 12:10 RW 000b Non-Snoop Latency Multiplier This field indicates the scale that the NSTL value is multiplied by to yield a time value. 000b = Value times 1ns 001b = Value times 32ns 010b = Value times 1,024ns 011b = Value times 32,768ns 100b = Value times 1,048,576ns 101b = Value times 33,554,432ns Other = Not PermittedProcessor Uncore Configuration Registers 490 Datasheet, Volume 2
4.4.3.4 BIOS_MAILBOX_DATA—BIOS Mailbox Data Register
This is the Data register for the BIOS-to-PCODE mailbox. This mailbox is implemented as a means for accessing statistics and implementing PCODE patches. This register is used in conjunction with BIOS_MAILBOX_INTERFACE.
4.4.3.5 BIOS_MAILBOX_INTERFACE—BIOS Mailbox Interface Register
This is the Control and Status register for the BIOS-to-PCODE mailbox. This mailbox is implemented as a means for accessing statistics and implementing PCODE patches. This register is used in conjunction with BIOS_MAILBOX_DATA. 9:0 RW 000h Non-Snoop Latency Value Latency requirement for Non-Snoop requests. This value is multiplied by the MULTIPLIER field to yield a time value, yielding an expressible range from 1ns to 34,326.183,936 ns. Setting this field and the MULTIPLIER to all 0s indicates that the device will be impacted by any delay and that the best possible service is requested.
00h Data This field contains the data associated with specific commands.
BIOS_MAILBOX_INTERFACE
Bus: 1 Device: 10 Function: 1 Offset: 90h Bit Attr Reset Value Description 31 RW1S 0b Run/Busy Indicator Software may write to the two mailbox registers only when RUN_BUSY is cleared (0b). Setting RUN_BUSY to 1b will create a Fast Path event. After setting this bit, SW will poll this bit until it is cleared. PCODE will clear RUN_BUSY after updating the mailbox registers with the result and error code. 30:29 RV 0h Reserved 28:8 RW-V
Address Range This field contains the address associated with specific commands. 7:0 RW-V 00h Command / Error Code This field contains the SW request command or the PCODE response code, depending on the setting of RUN_BUSY. Command Encodings 01h = MAILBOX_BIOS_CMD_READ_PCS 02h = MAILBOX_BIOS_CMD_WRITE_PCS Error Code Encodings 00h = MAILBOX_BIOS_ERROR_NONE 01h = MAILBOX_BIOS_ERROR_INVALID_COMMANDDatasheet, Volume 2 491
This register is used as interface between BIOS and Pcode Bits in first Byte are written by BIOS and read by Pcode Bits in second Byte are written by Pcode and read by BIOS Expected sequence: BIOS sets RST_CPL -> Pcode sets PCODE_INIT_DONE -> BIOS sets
BIOS should also clear the AutoAck bit, DMICTRL.AUTO_COMPLETE_PM only after ensuring that the PCODE_INIT_DONE bit has been set to 1 by Pcode
Bus: 1 Device: 10 Function: 1 Offset: 94h Bit Attr Reset Value Description 31:24 RO-FW 00h Reserved for Pcode Used to Facilitate handshake between Pcode and BIOS Note: Attribute is RO-FW 23:16 RW1S 00h Reserved for BIOS Used to Facilitate handshake between BIOS and Pcode Note: the Attribute is RW1S 15 RO-FW 0b Pcode Init Done 7 Used to Facilitate handshake between Pcode and BIOS 14 RO-FW 0b Pcode Init Done 6 Used to Facilitate handshake between Pcode and BIOS 13 RO-FW 0b Pcode Init Done 5 Used to Facilitate handshake between Pcode and BIOS 12 RO-FW 0b Pcode Init Done 4 Used to Facilitate handshake between Pcode and BIOS 11 RO-FW 0b Pcode Init Done 3 Used to Facilitate handshake between Pcode and BIOS Ack for Bit 3 10 RO-FW 0b Pcode Init Done 2 Used to Facilitate handshake between Pcode and BIOS Ack for Bit 2 9RO-FW 0b Pcode Init Done 1 Used to Facilitate handshake between Pcode and BIOS Ack for Bit 1 8RO-FW 0b Pcode Init Done Ack for Bit 0 This bit is used by Pcode to indicate to BIOS that Pcode has completed sampling of the CSRs that BIOS configured and that Pcode is now ready to accept any multi- socket power management transactions. This bit cannot be set before the RESET_CPL bit is set by BIOS. BIOS must first set the RESET_CPL bit and then poll on this bit, wait for it to be 1 before doing anything else - this is a blocking wait. 7RW1S 0b Reset CPL 7 Used to Facilitate handshake between BIOS and Pcode 6RW1S 0b Reset CPL 6 Used to Facilitate handshake between BIOS and Pcode 5RW1S 0b Reset CPL 5 Used to Facilitate handshake between BIOS and PcodeProcessor Uncore Configuration Registers 492 Datasheet, Volume 2 4RW1S 0b Memory Calibration Done Used to Facilitate handshake between BIOS and Pcode Memory Calibration Done – DRAM power meter coeffs are now ready for sampling; DRAM PWR Mtr runs only with OLTT up until this bit is set. Once this bit is set, DRAM PWR MTR can start using the DRAM weights. Usage: This bit is used by BIOS to indicate to Pcode that it has completed running the DRAM characterization workloads and has programmed the weights in Pcode Memory using the BIOS to Pcode Mailbox. When this bit is set by BIOS, Pcode will "lock" out the commands in the BIOS2PCODE mailbox which were left available for BIOS to complete the DRAM characterization. Expectation is that Pcode will sample this bit every slow loop and when it detects it to be 1, mailbox will be locked out completely and DRAM PBM and Power meter features will become available. Note: If this bit is not set to 1, DRAM PBM and power meter features will not work. 3RW1S 0b PM Configuration Complete Used to Facilitate handshake between BIOS and Pcode Power-management configuration complete – all the configuration for EDP, PBM, etc is complete. Following this point, a limited number of BIOS-to-Pcode mailbox commands are still allowed. 2RW1S 0b Periodic RCOMP Start Used to Facilitate handshake between BIOS and Pcode Periodic RCOMP Start – Pcode starts issuing periodic RCOMPs from this point forward 1RW1S 0b PkgS NID Config Complete Used to Facilitate handshake between BIOS and Pcode Node ID Configuration is Complete – allows pcode to get ready to receive a Reset Warn; No power mgmt features running at all till this point. If EXPECT_CPU_ONLY_RESET command was issued previously, then Pcode will execute the CPU-Only reset when it sees RST_CPL_1 set 0RW1S 0b BIOS Initialization Complete Traditional BIOS Done – Pcode samples all PM related registers at this time; No power Mgmnt features before this point except Reset Warn; No Ratio change can happen before this bit is set. This bit is set by BIOS to indicate to the processor Power management function that it has completed to set up all PM relevant configuration and allow processor Power management function to digest the configuration data and start active PM operation. It is expected that this bit will be set just before BIOS transfer of control to the OS. 0 = Not ready 1 = BIOS PM configuration complete This is kept for backward-compatibility with A-step. If BIOS sets this bit, Pcode interprets it as if RST_CPL_4:RST_CPL_1 (bits 4:1) are all set. In other words, this bit supersedes all other bits. Pcode will ack this bit by setting PCODE_INIT_DONE_4:PCODE_INIT_DONE (bits 12:8).
This register allows BIOS to request Memory Controller clock frequency.
4.4.3.8 CSR_DESIRED_CORES—Desired Cores Register
This register defines the number of cores/threads BIOS wants to exist on the next reset. A processor reset must be used for this register to take effect. Programming this register to a value higher than the product has cores should not be done. This register is reset only by PWRGOOD.
Bus: 1 Device: 10 Function: 1 Offset: A4h Bit Attr Reset Value Description 31 RWS-KL 0b Lock Once written to a 1, changes to this register cannot be done. Cleared only by a power-on reset . 30 RWS-L 0b SMT Disable Disable simultaneous multithreading in all cores if this bit is set to 1. 29:16 RV 0h Reserved 15:0 RWS-L 0000h Cores Off Mask BIOS will set this bit to request that the matching core should not be activated coming out of reset. The default value of this registers means that all cores are enabled. Restrictions: At least one core needs to be left active. Otherwise, FW will ignore the setting altogether.Processor Uncore Configuration Registers 494 Datasheet, Volume 2
4.4.3.9 SAPMCTL—System Agent Power Management Control Register
PCODE will sample this register at the end of Phase 4. SAPMCTL Bus: 1 Device: 10 Function: 1 Offset: B0h Bit Attr Reset Value Description 31 RW-KL 0b Lock Indication When set to 1b this bit locks various PM registers. 30 RW-L 0b SetVID Decay Disable This bit is used by BIOS to disable SETVID Decay to enable use of VR12 designs that do not support decay function. 0 = Enable Decay (Reset Value) 1 = Disable Decay 29 RW-L 1b
QPI_L0S_PLL_SEN_ENABLE
This bit is used by BIOS to disable Intel QPI L0S link state from playing any role in TurnPLL On/Srexit equation in ptpc_sapm.vs. 1 = Enable QPI_L0s in TurnPLL On/Srexit equations.(Reset Value) 0 = Disable QPI_L0s in TurnPLL On/Srexit equations 28 RW-L 1b
QPI_L0_PLL_SEN_ENABLE
This bit is used by BIOS to disable Intel QPI L0 link state from playing any role in TurnPLL On/Srexit equation in ptpc_sapm.vs. 1 = Enable QPI_L0 in TurnPLL On/Srexit equations.(Reset Value) 0 = Disable QPI_L0 in TurnPLL On/Srexit equations 27 RW-L 1b
IIO_L0S_PLL_SEN_ENABLE
This bit is used by BIOS to disable IIO L0S link state from playing any role in TurnPLL On/Srexit equation in ptpc_sapm.vs. 1 = Enable IIO_L0S in TurnPLL On/Srexit equations.(Reset Value) 0 = Disable IIO_L0S in TurnPLL On/Srexit equations 26 RW-L 1b
IIO_L0_PLL_SEN_ENABLE
This bit is used by BIOS to disable IIO L0 link state from playing any role in TurnPLL On/Srexit equation in ptpc_sapm.vs. 1 = Enable IIO_L0 in TurnPLL On/Srexit equations.(Reset Value) 0 = Disable IIO_L0 in TurnPLL On/Srexit equations 25:16 RV 0h Reserved 15 RW-L 0b Memory DLL On When Display Engine is Active Force memory master DLL on when the Display Engine is active. This includes cases where memory is not accessed. This bit has to be set only if there are issues with the memory DLL wakeup based on the Self Refresh exit indication from Display Engine. 0 = Display Engine wakes up memory DLL using the Self Refresh exit indication only 1 = Force Memory DLL on when the Display Engine is active 14 RW-L 0b Memory PLL On When Display Engine is Active Force Memory PLLs (MCPLL and GDPLL) on when the Display Engine is active. This includes cases where memory is not accessed. This bit has to be set only if there are issues with the Memory PLL wakeup based on the Self Refresh exit indication from Display Engine. 0 = Display Engine wakes up Memory PLLs using the Self Refresh exit indication only 1 = Force Memory PLLs on when the Display Engine is active 13 RW-L 1b Ungate System Agent Clock When Memory PLL is On When this bit is set to 1b, FCLK will never be gated when the memory controller PLL is ON. Otherwise, FCLK gating policies are not affected by the locking of the memory controller PLLs.Datasheet, Volume 2 495
Processor Uncore Configuration Registers 12 RW-L 1b Non-Snoop Wakeup Triggers Self Refresh Exit When this bit is set to 1b, a Non-Snoop wakeup signal from PCH sideband indication will cause the PCU to force the MC to exit from Self-Refresh. Otherwise, the Non-Snoop indication will not affect the Self Refresh exit policy. 11 RW-L 0b Ungate System Agent Clock on Self Refresh Exit The Display Engine can indicate to the PCU that it wants the Memory Controller to exit self-refresh. When this bit is set to 1b, this request from the Display Engine will cause FCLK to be ungated. Otherwise, this request from the Display Engine has no effect on FCLK gating. 10 RW-L 0b Memory DLL Shutdown Sensitivity This bit indicates when the Memory Master DLL may be shutdown based on link active power states. 0 = Memory DLL may be shut down in L1 and deeper sleep states. 1 = Memory DLL may be shut down in L0s and deeper sleep states. 9RW-L 0b Memory PLL Shutdown Sensitivity This bit indicates when the Memory PLLs (MCPLL and GDPLL) may be shutdown based on link active power states. 0 = Memory PLLs may be shut down in L1 and deeper sleep states. 1 = Memory PLLs may be shut down in L0s and deeper sleep states. 8RW-L 1b System Agent Clock Gating Sensitivity This bit indicates when the System Agent clock gating is possible based on link active power states. 0 = System Agent clock gating is allowed in L1 and deeper sleep states. 1 = System Agent clock gating is allowed in L0s and deeper sleep states. Note: This bit is redundant, since L0s can never allow Fclk gating, since PPLL is on. 7:4 RV 0h Reserved 3RW-L 1b Intel QPI PLL Shutdown Enable This bit is used to enable shutting down the Intel QPI PLL. 0 = PLL shutdown is not allowed 1 = PLL shutdown is allowed 2RW-L 1b PCIe PLL Shutdown Enable This bit is used to enable shutting down the PCIe/DMI PLL. 0 = PLL shutdown is not allowed 1 = PLL shutdown is allowed 1RW-L 1b Memory PLLs Shutdown Enable This bit is used to enable shutting down the Memory Controller PLLs (MCPLL and GDPLL). 0 = PLL shutdown is not allowed 1 = PLL shutdown is allowed 0RW-L 0b System Agent Clock Gating Enable This bit is used to enable or disable the System Agent Clock Gating (FCLK). 0 = SA Clock Gating is Not Allowed 1 = SA Clock Gating is Allowed SAPMCTL Bus: 1 Device: 10 Function: 1 Offset: B0h Bit Attr Reset Value DescriptionProcessor Uncore Configuration Registers 496 Datasheet, Volume 2
SAPM timers in 10 ns (100 MHz) units. PCODE will sample this register at the end of Phase 4. M_COMP Bus: 1 Device: 10 Function: 1 Offset: B8h Bit Attr Reset Value Description 31:9 RV 0h Reserved 8RW1S 0b Force COMP Cycle Writing 1 to this field triggers a COMP cycle. HW will reset this bit when the COMP cycle ends. 7:5 RV 0h Reserved 4:1 RW-L Dh Periodic COMP Interval This field indicates the period of RCOMP. The time is indicated by power(2,COMP_INTERVAL) * 10.24 usec. The default value of Dh corresponds to ~84 ms. 0RW-L 0b COMP Disable Disable periodic COMP cycles 0 = Enabled 1 = Disabled SAPMTIMERS Bus: 1 Device: 10 Function: 1 Offset: C0h Bit Attr Reset Value Description 31:16 RW-L 00FAh Memory PLL Timer This field is used to generate a deterministic memory PLL lock signal. The value should allow SFR lock + PLL lock (without PLL banding time) + DQ clock compensation.
- PLL lock = 2.5 us (150 cycles for phase acquisition + 64 cycles lock timer)
- D/Qclk compensation = 1.05 us (550 Dclk for DDR1067) There is a strong relationship between this register value and
1. The latencies the PCU negotiate with the IO devices,
2. The display engine watermark values set by the graphics driver
The value is defined in granularity of BCLK (10ns). The default value of FAh corresponds to 2.5 uSec. PCODE assumes this field aligns with the similar field in BANDTIMERS_1_10_1_CFG - c 15:8 RV 0h ReservedDatasheet, Volume 2 497
RING Timers in 10n s granularity.
4.4.3.13 BANDTIMERS—PLL Self Banding Timers Register
MPLL and PPLL time to complete the self-banding process. The units are in 10 ns (100 MHz) granularity. RINGTIMERS Bus: 1 Device: 10 Function: 1 Offset: C4h Bit Attr Reset Value Description 31:22 RW-L 200h RCLK PLL SFR Timer This field is used to generate a deterministic time for SFR (5 uSec). The value is defined in BCLK granularity (10 ns units). The default value of 200h corresponds to 5.12 uSec. 21:10 RW-L 76Ch RCLK PLL Reset Timer This field is used to generate a deterministic RCLK PLL lock signal for Reset. The value should account for PLL lock (with banding time):
- PLL Lock = 2.5 uSec (150 cycles for phase acquisition + 64 cycles lock timer)
- Self Banding = 14 uSec The value is defined in BCLK granularity (10ns units). The default value of 76Ch corresponds to 19 uSec. BANDTIMERS Bus: 1 Device: 10 Function: 1 Offset: C8h Bit Attr Reset Value Description 31:16 RW-L 0640h Memory PLL Banding Timer The time it takes for the PLL to find the best band. This time is taken into account on the first PLL lock (reset) and in any PLL lock if PCU_MISC_ENABLE[LNPLLfastLockDisable] is set to 1b. The HVM hander may program this timer to a low value to shorten the test time. The default value corresponds to 16 us. 15:0 RW-L 2FA8h PCIe and DMI PLL Banding Timer The time it takes for the PLL to find the best band. This time is taken into account on the first PLL lock (reset) and in any PLL lock if PCU_MISC_ENABLE[LCPLLfastLockDisable] is set to 1b. The HVM hander may program this timer to a low value to shorten the test time. The default value corresponds to 122 us.Processor Uncore Configuration Registers 498 Datasheet, Volume 2
This register is used by BIOS to write the Bus number for the socket. Pcode will use these values to determine whether PECI accesses are local or downstream.
4.4.4.2 SA_TEMPERATURE—SA Temperature Register
SA temperature in degrees (C). This field is updated by FW.
4.4.4.3 DYNAMIC_PERF_POWER_CTL Register
This register effectively governs all major power saving engines and hueristics on the die.
This register is in the PCU CR space. It contains information pertinent to the master slave IPC protocol and global enable/disable for PK CST and SST. Expectation is that BIOS will write this register during the Reset/Init flow. 22 RW-V 0b Turbo Demotion Override Enable 0 = Disable override 1 = Enable override 21 RW-V 0b Reserved 20 RW-V 0b Uncore_Perf_PLimit_Override_Enable 0 = Disable over ride 1 = Enable over ride 19:16 RW-V 0b Reserved 15 RW-V 0b IO_BW_PLimit_Override_Enable 0 = Disable over ride 1 = Enable over ride 14:11 RV 0h Reserved 10 RW-V 0b IMC_APM_Override_Enable 0 = Disable over ride 1 = Enable over ride 9:6 RV 0h Reserved 5RW-V 0b IOM_APM_Override_Enable 0 = Disable over ride 1 = Enable over ride 4:1 RV 0h Reserved 0RW-V 0b QPI_APM_Override_Enable 0 = Disable over ride 1 = Enable over ride
Bus: 1 Device: 10 Function: 2 Offset: 6Ch Bit Attr Reset Value Description 31:15 RW 00000h Reserved 14:12 RW 000b Master_NID Master socket NID. Can also be determined from the Socket0 entry in the NID MAP register. 11 RW 0b Reserved 10:8 RW 000b My_NID NID of this socket. 7:3 RW 0h Reserved 2RW 0b Am_I_Master If this bit is set, socket is master. Master socket will be the leady socket. BIOS will set this bit in the legacy socket. 1:0 RW 0b ReservedProcessor Uncore Configuration Registers 500 Datasheet, Volume 2
4.4.4.5 GLOBAL_NID_MAP_REGISTER_0 Register
This reister is in the PCU CR space. It contains NID information for all the sockets in the platform. BIOS should map the Master socket NID to the Socket0 entry. Expectation is that BIOS will write this register during the Reset/Init flow.
GLOBAL_NID_MAP_REGISTER_0
Bus: 1 Device: 10 Function: 2 Offset: 70h Bit Attr Reset Value Description 31:28 RW 0000b Skt_Valid Valid bits indicating whether NID has been programmed by BIOS. If bit is 0 after the CST/SST ready bit is set, then it implies that the socket is not populated. 27:16 RW 000h Reserved Reserved 15 RW 0b Reserved Reserved for Skt3 NID[3] 14:12 RW 000b Skt3_NID Socket3 NID 11 RW 0b Reserved Reserved for Skt2 NID[3] 10:8 RW 000b Skt2_NID Socket2 NID 7RW 0b Reserved Reserved for Skt1 NID[3] 6:4 RW 000b Skt1_NID Socket1_NID 3RW 0b Reserved Reserved for Skt0 NID[3] 2:0 RW 000b Skt0_NID Socket0 NIDDatasheet, Volume 2 501
This register is used to configure which events will be used as a gate for PC3 entry. Expectation is that IOS will write this register based on the system config and devices in the system. It is expected that disabled Intel QPI/PCIe links must report L1.
4.4.4.7 PRIMARY_PLANE_RAPL_PERF_STATUS Register
This register is used by Pcode to report QOS and Power limit violations in the Platform PBM. Dual mapped as PCU IOREG
PKG_CST_ENTRY_CRITERIA_MASK
Bus: 1 Device: 10 Function: 2 Offset: 7Ch Bit Attr Reset Value Description 31:29 RW 000b Reserved 28 RW 1b DRAM_in_SR When set to 1, DRAM must be in SR. 27:26 RW 00b Reserved 25 RW 1b QPI_1_in_L1 When set to 1, QPI_1 is required to be in L1. 24 RW 1b QPI_0_in_L1 When set to 1, QPI_0 must be in L1 23 RW 0b QPI_1_in_L0s When set to 1, QPI_1 must be in L0s or L1. 22 RW 0b QPI_0_in_L0s When set to 1, QPI_0 must be in L0s or L1. 21:11 RW 000h PCIe_in_L1 MSB = PCIe10. LSB=PCIe0. 10:0 RW 000h PCIe_in_L0s MSB = PCIe_10. LSB = PCIe_0.
00h Power Limit Throttle Counter This field reports the number of times the Power limiting algorithm had to clip the power limit due to hitting the lowest power state available. Accumulated PRIMARY_PLANE throttled timeProcessor Uncore Configuration Registers 502 Datasheet, Volume 2
4.4.4.8 PACKAGE_RAPL_PERF_STATUS Register
This register is used by Pcode to report Package Power limit violations in the Platform PBM.
4.4.4.9 DRAM_POWER_INFO Register
This register defines allowed DRAM power and timing parameters. PCODE will update the contents of this register.
00h Power Limit Throttle Counter This field reports the number of times the Power limiting algorithm had to clip the power limit due to hitting the lowest power state available. Accumulated PACKAGE throttled time
Bus: 1 Device: 10 Function: 2 Offset: 90h Bit Attr Reset Value Description 63 RW-KL 0b Lock Lock bit to lock the Register. 62:55 RV 0h Reserved 54:48 RW-L 28h Maximal Time Window The maximal time window allowed for the DRAM. Higher values will be clamped to this value. x = PKG_MAX_WIN[54:53] y = PKG_MAX_WIN[52:48] The timing interval window is Floating Point number given by 1.x * power(2,y). The unit of measurement is defined in DRAM_POWER_INFO_UNIT_MSR[TIME_UNIT]. 47 RV 0h Reserved 46:32 RW-L 0258h Maximal Package Power The maximal power setting allowed for DRAM. Higher values will be clamped to this value. The maximum setting is typical (not guaranteed). The units for this value are defined in DRAM_POWER_INFO_UNIT_MSR[PWR_UNIT]. 31 RV 0h Reserved 30:16 RW-L 0078h Minimal DRAM Power The minimal power setting allowed for DRAM. Lower values will be clamped to this value. The minimum setting is typical (not guaranteed). The units for this value are defined in DRAM_POWER_INFO_UNIT_MSR[PWR_UNIT]. 15 RV 0h Reserved 14:0 RW-L 0118h Spec DRAM Power The specification power allowed for DRAM. The TDP setting is typical (not guaranteed). The units for this value are defined in DRAM_POWER_INFO_UNIT_MSR[PWR_UNIT].Datasheet, Volume 2 503
4.4.4.10 DRAM_ENERGY_STATUS Register
DRAM energy consumed by all the DIMMS in all the Channels. The counter will wrap around and continue counting when it reaches its limit. The energy status is reported in units which are defined in DRAM_POWER_INFO_UNIT_MSR[ENERGY_UNIT]. The data is updated by PCODE and is Read Only for all SW.
4.4.4.11 DRAM_ENERGY_STATUS_CH[0:3]—DRAM Energy Status
CH0 Register DRAM energy consumed by all the DIMMS in Channel0. The counter will wrap around and continue counting when it reaches its limit. The energy status is reported in units which are defined in DRAM_POWER_INFO_UNIT_MSR[ENERGY_UNIT]. The data is updated by PCODE and is Read Only for all SW.
DRAM_ENERGY_STATUS_CH[0:3]
This register is used by BIOS/OS/Integrated Graphics Driver/CPM Driver to limit the power budget of DRAM Plane. The overall package turbo power limitation is controlled by DRAM_PLANE_POWER_LIMIT.
4.4.4.13 DRAM_RAPL_PERF_STATUS—DRAM RAPL Perf Status Register
This register is used by Pcode to report DRAM Plane Power limit violations in the Platform PBM. Dual mapped as PCU IOREG
DRAM_PLANE_POWER_LIMIT
Bus: 1 Device: 10 Function: 2 Offset: C8h Bit Attr Reset Value Description 63:32 RV 0h Reserved 31 RW-KL 0b Primary Plane Power Limit Lock When this bit is set, all settings in this register are locked and are treated as Read Only. 30:24 RV 0h Reserved 23:17 RW-L 00h Control Time Windows x = CTRL_TIME_WIN[23:22] y = CTRL_TIME_WIN[21:17] The timing interval window is Floating Point number given by 1.x * power(2,y). The unit of measurement is defined in PACKAGE_POWER_SKU_UNIT_MSR[TIME_UNIT]. The maximal time window is bounded by PACKAGE_POWER_SKU_MSR[PKG_MAX_WIN]. The minimum time window is 1 unit of measurement (as defined above). 16 RO 0b RESERVED Reserved 15 RW-L 0b Power Limitation Control Enable This bit must be set in order to limit the power of the DRAM power plane. 0 = DRAM power plane power limitation is disabled 1 = DRAM power plane power limitation is enabled 14:0 RW-L 0000h DRAM Power Plane Power Limitation This is the power limitation on the IA cores power plane. The unit of measurement is defined in DRAM_POWER_INFO_UNIT_MSR[PWR_UNIT].
DRAM_RAPL_PERF_STATUS
Bus: 1 Device: 10 Function: 2 Offset: D8h Bit Attr Reset Value Description 63:16 RV 0h Reserved 15:0 RO-V 0000h Power Limit Violation Counter This field reports the number of times the Power limiting algorithm had to clip the power limit due to hitting the lowest power state available.Datasheet, Volume 2 505
This register is BIOS configurable. Dual mapping will prevent additional fast path events or polling needs from PCODE. Hardware does not use the CSR input, it is primarily used by PCODE. Note that PERF_P_LIMIT_CLIP must be nominally configured to guaranteed frequency + 1, if turbo related actions are needed in slave sockets.
PERF_P_LIMIT_CONTROL
Bus: 1 Device: 10 Function: 2 Offset: E4h Bit Attr Reset Value Description 31:19 RO-V 0FA0h I-Turbo Wait Period Time period in ms to wait before granting Turbo, from the time the first Turbo is requested. Reset Value = 4 seconds. 18:13 RW-V 0h Perf_P_Limit_Threshold Threshold values 12 RO-V 0b I-Turbo Enable Enable bit for I-Turbo Feature. 11:6 RW-V 0h Perf_P_Limit_Clip Clip values to be used for Clip/Threshold Mode 5RW-V 0b Disable_PERF_P_Input Disable input from Perf-P limit into the I-Turbo algorithm. 4:3 RW-V 00b Reserved 2:1 RW-V 00b Resolution_mode Resolution mode determines the algorithm used in master. 00 = Maximum p-state 01 = Max clip = Max valued clip to Perf_P_Limit_Clip 10 = Threshold = If any value exceeds threshold, force output Perf_P_Limit_Clip 11 = Average = Average P-State 0RW-V 0b Perf_P_Limit_En Enable bit for enabling Performance P-Limit function,Processor Uncore Configuration Registers 506 Datasheet, Volume 2
4.4.4.15 IO_BANDWIDTH_P_LIMIT_CONTROL Register
This register provides various controls.
4.4.4.16 MCA_ERR_SRC_LOG—MCA Error Source Log Register
MCSourceLog is used by the PCU to log the error sources. This register is initialized to zeroes during reset. The PCU will set the relevant bits when the condition they represent appears. The PCU never clears the registers-the UBox or off-die entities should clear them when they are consumed, unless their processing involves taking down the platform.
4.4.4.17 SAPMTIMERS3—System Agent Power Management Timers3
Register SAPM timers in 10 ns (100 MHz) units. PCODE will sample this register at the end of Phase 4. PPLL_TIMER field moved from SAPMTIMERS_1_10_1_CFG since width needed was 16 bits Swapped PPLL_TIMER and PPLL_Short_timer so that it matches SAPMTIMERS2_1_10_2_CFG
Bus: 1 Device: 10 Function: 2 Offset: ECh Bit Attr Reset Value Description 31 RWS-V 0b CATERR External error: The package asserted CATERR# (for any reason). It is or (bit 30, bit 29); functions as a Valid bit for the other two package conditions. It has no effect when a local core is associated with the error. 30 RWS-V 0b IERR External error: The package asserted IERR. 29 RWS-V 0b MCERR External error: The package asserted MCERR. 28:8 RV 0h Reserved 7:0 RWS-V 00h Core Mask Bit i is on if core i asserted an error. SAPMTIMERS3 Bus: 1 Device: 10 Function: 2 Offset: F4h Bit Attr Reset Value Description 31:16 RW-L 0400h PCIe PLL Short timer Short wait from before going to PLL OFF state. Set to 0 if want to bypass timer The value is defined in Bclks (10ns units), 100h = 2.56 usProcessor Uncore Configuration Registers 508 Datasheet, Volume 2
4.4.4.18 THERMTRIP_CONFIG—ThermTrip Configuration Register
This register is used to configure whether the Thermtrip signal only carries the processor Trip information, or does it carry the Mem trip information as well. The register will be used by HW to enable ORing of the memtrip info into the thermtrip OR tree.
4.4.4.19 PERFMON_PCODE_FILTER—Perfmon Pcode Filter Register
This register has three mappings depending on the type of Perfmon Events that are being counted. This register is read by Pcode and communicates the Masking information from the BIOS/SW to Pcode. THERMTRIP_CONFIG Bus: 1 Device: 10 Function: 2 Offset: F8h Bit Attr Reset Value Description 31:4 RV 0h Reserved 0RW 0b Enable MEM Trip 1 = PCU will OR in the MEMtrip information into the ThermTrip OR Tree 0 = PCU will ignore the MEMtrip information and ThermTrip will just have the processor indication. Expect BIOS to Enable this in Phase 4.
Filter Pcode makes the decision on how to interpret the 32-bit field Interpretation 2: 15:0 – ThreadID Interpretation 1: 7:0 – CoreID Interpretation 0: 31:24 – Voltage/Frequency Range 3 23:16 – Voltage/Frequency Range 2 15:8 – Voltage/Frequency Range 1 7:0 – Voltage/Frequency Range 0Datasheet, Volume 2 509
This register is used by BIOS to hide functions in devices.
00h Disable Function A bit set in this register implies that the appropriate device function is not enabled. For instance, if bit 5 is set in DEVHIDE4, then it means that in device 5, function 4 is disabled. CAP_HDR Bus: 1 Device: 10 Function: 3 Offset: 80h Bit Attr Reset Value Description 31:28 RV 0h Reserved 27:24 RO-FW 1h CAPID_Version This field has the value 0001b to identify the first revision of the CAPID register definition. 23:16 RO-FW 18h CAPID_Length This field indicates the structure length including the header in bytes. 15:8 RO-FW 00h Next_Cap_Ptr This field is hardwired to 00h indicating the end of the capabilities linked list. 7:0 RO-FW 09h CAP_ID This field has the value 1001b to identify the CAP_ID assigned by the PCI SIG for vendor dependent capability pointers.Processor Uncore Configuration Registers 510 Datasheet, Volume 2
4.4.5.3 CAPID0 Register
This register is a processor Capability Register used to expose to BIOS for SKU differentiation. CAPID0 Bus: 1 Device: 10 Function: 3 Offset: 84h Bit Attr Reset Value Description 31 RO-FW 0b PCLMULQ_DIS Disable PCLMULQ instructions 30 RO-FW 0b DCU_MODE 0 = Normal 1 = 16K 1/2 size ECC mode 29 RO-FW 0b PECI_EN Enable PECI to the processor 28 RO-FW 0b ART_DIS SparDisable support for Always Running APIC Timer. Disable the ART (Always Running APIC Timer) function in the APIC (enable legacy timer) 27 RO-FW 0b SLC64_DIS Disable Segment-Limit Checking 64-Bit Mode – Segment limit checks also in long mode (currently only supported in compatibility mode) 26 RO-FW 0b GSSE256_DIS Disable all GSSE instructions and Disables setting GSSE XFeatureEnabledMask[GSSE] bit. 25 RO-FW 0b XSAVEOPT_DIS Disable XSAVEOPT. 24 RO-FW 0b XSAVE_DIS Disable the following instructions: XSAVE, XSAVEOPT, XRSTOR, XSETBV, and XGETBV. 23 RO-FW 0b AES_DIS Disable AES 22 RO-FW 0b
Enable CPAUSE – conditional PAUSE loop exiting; New VMX control to allow exit on PAUSE loop that are longer than a specified WindowDatasheet, Volume 2 511
This register is a processor Capability Register used to expose to BIOS for SKU differentiation. 12 RO-FW 0b HT_DIS Disable multi threading 11:9 RO-FW 000b LLC_WAY_EN: Enable LLC ways Value Cache Size ’000 0.5 M (4 lower ways) ’001 1 M (8 lower ways) ’010 1.5 M (12 lower ways) ’011 2 M (16 lower ways) ’100 2.5M (20 lower ways) 8RO-FW 0b
Allows usage of TURBO_POWER_LIMIT MSRs 7:5 RO-FW 000b CACHESZ: Minimal LLC size/ways. Can be upgraded through SSKU up to LLC_WAYS_EN. Value LLC Size per slice (Enabled ways per slice) ’000 0.5 M (4 lower ways) ’001 1 M (8 lower ways) ’010 1.5 M (12 lower ways) ’011 2 M (16 lower ways) ’100 2.5M (20 lower ways) 4RO-FW 0b PKGTYP Package Type 3RO-FW 0b
Disable memory channel mirroring mode. 30 RO-FW 0b ReservedProcessor Uncore Configuration Registers 512 Datasheet, Volume 2 29:26 RO-FW 0000b DMFC This field controls which values may be written to the Memory Frequency Select field 6:4 of the Clocking Configuration registers (MCHBAR Offset C00h). Any attempt to write an unsupported value will be ignored. [3:3] =If set, over-clocking is supported and bits [2:0] are ignored. [2:0] =Maximum allowed memory frequency. 3b111 - up to DDR-1066 (4 x 266) 3b110 - up to DDR-1333 (5 x 266) 3b101 - up to DDR-1600 (6 x 266) 3b100 - up to DDR-1866 (7 x 266) 3b011 - up to DDR-2133 (8 x 266) -- reserved, not supported 3b010 - up to DDR-2400 (9 x 266) -- reserved, not supported 3b001 - up to DDR-2666 (10 x 266) -- reserved, not supported 3b000 - up to DDR-2933 (11 x 266) -- reserved, not supported 25:23 RO-FW 000b
Physical address size supported in the core low two bits (Assuming uncore is 44 by default) 000 = 46 010 = 44 101 = 36 110 = 40 111 = 39 reserved 22:17 RO-FW 0h
Max turbo Freq down ratio for soft bin 16:11 RO-FW 0h
Guaranteed Freq ratio for soft bin 10 RO-FW 0b SSKU_EN Enable Soft SKU feature 9RO-FW 0b QOS_DIS Disable Quality of Service 8RO-FW 0b CDD 0 = Device enabled. 1 = Device disabled. uCode - GP# on WRMSR TURBO_POWER_CURRENT_LIMIT (TDC and TDP limits) 7RO-FW 0b
Enable Extended APIC support. When set it enables the support of x2APIC (Extended APIC) in the core and unCore. 6RO-FW 0b
Intel Trusted Execution Technology for Servers - ENABLE CPU HOT ADD 5RO-FW 0b PWRBITS_DIS 0 = Power features activated during reset 1 = Power features (especially clock gating) are not activated 4RO-FW 0b GV3_DIS Disable GV3. Does not allow for the writing of the IA32_PERF_CONTROL register in order to change ratios 3:2 RO-FW 00b PPPE PPPE_ENABLE 1RO-FW 0b
This register is a processor Capability Register used to expose to BIOS for SKU differentiation. CAPID2 Bus: 1 Device: 10 Function: 3 Offset: 8Ch Bit Attr Reset Value Description 31:30 RO-FW 00b QPI_SPARE 29:25 RO-FW 0h
QPI_ALLOWED_CFCLK_RATIO_DIS
Allowed CFCLK ratio is 12, 11, 10, 9, 8 (default), 7; one bit is allocated for each supported ratio except 8, the default ratio. Intel QPI transfer rate = 8 * CFCLK. Bits are organized as r12_r11_r10_r9_r7 format. 0/1 --> ratio supported/ not_supported. Reset Value ratio of 8 is always supported; hence cannot be disabled. Ex: 00000 ==> Supported ratio: 12, 11, 10, 9, 8 (default), 7; ratio not supported: none 00001 ==> Supported ratio: 12, 11, 10, 9, 8 (default); ratio not supported: 7
11111 ==> Supported ratio: 8 (default); ratio not supported: 12, 11, 10, 9, 7 24 RO-FW 0b
This register is a processor Capability Register used to expose to BIOS for SKU differentiation. CAPID3 Bus: 1 Device: 10 Function: 3 Offset: 90h Bit Attr Reset Value Description 31:30 RO-FW 00b MC_SPARE 29:24 RO-FW 0h MC2GD: MC2GDBit[5:4] Tx Pulse Width Control Bit[1:0]. 00 = Reset Value 01 = Short 11 = Long 10 = Reserved MC2GDBit3 = DLL VRM: Increase Resistance in the VRM Feedback loop MC2GDBit2 = DLL VRM: Increase Amp Current in the VRM Feedback loop MC2GDBit1 = DLL Startup Time setting. 1 = 16cycles, 0 = 32cycles MC2GDBit0 = 1.35V DDR3L LVDDR disable Download from PCU may change the default value after reset de-assertion. 23 RO-FW 0b
DISABLE MONROE TECHNOLOGY
When set, memory ignores ADR event. 20 RO-FW 0b DISABLE_EXTENDED_ADDR_DIMM: Extended Addressing DIMM Disable Control When set, DIMM with extended addressing (MA[17/16] is forced to be zero when driving MA[17:16]. The default value may change after reset de-assertion. 19 RO-FW 0b DISABLE_EXTENDED_LATENCY_DIMM: Extended Latency DIMM Disable Ccontrol When set, DIMM with extended latency is forced to CAS to be less than or equal to
14. The default value may change after reset de-assertion.
18 RO-FW 0b DISABLE_PATROL_SCRUB: Patrol Scrub Disable Control When set, rank patrol scrub is disabled. The default value may change after reset de-assertion. 17 RO-FW 0b DISABLE_SPARING: Sparing Disable Control When set, rank sparing is disabled. The default value may change after reset de- assertion. 16 RO-FW 0b DISABLE_LOCKSTEP: LOCKSTEP Disable Control When set, channel lockstep operation is disabled by forcing independent channel mode. The default value may change after reset de-assertion. 15 RO-FW 0b DISABLE_CLTT: CLTT Disable Control When set, CLTT support is disabled by disabling TSOD polling. The default value may change after reset de-assertion. 14 RO-FW 0b DISABLE_UDIMM: UDIMM Disable Control When set, UDIMM support is disabled by disabling address bit swizzling. The default value may change after reset de-assertion. 13 RO-FW 0b DISABLE_RDIMM: RDIMM Disable Control When set, RDIMM support is disabled by disabling the RDIMM control word access. In addition, the upper 5 bits of the 13b T_STAB register will be treated as zeros; that is, the T_STAB can only have max of 255 DCLK delay after clock-stopped power down mode which is in sufficient for normal RDIMM clock stabilization; hence, users will not be able to support self-refresh with clock off mode (S3, pkg C6) if the RDIMM disable is one. The default value may change after reset de- assertion.Datasheet, Volume 2 515
This register is a Capability Register used to expose enable/disable Fuses to BIOS for SKU differentiation. 12 RO-FW 0b DISABLE_3N: Fused 3N Disable Control When set, 3N mode under normal/IOSAV operation (excluding MRS) is disabled. The default value may change after reset de-assertion. 11 RO-FW 0b DISABLE_DIR DIR disable control. When set, directory is disabled. 10 RO-FW 0b DISABLE_ECC: ECC Disable Control When set, ECC is disabled. 9RO-FW 0b DISABLE_QR_DIMM: QR DIMM Disable Control When set, CS signals for QR-DIMM in slot 0-1 is disabled. Note: some CS may have multiplexed with address signal to support extended addressing. The CS signal disabling is only applicable to CS not the being multiplexed with address. The default value may change after reset de-assertion. 8RO-FW 0b DISABLE_4GBIT_DDR3: 4Gb Disable Control When set, the address decode to the corresponding 4Gb mapping is disabled. Note: LR-DIMM’s logical device density is also limited to 4Gb when this fuse is set. The default value may change after reset de-assertion. 7RO-FW 0b DISABLE_8GBIT_DDR3: 8Gb or Higher Disable Control When set, the address decode to the corresponding 8Gb or higher mapping is disabled. The default value may change after reset de-assertion. 6RV 0hReserved 5RO-FW 0b DISABLE_3_DPC: 3 DPC Disable Control When set, CS signals for DIMM slot 2 are disabled. Note: Some CS may have multiplexed with address signal to support extended addressing. The CS signal disabling is only applicable to CS not the being multiplexed with address. The default value may change after reset de-assertion. 4RO-FW 0b DISABLE_2_DPC: 2 DPC Disable Control When set, CS signals for DIMM slot 1-2 (that is, slots 0 is not disabled) are disabled. Note: some CS may have multiplexed with address signal to support extended addressing. The CS signal disabling is only applicable to CS not the being multiplexed with address. The default value may change after reset de-assertion. 3:0 RO-FW 0h CHN_DISABLE: Channel Disable Control When set, the corresponding channel is disabled. The default value may change after reset de-assertion. CAPID3 Bus: 1 Device: 10 Function: 3 Offset: 90h Bit Attr Reset Value Description CAPID4 Bus: 1 Device: 10 Function: 3 Offset: 94h Bit Attr Reset Value Description 31:0 RO-FW
This ’flexible boot’ register is written by BIOS in order to modify the maximum non- turbo ratio on the next reset.
Bus: 1 Device: 10 Function: 3 Offset: B0h Bit Attr Reset Value Description 31:25 RV 0h Reserved 24 RO-V 0b SMT Capability 0 = 1 thread 1 = 2 threads 23:16 RO-V 0h Fused Core Mask Vector of fused enabled IA cores in the package. 15:10 RV 0h Reserved 9:8 RO-V 00b Thread Mask Thread Mask indicates which threads are enabled in the core. The LSB is the enable bit for Thread 0, whereas the MSB is the enable bit for Thread 1. 7:0 RO-V 00h Core Mask The resolved IA core mask contains the functional and non-defeatured IA cores. The mask is indexed by logical ID. It is normally contiguous, unless BIOS defeature is activated on a particular core. Ucode will read this mask in order to decide on BSP and APIC IDs.
The Utility Box is the piece of the processor logic that deals with the non mainstream flows in the system. This includes transactions like the register accesses, interrupt flows, lock flows and events. In addition, the Utility Box houses co-ordination for the performance architecture, and also houses scratchpad and semaphore registers
This is the Node ID Configuration Register
4.5.2.2 CPUEnable—CPU Enable Register
This register indicates which processor is enabled CPUNODEID Bus: 1 Device: 11 Function: 0 Offset: 40h Bit Attr Reset Value Description 31:16 RV 0h Reserved 15:13 RW-LB 000b Node Controller Node Id Node ID of the Node Controller. Set by the BIOS. 12:10 RW-LB 000b NodeID of the legacy socket NodeID of the legacy socket 9:8 RV 0h Reserved 7:5 RW-LB 000b NodeId of the lock master NodeId of the lock master 4:3 RV 0h Reserved 2:0 RW-LB 000b NodeId of the local register Node Id of the local Socket CPUEnable Bus: 1 Device: 11 Function: 0 Offset: 44h Bit Attr Reset Value Description 31 RW-LB 0b Valid Valid bit to indicate that the register has been initialized. 30:8 RV 0h Reserved 7:0 RW-LB 00h Node ID enable register Bit mask to indicate which node_id is enabled.Processor Uncore Configuration Registers 520 Datasheet, Volume 2
4.5.2.3 IntControl—Interrupt Control Register
Interrupt Configuration Register IntControl Bus: 1 Device: 11 Function: 0 Offset: 48h Bit Attr Reset Value Description 31:19 RV 0h Reserved 18 RW-LB 0b IA32 Logical Flat or Cluster Mode Override Enable 0 = IA32 Logical Flat or Cluster Mode bit is locked as Read only bit. 1 = IA32 Logical Flat or Cluster Mode bit may be written by SW, values written by xTPR update are ignored. For one time override of the IA32 Logical Flat or Cluster Mode value, return this bit to its default state after the bit is changed. Leaving this bit as 1 will prevent automatic update of the filter. 17 RW-LBV 0b IA32 Logical Flat or Cluster Mode Set by BIOS to indicate if the OS is running logical flat or logical cluster mode. This bit can also be updated by IntPrioUpd messages. This bit reflects the setup of the filter at any given time. 0 = Flat 1 = Cluster 16 RW-LB 0b Cluster Check Sampling Mode 0 = Disable checking for Logical_APICID[31:0] being non-zero when sampling flat/ cluster mode bit in the IntPrioUpd message as part of setting bit 1 in this register 1 = Enable the above checking 15:11 RV 0h Reserved 10:8 RW-LB 000b Vecor Based Hashe Mode Control This field indicates the hash mode control for the interrupt control. Select the hush function for the Vector based Hash Mode interrupt redirection control : 000 = Select bits 7:4/5:4 for vector cluster/flat algorithm 001 = Select bits 6:3/4:3 010 = Select bits 4:1/2:1 011 = Select bits 3:0/1:0 other = Reserved 7RV 0hReserved 6:4 RW-LB 000b Redirection Mode Select for Logical Interrupts Selects the redirection mode used for MSI interrupts with lowest-priority delivery mode. The following schemes are used : 000 = Fixed Priority - select the first enabled APIC in the cluster. 001 = Redirect last vector selected (applicable only in extended mode) 010 = Hash Vector - select the first enabled APIC in round robin manner starting form the hash of the vector number. default: Fixed Priority 3:2 RV 0h Reserved 1RW-LB 0b Force to X2 APIC Mode Write: 1 = Forces the system to move into X2APIC Mode. 0 = No affect Functional only if X2APIC mode is enabled using bit[0] of the same register. 0RW-LB 0b Extended APIC Enable Set this bit if you would like extended XAPIC configuration to be used. 0b1 -> X2APIC is enabled in the system 0b0 -> X2APIC is disabled in the system This is just a defeature bit and does not enable X2APIC mode.Datasheet, Volume 2 521
Reflection of the LTCount2 register
4.5.2.7 UBOXErrSts—Error Status Register
This is error status register in the UBOX and covers most of the interrupt related errors CoreCount Bus: 1 Device: 11 Function: 0 Offset: 60h Bit Attr Reset Value Description 31:5 RV 0h Reserved 4:0 RO-V 0h Core Count Reflection of the LTCount2 uCR UBOXErrSts Bus: 1 Device: 11 Function: 0 Offset: 64h Bit Attr Reset Value Description 31:7 RV 0h Reserved 6RWS 0b Unsupported Mask Mask SMI generation on receiving unsupported opcodes. 5RWS 0b Poison Mask Mask SMI generation on receiving poison in UBOX. 4RW-V 0b Unsupported Opcode received by UBOX Unsupported opcode received by UBOX 3RW-V 0b Poison was received by UBOX UBOX received a poisoned transaction 2RV 0hReserved 1RW-V 0b SMI source iMC SMI is caused due to an indication from the iMC 0RW-V 0b SMI is caused due to a locally generated UMC This is a bit that indicates that an SMI was caused due to a locally generated UMCDatasheet, Volume 2 523
Selects source of high byte of debug bus 0 = output 0s 15:8 RWS-L 00h
DEBUG_UXEVNTS_SEL_LO
Selects source of low byte of debug bus 0 = output 0s 7:1 RV 0h Reserved 0RWS-L 0b
unCore Semaphore register is a resource shared by all threads even though it has access and view for each one of the threads. Each one of the fields is identified to be a shared or a dedicated element. LocalSemaphore[0:1] Bus: 1 Device: 11 Function: 3 Offset: A0h, A4h Bit Attr Reset Value Description 31:28 WO 0000b Requestor Core ID Core ID of the requesting core 27 WO 0b Requester Thread The thread id of the requester 26:23 RO 0h Pending Request from Thread - Reserved for additional cores 22:7 RO-V 0000h Pending Request from Thread This field indicates the threads that have a pending request for Semaphore ownership. bit ’i’ in the field indicate a pending request for 2*CID+TID (C0T0, C0T1, C1T0,...) 6:3 RO-V 0000b Current Core ID This field indicates the CID of the thread that currently owns the semaphore. When the semaphore is free (Busy==0), this bit is undefined. ’n’ = Core number 2RO-V 0b Current Thread This bit indicate the TID of the thread that currently owns the semaphore. When the semaphore is free (Busy==0), this bit is undefined. 0 = Thread 0 1 = Thread 1 1RW-V 0b Busy Acquired Release Read - Bus status : 0 = The semaphore s currently free. 1 = The semaphore is currently busy by one of the threads. Write - Acquire request : 0 = Release the ownership/request of the semaphore. It cause the pending bit for the thread to be cleared. 1 = Request the ownership of the semaphore. It cause the pending bit for the thread to be set. uCode should poll the acquire value until ownership is granted. 0WO 0b Acquire or Override The bit has different meanings for read and write. Write - Override acquisition : 0 = No effect 1 = Override. Take ownership of semaphore ignoring any other setting or requests. This bit has no status directly associated with it. There are different operations associated with the read and write operations.Datasheet, Volume 2 525
unCore Semaphore register is a resource shared by all threads even though it has access and view for each one of the threads. Each one of the fields is identified to be a shared or a dedicated element. SystemSemaphore[0:1] Bus: 1 Device: 11 Function: 3 Offset: A8h, ACh Bit Attr Reset Value Description 31:27 RV 0h Reserved 26:24 WO 000b Requester Node The requestor writes his own node id to the added into the pending vector 23:16 RV 0h Reserved 15:8 RO-V 00h Pending Request Node Pending request vector. Debug only usage 7:5 RV 0h Reserved 4:2 RO-V 000b Current Node This bit indicate the Node id of the node that currently owns the semaphore. When the semaphore is free (Busy==0), this bit is undefined. 1RW-V 0b Busy Acquired Release Read - Bus status : 0 = Semaphore s currently free. 1 = Semaphore is currently busy by one of the threads. Write - Acquire request : 0 = Release the ownership/request of the semaphore. It cause the pending bit for the thread to be cleared. 1 = Request the ownership of the semaphore. It cause the pending bit for the thread to be set. uCode should poll the acquire value until ownership is granted. 0WO 0b Acquire or Override The bit has different meanings for read and write. This bit has no status directly associated with it. There are different operations associated with the read and write operations. Write - Override acquisition : 0 = No effect 1 = Override. Take ownership of semaphore ignoring any other setting or requests.Processor Uncore Configuration Registers 526 Datasheet, Volume 2
4.5.3.5 DEVHIDE[0:7]—Device Hide 0 Register
Device Hide Register in CSR space
4.5.3.6 CPUBUSNO—CPU Bus Number Register
This register provides the Bus Number Configuration for the processor
00h Disable Function: Disable Function(DisFn): A bit set in this register implies that the appropriate device function is not enabled. For example, if bit 5 is set in DEVHIDE4, then it means that in device 5, function 4 is disabled. CPUBUSNO Bus: 1 Device: 11 Function: 3 Offset: D0h Bit Attr Reset Value Description 31 RW-LB 0b Valid Indicates whether the bus numbers have been initialized or not 30:16 RV 0h Reserved 15:8 RW-LB 00h CPU Bus Number 1 Bus Number for non IIO devices in the uncore 7:0 RW-LB 00h CPU Bus Number 0 Bus Number for IIO devices SMICtrl Bus: 1 Device: 11 Function: 3 Offset: D8h Bit Attr Reset Value Description 31:26 RV 0h Reserved 25 RW 0b Disable Generation of Intel SMI Disable generation of Intel SMI 24 RW 0b UMC SMI Enable This is the enable bit that enables Intel SMI generation due to a UMC. 1 = Generate SMI after the threshold counter expires. 0 = Disable generation of SMI 23:20 RV 0h Reserved 19:0 RW 00000h SMI generation threshold This is the countdown that happens in the hardware before an SMI is generated due to a UMCDatasheet, Volume 2 527
Abort debug for aborting accesses
Data Field Reset Value for reads. Writes will be dropped.Processor Uncore Configuration Registers 528 Datasheet, Volume 2
4.6 Performance Monitoring (PMON) Registers
Register This register is for debug only. Whenever counter 4 is reset, it will load this value instead of resetting to zero.
4.6.2.3 PmonCntr_Fixed—Fixed Counter Register
This register is a perfmon counter. Software can both read it and write it. PmonCtr Bus: 1 Device: 8 Function: 2 Offset: A0h, A8h, B0h, B8h, C0h Bus: 1 Device: 9 Function: 2 Offset: A0h, A8h, B0h, B8h, C0h Bus: 1 Device: 14 Function: 1 Offset: A0h, A8h, B0h, B8h, C0h Bus: 1 Device: 16 Function: 0, 1,4,5 Offset: A0h, A8h, B0h, B8h, C0h Bus: 1 Device: 19 Function: 1 Offset: A0h, A8h, B0h, B8h, C0h Bit Attr Reset Value Description 63:48 RV 0h Reserved 47:0 RW-V
00000h Counter Value This is the current value of the counter.Processor Uncore Configuration Registers 530 Datasheet, Volume 2
4.6.2.4 PmonCntrCfg_[0:4]—Performance Counter Control Register
PmonCntrCfg Bus: 1 Device: 8 Function: 2 Offset: D8h, DCh, E0h, E4h, E8h Bus: 1 Device: 9 Function: 2 Offset: D8h, DCh, E0h, E4h, E8h Bus: 1 Device: 14 Function: 1 Offset: D8h, DCh, E0h, E4h, E8h Bus: 1 Device: 16 Function: 0, 1,4,5 Offset: D8h, DCh, E0h, E4h, E8h Bus: 1 Device: 19 Function: 1 Offset: D8h, DCh, E0h, E4h, E8h Bit Attr Reset Value Description 31:24 RW-V 00h Threshold This field is compared directly against an incoming event value for events that can increment by 1 or more in a given cycle. Since the widest event from the UnCore is 7bits (queue occupancy), bit 31 is unused. The result of the comparison is effectively a 1 bit wide event; that is, the counter will be incremented by 1 when the comparison is true (the type of comparison depends on the setting of the ’invert’ bit - see bit 23 below) no matter how wide the original event was. When this field is zero, threshold comparison is disabled and the event is passed without modification. 23 RW-V 0h Invert This bit indicates how the threshold field will be compared to the incoming event. When 0, the comparison that will be done is threshold event. When set to 1, the comparison that will be done is inverted from the case where this bit is set to 0; that is, threshold < event. The invert bit only works when Threshold != 0. Thus, to invert a non-occupancy event (like LLC Hit), set the threshold to 1. 22 RW-V 0h Counter Enable This field is the local enable for the PerfMon Counter. This bit must be asserted in order for the PerfMon counter to begin counting the events selected by the 'event select', 'unit mask', and 'internal' bits (see the fields below). There is one bit per PerfMon Counter. If this bit is set to 1 but the Unit Control Registers have determined that counting is disabled, then the counter will not count. 21 RW-V 0h Internal This bit needs to be asserted if the event which needs to be selected is an internal event. There will be some hardware that will disable counting on locked parts. This will be reused from DFX. This is a WIP. Note that MSR counters will signal GP if someone attempts to write to this bit on regular parts. This will not be the case on PCI CFG counters because ucode is not a part of the access flow. 20 RW-V 0h Overflow Enable Setting this bit will enable the counter to send an overflow signal. If this bit is not set, the counter will wrap around when it overflows without triggering anything. If this bit is set and the Unit’s configuration register has Overflow enabled, then a signal will be transmitted to the Ubox. 19 RV 0h ThreadID Filter Enable ThreadID filter enable. This is only used by Cbo. For other units, it is Reserved. 18 RW-V 0h Edge Detect Edge Detect allows one to count either 0 to 1 or 1 to 0 transitions of a given event. By using edge detect, one can count the number of times L0s mode was enterred (by detecting the rising edge). Edge detect only works in conjunction with thresholding. This is true even for events that can only increment by 1 in a given cycle (like the L0s example above). In this case, set a threshold of 1. One can also use Edge Detect with queue occupancy events. For example, to count the number of times when the TOR occupancy was larger than 5, select the TOR occupancy event with a threshold of 5 and set the Edge Detect bit. Edge detect can also be used with the invert. This is generally not particularly useful, as the count of falling edges compared to rising edges will always on differ by 1. 17 WO 0h Counter Reset When this bit is set, the corresponding counter will be reset to 0. This allows for a quick reset of the counter when changing event encodings.Datasheet, Volume 2 531
16 WO 0h Queue Occupancy Reset This write only bit causes the queue occupancy counter of the PerfMon counter for which this Perf event select register is associated to be cleared to all zeroes when a 1 is written to it. No action is taken when a 0 is written. Note: Since the queue occupancy counters never drop below zero, it is possible for the counters to ’catch up’ with the real occupancy of the queue in question when the real occupancy drop to zero. 15:8 RW-V 00h Unit Mask This mask selects the sub-events to be selected for creation of the event. The selected sub-events are bitwise OR-ed together to create event. At least one sub-event must be selected otherwise the PerfMon event signals will not ever get asserted. Events with no sub-events listed effectively have only one sub- event -- bit 8 must be set to 1 in this case. 7:0 RW-V 00h Event Select This field is used to decode the PerfMon event which is selected. PmonUnitCtrll Bus: 1 Device: 8 Function: 2 Offset: F4h Bus: 1 Device: 9 Function: 2 Offset: F4h Bus: 1 Device: 14 Function: 1 Offset: F4h Bus: 1 Device: 16 Function: 0, 1,4,5 Offset: F4h Bus: 1 Device: 19 Function: 1 Offset: F4h Bit Attr Reset Value Description 31:18 RV 0h Reserved 17 RW 0h Overflow Enable This bit controls the behavior of counters when they overflow. When set, the system will trigger the overflow handling process throughout the rest of the uncore, potentially triggering a PMI and freezing counters. When it is not set, the counters will simply wrap around and continue to count. For overflow to be enabled for a given unit, all of the unit control registers must have this bit set. 16 RW 0h Freeze Enable This bit controls what the counters in the unit will do when they receive a freeze signal. When set, the counters will be allowed to freeze. When not set, the counters will ignore the freeze signal. For freeze to be enabled for a given unit, all of the unit control registers must have this bit set. 15:9 RV 0h Reserved 8RW-V 0h Freeze Counters This bit is written to when the counters should be frozen. If this bit is written to and freeze is enabled, the counters in the unit will stop counting. To freeze the counters, this bit need only be set by one of the unit control registers. 7:2 RV 0h Reserved 1WO 0h Reset Counters When this bit is written to, the counters data fields will be reset. The configuration values will not be reset. To reset the counters, this bit need only be set by one of the unit control registers. PmonCntrCfg Bus: 1 Device: 8 Function: 2 Offset: D8h, DCh, E0h, E4h, E8h Bus: 1 Device: 9 Function: 2 Offset: D8h, DCh, E0h, E4h, E8h Bus: 1 Device: 14 Function: 1 Offset: D8h, DCh, E0h, E4h, E8h Bus: 1 Device: 16 Function: 0, 1,4,5 Offset: D8h, DCh, E0h, E4h, E8h Bus: 1 Device: 19 Function: 1 Offset: D8h, DCh, E0h, E4h, E8h Bit Attr Reset Value DescriptionProcessor Uncore Configuration Registers 532 Datasheet, Volume 2
4.6.2.6 PmonUnitStatus—Performance Unit Status Register
This field shows which registers have overflowed in the unit. Whenever a register overflows, it should set the relevant bit to 1. An overflow should not effect the other status bits. This status should only be cleared by software. Seven bits for this status have been defined. This is overkill for many units. See below for the bits that are used in the different units. In general, if the unit has a fixed counter, it will use bit 0. Counter 0 would use the next LSB, and the largest counter would use the MSB. HA: [4:0] w/ [4] = Counter4 and [0] = Counter 0 iMC: [5:0] w/ [0] = Fixed; [1] = Counter0 and [5] = Counter4 PCU: [3:0]: [0] = Counter0 and [3] = Counter 3 IO IRP0: [0] = Counter0; [1] = Counter1 IO IRP1: [2] = Counter0; [3] = Counter1 0WO 0h Reset Counter Configs When this bit is written to, the counter configuration registers will be reset. This does not effect the values in the counters. To reset the counters, this bit need only be set by one of the unit control registers. PmonUnitCtrll Bus: 1 Device: 8 Function: 2 Offset: F4h Bus: 1 Device: 9 Function: 2 Offset: F4h Bus: 1 Device: 14 Function: 1 Offset: F4h Bus: 1 Device: 16 Function: 0, 1,4,5 Offset: F4h Bus: 1 Device: 19 Function: 1 Offset: F4h Bit Attr Reset Value Description Unit Status Bus: 1 Device: 8 Function: 2 Offset: F8h Bus: 1 Device: 9 Function: 2 Offset: F8h Bus: 1 Device: 14 Function: 1 Offset: F8h Bus: 1 Device: 16 Function: 0,1,4,5 Offset: F8h Bus: 1 Device: 19 Function: 1 Offset: F8h Bit Attr Reset Value Description 31:7 RV 0h Reserved 6:0 RW1C 00h Counter Overflow Bitmask This is a bitmask that specifies which counter (or counters) have overflowed. If the unit has a fixed counter, its corresponding bitmask will be stored at position 0.Datasheet, Volume 2 533
Home Agent Perfmon Address Match Register 0 These registers are used to dump the contents of the home agent tracker contents and control states.
4.6.2.8 HaPerfmonAddrMatch1—
Home Agent Perfmon Address Match Register 1 These registers are used to dump the contents of the home agent tracker contents and control states.
4.6.2.9 HaPerfmonOpcodeMatch—HA Performance Opcode Match Register
Low Physical Address of a cache line This field contains 26 bits of low physical address 31:6 of a cache line. The low 26 bit address of an architectural event match address are in the register. 5:0 RV 00h Reserved HaPerfmonAddrMatch1 Bus: 1 Device: 14 Function: 1 Offset: 44h Bit Attr Reset Value Description 31:14 RV 0h Reserved 13:0 RWS 0000h High Physical Address of a cache line This contains 14 bits of physical address 45:32 of a cache line. The high 14 bits address of an architectural event address match are in the register. HaPerfmonOpcodeMatch Bus: 1 Device: 14 Function: 1 Offset: 48h Bit Attr Reset Value Description 31:6 RV 0h Reserved 5:0 RWS 0h Home Agent Opcode Match Register Home Agent Opcode Match Register (HaPerfmonOpcodeMatch): This field is used to match the transaction opcode for identifying an architectural event.Processor Uncore Configuration Registers 534 Datasheet, Volume 2
4.6.2.10 HAPmonDbgCtrl—HA Perfmon Debug Control Register
Control register for the special debug wrapper around counter 4 in the Home Agent.
4.6.2.11 HAPmonDbgCntResetVal—Perfmon Counter 4 Reset
Value Register Perfmon counter reset value. This is for debug only. Whenever counter 4 is reset, it will load this value instead of resetting to zero. HAPmonDbgCtrl Bus: 1 Device: 14 Function: 1 Offset: 4Ch Bit Attr Reset Value Description 31:14 RV 0h Reserved 13 RW-L 0b ClockedIncEnable Changes when the counter increments. Rather than incrementing based on the event, the counter will increment by 1 in each cycle. This is used by the Pulse Widge, A after B, and Inactivity usage models. 12 RV 0h Reserved 11 RW-L 0b MyEventResetEn When this is enabled, the counter will reset whenever the counter’s event is triggered. This is used by the Inactivity usage model. 10 RV 0h Reserved 9RW-L 0b OtherEventResetEn When this bit is set, the counter will reset whenever the partner counter’s event occurs. This is used by the Pulse Width and A after B usage models. 8RV 0hReserved 7RW-L 0b MyEventStartEn When this ibit s set, the counter’s enable bit will automatically be set to 1 whenever the event occurs. It is generally used with the ClockedIncEn bit. It is used in the Pulse Widge, A after B, and Inactivity usage models. 6RV 0hReserved 5RW-L 0b OtherEventStartEn When this bit is set, the counter’s enable bit will be set to 1 whenever the partner counter’s event occurs. This is an optional event, which is generally intended for cases when we need to use the queue occupancy counter, which only exists on counter 3. 4:2 RV 0h Reserved 1RW-L 0b OtherEventStopEn When this is set, the counter’s enable bit will be set to 0 whenever the partner counter’s event occurs. This should be used with the Pulse Width and A after B usage models. 0RV 0hReserved HAPmonDbgCntResetVal Bus: 1 Device: 14 Function: 1 Offset: 50h Bit Attr Reset Value Description 63:48 RV 0h Reserved 47:0 RW-L
4.7 R2PCIe Routing Table and Ring Credits
00h IIO Bandwidth Counter Free running counter that increments on each AD request sent to the ring. Pcode uses this for power metering and also for uncore P state related decisions. Pcode can clear this counter by writing a 1 to all bits in this field, at which time the counter starts from 0. R2PGNCTRL Bus: 1 Device: 19 Function: 0 Offset: 48 Bit Attr Reset Value Description 31:2 RV 0h Reserved 1RW-LB 0b Intel QPI Routing Table Select for NDR/DRS packets When this bit is set, R2PCIe routes NDR and DRS packets destined to remote sockets, using the QPI_RT. When this bit is clear, R2PCIe routes NDR and DRS packets destined to remote sockets, using the Intel QPI Link_ID field sent by IIO/ Ubox along with these packet. 0RWS-LB 0b Extended RTID Mode Enable When this bit is set, R2PCIe ignores DNID[2] on DRS packets (on BL ring). For NDR packets on AK ring, all the NDR packets always go to local targets only and hence this change is not needed) when determining if a packet is targeted at a local or remote target. R2PINGERRLOG0 Bus: 1 Device: 19 Function: 0 Offset: 4Ch Bit Attr Reset Value Description 31:9 RV 0h Reserved 8RW-V 0bIioNcsCrdOverFlow 7RW-V 0bIioNcbCrdOverFlow 6RW-V 0bIioIdiCrdOverFlow 5RW-V 0bUbxQpiNcsCrdOverFlow 4RW-V 0bUbxQpiNcbCrdOverFlow 3RW-V 0bUbxCboNcsCrdOverFlow 2RW-V 0bUbxCboNcbCrdOverFlow 1RW-V 0bBLBgfCrdOverFlow 0RW-V 0bAKBgfCrdOverFlowDatasheet, Volume 2 537
DDRIOTrainingModeA[0:1] Bus: 1 Device: 17 Function: 0 Offset: 108h Bus: 1 Device: 15 Function: 6 Offset: 108h Bit Attr Reset Value Description 31:23 RV 0h Reserved 22 RW-LB 0b DDRIOX4X8 Dynamic X4/X8 mode 21 RW-LB 0h DDRIORDIMMEn Tdqs enable, when enabled, in tdqs mode. Previously called rdimm_en 20 RW-LB 0b DDRIOBL4 Enable Burst Length of 4 Mode; set by BIOS for BC4 mode after training exited from IOSAV 19 RV 0h Reserved 18 RW-LB 0b DDRIORxLongD0N1 Slave DLL N1 Delay READ DQ for 1/8 UI (QCLK) 17 RW-LB 0b DDRIORxLongD0N0 Slave DLL N0 Delay READ DQ for 1/8 UI (QCLK) 14 RV 0h Reserved 11 RW-LB 0b DDRIODqDqstraingingRes In RX DqDqs training mode indicate write result from DIMM to CRTraining Result.(not sure if it is needed) Read DQ/DQS capture training result 10 RV 0h Reserved 9:6 RW-LB 0h DDRIODqsEnableWL Indicates which strobes to toggle during Write Leveling mode. decoding : In WL training mode (trainmode bit 1 set to 1), MC sends NOP writes at regular intervals in order to send isolated DQS pulses to the DIMM (the DIMM, in turn, samples the clock with DQS and returns the result through the DQ prime bit). To select how many DQS pulses are sent out at each NOP write, set bit 6 to 0 and set bits 9:7 to a non-zero value. To send 3 contiguous DQS pulses, set bits 9:7 to 111. To send only one DQS pulse, set bits 9:7 to 001, 010, or 100. To send 2 contiguous DQS pulses, set bits 9:7 to 011 or 110. To send a sequence of 1 DQS pulse followed immediately by 1 dead cycle, followed immediately by another DQS pulse, set bits 9:7 to 101. Bit #6 can be set to 1, in which case DQS will be toggling continuously during WL training mode, except when MC sends a NOP write, at which point DQS will toggle according to bits 9:7 as described above. If one is to set bit 6 to 1, make sure that at least one of bits 9:7 is set to 0, so that DQS PI code updates are issued every time MC sends a NOP write (otherwise, DQS timing will remain the same no matter what PI codes are programmed into the CR). 5:2 RW-LB 0h DDRIOtrainRank Training Rank (logical rank) Selection bit 5 = reserved bit 4–2 = logical rank During both training (IOSAV) and NORMAL modes, PI setting going to DLL and I/O logic is always decided by the mc2gdread/writerank[2:0] signals. But during training (IOSAV) mode, DDRIOtrainRank indirectly selects which PI setting is relevant in the current training stage. The relevant PI setting is the one that controls which result register you’re writing to.Processor Uncore Configuration Registers 544 Datasheet, Volume 2
DDRIOTrainingResult2 Register 1RW-LB 0b DDRIOWriteLevelingTrainEnable Write Leveling training mode enable. In this mode a programmable # of DQS pulses are issued according to EnableDqsWL setup. The DDR (which should also be in WR-leveling mode) samples CLK with DQS rising edge and drives it on one of the DQ pins. In this mode only WR command sends strobe. In order to sample the DQ pins, a RD command should be sent. In this mode the RD command will not be issued on command and DQS pins, but DQ is sampled, OR’ed for the whole byte and result is loaded into training-result register, into the bit pointed by WR- leveling PI setting. Note: In the end of WR-leveling operation MCIO reset should be issued 0RW-LB 0b DDRIOReceiveEnableTrainEnable This bit indicates Receive Enable training mode. In this mode the DQS is sampled by the RCV-EN, and loaded into training-result register pair according to the receive-enable PI setting. After exiting this mode, MCIO reset is required. DDRIOTrainingResult1A[0:1] Bus: 1 Device: 17 Function: 0 Offset: 10Ch Bus: 1 Device: 15 Function: 6 Offset: 10Ch Bit Attr Reset Value Description 31:0 RW-LB
24:9 RV 0b Reserved 8RW-LB 0b DDRIOVrefSelExt When this bit is 0, internal Vref is used by the DQ buffers. Otherwise, external Vref is used 3RW-LB 1b DDRIODeEmphasisEnable_b Driver Deemphasis Enable (Active Low) 1 = Disable DeEmphasis 0 = Enable DeEmphasis 2RW-LB 1b DDRIOOdtMode When AFE driver disabled: (this bit sets to 0) -> Force half of ODT leg ofProcessor Uncore Configuration Registers 546 Datasheet, Volume 2
DDRIOCtlPICode0A[0:1] Bus: 1 Device: 17 Function: 0 Offset: 310h Bus: 1 Device: 15 Function: 6 Offset: 310h Bit Attr Reset Value Description 31 RV 0b Reserved 30 RW-LB 1b DDRIO0CtlXoverEnable3: Xover Enable for PI Group 3 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay. 29:24 RW-LB 00h DDRIO0CtlPiCode3 PI Coding for PI Group 3 000000 = min delay 000001 = min + 1/64 qclk
111111 = min + 63/64 qclk 23 RV 0b Reserved 22 RW-LB 1b DDRIO0CtlXoverEnable2: Xover Enable for PI Group 2 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay. 21:16 RW-LB 00h DDRIO0CtlPiCode2: PI Coding for PI Group 2 000000 = min delay 000001 = min + 1/64 qclk
111111 = min + 63/64 qclk 15 RV 0b Reserved 14 RW-LB 1b DDRIO0CtlXoverEnable1: Xover Enable for PI Group 1 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay 13:8 RW-LB 00h DDRIO0CtlPiCode1: PI Coding for PI Group 1 000000 = min delay 000001 = min + 1/64 qclk
111111 = min + 63/64 qclk 7RV 0bReserved 6RW-LB 1b DDRIO0CtlXoverEnable0: Xover Enable for PI Group 1 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay 5:0 RW-LB 00h DDRIO0CtlPiCode0: PI Code for PI Group 0 000000 = min delay 000001 = min + 1/64 qclk
DDRIOCtlPICode1A[0:1] Bus: 1 Device: 17 Function: 0 Offset: 314h Bus: 1 Device: 15 Function: 6 Offset: 314h Bit Attr Reset Value Description 31:23 RV 0b Reserved 22 RW-LB 1b DDRIO1CtlXoverEnable6: Xover Enable for CTL PI Group 6 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay 21:16 RW-LB 00h DDRIO1CtlPiCode6: PI Code for CTL PI Group 6 000000 = min delay + offset delay 000001 = min delay + offset delay + 1/64 qclk
111111 = min delay + offset delay + 63/64 qclk 15 RV 0b Reserved 14 RW-LB 1b DDRIO1CtlXoverEnable5: Xover Enable for CTL PI Group 5 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay 13:8 RW-LB 00h DDRIO1CtlPiCode5: PI Code for CTL PI Group 5 000000 = min delay + offset delay 000001 = min delay + offset delay + 1/64 qclk
111111 = min delay + offset delay + 63/64 qclk 7RV 0bReserved 6RW-LB 1b DDRIO1CtlXoverEnable4: Xover Enable for CTL PI Group 4 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay 5:0 RW-LB 00h DDRIO1CtlPiCode4: PI Code for CTL PI Group 4 000000 = min delay + offset delay 000001 = min delay + offset delay + 1/64 qclk
Logic delay control register. When set, the corresponding PI group is delayed by one qclk. The LogicDelay register settings are additive delays to either the PhaseDelay setting or the CMD/CTL PI settings, depending on the CmdXoverEnable setting.
4.8.11 DDRIOCtlRankCnfgA[0:1]—DDRIOCtlRankCnfg Register
DDRIOLogicDelayA[0:1] Bus: 1 Device: 17 Function: 0 Offset: 318h Bus: 1 Device: 15 Function: 6 Offset: 318h Bit Attr Reset Value Description 31:12 RV 0b Reserved 11 RW-LB 0h CMDLogicDelay3: CMD Logic Delay for PI Group 3 10 RW-LB 0h CMDLogicDelay2: CMD Logic Delay for PI Group 2 9RW-LB0hCMDLogicDelay1: CMD Logic Delay for PI Group 1 8RW-LB0hCMDLogicDelay0: CMD Logic Delay for PI Group 0 7RV 0bReserved 6RW-LB0hCTLLogicDelay6: CTL Logic Delay for PI Group 6 5RW-LB0hCTLLogicDelay5: CTL Logic Delay for PI Group 5 4RW-LB0hCTLLogicDelay4: CTL Logic Delay for PI Group 4 3RW-LB0hCTLLogicDelay3: CTL Logic Delay for PI Group 3 2RW-LB0hCTLLogicDelay2: CTL Logic Delay for PI Group 2 1RW-LB0hCTLLogicDelay1: CTL Logic Delay for PI Group 1 0RW-LB0hCTLLogicDelay0: CTL Logic Delay for PI Group 0 DDRIOCtlRankCnfgA[0:1] Bus: 1 Device: 17 Function: 0 Offset: 328h Bus: 1 Device: 15 Function: 6 Offset: 328h Bit Attr Reset Value Description 15:12 RV 0b Reserved 11 RW-LB 1b DDRIOEnRDIMM: RDIMM Enable Setting this bit will decrease the command drive strength (for RDIMM). 9:8 RW-LB 11b DDRIOCtlD2RankCfg: DIMM2 Rank[1:0] CMD/CTL Enable 7:4 RW-LB Fh DDRIOCtlD1RankCfg: DIMM1 Rank[3:0] CMD/CTL Enable 3:0 RW-LB Fh DDRIOCtlD0RankCfg: DIMM0 Rank[3:0] CMD/CTL EnableDatasheet, Volume 2 551
DDRIOCmdPICodeA[0:1] Bus: 1 Device: 17 Function: 0 Offset: 30Ch Bus: 1 Device: 15 Function: 6 Offset: 30Ch Bit Attr Reset Value Description 31 RV 0b Reserved 30 RW-LB 1b DDRIOCmdXoverEnable3: Xover Enable for PI Group 3 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay. 29:24 RW-LB 00h DDRIOCmdPiCode3: PI Coding for PI Group 3 000000 = min delay 000001 = min + 1/64 qclk
111111 = min + 63/64 qclk 23 RV 0b Reserved 22 RW-LB 1b DDRIOCmdXoverEnable2: Xover Enable for PI Group 2 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay. 21:16 RW-LB 00h DDRIOCmdPiCode2: PI Coding for PI Group 2 000000 = min delay 000001 = min + 1/64 qclk
111111 = min + 63/64 qclk 15 RV 0b Reserved 14 RW-LB 1b DDRIOCmdXoverEnable1: Xover Enable for PI Group 1 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay 13:8 RW-LB 00h DDRIOCmdPiCode1: PI Coding for PI Group 1 000000 = min delay 000001 = min + 1/64 qclk
111111 = min + 63/64 qclk 7RV 0bReserved 6RW-LB 1b DDRIOCmdXoverEnable0: Xover Enable for PI Group 1 When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay 5:0 RW-LB 00h DDRIOCmdPiCode0: PI Code for PI Group 0 000000 = min delay 000001 = min + 1/64 qclk
Defines PI coding for DDR CK pins: Ch01: for CK1/CK1# and CK2/CK2# Ch23: for CK2/CK2# and CK1/CK1# DDRIOCkPiCode0A[0:1] Bus: 1 Device: 17 Function: 0 Offset: 390h Bus: 1 Device: 15 Function: 6 Offset: 390h Bit Attr Reset Value Description 31:26 RV 0 Reserved 25:24 RW-LB 11b DDRIOCkXoverEnable0: CLK Xover Enable When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay. Recommended to keep CLK, CMD and CTL together For Ch01: Bit 24 controls the clock xover enables for the CK1/CK1# Bit 25 controls the clock xover enables for the CK2/CK2# For Ch23: Bit 24 controls the clock xover enables for the CK2/CK2# Bit 25 controls the clock xover enables for the CK1/CK1# 23:14 RV 0 Reserved 13:8 RW-LB 0h DDRIOCkPicodeRank2 For Ch01, PI code for CK2/CK2# For Ch23, PI code for CK1/CK1# 000000 = min delay 000001 = min + 1/64 qclk
Defines PI coding for DDR CK pins: Ch01: for CK0/CK0# and CK3/CK3# Ch23: for CK3/CK3# and CK0/CK0# DDRIOCkPiCode1A[0:1] Bus: 1 Device: 17 Function: 0 Offset: 394h Bus: 1 Device: 15 Function: 6 Offset: 394h Bit Attr Reset Value Description 31:26 RV 0 Reserved 25:24 RW-LB 11b DDRIOCkXoverEnable1: CLK Xover Enable When set, the phase interpolator is used. When cleared, the phase interpolator is bypassed and delay is shorter than PI setting 0 due to PI intrinsic delay. Recommended to keep CLK, CMD and CTL together For Ch01: Bit 24 controls the clock xover enables for the CK0/CK0# Bit 25 controls the clock xover enables for the CK3/CK3# For Ch23: Bit 24 controls the clock xover enables for the CK3/CK3# Bit 25 controls the clock xover enables for the CK0/CK0# 23:14 RV 0 Reserved 13:8 RW-LB 0h DDRIOCkPiCodeRank3 For Ch01, PI code for CK3/CK3# For Ch23, PI code for CK0/CK0# 000000 = min delay 000001 = min + 1/64 qclk
Logic delay of 1 QCLK in CLK slice
TCO evaluation 5:3 RW-LB 100b OFSTMirror_CR_drvcmdl1 CMD DRV UP offset value 2:0 RW-LB 100b OFSTMirror_CR_drvcmd0 CMD DRV Down offset value DDRIOCompOvrOfst2A[0:1] Bus: 1 Device: 17 Function: 0 Offset: 41Ch Bus: 1 Device: 15 Function: 6 Offset: 41Ch Bit Attr Reset Value Description DDRIOCompOVR5A[0:1] Bus: 1 Device: 17 Function: 0 Offset: 414h Bus: 1 Device: 15 Function: 6 Offset: 414h Bit Attr Reset Value Description 31:14 RV 0 Reserved 13 RW-LB 0h GDCPerChanCompCR: Comp Repeat Per Channel Enable this bit to have the Comp process run twice, (one for each channel) every iteration uses the channel specific ovr/ofst value. The COMP FSM uses on MCIOCOMP_CH0 setting of this field and ignores MCIOCOMP_CH1 field settings. Meaning: Ch1 Ch0 compperchannel 0 0 no 0 1 yes 1 0 no 1 1 yes Note: The logic in MC for MC2GDCompUpdate is the AND of both GD2MCCompComplete from DDR01 and DD23. But when gdcperchancompcr is set differently in CH0 and CH2, the GD2MCCompComplet pulses come at different times from DDR01 and DDR23 so that the AND result is MC will not assert MC2GDCompUpdate. Thus, the code will not be updated to the register which controls the buffer in DDR. In order to have CompUpdate, software need to do the following: set both imc_c0_DDRIOcompovr5a0.gdcperchancompcr=1 & imc_c2_DDRIOcompovr5a0.gdcperchancompcr=1 12:8 RW-LB 04h GDCCmdSegEn4CompCR How many segments will be open when evaluating CMD/CTL RCOMP.. For this field, only the values from the Ch0 CR are taken. 7RW-LB 0b OVSel_CR_tco_evalOVR TCO evaluation override select 6RW-LB 0b OVSel_CR_tco_directOVR TCO direct override select 5:0 RW-LB 00h OVRMirror_CR_tco TCO override valueDatasheet, Volume 2 557
Note: Only channel 1 or channel 3 are connected to the SPD buffers. Programming the A0 (channel 0 or channel2) has no effect. SPD Comp Config and LVDDR enable, statically configured by BIOS and this is not part of the period RCOMP. DDRIOCompCfgSPDA[0:1] Bus: 1 Device: 17 Function: 0 Offset: 420h Bus: 1 Device: 15 Function: 6 Offset: 420h Bit Attr Reset Value Description 31:28 RV 0h Reserved 27 RW-LB 0b DDRIOBLOCKCOMPUPDATE 1b: Block all COMP update to CSR, to make sure msg channel update will not conflict with comp update. 0b: Not blocked EV software usage: need to set this bit prior issuing a configuration read access to the RCOMP registers. This bit must be cleared after the RCOMP read; otherwise, RCOMP is not updated Only the DDRIOCOMPCFGSPDA1.DDRIOBLOCKCOMPUPDATE need to be updated. The odd channel register is controlling both channels in each channel-pair. Updating DDRIOCOMPCFGSPDA0.DDRIOBLOCKCOMPUPDATE has no effect. 26 RV 0b Reserved 25 RW-LB 0b DDRIODebugSel Select bit 3-2 from GDDebugMuxExtOut when bit is 1 24 RW-LB 0b SPD_Viewdig_en SPD ViewDig enable 23 RW-LB 0h Comp_LVDDR_en
Bus: 1 Device: 8 Function: 3 Offset: 190h Bus: 1 Device: 9 Function: 3 Offset: 190h Bit Attr Reset Value Description 31:28 RWS-LV 0b TL0sDriveRemote 27:26 RV 0b Reserved 25:24 RWS-LV 0b TL0sSleepMinRemote: TL0S_SLEEP_MIN_REMOTE If # of links supported is greater than 0 then, Link Select must always be used to display the current read value for this field. There is a write dependency for this field based on the value of Can Control Multiple Links? If Can Control Multiple Links? = 0, then Link Select must be used to only write to the selected Link. If Can Control Multiple Links? = 1, then every Link selected in Link Control will receive the written value. Intel QPI Behavior TL0sSleepMinRemote and TL0sWakeRemote values are captured from TS sequence and updated in this CSR. Software or BIOS can update these values as a work-around. It means software or BIOS will overwrite whatever values are captured from TS sequence. On subsequent entry to InbandReset causes these values to be overwritten again by hardware with values captured from TS sequence. To make software or BIOS workaround permanent we need another control bit to tell hardware not to update this CSR any more. This field is decoded in the following way. 00 = 32UI 01 = 48 UI 10 = 64UI 11 = 96UI Hardware loads this CSR with captured values from TS sequence if bit 15 is not set. Software or BIOS can always write to these CSRs. Whenever software or BIOS is writes to this CSR, it also need to set bit 15 to make these values permanent. TL0s_ignore_remote_values (bit 15) When this bit is set, hardware ignores values received in TS sequence and uses values programmed by software or BIOS. 23:22 RV 0b ReservedDatasheet, Volume 2 559
Processor Uncore Configuration Registers 21:16 RWS-LV 0h TL0sWakeRemote: TL0S_WAKE_REMOTE Link Select must always be used to display the current read value for this field. There is a write dependency for this field based on the value of Can Control Multiple Links? If Can Control Multiple Links? = 0, then Link Select must be used to only write to the selected Link. If Can Control Multiple Links? = 1, then every Link selected in Link Control will receive the written value. Intel QPI Behavior TL0sSleepMinRemote and TL0sWakeRemote values are captured from TS sequence and updated in this CSR. Software or BIOS can update these values as a work-around. It means software or BIOS will overwrite whatever values are captured from TS sequence. On subsequent entry to InbandReset causes these values to be overwritten again by hardware with values captured from TS sequence. To make software or BIOS workaround permanent we need another control bit to tell hardware not to update this CSR any more. This field is at 16 UI granularity and the value of this field is (count + 1)*16 UI. Hardware loads this CSR with captured values from TS sequence if bit 15 is not set. Software or BIOS can always write to these CSRs. Whenever software or BIOS writes to this CSR, it also need to set bit 15 to make these values permanent. TL0s_ignore_remote_values (bit 15) When this bit is set, hardware ignores values received in TS sequence and uses values programmed by software or BIOS. 15:12 RWS-L 4h TL0sDrive 11:10 RWS-L 1h TL0sSleepMin: TL0S_SLEEP_MIN If # of links supported is greater than 0, then Link Select must always be used to display the current read value for this field. There is a write dependency for this field based on the value of Can Control Multiple Links? If Can Control Multiple Links? = 0, then Link Select must be used to only write to the selected Link. If Can Control Multiple Links? = 1, then every Link selected in Link Control will receive the written value. Note: Intel QPI Specific Field Minimum time remote TX on a port initiating L0s entry should stay in L0s. This corresponds to the time required by local Rx to respond to L0s exit signal by remote port. This field is decoded in the following way. 00 = 32UI 01 = 48 UI 10 = 64UI 11 = 96UI 9:6 RV 0b Reserved
5:0 RWS-L 12h TL0sWake: TL0S_WAKE If # of links supported is greater than 0, then Link Select must always be used to display the current read value for this field. There is a write dependency for this field based on the value of Can Control Multiple Links? If Can Control Multiple Links? = 0, then Link Select must be used to only write to the selected Link. If Can Control Multiple Links? = 1, then every Link selected in Link Control will receive the written value. Intel QPI Behavior Local L0s Wake-up time the remote agent must not violate. Set by firmware on both link ports prior to entering L0s. This field is at 16 UI granularity and the value of this field is (count + 1)*16 UI A value is 0 indicates that L0s is not supported on the local agent. TXALIGN_EN Bus: 1 Device: 8 Function: 4 Offset: 648h Bit Attr Reset Value Description 31 RWS-L 0h override_enable 30:26 RV 0h Reserved 25 RWS-L 1h lane19 Enable TX data alignment 24 RWS-L 1h lane18 23 RWS-L 1h lane17 22 RWS-L 1h lane16 21 RWS-L 1h lane15 20 RWS-L 1h lane14 19 RWS-L 1h lane13 18 RWS-L 1h lane12 17 RWS-L 1h lane11 16 RWS-L 1h lane10 15:10 RV 0h Reserved 9RWS-L 1hlane9 8RWS-L 1hlane8 7RWS-L 1hlane7 6RWS-L 1hlane6 5RWS-L 1hlane5 4RWS-L 1hlane4 3RWS-L 1hlane3 2RWS-L 1hlane2 1RWS-L 1hlane1 0RWS-L 1hlane0
4.8.29 FWDC_LCPKAMP_CFG Register
Bus: 1 Device: 8 Function: 4 Offset: 390h Bus: 1 Device: 9 Function: 4 Offset: 390h Bit Attr Reset Value Description 31:17 RV 0h Reserved 16 RWS-L 1h fwdc lcampen Enable signal for LC peak amplifier. When this path is enabled, the other parallel forwarded clock path is disabled 0 = LC peak amplifier is disabled 1 = LC peak amplifier is enabled 15:13 RV 0h Reserved 12:8 RWS-L 8h fwdc lcampcapctl LC peak amplifier capacitor load control signals. 8 Gbps = 8h (default)
ManualGo.com