Partial link width state for multi-lane links
By introducing some L0 sub-states and retimer technology into multi-channel links, the problem of large dynamic link width adjustment delays is solved, low-latency power saving and bandwidth optimization are achieved, and energy efficiency is improved.
Patent Information
- Application Number
- CN202011569938.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-05
- Filing Date
- 2020-03-03
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-03-03
AI Technical Summary
The existing technology has a large delay during dynamic link width adjustment in multi-channel links, resulting in increased power consumption and making it difficult to achieve low-latency power saving and bandwidth optimization.
Introduce the Partial L0 (PL0) substate to keep the link active on a subset of lanes while other lanes are electrically idle or allow transactions to continue on the active lane when width configuration changes, extend the link length via retimers and Optimize the link training state machine for low-latency power savings.
It achieves low-latency power saving under high bandwidth requirements, dynamically adjusts the link width to match the actual consumed bandwidth, reduces link interruption time, and improves energy efficiency.
Smart Images

Figure CN112540940B_ABST
Abstract
Description
[0001] This application is a divisional application of a patent application of the same name with an application date of March 3, 2020 and application number 202010138132.6. Background Art
[0002] An interconnect can be used to provide communication between different devices within a system using some type of interconnect mechanism. A typical communication protocol used for communication interconnects between devices in a computer system is Peripheral Component Interconnect Express (PCI Express). TM (PCIe TM )) communication protocol. This communication protocol is an example of a load / store input / output (I / O) interconnect system. Communication between devices is usually performed serially at very high speeds according to this protocol.
[0003] Devices can be connected across various numbers of data links, each of which includes multiple data lanes. Upstream and downstream devices perform link training at initialization to optimize data transfer across the various links and lanes. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] Figure 1 An embodiment of a block diagram of a computing system including a multi-core processor according to an embodiment of the present disclosure is shown.
[0005] Figure 2A-2B is a simplified block diagram of an example link including one or more retimers according to an embodiment of the present disclosure.
[0006] Figure 3 is a diagram illustrating an example link training state machine including a partial L0 (PL0) state according to an embodiment of the present disclosure.
[0007] Figure 4 is a diagram illustrating example notation for exchanging a partial L0 state request including a response and width information according to an embodiment of the present disclosure.
[0008] Figure 5A is a process flow diagram for prompting and negotiating a link width reduction configuration according to an embodiment of the present disclosure.
[0009] Figure 5B is a process flow diagram illustrating link partner actions upon receiving a PL0 request flag according to an embodiment of the present disclosure.
[0010] Figure 5C is a process flow diagram for negotiating a link width increase configuration according to an embodiment of the present disclosure.
[0011] Figure 5D is a swim lane diagram illustrating various embodiments for negotiating link width reconfiguration according to embodiments of the present disclosure.
[0012] Figure 6 An embodiment of a computing system including an interconnect architecture is shown.
[0013] Figure 7 An embodiment of an interconnect architecture including a layered stack is shown.
[0014] Figure 8 Embodiments of requests or packets to be generated or received within an interconnect fabric are shown.
[0015] Fig. 9 An embodiment of a transmitter and receiver pair for an interconnect architecture is shown.
[0016] Fig.10 Another embodiment of a block diagram of a computing system including a processor is shown.
[0017] Fig.11 An embodiment of a block of a computing system including multiple processor sockets is shown. DETAILED DESCRIPTION
[0018] In the following description, many specific details are set forth, such as specific types of processors and system configurations, specific hardware structures, specific architectural and microarchitectural details, specific register configurations, specific instruction types, specific system components, specific measurements / heights, specific processor pipeline stages and operations, etc., in order to provide a thorough understanding of the present disclosure. However, it will be apparent to those skilled in the art that these specific details need not be employed to practice the present disclosure. In other instances, well-known components or methods, such as specific and alternative processor architectures, specific logic circuits / codes for the described algorithms, specific firmware codes, specific interconnect operations, specific logic configurations, specific manufacturing techniques and materials, specific compiler implementations, expressions of specific algorithms in code, specific power-down and gating techniques / logic, and other specific operational details of computer systems are not described in detail in order to avoid unnecessarily obscuring the present disclosure.
[0019] Although the following embodiments may be described with reference to energy conservation and energy efficiency in a particular integrated circuit, such as in a computing platform or microprocessor, other embodiments may be applicable to other types of integrated circuits and logic devices. Similar techniques and teachings of the embodiments described herein may be applied to other types of circuits or semiconductor devices that may also benefit from better energy efficiency and energy conservation. For example, the disclosed embodiments are not limited to desktop computer systems or Ultrabooks. TM. and may also be used in other devices, such as handheld devices, tablet computers, other thin and light notebook computers, system-on-chip (SOC) devices, and embedded applications. Some examples of handheld devices include cellular phones, Internet Protocol devices, digital cameras, personal digital assistants (PDAs), and handheld PCs. Embedded applications typically include microcontrollers, digital signal processors (DSPs), system-on-chips, network computers (NetPCs), set-top boxes, network hubs, wide area network (WAN) switches, or any other system that can perform the functions and operations described below. In addition, the apparatus, methods, and systems described herein are not limited to physical computing devices, but may also involve software optimization for energy conservation and efficiency. As will be apparent in the description below, embodiments of the methods, apparatus, and systems described herein (whether with reference to hardware, firmware, software, or a combination thereof) are critical to a "green technology" future that balances performance.
[0020] As computing systems evolve, the components therein become increasingly complex. As a result, the complexity of the interconnect architecture used to couple and communicate between components is also increasing to ensure that bandwidth requirements are met for optimal component operation. In addition, different market segments require different aspects of the interconnect architecture to meet the needs of the market. For example, servers require higher performance, while the mobile ecosystem can sometimes sacrifice overall performance to save power. However, the sole purpose of most structures is to provide the highest possible performance and maximize power savings. Below, a number of interconnects are discussed that will potentially benefit from aspects of the present disclosure described herein.
[0021] refer to Figure 1 , depicts an embodiment of a block diagram of a computing system including a multi-core processor. Processor 100 includes any processor or processing device, such as a microprocessor, an embedded processor, a digital signal processor (DSP), a network processor, a handheld processor, an application processor, a coprocessor, a system on a chip (SOC), or other device that executes code. In one embodiment, processor 100 includes at least two cores - cores 101 and 102, which may include asymmetric cores or symmetric cores (embodiment shown). However, processor 100 may include any number of processing elements that may be symmetric or asymmetric.
[0022] In one embodiment, a processing element refers to hardware or logic that supports a software thread. Examples of hardware processing elements include: thread units, thread slots, threads, processing units, contexts, context units, logical processors, hardware threads, cores, and / or any other element capable of maintaining a processor state (e.g., an execution state or an architectural state). In other words, in one embodiment, a processing element refers to any hardware that can be independently associated with code such as a software thread, an operating system, an application, or other code. A physical processor (or processor socket) typically refers to an integrated circuit that may include any number of other processing elements, such as cores or hardware threads.
[0023] A core generally refers to logic located on an integrated circuit capable of maintaining an independent architectural state, where each independently maintained architectural state is associated with at least some dedicated execution resources. In contrast to a core, a hardware thread generally refers to any logic located on an integrated circuit capable of maintaining an independent architectural state, where the independently maintained architectural states share access to execution resources. It can be seen that the line between the nomenclature of a hardware thread and a core overlaps when some resources are shared and other resources are dedicated to an architectural state. However, operating systems often view cores and hardware threads as separate logical processors, where the operating system can schedule operations on each logical processor separately.
[0024] like Figure 1 As shown, the physical processor 100 includes two cores, namely cores 101 and 102. Here, cores 101 and 102 are considered to be symmetric cores, i.e., cores with the same configuration, functional units and / or logic. In another embodiment, core 101 includes a disordered processor core, and core 102 includes an ordered processor core. However, cores 101 and 102 can be selected from any type of core, such as a native core, a software-managed core, a core suitable for executing a native instruction set architecture (ISA), a core suitable for executing a converted instruction set architecture (ISA), a co-designed core, or other known cores. In a heterogeneous core environment (i.e., an asymmetric core), some form of conversion (e.g., binary conversion) can be used to schedule or execute code on one or both cores. For further discussion, the functional units shown in core 101 are described in further detail below, because the units in core 102 operate in a similar manner in the illustrated embodiment.
[0025] As shown, core 101 includes two hardware threads 101a and 101b, which may also be referred to as hardware thread slots 101a and 101b. Therefore, in one embodiment, a software entity such as an operating system potentially treats processor 100 as four separate processors, i.e., four logical processors or processing elements capable of executing four software threads simultaneously. As described above, a first thread is associated with architecture state register 101a, a second thread is associated with architecture state register 101b, a third thread may be associated with architecture state register 102a, and a fourth thread may be associated with architecture state register 102b. Here, as described above, each architecture state register (101a, 101b, 102a, and 102b) may be referred to as a processing element, a thread slot, or a thread unit. As shown, architecture state register 101a is copied into architecture state register 101b, so that each architecture state / context can be stored for logical processor 101a and logical processor 101b. Other smaller resources may also be replicated for threads 101a and 101b in core 101, such as instruction pointers and renaming logic in allocator and renamer block 130. Some resources may be shared through partitioning, such as reorder buffers, ILTB 120, load / store buffers, and queues in reorder / retirement unit 135. Other resources, such as general internal registers, page table base registers, low-level data cache and data TLB 115, execution units 140, and portions of out-of-order unit 135, may be fully shared.
[0026] Processor 100 typically includes other resources that may be fully shared, shared through partitioning, or dedicated by / to processing elements. Figure 1 , an embodiment of a purely exemplary processor with illustrative logic units / resources of the processor is shown. Note that the processor may include or omit any of these functional units, as well as include any other known functional units, logic, or firmware not shown. As shown, core 101 includes a simplified, representative out-of-order (OOO) processor core. However, an in-order processor may be used in different embodiments. The OOO core includes: a branch target buffer 120 for predicting branches to be executed / taken; and an instruction translation buffer (I-TLB) 120 for storing address translation entries for instructions.
[0027] The core 101 also includes a decode module 125 coupled to the fetch unit 120 to decode the fetched elements. In one embodiment, the fetch logic includes individual sequencers associated with the thread slots 101a, 101b, respectively. Typically, the core 101 is associated with a first ISA that defines / specifies instructions that can be executed on the processor 100. Machine code instructions that are part of the first ISA typically include a portion of the instruction (called an opcode) that references / specifies the instruction or operation to be performed. The decode logic 125 includes circuitry that identifies these instructions from their opcodes and passes the decoded instructions into the pipeline for processing defined by the first ISA. For example, as discussed in more detail below, in one embodiment, the decoder 125 includes logic designed or adapted to identify specific instructions such as transactional instructions. As a result of the identification by the decoder 125, the architecture or core 101 takes specific, predefined actions to perform tasks associated with the appropriate instructions. It is important to note that any of the tasks, blocks, operations, and methods described herein can be performed in response to a single or multiple instructions; some of which may be new instructions or old instructions. Note that in one embodiment, decoders 126 recognize the same ISA (or a subset thereof). Alternatively, in a heterogeneous core environment, decoders 126 recognize a second ISA (a subset of the first ISA or a different ISA).
[0028] In one example, the allocator and renamer block 130 includes an allocator to reserve resources such as register files to store instruction processing results. However, threads 101a and 101b are potentially capable of out-of-order execution, where the allocator and renamer block 130 also reserves other resources, such as reorder buffers to track instruction results. Unit 130 may also include a register renamer to rename program / instruction reference registers to other registers internal to processor 100. Reorder / retirement unit 135 includes components such as the above-mentioned reorder buffers, load buffers, and store buffers to support out-of-order execution and then retire instructions executed out-of-order in order.
[0029] In one embodiment, the scheduler and execution unit block 140 includes a scheduler unit for scheduling instructions / operations on the execution units. For example, a floating point instruction is scheduled on a port of an execution unit with an available floating point execution unit. A register file associated with the execution unit is also included to store information instruction processing results. Exemplary execution units include floating point execution units, integer execution units, jump execution units, load execution units, store execution units, and other known execution units.
[0030] A low-level data cache and data translation buffer (D-TLB) 150 is coupled to the execution unit 140. The data cache will store recently used / operated elements (e.g., data operands), which may be kept in a memory consistency state. The D-TLB will store recent virtual / linear to physical address translations. As a specific example, the processor may include a page table structure to divide physical memory into multiple virtual pages.
[0031] Here, cores 101 and 102 share access to a higher level or further cache, such as a secondary cache associated with on-chip interface 110. Note that higher level or further refers to increasing or decreasing distance from the execution unit. In one embodiment, the higher level cache is a last level data cache - the last level cache in the memory hierarchy on processor 100 - such as a second or third level data cache. However, the higher level cache is not limited because it can be associated with or include an instruction cache. Instead, a trace cache (an instruction cache) can be coupled after decoder 125 to store recently decoded traces. Here, an instruction potentially refers to a macroinstruction (i.e., a general instruction recognized by a decoder), which can be decoded into multiple microinstructions (micro-operations).
[0032] In the depicted configuration, the processor 100 also includes an on-chip interface module 110. Historically, a memory controller, described in more detail below, has been included in a computing system external to the processor 100. In this case, the on-chip interface 110 is used to communicate with devices external to the processor 100, such as system memory 175, a chipset (typically including a memory controller hub connected to the memory 175 and an I / O controller hub connected to peripheral devices), a memory controller hub, a north bridge, or other integrated circuits. And in this case, the bus 105 may include any known interconnect, such as a multi-drop bus, a point-to-point interconnect, a serial interconnect, a parallel bus, a coherent (e.g., cache coherent) bus, a layered protocol architecture, a differential bus, and a GTL bus.
[0033] Memory 175 may be dedicated to processor 100 or shared with other devices in the system. Common examples of types of memory 175 include DRAM, SRAM, non-volatile memory (NV memory), and other known storage devices. Note that device 180 may include a graphics accelerator, processor or card coupled to a memory controller hub, data storage coupled to an I / O controller hub, a wireless transceiver, a flash memory device, an audio controller, a network controller, or other known devices.
[0034] However, recently, as more logic and devices are integrated on a single die such as a SOC, each of these devices can be incorporated into the processor 100. For example, in one embodiment, a memory controller hub is located on the same package and / or die as the processor 100. Here, a portion of the core (the on-core portion) 110 includes one or more controllers for interfacing with other devices (e.g., memory 175 or graphics device 180). This configuration includes interconnects, and controllers that interface with such devices are generally referred to as on-core (or non-core configurations). As an example, the on-chip interface 110 includes a ring interconnect for on-chip communication and a high-speed serial point-to-point link 105 for off-chip communication. However, in a SOC environment, even more devices (e.g., network interfaces, coprocessors, memory 175, graphics processors 180, and any other known computer devices / interfaces) can be integrated on a single die or integrated circuit to provide high functionality and low power consumption for a small scale factor.
[0035] In one embodiment, processor 100 can execute compiler, optimization and / or converter code 177 to compile, convert and / or optimize application code 176 to support the apparatus and method described herein or engage with it. Compiler generally includes a program or a set of programs to convert source text / code into target text / code. Generally, using a compiler to compile program / application code is divided into multiple stages and passes to convert high-level programming language code into low-level machine or assembly language code. However, a single-pass compiler can still be used for simple compilation. The compiler can utilize any known compilation technology and perform any known compiler operation, such as lexical analysis, preprocessing, parsing, semantic analysis, code generation, code conversion and code optimization.
[0036] Larger compilers typically contain multiple phases, but most often these phases are contained within two general phases: (1) the front end, which is where syntactic processing, semantic processing, and some transformations / optimizations may typically occur, and (2) the back end, which is where analysis, transformations, optimizations, and code generation typically occur. Some compilers reference an intermediate language that illustrates the blurring of the lines between the front end and back end of the compiler. As a result, references to the insertion, association, generation, or other operations of the compiler may occur in any of the aforementioned phases or processes of the compiler as well as any other known phases or processes. As an illustrative example, a compiler may insert operations, calls, functions, and the like in one or more compilation phases, such as inserting the calls / operations in the front end phase of compilation and then converting the calls / operations to low-level code during the transformation phase. Note that during dynamic compilation, compiler code or dynamically optimized code may insert such operations / calls and optimize the code for execution during runtime. As a specific illustrative example, binary code (compiled code) may be dynamically optimized during runtime. Here, program code may include dynamically optimized code, binary code, or a combination thereof.
[0037] The following detailed description refers to the accompanying drawings. The same reference numerals may be used in different drawings to identify the same or similar elements. In the following description, specific details, such as specific structures, architectures, interfaces, technologies, etc., are set forth for the purpose of explanation rather than limitation, so as to provide a thorough understanding of various aspects of various embodiments. However, it will be apparent to those skilled in the art who benefit from this disclosure that various aspects of various embodiments may be practiced in other examples that depart from these specific details. In some instances, descriptions of well-known devices, circuits, and methods are omitted to avoid making the description of various embodiments unclear with unnecessary details.
[0038] For multi-lane links, such as those based on PCIe, average I / O link utilization is typically less than 50% even at thermal design power usage. Dynamic link width (DLW) adjustment (also known as link width up / down configuration) (link from L0 to recovery to configuration and then back to L0) can be used to address the problem of less than optimal link width utilization. However, when the link is not available to exchange transactions, DLW adjustment can take several microseconds (typically in the high single digits to low double digits), which represents several orders of magnitude increase in latency when the link is in the L0 state. Such latency actually prevents widespread use of the DLW adjustment mechanism because if transactions are captured during the link width up / down configuration, the DLW adjustment may introduce excessive latency, resulting in higher power consumption.
[0039] The present disclosure describes a mechanism that allows a link portion to be active (e.g., entering a partial L0 (PL0) substate) and allows transactions to proceed on certain channels while other channels are performing electrical idle entry (link width down configuration) or exit (link width up configuration). The PL0 substate can provide deep power savings, while the L1 power saving state can be provided on idle channels. The PL0 substate can achieve low latency when transitioning to or from a low power link state, which forces the PL0 substate to be deployed aggressively. This aggressive deployment will help to dynamically allocate power to other entities (e.g., cores) by taking power away from the I / O during reduced bandwidth periods (or by matching the actual consumed bandwidth).
[0040] The present disclosure describes a method for use with a PCIe (such as the following Figure 2A-2B A power saving mechanism in a multi-channel serial interconnect such as , which makes the power consumption proportional to the bandwidth consumption without incurring link downtime.
[0041] Figure 2A-2B is a simplified block diagram of an example link including one or more retimers according to an embodiment of the present disclosure. A link including one or more retimers can form two or more separate electrical sub-links with data rates comparable to those achieved by a link using a similar protocol but without retimers. For example, a link including a single retimer can form a link with two separate sub-links, each operating at 8.0 GT / s or higher. Figure 2A-2B Simplified block diagrams 200a-200b of example links including one or more retimers are shown. For example, in FIG2 , a link 225 connecting a first component 205 (e.g., an upstream component such as a root complex or a port switch) to a second component 210 (e.g., a downstream component) may include a single retimer 215a. A first sub-link 220a may connect the first component 205 to the retimer 215a, while a second sub-link 220b may connect the retimer 215a to the second component.
[0042] In some implementations, a link such as a PCIe-compatible link may include one or more retimers or other extension devices such as repeaters. A retimer device (or simply "retimer") may include active electronics that receive and resend (retime) digital I / O signals. Retimers may be used to extend the length of a channel that may be used with a digital I / O bus. Retimers may be protocol-aware, software-transparent, and capable of performing a link equalization process, such as that of PCIe.
[0043] like Figure 2BAs shown, multiple retimers 245a, 245b can be used to extend the link 255. Three sub-links 250a-c can be defined by two retimers 245a, 245b, wherein the first sub-link 250a connects the first component 235 to the first retimer 245a, the second sub-link 250b connects the first retimer 245a to the second retimer 245b, and the third sub-link 255c connects the second retimer 245b to the second component 240.
[0044] The primary function of a retimer (buffer) device is signal retiming. As shown, these functions are performed by retimer circuit modules 506 (one block for each direction). The specific retimer device circuit will depend on the PHY used for the link. Typically, the retimer circuit is configured to recover the input signal and retransmit it using a local clock and new transmit equalization circuit, and known circuits such as phase-locked loops may generally be employed for this purpose. The retimer may further include transmitter and receiver circuits including one or more amplifier circuits, and various types of known signal conditioning circuits for increasing the drive level of the received signal. Such retimer circuits are well known to those skilled in the art of high-speed interconnects, and therefore, further details are not shown or discussed herein.
[0045] Each retimer 215, 245a, 245b can have an upstream path and a downstream path. In some implementations, the retimer can include two pseudo ports, and the pseudo ports can dynamically determine their respective downstream / upstream orientations. In addition, the retimers 215, 245a, 245b can support operating modes including forwarding mode and execution mode. In some instances, the retimers 215, 245a, 245b can decode data received on a sublink and re-encode data forwarded downstream on another sublink thereof. In this way, the retimer can capture the received bit stream before regenerating and resending the bit stream to another device or even another retimer (or redriver or repeater). In some cases, the retimer can modify certain values in the data it receives, such as when processing and forwarding ordered set data. In addition, the retimer can potentially support any width option as its maximum width, such as a set of width options defined by a specification (e.g., PCIe).
[0046] As data rates of serial interconnects (e.g., PCIe, UPI, USB, etc.) increase, the use of retimers to extend channel reach is increasing. Multiple retimers can be cascaded to achieve longer channel reach. It can be expected that as signal speeds increase, channel reach will generally decrease. Therefore, as interconnect technology accelerates, the use of retimers may become more prevalent. As an example, the use of retimers in PCIe interconnects may increase as PCIe Gen-4 is adopted at 16GT / s, while PCIe Gen-3 supports 8GT / s, and so on in other cases as speeds increase.
[0047] In one implementation, a generic BGA (ball grid array) package may be defined for fast PCI Gen-4 (16GT / s) based retimers. Such a design may address at least some of the example deficiencies found in legacy PCIe Gen-3 (8GT / s) retimer devices, as well as some of the issues that arise with the adoption of PCIe Gen-4. Additionally, the number and capacity of retimer vendors is expected to increase for PCIe Gen-4. Due to signal losses at double the data rate (from 8GT / s to 16GT / s), the achievable interconnect length is significantly reduced in Gen-4. In this and other example interconnect technologies, retimers may therefore have greater utility as data rates increase, as they may be used to significantly increase channel lengths that would otherwise be limited by the increased data rates.
[0048] Although shown as separate from the upstream and downstream components, the retimer may be part of the upstream or downstream component, on board with the upstream or downstream component, or on a package with the downstream component.
[0049] In some examples, the upstream component 205 and the downstream component 210 can be directly connected without a retimer, redriver, or repeater on the link between the two components 205, 210. In other examples, a retimer (e.g., 215) can be provided to extend the link connecting the upstream component 205 and the downstream component 210, such as Figure 2AAs shown. In other implementations, two or more retimers (e.g., 245a, 245b) may be provided in series to further extend the link connecting the upstream component 235 and the downstream component 240. For example, a particular interconnect technology or protocol may specify a maximum channel length, and one or more retimers (e.g., 245a, 245b) may be provided to extend the physical length of the channel connecting the two devices 235 and 240. For example, providing retimers 245a, 245b between the upstream component 235 and the downstream component 240 may allow the link to be three times the maximum length for the link without these retimers (e.g., 245a, 245b), as well as in other example implementations.
[0050] In an embodiment, a mechanism for power conservation may be implemented in a serial interconnect such as PCIe, which allows power consumption to be proportional to bandwidth consumption without incurring link down time. Figure 2A-2B A typical PCIe-based system is shown that can implement the mechanisms described herein. A downstream port (DSP) of an upstream component 205 or 235 (e.g., a CPU) is connected to an upstream port (USP) of a downstream component 210 or 240 (e.g., a network card, storage, or accelerator), and in some implementations, is implemented by one or more retimers 215, 245a, 245b. The USP and DSP control the link width, and the retimer follows the guidance of the USP or DSP. The retimer is configured to understand the tags of the exchange and understand how the channel changes.
[0051] Steering Figure 3 300 , illustrates an example link training state machine, such as a PCIe Link Training and Status State Machine (LTSSM). Figure 3 is a schematic diagram of an exemplary link training state machine 300 including a partial L0 (PL0) state according to an embodiment of the present disclosure. For systems that utilize a PHY according to a specific protocol to support multiple alternative protocols (i.e., running on top of the PHY), an ordered set can be defined that is communicated between two or more devices of a link in connection with the training of the link. For example, a training set (TS) ordered set (OS) can be sent. In an implementation utilizing PCIe as the PHY protocol, the TS ordered set can include TS1 and TS2 ordered sets, in addition to other exemplary ordered sets. The ordered sets and training sequences sent during link training can be based on specific link training states, where various link training states are used to complete corresponding link training activities and objectives.
[0052] Link training state machine 300 may illustrate a link training and status state machine (LTSSM) that represents various states of a multi-lane link (eg, states based on the PCIe protocol). In one example, for example Figure 3As shown in , the link training state machine 300 may include states such as a reset state, a detection state (e.g., to detect a far-end terminal (e.g., another device connected to the channel)), a polling state (e.g., to establish symbol lock and configure channel polarity), a configuration (or "configuration") state (e.g., to configure the connected physical channel as a link with a specific channel width, channel number, etc., perform channel-to-channel de-skew and other link configuration activities), a loopback state (e.g., to perform testing, fault isolation, equalization and other tasks), a recovery state (e.g., for changing the data rate of operation, re-establishing bit lock, symbol lock or block alignment, performing channel-to-channel de-skew, etc.), which can be used to bring the link into an active link state (e.g., L0 304). The LTSSM 300 also shows various power states: a fully active state (L0 304), an electrical idle or standby state (L0 306), L1 (a low power standby / hibernation state 308), L2 (a low power sleep state 310), and L3 (a link off state). LTSSM 300 also illustrates a partial L0 (PL0) state 302, which is a sub-state described herein.
[0053] In one example, the training sequences sent in a particular one or more link training states may be defined to accommodate negotiation of a particular one of the supported protocols of a particular device. For example, a particular training state may be a training state prior to entering an active link state, or may be a training state in which the data rate may be increased (e.g., beyond the rate supported by at least one of the supported protocols), such as a PCIe state in which the data rate is converted from a Gen1 speed to a Gen3 or higher speed, among other examples. For example, in Figure 3 In the illustrated example implementation, the configuration state (e.g., 312) may be utilized and extended to allow negotiation of a particular one of a plurality of protocols in parallel with link training activities natively defined in the training state (e.g., lane width determination, lane numbering, deskew, equalization, etc.). For example, specific training sequences may be defined for the training state, and these training sequences may be extended to allow information to be communicated (e.g., in one or more fields or ordered set of symbols) to identify whether each device on the link supports multiple protocols (e.g., at least one protocol stack in addition to the protocol stack of the physical layer and the corresponding link training state machine), identify the particular protocols supported by each device, and agree on one or more protocols to be employed on a particular PHY (e.g., by handshaking accomplished by transmitting these training sequences on the link (in both upstream and downstream directions)).
[0054] In one example, the PCIe physical layer can be used to support a variety of different protocols. Therefore, specific training states in the PCIe LTSSM can be used for negotiation of protocols between devices on the link. As described above, protocol determination may occur even before the link is trained to an active state (e.g., L0 304) at the lowest supported data rate (e.g., PCIe Gen 1 data rate). In one example, the PCIe Config state can be used. In practice, the PCIe LTSSM can be used to negotiate protocols using modified PCIe training sets (e.g., TS1 and TS2) after link width negotiation and in parallel (at least in part) with the lane numbering performed during the Config state.
[0055] To support the link width adjustment mechanism described herein, the PCIe LTSSM is enhanced with a new state called PL0 302. This state is entered from L0 304 when one side intends to operate the link at a narrower width than the maximum configured width negotiated to L0 304. In this new state, the link continues in the same manner as in L0 304, but at a narrower width while the remaining lanes are in electrical idle (EI), similar to L1 308. The PLL (phase locked loop) associated with only the lanes in idle state (EI) may also be turned off. In the PL0 state, more lanes may be added to the EI and some lanes in the EI may also be turned on. If the link is operating at the maximum configured link width, the LTSSM enters state L0 304. If the link upstream configuration operation in PL0 times out, the link enters recovery, which turns on all lanes.
[0056] As an example, a multi-lane link may include 16 lanes. At a certain point in time, 4 lanes (0–3) may be active while 12 lanes are in low power or sleep mode. If the system were to add 4 additional lanes, 4 lanes would be retrained. Then, when lanes 0-3 are disrupted, packets or markers would be sent to all 8 lanes so that all 8 lanes behave the same. 8 lanes can also be configured down to 4 lanes.
[0057] The link width configuration from L0 or PL0 downward is negotiated through a special PL0 marker, which can be similar to the EDS (End Data Stream) marker and Figure 4 Shown in. Figure 4 4 is a schematic diagram showing an example tag 400 for exchanging a partial L0 state request including a response and width information according to an embodiment of the present disclosure. This tag has a length of 1DW (one double word) and is encoded using STP with a length field of 1, similar to EDS. However, the PL0 tag uses different values in bits [31:20], such as Figure 4These bit fields indicate the different stages of negotiation and the required width, such as Figure 4 Example bit values are shown in Figure 4 As shown, but other configurations are possible:
[0058]
[0059]
[0060] Figure 5A – Figure 5B Describes the process of link width reduction configuration. Figure 5A 500 is a process flow chart for prompting and negotiating a link width reduction configuration according to an embodiment of the present disclosure. When the link is operating in L0 or PL0, the port can determine a downward configuration from L0 to PL0 or a downward configuration from PL0 to a lower link width in PL0 (502). The port that intends to reduce the link size sends a PL0 request marker to the link partner on one or more active channels (504). The port waits for a response (ACK or NAK) (506). If a PL0 NAK response is received or the link enters the recovery state L0 or L1, the PL0 request is suppressed (508). That is, the requested downward configuration has been rejected by the link partner and the request process ends.
[0061] If the port receives a PL0 Ack response from the link partner, the link can be reduced in width. The ports on both sides of the link will wait until the next scheduled (control) SKP OS (SKiP ordered set). In the last DW of the current data flow, the port will send a "PL0 from next block" marker instead of the EDS marker used to indicate the end of the data flow (510). The port then sends a control or SKP OS on the lane that will remain active and sends an electrical idle ordered set (EIOS) on the lane that will enter electrical idle (EI) (512).
[0062] The "PL0 from next block" marker indicates the end of the current data stream and the reduced width, as encoded in fields [24:20] in the marker (as above). Figure 4 ). Implicitly, "PL0 from next block" also indicates the last data block using the current link width. Thus, the link width can be configured downward without downtime. A variation could be to schedule the "PL0 from next block" marker without waiting for (controlling) the SKP ordered set boundary and continue with the new width from the following block while sending EIOS on the lanes that need to enter EI.
[0063] After the last control / SKP OS is sent, the active lanes can be used to send data traffic, while the inactive lanes enter EI (514). After the link partner completes the downward configuration in the opposite direction, the LTSSM is in PL0 (516).
[0064] Figure 5B 520 is a process flow diagram illustrating link partner actions upon receiving a PL0 request tag according to an embodiment of the present disclosure. The link partner may be referred to herein as a port. The port may receive a PL0 request tag (522). The port may send a response back to the link partner, such as an ACK or NAK (524). For this example, it is assumed that the port sends an ACK, allowing the process to proceed. The port may send a PL0 tag with "PL0 from next block" in the last DW of the data block (526). The port may then send a control or SKP OS on the channel that will remain active and an electrical idle ordered set (EIOS) on the channel that will be sent to electrical idle (EI) (528).
[0065] After the last control / SKP OS is sent, the active channels can be used to send data streams, while the inactive channels enter EI (530). After the link partner completes the downward configuration in the opposite direction (532), the LTSSM is in PL0.
[0066] Figure 5C 540 is a process flow diagram for negotiating a link width increase configuration according to an embodiment of the present disclosure. Any link partner may request a link width up configuration, regardless of who initiated the down configuration request. Figure 5C The process is shown in Figure 1. The channel to be reactivated goes through a recovery-style handshake (waking up the channel, acquiring bit lock, block alignment, stabilizing the channel, etc.) while normal traffic flow continues on the active channel. Once the reactivated channel is ready to be activated, the port independently waits for the (control) SKP OS boundary, sends the scheduled (control) SKP OS on the channel currently to be activated, and then sends the (start data flow) SDS OS on the channel, which is used to de-skew all channels (previously active + recently reactivated channel). The transaction only stops on this additional SDS OS, which is less than 5ns for a 32G link. Once both the transmitter and receiver are fully configured upward, the upward configuration process is considered to be completed by the port. Upon completion, if the link is operating at the maximum configured width, the LTSSM transitions from the L0 L1p state to L0.
[0067] Turning to the flow chart, externally, the port can be used for upward configuration (e.g., transition from PL0 to L0, increase within PL0 or interrupt idle on certain channels in PL0) (542). The port can send EIEOS on the idle channel that will become active (544). The active channel continues to send data or SKP OS. The port can then send TS1 OS on the idle channel, which will become active with EIEOS every 32 TS1 OS and SKP OS on the channel that will become active (546).
[0068] The port receives 8 consecutive TS1 or TS2 OS on all idle channels that will become active (548), and the port can send TS2 OS on the idle channel, which will become active with EIEOS every 32 TS1 OS and SKP OS on all channels that will become active (550) (this step can be called (A)). After the port receives a TS2 on all idle channels that will become active (552), after receiving 8 consecutive TS2 OS and sending 16 TS2 OS, the port can repeat (A) until the active channel sends EDS for SKP OS; then, the port can send SKP OS and SDS (for TX channels) on all active channels (554). After EDS on the current active channel and SKP on all channels become active, the port can also de-skew the new active channel (556). If all channels are active, the LTSSM state is L0. Otherwise, the LTSSM state is PL0.
[0069] A timeout may be used to exit a transition. For example, if 24 milliseconds (+ / - 2 milliseconds) pass without receiving 8 consecutive TS1 or TS2 OSs, the port may exit PL0 up configuration and return to the PL0 state it was in; then, after a period of time (e.g., 4 milliseconds), return all lanes to recovery (558, 560).
[0070] Figure 5D 5 is a swimlane diagram 570 illustrating various embodiments for negotiating link width reconfiguration according to an embodiment of the present disclosure. The first attempt to configure downward at the link width fails because the link partner cancels the request. The second attempt fails because the link enters recovery before the downward configuration is completed. The third attempt is successful: both parties issued the request almost simultaneously. Therefore, the DSP requests to configure it downward to x4 standard (stand), the USP Acks and the link operates at x4 width, and the LTSSM enters the L0 L1p state. Thereafter, the upward configuration request initiated by the USP to take the link to x8 succeeds, and the link ends up with x8 width while still in the L0 L1p state.
[0071] The first two examples show unsuccessful link width adjustments. First, the x16 link is operating in L0. At 572, the DSP sends a PL0 request tag to the USP to convert from x16 L0 to x8 PL0. The USP responds with a NAK, which ends the request. Similarly, in 574, the DSP sends a PL0 request tag to convert from x16 L0 to x8 PL0, but the USP enters recovery, which also terminates the request. If the link enters recovery or low power state from L0 while the link width down configuration request is not completed, the entire process will be aborted.
[0072] In 576, both link partners send down configuration requests, and it is possible for both parties to independently send PL0 request tags without receiving a tag from the link partner. Here, the DSP requests a down configuration from x16L0 to x4 PL0, while the USP requests a transition from x16 L0 to x2 PL0. The DSP's request wins, and the USP must respond (for example, here the USP responds with an ACK), while the DSP ignores the USP's request. The USP and DSP will each send the PL0 encoding from the next block, followed by EIOS on the upper 12 lanes, control or SKP OS on the lower 4 lanes, EI on lanes 4-15, and data on lanes 0-3.
[0073] In 578, the ports are intended to be configured upwards from x4 PL0 to x8 PL0. Both ports do the following:
[0074] 1) EIEOS is sent on channels 4-7, and then TS1 is sent on channels 4-7 for link training. Normal traffic is sent on channels 0-3, and EI is sent on channels 8-15 (keep idle).
[0075] 2) TS2 (with EIEOS) is sent on channels 4-7 to indicate link ready, normal traffic on channels 0-3, and EI on channels 8-15.
[0076] 3) EDS on channels 0-3 indicates the end of the data stream. TS2 is located on channels 4-7, and EI is located on channels 8-15.
[0077] 4) SKOS, SDS and data streaming on all active channels 0-7 while continuing EI on 8-15.
[0078] refer to Figure 6, shows an embodiment of a structure consisting of point-to-point links interconnecting a set of components. System 600 includes a processor 605 and a system memory 610 coupled to a controller hub 615. Processor 605 includes any processing element, such as a microprocessor, a main processor, an embedded processor, a coprocessor, or other processor. Processor 605 is coupled to controller hub 615 via a front-end bus (FSB) 606. In one embodiment, FSB 606 is a serial point-to-point interconnect as described below. In another embodiment, link 606 includes a serial differential interconnect architecture that conforms to different interconnect standards.
[0079] System memory 610 includes any memory device, such as random access memory (RAM), non-volatile (NV) memory, or other memory accessible to devices in system 600. System memory 610 is coupled to controller hub 615 through memory interface 616. Examples of memory interfaces include double data rate (DDR) memory interfaces, dual channel DDR memory interfaces, and dynamic RAM (DRAM) memory interfaces.
[0080] In one embodiment, controller hub 615 is a root hub, root complex or root controller in a Peripheral Component Interconnect Express (PCIe or PCIE) interconnection hierarchy. Examples of controller hub 615 include chipsets, memory controller hubs (MCH), north bridges, interconnect controller hubs (ICH), south bridges, and root port controllers / hubs. The term chipset typically refers to two physically separated controller hubs, i.e., a memory controller hub (MCH) coupled to an interconnect controller hub (ICH). Note that current systems typically include an MCH integrated with processor 605, and controller 615 will communicate with I / O devices in a similar manner as described below. In some embodiments, peer-to-peer routing is optionally supported by root complex 615.
[0081] Here, controller hub 615 is coupled to switch / bridge 620 via serial link 619. Input / output modules 617 and 621 (also referred to as interfaces / ports 617 and 621) include / implement a layered protocol stack to provide communications between controller hub 615 and switch 620. In one embodiment, multiple devices can be coupled to switch 620.
[0082] The switch / bridge 620 routes packets / messages from the device 625 from upstream (i.e., upward toward the hierarchy of the root complex) to the controller hub 615, and from the processor 605 or the system memory 610 downstream (i.e., away from the hierarchy of the root port controller) to the device 625. In one embodiment, the switch 620 is referred to as a logical component of multiple virtual PCI-PCI bridge devices. The device 625 includes any internal or external device or component to be coupled to the electronic system, such as an I / O device, a network interface controller (NIC), an add-on card, an audio processor, a network processor, a hardware driver, a storage device, a CD / DVD ROM, a monitor, a printer, a mouse, a keyboard, a router, a portable storage device, a FireWire device, a Universal Serial Bus (USB) device, a scanner, and other input / output devices. In a PCIe local device (e.g., a device), it is usually referred to as an endpoint. Although not specifically shown, the device 625 may include a PCIe to PCI / PCI-X bridge to support traditional or other versions of PCI devices. Endpoint devices in PCIe are generally classified as legacy, PCIe, or root complex endpoints.
[0083] Graphics accelerator 630 is also coupled to controller hub 615 via serial link 632. In one embodiment, graphics accelerator 630 is coupled to MCH, which is coupled to ICH. Switch 620 and corresponding I / O devices 625 are then coupled to the ICH. I / O modules 631 and 618 are also used to implement a layered protocol stack to communicate between graphics accelerator 630 and controller hub 615. Similar to the MCH discussed above, the graphics controller or graphics accelerator 630 itself can be integrated into processor 605.
[0084] Steering Figure 7 , showing an embodiment of a layered protocol stack. The layered protocol stack 700 includes any form of layered communication stack, such as a Quick Path Interconnect (QPI) stack, a PCIe stack, a next generation high performance computing interconnect stack, or other layered stack. Although the following reference Figures 6 to 9 The discussion is related to the PCIe stack, but the same concepts can be applied to other interconnect stacks. In one embodiment, the protocol stack 700 is a PCIe protocol stack, which includes a transaction layer 705, a link layer 710, and a physical layer 720. Interfaces such as Figure 1 The interfaces 617, 618, 621, 622, 626, and 631 in may be represented as a communication protocol stack 700. What is represented as a communication protocol stack may also be referred to as a module or interface that implements / includes the protocol stack.
[0085] PCI Express uses packets to pass information between components. Packets are formed in the Transaction Layer 705 and Data Link Layer 710 to carry information from a sending component to a receiving component. As the transmitted packets flow through the other layers, they are expanded with additional information required to process the packets at those layers. On the receiving side, the reverse process occurs, and the packet is converted from its Physical Layer 720 representation to a Data Link Layer 710 representation and finally (for a Transaction Layer packet) to a form that can be processed by the Transaction Layer 705 of the receiving device.
[0086] Transaction Layer
[0087] In one embodiment, the transaction layer 705 will provide an interface between the processing core of the device and the interconnect architecture (e.g., the data link layer 710 and the physical layer 720). In this regard, the primary responsibility of the transaction layer 705 is the assembly and disassembly of packets (i.e., transaction layer packets or TLPs). The translation layer 705 typically manages credit flow control for TLPs. PCIe implements split transactions, i.e., transactions where requests and responses are separated in time, allowing the link to carry other traffic while the target device is collecting data for the response.
[0088] Additionally, PCIe utilizes credit-based flow control. In this scheme, a device advertises an initial credit limit for each receive buffer in the transaction layer 705. External devices at the opposite end of the link, such as Figure 1 The controller hub 115 in the embodiment of the present invention calculates the number of credits consumed by each TLP. If the transaction does not exceed the credit limit, the transaction can be transmitted. After receiving the response, the credit limit will be restored. The advantage of credit scheduling is that as long as the credit limit is not encountered, the delay of credit return will not affect the performance.
[0089] In one embodiment, the four transaction processing address spaces include a configuration address space, a memory address space, an input / output address space, and a message address space. Memory space transactions include one or more of read requests and write requests to transfer data to / from a memory mapped location. In one embodiment, memory space transactions can use two different address formats, for example, a short address format (e.g., a 32-bit address) or a long address format (e.g., a 64-bit address). Configuration space transactions are used to access the configuration space of a PCIe device. Transactions to the configuration space include read requests and write requests. Message space transactions (or simply messages) are defined to support in-band communication between PCIe agents.
[0090] Thus, in one embodiment, transaction layer 705 assembles packet header / payload 706. The current format of packet header / payload can be found in the PCIe specification at the PCIe specification website.
[0091] Quick Reference Figure 8, shows an embodiment of a PCIe transaction descriptor. In one embodiment, a transaction descriptor 800 is a mechanism for carrying transaction information. In this regard, the transaction descriptor 800 supports the identification of transactions in the system. Other potential uses include tracking modifications to the default transaction order and the association of transactions with channels.
[0092] Transaction descriptor 800 includes a global identifier field 802, an attribute field 804, and a channel identifier field 806. In the example shown, global identifier field 802 is depicted including a local transaction identifier field 808 and a source identifier field 810. In one embodiment, global transaction identifier 802 is unique for all outstanding requests.
[0093] According to one implementation, the local transaction identifier field 808 is a field generated by the requesting agent and is unique to all outstanding requests that the requesting agent is required to complete. In addition, in this example, the source identifier 810 uniquely identifies the requester agent within the PCIe hierarchy. Therefore, the local transaction identifier 808 field, together with the source ID 810, provides a global identification of transactions within the hierarchy domain.
[0094] Attribute field 804 specifies the characteristics and relationships of a transaction. In this regard, attribute field 804 is potentially used to provide additional information that allows modification of the default processing of a transaction. In one embodiment, attribute field 804 includes priority field 812, reserved field 814, sort field 816, and non-snooping field 818. Here, priority subfield 812 can be modified by the initiator to assign a priority to the transaction. Reserved attribute field 814 is reserved for future use or vendor-defined usage. Possible usage models using priority or security attributes can be implemented using reserved attribute fields.
[0095] In this example, the sort attribute field 816 is used to provide optional information that conveys the type of sorting that can modify the default sorting rules. According to an example implementation, a sort attribute of "0" indicates that the default sorting rules are to be applied, where a sort attribute of "1" indicates a loose sorting, where writes can be passed in the same direction as writes, and read completions can be passed in the same direction as writes. The snoop attribute field 818 is used to determine whether to snoop the transaction. As shown, the channel ID field 806 identifies the channel associated with the transaction.
[0096] Link Layer
[0097] The link layer 710, also known as the data link layer 710, acts as an intermediate stage between the transaction layer 705 and the physical layer 720. In one embodiment, the responsibility of the data link layer 710 is to provide a reliable mechanism for exchanging transaction layer packets (TLPs) between two components in a link. One side of the data link layer 710 accepts the TLPs assembled by the transaction layer 705, applies a packet sequence identifier 711 (i.e., an identification number or packet number), calculates and applies an error detection code (i.e., CRC 712), and submits the modified TLP to the physical layer 720 for transmission across the physical device to an external device.
[0098] Physical Layer
[0099] In one embodiment, the physical layer 720 includes a logical sub-block 721 and an electronic block 722 to physically send packets to an external device. Here, the logical sub-block 721 is responsible for the "digital" functions of the physical layer 721. In this regard, the logical sub-block includes a transmit portion that prepares outgoing information for transmission by the physical sub-block 722 and a receiver portion that identifies and prepares received information before passing it to the link layer 710.
[0100] Physical block 722 includes a transmitter and a receiver. Logical sub-block 721 provides symbols to the transmitter, which serializes and sends them to an external device. Serialized symbols are provided to the receiver from the external device and the received signal is converted into a bit stream. The bit stream is deserialized and provided to logical sub-block 721. In one embodiment, an 8b / 10b transmission code is used, in which ten-bit symbols are sent / received. Here, special symbols are used to form packets in frames 723. In addition, in one example, the receiver also provides a symbol clock recovered from the incoming serial stream.
[0101] As described above, although the transaction layer 705, link layer 710, and physical layer 720 are discussed with reference to a specific embodiment of the PCIe protocol stack, the layered protocol stack is not limited thereto. In fact, any layered protocol may be included / implemented. As an example, a port / interface represented as a layered protocol includes: (1) a first layer for assembling packets, i.e., a transaction layer; a second layer for sequencing packets, i.e., a link layer; and a third layer for transmitting packets, i.e., a physical layer. As a specific example, a common standard interface (CSI) layered protocol is used.
[0102] Next reference Fig. 9, an embodiment of a PCIe serial point-to-point structure is shown. Although an embodiment of a PCIe serial point-to-point link is shown, the serial point-to-point link is not limited thereto because it includes any transmission path for transmitting serial data. In the illustrated embodiment, the basic PCIe link includes two, low-voltage, differential drive signal pairs: a transmit pair 906 / 911 and a receive pair 912 / 907. Therefore, device 905 includes a transmission logic 906 for sending data to device 910 and a receive logic 907 for receiving data from device 910. In other words, two transmit paths, namely paths 916 and 917, and two receive paths, namely paths 918 and 919, are included in the PCIe link.
[0103] A transmission path refers to any path for transmitting data, such as a transmission line, copper wire, optical fiber, a wireless communication channel, an infrared communication link, or other communication path. A connection between two devices (e.g., device 905 and device 910) is called a link (e.g., link 915). A link can support a channel - each channel represents a set of differential signal pairs (one pair for transmission and one pair for reception). To expand bandwidth, a link can aggregate multiple channels represented by xN, where N is any supported link width, such as 1, 2, 4, 8, 12, 16, 32, 64, or wider.
[0104] A differential pair refers to two transmission paths, such as lines 916 and 917, for sending differential signals. For example, when line 916 switches from a low voltage level to a high voltage level, i.e., a rising edge, line 917 drives from a high logic level to a low logic level, i.e., a falling edge. Differential signals potentially exhibit better electrical characteristics, such as better signal integrity, i.e., cross-coupling, voltage overshoot / undershoot, ringing, etc. This allows for better timing windows, thereby achieving faster transmission frequencies.
[0105] Note that the apparatus, methods, and systems described above can be implemented in any electronic device or system as described above. As a specific illustration, the following figures provide exemplary systems for utilizing the present disclosure described herein. As the following systems are described in more detail, many different interconnections are disclosed, described, and re-discussed from the above discussion. And it is apparent that the above advances can be applied to any of those interconnections, structures, or architectures.
[0106] Steering Fig.10, shows a block diagram of an exemplary computer system formed by a processor including an execution unit for executing instructions, wherein one or more interconnections implement one or more features according to an embodiment of the present disclosure. System 1000 includes components according to the present disclosure, such as processor 1002, which employs an execution unit including logic to execute an algorithm for process data, such as in the embodiments described herein. System 1000 represents a system based on PENTIUM III available from Intel Corporation in Santa Clara, California. TM 、PENTIUM 4 TM , Xeon TM , Itanium, XScale TM and / or StrongARM TM 1000 is a processing system based on a microprocessor, but other systems may be used (including PCs with other microprocessors, engineering workstations, set-top boxes, etc.). In one embodiment, the exemplary system 1000 executes WINDOWS 1000 available from Microsoft Corporation of Redmond, Washington. TM The present invention may be implemented with a version of the operating system, but other operating systems (e.g., UNIX and Linux), embedded software and / or graphical user interfaces may also be used. Therefore, embodiments of the present disclosure are not limited to any specific combination of hardware circuitry and software.
[0107] Embodiments are not limited to computer systems. Alternative embodiments of the present disclosure may be used in other devices, such as handheld devices and embedded applications. Some examples of handheld devices include cellular phones, Internet protocol devices, digital cameras, personal digital assistants (PDAs), and handheld PCs. Embedded applications may include microcontrollers, digital signal processors (DSPs), systems on chips, network computers (NetPCs), set-top boxes, network hubs, wide area network (WAN) switches, or any other system that can execute one or more instructions according to at least one embodiment.
[0108] In the illustrated embodiment, the processor 1002 includes one or more execution units 1008 to implement an algorithm that will execute at least one instruction. An embodiment may be described in the context of a single processor desktop or server system, but alternative embodiments may be included in a multi-processor system. System 1000 is an example of a "hub" system architecture. Computer system 1000 includes a processor 1002 to process data signals. As an illustrative example, processor 1002 includes a complex instruction set computer (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, a processor that implements an instruction set combination, or, for example, any other processor device, such as a digital signal processor. Processor 1002 is coupled to a processor bus 1010 that transmits data signals between processor 1002 and other components in system 1000. The elements of system 1000 (e.g., graphics accelerator 1012, memory controller hub 1016, memory 1020, I / O controller hub 1024, wireless transceiver 1026, flash BIOS 1028, network controller 1034, audio controller 1036, serial expansion port 1038, I / O controller 1040, etc.) perform conventional functions well known to those skilled in the art.
[0109] In one embodiment, processor 1002 includes a level 1 (L1) internal cache 1004. Depending on the architecture, processor 1002 may have a single internal cache or multiple levels of internal cache. Other embodiments include a combination of both internal and external caches depending on the specific implementation and requirements. Register file 1006 is used to store various types of data in various registers, including integer registers, floating point registers, vector registers, bank registers, shadow registers, checkpoint registers, status registers, and instruction pointer registers.
[0110] Execution unit 1008, including logic to perform integer and floating point operations, is also located in processor 1002. In one embodiment, processor 1002 includes a microcode (code) ROM for storing microcode, which, when executed, will execute certain macro instructions or algorithms to handle complex scenarios. Here, the microcode may be updateable to handle logic errors / repairs of processor 1002. For one embodiment, execution unit 1008 includes logic for processing a packaged instruction set 1009. By including a packaged instruction set 1009 in the instruction set 1002 of a general-purpose processor, along with associated circuitry for executing the instructions, operations used by many multimedia applications can be performed using packaged data in a general-purpose processor 1002. Therefore, many multimedia applications are accelerated and executed more efficiently by using the full width of the processor's data bus for performing operations on packaged data. This potentially eliminates the need to transfer smaller units of data on the processor's data bus to perform one or more operations (one data element at a time).
[0111] Alternative embodiments of execution unit 1008 may also be used in microcontrollers, embedded processors, graphics devices, DSPs, and other types of logic circuits. System 1000 includes memory 1020. Memory 1020 includes a dynamic random access memory (DRAM) device, a static random access memory (SRAM) device, a flash memory device, or other storage device. Memory 1020 stores instructions and / or data represented by data signals to be executed by processor 1002.
[0112] Note that any of the foregoing features or aspects of the present disclosure may be Fig.10 For example, an on-die interconnect (ODI) (not shown) for coupling internal units of the processor 1002 implements one or more aspects of the above disclosure. Or the present disclosure is associated with the following: a processor bus 1010 (e.g., Intel Quick Path Interconnect (QPI) or other known high-performance computing interconnects), a high-bandwidth memory path 1018 to a memory 1020, a point-to-point link to a graphics accelerator 1012 (e.g., a Peripheral Component Interconnect Express (PCIe) compatible fabric), a controller hub interconnect 1022, an I / O or other interconnect (e.g., USB, PCI, PCIe) for coupling other components shown. Some examples of such components include an audio controller 1036, a firmware hub (flash BIOS) 1028, a wireless transceiver 1026, data storage 1024, a conventional I / O controller 1010 including a user input and keyboard interface 1042, a serial expansion port 1038 (e.g., a universal serial bus (USB), and a network controller 1034. The data storage device 1024 may include a hard drive, a floppy disk drive, a CD-ROM device, a flash memory device, or other mass storage device.
[0113] Reference now Fig.11 , shows a block diagram of a second system 1100 according to an embodiment of the present disclosure. Fig.11 As shown, multiprocessor system 1100 is a point-to-point interconnect system and includes a first processor 1170 and a second processor 1180 coupled via a point-to-point interconnect 1150. Each of processors 1170 and 1180 may be some version of a processor. In one embodiment, 1152 and 1154 are part of a serial, point-to-point coherent interconnect structure (e.g., Intel's Quick Path Interconnect (QPI) architecture). As a result, the present disclosure may be implemented within the QPI architecture.
[0114] Although only two processors 1170, 1180 are shown, it should be understood that the scope of the present disclosure is not limited in this regard. In other embodiments, one or more additional processors may be present in a given processor.
[0115] Processors 1170 and 1180 are shown including integrated memory controller units 1172 and 1182, respectively. Processor 1170 also includes point-to-point (PP) interfaces 1176 and 1178 as part of its bus controller unit; similarly, second processor 1180 includes PP interfaces 1186 and 1188. Processors 1170, 1180 can exchange information via point-to-point (PP) interface 1150 using PP interface circuits 1178, 1188. Fig.11 As shown, IMCs 1172 and 1182 couple the processors to respective memories, namely, memory 1132 and memory 1134, which may be portions of main memory locally attached to the respective processors.
[0116] Processors 1170, 1180 each exchange information with chipset 1190 through separate PP interfaces 1152, 1154 using point-to-point interface circuits 1176, 1194, 1186, 1198. Chipset 1190 also exchanges information with high-performance graphics circuit 1138 via interface circuit 1192 along high-performance graphics interconnect 1139.
[0117] A shared cache (not shown) may be included in one processor or external to both processors; it may also be connected to the processors via a PP interconnect so that if the processors are placed in a low power mode, local cache information of one or both processors may be stored in the shared cache.
[0118] Chipset 1190 may be coupled to first bus 1116 via interface 1196. In one embodiment, first bus 1116 may be a peripheral component interconnect (PCI) bus, or a bus such as a PCI Express bus or another third generation I / O interconnect bus, although the scope of the present disclosure is not limited in this regard.
[0119] like Fig.11 As shown, various I / O devices 1114 are coupled to first bus 1116, along with a bus bridge 1118 that couples first bus 1116 to a second bus 1120. In one embodiment, second bus 1120 comprises a low pin count (LPC) bus. In one embodiment, various devices are coupled to second bus 1120 including, for example, a keyboard and / or mouse 1122, communication devices 1127, and a storage unit 1128, such as a disk drive or other mass storage device, which typically includes instructions / code and data 1130. Additionally, audio I / O 1124 is shown coupled to second bus 1120. Note that other architectures are possible in which the included components and interconnect architecture are varied. For example, instead of Fig.11 Instead of a point-to-point architecture, the system may implement a multi-drop bus or other such architecture.
[0120] Using the various inertial and environmental sensors present in the platform, many different use cases can be realized. These use cases can perform advanced computing operations including perceptual computing, and can also enhance power management / battery life, security, and system responsiveness.
[0121] For example, with respect to power management / battery life issues, ambient light conditions in the platform location are determined based at least in part on information from an ambient light sensor, and the intensity of the display is controlled accordingly. Thus, power consumption to operate the display is reduced under certain lighting conditions.
[0122] Regarding security operations, based on contextual information obtained from sensors, such as location information, it can be determined whether to allow a user to access certain security documents. For example, a user can be allowed to access such documents at a workplace or home location. However, when the platform is located in a public place, the user will be prevented from accessing such documents. In one embodiment, the determination is based on location information determined, for example, via a GPS sensor or camera recognition of a landmark. Other security operations may include providing pairing of devices within close proximity of each other, such as a portable platform as described herein and a user's desktop computer, mobile phone, etc. In some implementations, when these devices are paired, certain sharing is achieved through near field communication. However, when the device exceeds a certain range, such sharing may be disabled. In addition, when the platform as described herein and a smartphone are paired, an alarm can be configured to be triggered in a public place when the devices move more than a predetermined distance from each other. On the contrary, when these paired devices are in a safe location, such as a workplace or home location, these devices can exceed the predetermined limit without triggering such an alarm.
[0123] Sensor information may also be used to enhance responsiveness. For example, even when the platform is in a low power state, sensors may still be enabled to operate at a relatively low frequency. Thus, any changes in the platform's position, for example, as determined by inertial sensors, GPS sensors, etc., are determined. If such changes are not registered, a faster connection to a previous wireless hub (e.g., a Wi-Fi™ access point or similar wireless enabler) may occur because there is no need to scan for available wireless network resources in this case. Thus, a higher level of responsiveness is achieved when waking up from a low power state.
[0124] It should be understood that many other use cases can be enabled using sensor information obtained via integrated sensors within the platform as described herein, and the above examples are for illustrative purposes only. Using the system described herein, a perceptual computing system can allow for the addition of alternative input modalities, including gesture recognition, and enable the system to sense user actions and intent.
[0125] In some embodiments, there may be one or more infrared or other thermal sensing elements, or any other element for sensing the presence or movement of a user. Such sensing elements may include multiple different elements that work together, sequentially, or both. For example, the sensing elements include an element that provides initial sensing, such as light or sound projection, and then senses gesture detection through, for example, an ultrasonic time-of-flight camera or a pattern light camera.
[0126] Also in some embodiments, the system includes a light generator to generate an illuminated line. In some embodiments, the line provides a visual cue about a virtual boundary (i.e., an imaginary or virtual location in space), where a user action of passing through or breaking through a virtual boundary or plane is interpreted as an intent to engage with the computing system. In some embodiments, the illuminated line can change color when the computing system transitions to a different state with respect to the user. The illuminated line can be used to provide a visual cue of a virtual boundary in space to the user, and can be used by the system to determine transitions in computer states with respect to the user, including determining when the user wishes to engage with the computer.
[0127] In some embodiments, the computer senses the user's position and operates to interpret the movement of the user's hand through the virtual boundary as a gesture indicating the user's intent to engage with the computer. In some embodiments, as the user passes over the virtual line or plane, the light generated by the light generator may change, thereby providing visual feedback to the user that the user has entered an area for providing gestures to provide input to the computer.
[0128] The display screen may provide a visual indication of a state transition of the computing system for the user.In some embodiments, a first screen is provided in a first state in which the system senses the presence of a user, for example, by using one or more sensing elements.
[0129] In some implementations, the system senses the identity of the user, such as through facial recognition. Here, a transition to the second screen can be provided in a second state, in which the computing system has identified the identity of the user, wherein in the second state the screen provides visual feedback to the user that the user has transitioned to a new state. The transition to the third screen can occur in a third state in which the user has confirmed the identification of the user.
[0130] In some embodiments, the computing system may use a transition mechanism to determine the location of a user's virtual boundary, where the location of the virtual boundary may vary with the user and context. The computing system may generate light, such as an illuminated line, to indicate a virtual boundary for engagement with the system. In some embodiments, the computing system may be in a wait state, and the light may be generated in a first color. The computing system may detect whether the user has reached the virtual boundary, for example, by sensing the user's presence and movement using a sensing element.
[0131] In some embodiments, if it has been detected that a user has crossed a virtual boundary (e.g., the user's hand is closer to the computing system than the virtual boundary line), the computing system can transition to a state for receiving gesture input from the user, where a mechanism for indicating the transition can include a light indicating that the virtual boundary has changed to a second color.
[0132] In some embodiments, the computing system may then determine whether a gesture movement is detected. If a gesture movement is detected, the computing system may proceed with a gesture recognition process, which may include using data from a gesture database, which may reside in a memory of the computing device or may be otherwise accessible by the computing device.
[0133] If the user's gesture is recognized, the computing system can perform a function in response to the input and return to receive additional gestures if the user is within the virtual boundary. In some embodiments, if the gesture is not recognized, the computing system can transition to an error state, where the mechanism indicating the error state can include indicating that the virtual boundary changes to a third color of light, and if the user is within the virtual boundary for interacting with the computing system, the system returns to receive other gestures.
[0134] As described above, in other embodiments, the system can be configured as a convertible tablet computer system that can be used in at least two different modes, namely a tablet computer mode and a laptop computer mode. The convertible system can have two panels, namely a display panel and a substrate, so that in the tablet computer mode, the two panels are arranged on top of each other. In the tablet computer mode, the display panel faces outward and can provide a touch screen function that a traditional tablet computer has. In the laptop mode, the two panels can be arranged in an open clamshell structure.
[0135] In various embodiments, the accelerometer may be a 3-axis accelerometer with a data rate of at least 50 Hz. A gyroscope may also be included, which may be a three-axis gyroscope. In addition, there may be an electronic compass / magnetometer. Moreover, one or more proximity sensors may be provided (e.g., for opening a lid to sense when a person is approaching (or not approaching) the system and adjusting power / performance to extend battery life). For sensor fusion capabilities of certain operating systems, including accelerometers, gyroscopes, and compasses, enhanced functionality may be provided. In addition, via a sensor hub with a real-time clock (RTC), wake-up from the sensor mechanism to receive sensor inputs may be achieved when the rest of the system is in a low-power state.
[0136] In some embodiments, an internal lid / display open switch or sensor indicates when the lid is closed / open and can be used to put the system into or automatically wake up from "connected standby". Other system sensors may include ACPI sensors for internal processor, memory, and skin temperature monitoring to change processor and system operating states based on sensed parameters.
[0137] In one embodiment, the OS may be a Windows 8 CS operating system that implements Connected Standby (also referred to herein as Win8CS). 8OS. Windows 8 Connected Standby or other OS with similar states can provide very low ultra-idle power through the platform described here to enable applications to remain connected at very low power consumption, for example, connected to a cloud-based location. The platform can support 3 power states, namely, screen on (normal); connected standby (default "off" state); and off (power consumption is zero watts). Therefore, in the connected standby state, even if the screen is off, the platform is still logically in the on state (at the lowest power level). On such a platform, power management can be made transparent to applications and constant connectivity can be maintained, in part by employing offloading techniques to enable the lowest power components to perform operations.
[0138] While the present disclosure has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations that fall within the true spirit and scope of the present disclosure.
[0139] A design may go through various stages from creation to simulation to manufacturing. Data representing a design can represent the design in a variety of ways. First, as useful in simulation, a hardware description language or another functional description language can be used to represent the hardware. In addition, a circuit-level model with logic and / or transistor gates can be generated at some stage of the design process. In addition, most designs reach a data level representing the physical placement of various devices in the hardware model at some stage. In the case of using traditional semiconductor manufacturing technology, the data representing the hardware model can be data that specifies the presence or absence of various features on different mask layers of a mask used to manufacture an integrated circuit. In any representation of the design, the data can be stored in any form of machine-readable medium. A memory or a magnetic or optical storage such as a disk can be a machine-readable medium for storing information transmitted via light waves or electric waves, which are modulated or otherwise generated to transmit such information. When an electric carrier wave indicating or carrying a code or design is sent, a new copy can be made to the extent that the electric signal is copied, buffered, or retransmitted. Therefore, a communication provider or network provider can store an article embodying the technology of an embodiment of the present disclosure, such as information encoded as a carrier wave, at least temporarily on a tangible, machine-readable medium.
[0140] As used herein, a module refers to any combination of hardware, software, and / or firmware. As an example, a module includes hardware associated with a non-transitory medium, such as a microcontroller, to store code suitable for execution by the microcontroller. Therefore, in one embodiment, a reference to a module refers to hardware specifically configured to identify and / or execute code to be stored on a non-transitory medium. In addition, in another embodiment, the use of a module refers to a non-transitory medium including a code that is particularly suitable for execution by a microcontroller to perform a predetermined operation. And it can be inferred that in yet another embodiment, the term module (in this example) may refer to a combination of a microcontroller and a non-transitory medium. Typically, the boundaries of modules shown as separate typically change and may overlap. For example, a first and a second module may share hardware, software, firmware, or a combination thereof, while potentially retaining some independent hardware, software, or firmware. In one embodiment, the use of the term "logic" includes hardware such as transistors, registers, or other hardware such as programmable logic devices.
[0141] In one embodiment, the use of the phrase "to" or "configured to" refers to a device, hardware, logic, or element that is arranged, combined, manufactured, offered for sale, imported, and / or designed to perform a specified or determined task. In this example, a device or element thereof that is still not in operation is still "configured to" perform the specified task if it is designed, coupled, and / or interconnected to perform the specified task. As an illustrative example only, a logic gate can provide a 0 or 1 during operation. But "a logic gate that provides an enable signal to a clock is configured to" does not include every potential logic gate that may provide a 1 or 0. Instead, the logic gate is coupled in a certain way, that is, a 1 or 0 output is an enabled clock during operation. Note again that the use of the term "configured to" does not require operation, but focuses on the potential state of the device, hardware, and / or element, where when the device, hardware, and / or element is operating, in the potential state, the device, hardware, and / or element is designed to perform a specific task.
[0142] Additionally, in one embodiment, the use of the phrases "capable of" and / or "operable" refers to certain devices, logic, hardware, and / or elements that are designed to be able to use the device, logic, hardware, and / or elements in a specific manner. As described above, in one embodiment, "for", "capable of" or "operable" refers to a potential state of a device, logic, hardware, and / or element, wherein the device, logic, hardware, and / or element is incapable of functioning, but is designed in a manner that allows the device to be used in a specified manner.
[0143] As used herein, a value includes any known representation of a number, state, logic state, or binary logic state. Typically, values using logic levels, logic values, or logic are also referred to as 1 and 0, which simply represent binary logic states. For example, 1 represents a logic high level, and 0 represents a logic low level. In one embodiment, a storage unit such as a transistor or a flash memory cell may be able to store a single logic value or multiple logic values. However, other representations of values in computer systems have been used. For example, the decimal number ten may also be represented as a binary value 1010 and the hexadecimal letter A. Therefore, the value includes any representation of information that can be stored in a computer system.
[0144] In addition, a state can be represented by a value or a portion of a value. As an example, a first value, such as a logical 1, can represent a default or initial state, while a second value, such as a logical 0, can represent a non-default state. Additionally, in one embodiment, the terms "reset" and "set" refer to a default value and an updated value or state, respectively. For example, a default value may include a high logic value, i.e., reset, and an updated value may include a low logic value, i.e., set. Note that any combination of values can be used to represent any number of states.
[0145] Embodiments of the above methods, hardware, software, firmware or code may be implemented by instructions or code stored on a machine-accessible, machine-readable, computer-accessible or computer-readable medium that can be executed by a processing element. Non-transitory machine-accessible / readable media include any mechanism that provides (i.e., stores and / or transmits) information in a form that is readable by a machine such as a computer or electronic system. For example, non-transitory machine-accessible media include random access memory (RAM), such as static RAM (SRAM) or dynamic RAM (DRAM); ROM; magnetic or optical storage media; flash memory devices; electrical storage devices; optical storage devices; acoustic storage devices; other forms of storage devices for storing information received from transient (propagating) signals (e.g., carrier waves, infrared signals, digital signals); etc., which will be distinguished from non-transitory media from which information can be received.
[0146] Instructions for programming logic to perform embodiments of the present disclosure may be stored in a memory in the system, such as DRAM, cache, flash memory or other memory. In addition, instructions may be distributed via a network or by other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, but is not limited to a floppy disk, an optical disk, a compressed disk, a read-only memory (CD-ROM) and a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic card or an optical card, a flash memory or a tangible machine-readable storage for transmitting information through the Internet by other forms of electrical, optical, acoustic or propagating signals (e.g., carrier waves, infrared signals, digital signals, etc.). Therefore, a computer-readable medium includes any type of tangible machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine (e.g., computer) readable form.
[0147] Throughout the specification, references to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present disclosure. Thus, the phrases "in one embodiment" or "in an embodiment" appearing in various places throughout the specification are not necessarily all referring to the same embodiment. Furthermore, in one or more embodiments, the particular features, structures, or characteristics may be combined in any suitable manner.
[0148] In the foregoing description, detailed descriptions have been given with reference to specific exemplary embodiments. However, it will be apparent that various modifications and changes may be made thereto without departing from the broader spirit and scope of the present disclosure as set forth in the appended claims. Therefore, the description and drawings should be considered illustrative rather than restrictive. In addition, the foregoing use of embodiments and other exemplary language does not necessarily refer to the same embodiment or the same example, but may refer to different and distinct embodiments as well as potentially the same embodiments.
[0149] Various aspects and combinations of embodiments have been described above, some of which are represented by the following examples:
[0150] Example 1 is a device comprising a port; and a multi-lane link coupled to the port, the multi-lane link operating with a first link width; the port comprising hardware circuitry for determining that the port is for operating using a second link width, the second link width being smaller than the first link width; sending an indication of a last data block for the first link width on one or more lanes of the multi-lane link; causing a first group of lanes to enter an idle state; and sending data on a second group of lanes, the second group of lanes defining a second link width.
[0151] Example 2 may include the subject matter of Example 1, wherein the port is configured to send a request to convert to a second link width on one or more of the first number of lanes before sending an indication of the last data block for the first link width; and receive a confirmation from the link partner on one or more lanes of the multi-lane link to convert to the second link width.
[0152] Example 3 may include the subject matter of any of Examples 1-2, wherein the indication of the last data block is provided in a last doubleword of the data block using the first link width.
[0153] Example 4 may include the subject matter of Example 3, wherein the last doubleword includes an indication of the second link width.
[0154] Example 5 may include the subject matter of any of Examples 1-4, the port to send an electrical idle indication on a first set of lanes; and to send an ordered set on a second set of lanes.
[0155] Example 6 may include the subject matter of any of Examples 1-5, wherein the port is a downstream port, the port being operable to receive a request from an upstream port on a multi-lane link to convert from a first link width to a third link width, the third link width being less than the first link width and different from the second link width; ignoring the request; and upon receiving a confirmation from the upstream port that the upstream port can convert to the second link width, converting the link to the second link width.
[0156] Example 7 may include the subject matter of any of Examples 1-6, wherein the port is used to send an indication to the link partner to activate the third group of channels; perform link training on the third group of channels while sending data on the second group of channels; send an end data stream on the second group of channels; and send data on the second and third groups of channels.
[0157] Example 8 may include the subject matter of Example 7, the port being used to send and receive a first training sequence ordered set (TS1OS) to link train a third group of channels; and send and receive a second training sequence ordered set (TS2 OS), the second training sequence ordered set indicating that link training is completed on the third group of channels.
[0158] Example 9 may include the subject matter of Example 8, the port to perform lane deskew on the third group of lanes; and sending a start data stream on a transmit lane including lanes from the second group and the third group of lanes.
[0159] Example 10 is a method performed by a port coupled to a multi-lane link, the multi-lane link including a first link width, the method including determining the port of the multi-lane link to operate using a second link width, the second link width being less than the first link width; sending an indication of a last data block for the first link width on one or more lanes of the multi-lane link; causing a first group of lanes to enter an idle state; and sending data on a second group of lanes, the second group of lanes defining the second link width.
[0160] Example 11 may include the subject matter of Example 10, including: sending a request to convert to a second link width on one or more of the first number of lanes before sending an indication of the last data block for the first link width; and receiving a confirmation from the link partner on one or more lanes of the multi-lane link to convert to the second link width.
[0161] Example 12 may include the subject matter of any of Examples 10-11, wherein the indication of the last data block is provided in a last doubleword of the data block using the first link width.
[0162] Example 13 may include the subject matter of Example 12, wherein the last doubleword includes an indication of the second link width.
[0163] Example 14 may include the subject matter of any of Examples 10-13, further comprising sending an electrical idle indication on the first set of lanes; and sending the ordered set on the second set of lanes.
[0164] Example 15 may include the subject matter of any of Examples 10-14, wherein the port is a downstream port, the method comprising: receiving a request from an upstream port on a multi-channel link to convert from a first link width to a third link width, the third link width being less than the first link width and different from the second link width; ignoring the request; and upon receiving a confirmation from the upstream port that the upstream port can convert to the second link width, converting the link to the second link width.
[0165] Example 16 may include the subject matter of any of Examples 10-15, further comprising sending an indication to the link partner to activate a third group of channels; performing link training on the third group of channels while sending data on the second group of channels; sending an end data stream on the second group of channels; and sending data on the second and third groups of channels.
[0166] Example 17 may include the subject matter of Example 16, further comprising sending and receiving a first training sequence ordered set (TS1 OS) to link train a third group of channels; and sending and receiving a second training sequence ordered set (TS2 OS) indicating that link training has been completed on the third group of channels.
[0167] Example 18 may include the subject matter of Example 17, further comprising performing lane deskew on the third group of lanes; and sending the start data stream on a transmission lane including lanes from the second group and the third group of lanes.
[0168] Example 19 is a non-transitory computer-readable medium having program instructions stored therein, wherein the program instructions can be executed by a computer system to perform operations including: determining that a port is to operate using a second link width, the second link width being less than a first link width; sending an indication of a last data block for the first link width on one or more lanes of a multi-lane link; causing a first group of lanes to enter an idle state; and sending data on a second group of lanes, the second group of lanes defining a second link width.
[0169] Example 20 may include the subject matter of Example 19, further comprising: sending a request to convert to the second link width on one or more of the first number of lanes before sending an indication of the last data block for the first link width; and receiving a confirmation from the link partner on one or more lanes of the multi-lane link to convert to the second link width.
[0170] Example 21 may include the subject matter of any of Examples 19-20, wherein the indication of the last data block is provided in a last doubleword of the data block using the first link width.
[0171] Example 22 may include the subject matter of Example 21, wherein the last doubleword includes an indication of the second link width.
[0172] Example 23 may include the subject matter of any of Examples 19-22, the operations further comprising sending an electrical idle indication on the first set of lanes; and sending an ordered set on the second set of lanes.
[0173] Example 24 may include the subject matter of any of Examples 19-23, the operations further comprising: sending an indication to a link partner to activate a third group of channels; performing link training on the third group of channels while sending data on the second group of channels; sending an end data stream on the second group of channels; and sending data on the second and third groups of channels.
[0174] Example 25 may include the subject matter of Example 24, the operations further comprising: sending and receiving a first training sequence ordered set (TS1 OS) to link train a third group of channels; and sending and receiving a second training sequence ordered set (TS2 OS) indicating that link training has been completed on the third group of channels.
[0175] Example 26 is a system comprising an upstream port; a downstream port; and a multi-lane link connecting the upstream port to the downstream port, the multi-lane link comprising a first link width. The downstream port is configured to determine that the downstream port is configured to operate using a second link width, the second link width being less than the first link width; send an indication of a last data block for the first link width to the upstream port on one or more lanes of the multi-lane link; cause a first group of lanes to enter an idle state; and send data on a second group of lanes, the second group of lanes defining a second link width.
[0176] Example 27 may include the subject matter of Example 26, wherein the downstream port is configured to send a request to convert to the second link width on one or more lanes of the first number of lanes before sending an indication of the last data block for the first link width; and receive an acknowledgment (ACK) from the upstream port on one or more lanes of the multi-lane link to convert to the second link width.
[0177] Example 28 may include the subject matter of any of Example 26, wherein the indication of the last data block is provided in a last doubleword of the data block using the first link width.
[0178] Example 29 may include the subject matter of Example 28, wherein the last doubleword includes an indication of the second link width.
[0179] Example 30 may include the subject matter of any of Examples 26-29, the port being for sending an electrical idle indication on a first set of lanes; and sending an ordered set on a second set of lanes.
[0180] Example 31 may include the subject matter of any of Examples 26-30, wherein the downstream port is to receive a request from an upstream port on a multi-lane link to convert from a first link width to a third link width, the third link width being less than the first link width and different from the second link width; ignore the request; and after receiving a confirmation from the upstream port that the upstream port can convert to the second link width, cause the link to convert to the second link width.
[0181] Example 32 may include the subject matter of any of Examples 26-31, wherein the downstream port is used to send an indication to the link partner to activate the third group of channels; perform link training on the third group of channels while sending data on the second group of channels; send an end data stream on the second group of channels; and send data on the second and third groups of channels.
[0182] Example 33 may include the subject matter of Example 32, wherein the downstream port is used to send and receive a first training sequence ordered set (TS1 OS) to link train a third group of channels; and send and receive a second training sequence ordered set (TS2 OS) indicating that link training has been completed on the third group of channels.
[0183] Example 34 may include the subject matter of Example 33, the downstream port to perform lane deskew on the third group of lanes; and to send a start data stream on a transmit lane including lanes from the second group and the third group of lanes.
[0184] Example 35 is an apparatus that may include a unit for determining that a port of a multi-channel link is to operate using a second link width that is less than a first link width; a unit for sending an indication of a last data block for the first link width on one or more channels of the multi-channel link; a unit for causing a first group of channels to enter an idle state; and a unit for sending data on a second group of channel groups, the second group of channel groups defining a second link width.
Claims
1. A device for communication, include: a port coupled to a device via a link, the link comprising a set of lanes, the set of lanes comprising an aggregate number of lanes, a first number of lanes being less than the aggregate number of lanes, and a second number of lanes being less than the aggregate number of lanes; The ports are used for: transmitting data over the link using each lane in the set of lanes; receiving a request to transmit data on said first number of channels; transmitting an electrical idle ordered set EIOS on said second number of lanes during the skip ordered set SKPOS interval; transmitting the skip ordered set on the first number of channels; as well as Data is transmitted on the first number of lanes.
2. The apparatus of claim 1, said port to send a confirmation message on said link, said confirmation message confirming a request to transmit data using said first number of lanes.
3. The device according to any one of claims 1 or 2, in, The first number of channels is greater than the second number of channels; The ports are used for: sending a request on the link to transmit data using the second number of lanes; and An acknowledgement message is sent over the link, the acknowledgement message acknowledging the request to transmit data using the first number of lanes.
4. The device according to any one of claims 1 or 2, wherein the port is used for: The SKPOS is transmitted on the first number of lanes during the SKPOS interval.
5. The apparatus of any one of claims 1 or 2, the port to receive a request to transmit data on a third number of lanes, the third number of lanes adding additional lanes to the first number of lanes.
6. The device according to claim 5, wherein the port is used for: transmitting data on said first number of channels; transmitting an electrical idle exit ordered set EIEOS on said additional channel; transmitting a training sequence on the additional channel; and Data is transmitted over the third number of lanes.
7. A method for communication, include: transmitting data over a multi-lane link using an active link state, the active link state using each lane in the multi-lane link, the multi-lane link including a first subset of lanes and a second subset of lanes; receiving a request to transmit data using a partial link width state, the request indicating that the first lane subset is used for data transmission; transmitting an electrical idle ordered set EIOS on said second channel subset during the skip ordered set SKPOS interval; deactivating the second subset of channels; as well as Data is transmitted on the first subset of channels.
8. The method according to claim 7, further comprising: include: A confirmation message is sent, the confirmation message confirming the request.
9. The method according to claim 7, further comprising: include: A skip ordered set SKPOS is transmitted on the first subset of channels during the SKPOS interval.
10. The method according to any one of claims 7 or 8, in, The first subset of channels is larger than the second subset of channels; The method further comprises: sending a request to transmit data using the partial link width state, the request indicating that the second lane subset is used for data transmission; An acknowledgement message is sent over the multi-lane link, the acknowledgement message acknowledging the request to transmit data using the first subset of lanes.
11. The method according to any one of claims 7 or 8, further comprising: include: A request to transfer data on a third subset of channels that adds additional channels to the first subset of channels is received.
12. The method according to claim 11, further comprising: include: transmitting data on said first subset of channels; transmitting an electrical idle exit ordered set EIEOS on said additional channel; transmitting a training sequence on the additional channel; as well as Data is transmitted on the third subset of channels.
13. A system for communication, include: A first component, which includes a downstream port DSP; A second component including an upstream port USP; A multi-channel link that interconnects the DSP and the USP, The multi-channel link includes an aggregate number of channels, the aggregate number of channels including a first number of channels and a second number of channels; The DSP is used to: transmitting data over the link using each lane of the aggregate number of lanes; receiving a request from the USP to reduce the number of active channels from the aggregate number of channels to the first number of channels; During the skip ordered set SKPOS interval, sending an electrical idle ordered set EIOS instead of SKPOS to the USP on the second number of lanes to cause the second number of lanes to enter an idle state, and sending SKPOS to the USP on the first number of channels; as well as After the SKPOS interval, data is sent to the USP on the first number of lanes, the first number of lanes being less than the aggregate number of lanes.
14. The system of claim 13, wherein the DSP is configured to send a confirmation message to the USP, the confirmation message confirming the request.
15. A system according to any one of claims 13 or 14, in, The first number of channels is greater than the second number of channels; The DSP is used to: sending a request to the USP to transmit data using the second number of channels; and A confirmation message is sent to the USP, the confirmation message confirming the request to transmit data using the first number of lanes.
16. The system according to any one of claims 13 or 14, wherein the DSP is configured to: sending the EIOS to the USP on the second number of lanes during the SKPOS interval; and The SKPOS is transmitted to the USP on the first number of lanes during the SKPOS interval.
17. The system according to any one of claims 13 or 14, wherein the DSP is configured to: A request is received from the USP to transfer data on a third number of lanes that adds additional lanes to the first number of lanes.
18. The system of claim 17, wherein the DSP is configured to: transmitting data to the USP over the first number of channels; transmitting an electrical idle exit ordered set EIEOS to the USP on the additional channel; transmitting a training sequence to the USP on the additional channel; as well as Data is transmitted to the USP over the third number of channels.
19. A system according to any one of claims 13 or 14, in, The DSP is configured to transmit data using each lane of the aggregate number of lanes during an active link state.
20. The system according to any one of claims 13 or 14, in, The DSP is configured to transmit data using the first number of lanes during a fractional link width state.
