Transaction layer packet format
Through the PCIe interconnection architecture and PAM4 encoding, combined with the flit mode TLP header format, the communication bandwidth and efficiency problems of the traditional interconnection architecture under high-speed requirements are solved, and higher computing system performance and compatibility are achieved.
Patent Information
- Application Number
- CN202210141760.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-03-26
- Filing Date
- 2020-09-23
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-09-23
AI Technical Summary
The existing interconnect architecture cannot meet the high-speed requirements of future processors, resulting in communication bandwidth and efficiency problems. Especially in multi-core and multi-thread processor systems, the capacity of the traditional interconnect architecture is insufficient to support fast communication.
Adopting PCIe interconnect architecture, through layered protocol stack and serial point-to-point link, utilizing PAM4 encoding and flit mode TLP header format to improve link bandwidth and efficiency, and optimize data transmission through flexible packet header structure.
Significantly improves the communication bandwidth and efficiency of computing systems to support higher performance requirements while maintaining compatibility and channel range with previous generation interconnect architectures.
Smart Images

Figure CN114528241B_ABST
Abstract
Description
[0001] This application is a divisional application of the patent application with the same name with application number 202011010974.X filed on September 23, 2020.
[0002] This application claims the benefit of U.S. Provisional Patent Application Serial No. 62 / 938,096, filed on November 20, 2019, and is incorporated herein by reference in its entirety. Technical Field
[0003] The present disclosure relates to computing systems and, in particular, but not exclusively, to computer interfaces. Background Art
[0004] Developments in semiconductor processing and logic design have allowed an increase in the amount of logic that can be present on integrated circuit devices. As a corollary, computer system configurations have evolved from a single or multiple integrated circuits in a system to multiple cores, multiple hardware threads, and multiple logical processors present on separate integrated circuits, as well as other interfaces integrated within such processors. A processor or integrated circuit typically includes a single physical processor die, wherein the processor die may include any number of cores, hardware threads, logical processors, interfaces, memories, controller centers, etc. As processing power grows with the increase in the number of devices in a computing system, communication between sockets and other devices becomes increasingly important. Therefore, interconnection has evolved from a more traditional multi-point bus that primarily handles electrical communication to a fully developed interconnect architecture that promotes fast communication. Unfortunately, due to the demand for future processors to consume at even higher rates, corresponding demands are placed on the capabilities of existing interconnect architectures. Interconnect architectures can be based on a variety of technologies, including fast peripheral component interconnect (PCIe), universal serial bus, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1 An embodiment of a computing system including an interconnect architecture is shown.
[0006] Figure 2 An embodiment of an interconnect architecture including a layered stack is shown.
[0007] Figure 3 Embodiments of requests or packets to be generated or received within an interconnect fabric are shown.
[0008] Figure 4 An embodiment of a transmitter and receiver pair for an interconnect architecture is shown.
[0009] Figure 5 A first device is shown coupled to a second device through an example link.
[0010] Figure 6 An example packet format is shown.
[0011] Figure 7A-7B Example request packet headers are shown for each of two example modes.
[0012] Figures 8A-8B Another example of a request packet header for each of the two example modes is shown.
[0013] Figures 9A-9B An example request packet header for an input / output (I / O) transaction is shown for each of two example modes.
[0014] Figures 10A-10B Example configuration packet headers are shown for each of two example modes.
[0015] Figures 11A-11B An example message request packet header is shown for each of two example modes.
[0016] Figures 12A-12B An example completion packet header is shown for each of two example modes.
[0017] Fig.13 An example error reporting capability structure is shown.
[0018] Figures 14A-14B is a flow chart illustrating an example technique for generating and parsing packets sent over a link.
[0019] Fig.15 An embodiment of a block diagram for a computing system including a multi-core processor is shown.
[0020] Fig.16 Another embodiment of a block diagram for a computing system is shown. DETAILED DESCRIPTION
[0021] In the following description, many specific details (e.g., examples of specific types of processors and system configurations, specific hardware structures, specific architectures and microarchitecture details, specific register configurations, specific instruction types, specific system components, specific measurements / heights, specific processor pipeline stages and operations, etc.) are set forth 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 are not necessarily employed to practice the principles and solutions discussed in the present disclosure. In other instances, well-known components or methods (e.g., 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, specific code representations of algorithms, specific power-off and gating techniques / logic, and other specific operational details of computer systems) are not described in detail to avoid unnecessarily obscuring the present disclosure.
[0022] Although the following embodiments may be described with reference to energy conservation and energy efficiency in a particular integrated circuit such as a computing platform or microprocessor, other embodiments are also applicable to other types of integrated circuits and logic devices. Similar techniques and teachings of the embodiments described herein can be applied to other types of circuits or semiconductor devices that can 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 can also be used in other devices, such as handheld devices, tablet computers, other thin notebooks, 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 taught below. In addition, the apparatus, methods, and systems described herein are not limited to physical computing devices, but can also involve software optimization for energy conservation and efficiency.
[0023] As computing systems evolve, the components therein become more 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 suit the needs of the market. For example, servers require higher performance, while the mobile ecosystem is sometimes able to sacrifice overall performance to save power. However, the sole purpose of most architectures is to provide the highest possible performance with maximum power savings. A variety of interconnects are discussed below that will potentially benefit from aspects of the solutions described in this article.
[0024] An interconnect fabric architecture includes a Peripheral Component Interconnect Express (PCI) (PCIe) architecture. The main goal of PCIe is to enable components and devices from different vendors to interoperate in an open architecture, thereby spanning multiple market segments: (desktop and mobile) clients, (standard and enterprise) servers, and embedded and communication devices. PCI Express is a high-performance, general-purpose I / O interconnect defined for various future computing and communication platforms. Certain PCI attributes (e.g., its usage model, load-store architecture, and software interface) have been maintained through its revisions, and previous parallel bus implementations have been replaced by highly scalable, fully serial interfaces. The most recent versions of PCI Express utilize point-to-point interconnects, switch-based technologies, and developments in packet protocols to deliver new performance and feature levels. Some of the advanced features supported by PCI Express include power management, quality of service (QoS), hot-plug / hot-swap support, data integrity, and error handling.
[0025] refer to Figure 1 , shows an embodiment of a structure consisting of point-to-point links interconnecting a set of components. System 100 includes a processor 105 and a system memory 110 coupled to a controller hub 115. Processor 105 includes any processing element, such as a microprocessor, a host processor, an embedded processor, a coprocessor, or other processor. Processor 105 is coupled to controller hub 115 via a front-end bus (FSB) 106. In one embodiment, FSB 106 is a serial point-to-point interconnect as described below. In another embodiment, link 106 includes a serial, differential interconnect architecture that conforms to different interconnect standards.
[0026] The system memory 110 includes any memory device, such as random access memory (RAM), non-volatile (NV) memory, solid-state memory, or other memory accessible by devices in the system 100. The system memory 110 is coupled to the controller hub 115 through a memory interface 116. Examples of the memory interface include a double data rate (DDR) memory interface, a dual-channel DDR memory interface, and a dynamic RAM (DRAM) memory interface.
[0027] In one embodiment, controller hub 115 is a root hub, root complex or root controller in a Peripheral Component Interconnect Express (PCIe or PCIE) interconnection hierarchy. Examples of controller hub 115 include chipsets, memory controller hubs (MCH), north bridges, interconnect controller hubs (ICH), south bridges, and root port controllers / hubs. The term chipset often refers to two physically separate controller hubs, i.e., a memory controller hub (MCH) is coupled to an interconnect controller hub (ICH). Note that current systems often include an MCH integrated with processor 105, and controller 115 communicates with I / O devices in a manner similar to that described below. In some embodiments, peer-to-peer routing is optionally supported through root complex 115.
[0028] Here, controller hub 115 is coupled to switch / bridge 120 via serial link 119. Input / output modules 117 and 121 (also referred to as interfaces / ports 117 and 121) include / implement a layered protocol stack to provide communication between controller hub 115 and switch 120. In one embodiment, multiple devices can be coupled to switch 120.
[0029] The switch / bridge 120 routes packets / messages from the device 125 upstream (i.e., upward along the hierarchy toward the root complex) to the controller hub 115, and routes packets / messages from the processor 105 or the system memory 110 downstream (i.e., downward along the hierarchy away from the root port controller) to the device 125. In one embodiment, the switch 120 is referred to as a logical assembly of multiple virtual PCI to PCI bridge devices. The device 125 includes any internal or external device or component to be coupled to the electronic system, for example, an I / O device, a network interface controller (NIC), an add-in card, an audio processor, a network processor, a hard drive, 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. Usually in PCIe, everyday language such as a device is referred to as an endpoint. Although not specifically shown, the device 125 may include a PCIe to PCI / PCI-X bridge to support legacy PCI devices or other versions of PCI devices. Endpoint devices in PCIe are generally classified as legacy integrated endpoints, PCIe integrated endpoints, or root complex integrated endpoints.
[0030] Graphics accelerator 130 is also coupled to controller hub 115 via serial link 132. In one embodiment, graphics accelerator 130 is coupled to the MCH, which is coupled to the ICH. Switch 120, and therefore I / O device 125, is then coupled to the ICH. I / O modules 131 and 118 are also used to implement a layered protocol stack to communicate between graphics accelerator 130 and controller hub 115. Similar to the discussion above regarding the MCH, the graphics controller or graphics accelerator 130 itself may be integrated into processor 105. It should be appreciated that Figure 1 One or more of the components shown in (eg, 105, 110, 115, 120, 125, 130) may be enhanced to execute, store, and / or embody logic for implementing one or more of the features described herein.
[0031] Go to Figure 2 , showing an embodiment of a layered protocol stack. The layered protocol stack 200 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 Figure 1-4 The discussion is about the PCIe stack, but the same concepts can be applied to other interconnect stacks. In one embodiment, the protocol stack 200 is a PCIe protocol stack, which includes a transaction layer 205, a link layer 210, and a physical layer 220. The interface (e.g., Figure 1 The interfaces 117, 118, 121, 122, 126 and 131 in the embodiment of the present invention can be represented as a communication protocol stack 200. The representation as a communication protocol stack can also be referred to as a module or interface that implements / includes the protocol stack.
[0032] PCI Express uses packets to transfer information between components. Packets are formed in the transaction layer 205 and the data link layer 210 to carry information from the sending component to the receiving component. As the sent packet flows through the other layers, it is expanded with additional information necessary to process the packet at those layers. On the receiving side, the reverse process occurs and the packet is transformed from its physical layer 220 representation to the data link layer 210 representation and (for transaction layer packets) ultimately to a form that can be processed by the transaction layer 205 of the receiving device.
[0033] Transaction Layer
[0034] In one embodiment, transaction layer 205 is used to provide an interface between the processing core of the device and the interconnect architecture (e.g., data link layer 210 and physical layer 220). In this regard, the primary responsibility of transaction layer 205 is the assembly and disassembly of packets (i.e., transaction layer packets or TLPs). Translation layer 205 typically manages credit-based 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 collects data for the response.
[0035] In addition, PCIe utilizes credit-based flow control. In this scheme, the device advertises the initial credit amount for each of the receive buffers in the transaction layer 205. The external device at the opposite end of the link (e.g., Figure 1 The controller center 115 in the embodiment of the present invention counts the number of credits consumed by each TLP. If the transaction does not exceed the credit limit, the transaction can be sent. After receiving the response, the credit amount will be restored. An advantage of the credit scheme is that as long as the credit limit is not reached, the delay in the return of credit will not affect performance.
[0036] In one embodiment, the four transaction address spaces include a configuration address space, a memory address space, an input / output address space, and a message address space. The memory space transaction includes one or more of a read request and a write request for transferring data to / from a memory mapped location. In one embodiment, the memory space transaction 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). The configuration space transaction is used to access the configuration space of the PCIe device. Transactions for the configuration space include read requests and write requests. Message transactions are defined to support in-band communication between PCIe agents.
[0037] Thus, in one embodiment, transaction layer 205 assembles packet header / payload 206. The current format of packet header / payload can be found in the PCIe specification at the PCIe specification website.
[0038] Quick Reference Figure 3 , shows an embodiment of a PCIe transaction descriptor. In one embodiment, the transaction descriptor 300 is a mechanism for conveying transaction information. In this regard, the transaction descriptor 300 supports the identification of transactions in the system. Other potential uses include tracking modifications to the default transaction ordering and the association of transactions with channels.
[0039] Transaction descriptor 300 includes a global identifier field 302, an attribute field 304, and a channel identifier field 306. In the illustrated example, global identifier field 302 is depicted as including a local transaction identifier field 308 and a source identifier field 310. In one embodiment, global transaction identifier 302 is unique for all outstanding requests.
[0040] According to one implementation, the local transaction identifier field 308 is a field generated by the requesting agent, and the local transaction identifier field 308 is unique to all outstanding requests that are required to be completed for the requesting agent. In addition, in this example, the source identifier 310 uniquely identifies the requester agent within the PCIe hierarchy. Therefore, the local transaction identifier 308 field, together with the source ID 310, provides a global identification of transactions within the hierarchy domain.
[0041] Attribute field 304 specifies the characteristics and relationships of a transaction. In this regard, attribute field 304 is potentially used to provide additional information that allows the default handling of a transaction to be modified. In one embodiment, attribute field 304 includes priority field 312, reserved field 314, sort field 316, and no-snoop field 318. Here, priority subfield 312 can be modified by the initiator to assign a priority to a transaction. Reserved attribute field 314 is reserved for future use or vendor-defined use. Reserved attribute fields can be used to implement possible usage models that use priority or security attributes.
[0042] In this example, the ordering attribute field 316 is used to supply optional information that conveys the type of ordering that can modify the default ordering rules. According to an example implementation, an ordering attribute of "0" indicates that the default ordering rules are to be applied, wherein an ordering attribute of "1" indicates relaxed ordering, wherein writes can pass writes in the same direction, and read completions can pass writes in the same direction. The snoop attribute field 318 is used to determine whether the transaction is snooped. As shown, the channel ID field 306 identifies the channel associated with the transaction.
[0043] Link Layer
[0044] The link layer 210 (also referred to as the data link layer 210) serves as an intermediate level between the transaction layer 205 and the physical layer 220. In one embodiment, the responsibility of the data link layer 210 is to provide a reliable mechanism for exchanging transaction layer packets (TLPs) between the two components of the link. One side of the data link layer 210 accepts the TLPs assembled by the transaction layer 205, applies a packet sequence identifier 211 (i.e., an identification number or packet number), calculates and applies an error detection code (i.e., CRC 212), and submits the modified TLP to the physical layer 220 for transmission across the physical to an external device.
[0045] Physical Layer
[0046] In one embodiment, the physical layer 220 includes a logical sub-block 221 and an electronic block 222 to physically send packets to an external device. Here, the logical sub-block 221 is responsible for the "digital" functions of the physical layer 220. In this regard, the logical sub-block includes a transmit portion for preparing outgoing information for transmission by the physical sub-block 222, and a receiver portion for identifying and preparing received information before passing it to the link layer 210.
[0047] Physical block 222 includes a transmitter and a receiver. The transmitter is supplied with symbols by logic sub-block 221, which the transmitter serializes and sends to an external device. The receiver is supplied with serialized symbols from an external device and converts the received signal into a bit stream. The bit stream is deserialized and supplied to logic sub-block 221. In one embodiment, an 8b / 10b transmission code is used, in which ten-bit symbols are sent / received. Here, special symbols are used to frame packets using frame 223. In addition, in one example, the receiver also provides a symbol clock recovered from the incoming serial stream.
[0048] As stated above, although the transaction layer 205, link layer 210, and physical layer 220 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 (i.e., a transaction layer) for assembling packets; a second layer (i.e., a link layer) for sequencing packets; and a third layer (i.e., a physical layer) for sending packets. As a specific example, a common standard interface (CSI) layered protocol is used.
[0049] Next reference Figure 4 , 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 the serial point-to-point link includes any transmission path for sending serial data. In the illustrated embodiment, the basic PCIe link includes two low-voltage differential drive signal pairs: a transmit pair 406 / 412 and a receive pair 411 / 407. Therefore, the device 405 includes a transmit logic 406 for sending data to the device 410 and a receive logic 407 for receiving data from the device 410. In other words, two transmit paths (i.e., paths 416 and 417) and two receive paths (i.e., paths 418 and 419) are included in the PCIe link.
[0050] A transmission path refers to any path for transmitting data, for example, a transmission line, a copper line, an optical line, a wireless communication channel, an infrared communication link, or other communication path. The connection between two devices (e.g., device 405 and device 410) is referred to as a link (e.g., link 415). A link can support one channel-each channel represents a set of differential signal pairs (one pair for sending and one pair for receiving). In order to expand bandwidth, a link can aggregate multiple channels represented by xN, where N is any supported link width, for example, 1, 2, 4, 8, 12, 16, 32, 64 or wider. In some implementations, each symmetric channel includes a transmit differential pair and a receive differential pair. An asymmetric channel can include a transmit pair and a receive pair of unequal ratios. Some technologies can utilize symmetric channels (e.g., PCIe), while other technologies (e.g., Displayport) may not utilize symmetric channels and may even include only transmit pairs or only receive pairs, as well as other examples.
[0051] A differential pair refers to two transmission paths for sending differential signals, for example, lines 416 and 417. As an example, when line 416 switches from a low voltage level to a high voltage level (i.e., a rising edge), line 417 drives from a high logic level to a low logic level (i.e., a falling edge). Differential signals potentially exhibit better electrical characteristics, for example, better signal integrity (i.e., cross-coupling, voltage overshoot / undershoot, ringing, etc.). This allows for better timing windows, thereby enabling faster transmission frequencies.
[0052] In PCIe, rapid progress is taking place as the protocol evolves from Gen 4.0 to Gen 5.0 and Gen 6.0. PCIe 4.0 can support 16-lane links with an effective bandwidth of 64GB / s and expands support for retimers and other features. PCIe 5.0 maintains the 16-lane link width while doubling the effective bandwidth to 128GB / s. To maintain these bandwidth advances, PCIe 6.0 retains the 16-lane link and adopts pulse amplitude modulation (PAM) encoding (e.g., PAM4 encoding) as opposed to PCIe's traditional non-return-to-zero (NRZ) encoding (e.g., 8b / 10b, 128b / 130b) to increase the number of bits that can be sent on the serial channel within a single unit interval (UI). As a result, PCIe 6.0 further doubles the bandwidth from 32GT / s in PCIe 5.0 to 64GT / s, achieving a bidirectional bandwidth of 256GB / s. Such links can be valuable in coupling devices such as deep learning and artificial intelligence hardware accelerator devices; high-speed graphics processor units, tensor processor units, and other deep learning processors; high-speed memories; and other hardware in a variety of emerging computing applications such as deep learning applications, autonomous vehicles, robotics, and high-performance memory architectures, among other examples. PCIe 6.0 also includes low-latency forward error correction (FEC) and other features to improve bandwidth efficiency while maintaining backward compatibility with previous PCIe generations and a similar channel range to that available in PCIe 5.0.
[0053] While high-speed PAM4 encoding allows links to enable new and improved applications, such links may be more susceptible to errors. In some implementations, the link and corresponding protocol may be configured to operate in multiple modes, for example, in a flit mode when utilizing high-speed PAM4 encoding, and in another mode (e.g., non-flit mode) when using a lower speed encoding (e.g., 8b / 10b, 128b / 130b NRZ). For example, the higher speed mode may utilize and particularly benefit from forward error correction. Thus, a flit mode may be implemented that subdivides the transmission of a single packet into a set of one or more defined flow control units or "flots" at the data link or logical PHY layer. However, such a feature may complicate the parsing of packets at the receiver. Each flit may include a corresponding header having information corresponding to the flit and the packet, thereby allowing some information traditionally retained for the packet header to be omitted for redundancy. In some implementations, two (or more) separate packet header formats may be defined for an interconnect (e.g., for an interconnect based on PCIe 6.0), wherein a first packet header format is used for a mode that utilizes flits for packet transfer, and a different second packet header format is used for a mode that does not utilize flits (e.g., a legacy mode defined in the protocol), among other example implementations. In some implementations, it may be desirable to utilize flits for packet transfer when operating in a lower speed mode (e.g., 8b / 10b, 128b / 130b NRZ).
[0054] In the case of PCIe, the transaction layer packet (TLP) header structure has evolved slowly but remained essentially the same. With the adoption of PAM4 encoding and the transition to flit-based data integrity in PCIe 6.0, a new, revised TLP header format can be utilized. The new flit mode TLP header can also address the fact that the existing PCIe TLP header lacks remaining reserved bits to extend features and information that can be communicated in the corresponding packet header fields. In one example implementation, the flit mode TLP header can replace the traditional, orthogonal format (Fmt) and type fields with a fully decoded 8-bit TLP type field, which can be encoded with values indicating all (or substantially all) existing TLP types in PCIe, while adding new TLP types for no-op (NOP) and End Bad (EDB) packet types. In fact, in the case of flit mode, any number of NOP TLPs can be sent before or after any other TLPs, where the NOP TLPs are discarded by the receiver without any impact. In addition, the flit mode TLP header may add new extended header elements to include content that has previously been communicated using the TLP prefix and other mechanisms in PCIe, including the Process Address Space Identifier (PASID), TLP Processing Hints, and Secure TLPs, among other examples. Other example modifications may include adding an 8-bit segment ID (SBDF) to the requester and completer IDs, increasing the tag field bits (e.g., 12, 14, or 16 bits), removing obsolete fields and elements (e.g., a "byte count" field), among other example modifications.
[0055] In an example benefit that can be achieved through a flit mode packet header, the header can provide the transaction layer of the receiver with the ability to robustly parse incoming TLP content without relying on TLP partitioning information from the physical layer or data link layer. As another example, the scalability of the packet can be better facilitated via a flexible TLP structure consisting of a TLP header base by flexibly adding additional header content (e.g., zero to 7 additional double words (DWs) of content) at the back. In one example, the PCIe transaction summary can be replaced by a "tail" of zero to 3 DWs in a flit mode packet. In some implementations, the first DW of the header base includes all the information required to determine the full size of the TLP, including the header itself, any data payload, and the tail (if present). The End Bad (EDB) and Poisoned TLP mechanisms can also be modified and indicated via suffixes in flit mode, if present, these suffixes immediately follow the TLP to which they apply, and for Poisoned, these suffixes are transmitted end-to-end with the TLP through the root complex supporting peers and all switches. Furthermore, encodings of all TLP types defined for flit mode headers for flow control and routing may be assigned to achieve "forward compatibility" such that new opcodes may be assigned without requiring modifications to common modules of existing switch and PCIe controller hardware.
[0056] Steering Figure 5, a simplified block diagram 500 is shown, which shows an example PCIe link 505 coupling a first device 510 to a second device 515. Each of the devices 510, 515 can be equipped with one or more multiple ports (e.g., 520, 525) to support one or more multiple connections to other devices (e.g., on the same or different dies or packages). The ports (e.g., 520, 525) can include transmit circuits and receive circuits and logic (e.g., implemented in hardware circuits) for implementing one or more interconnect protocols that control the operation of the corresponding connections. For example, the ports 520, 525 can each include circuits for implementing a layered protocol stack based on a PCIe protocol. The PCIe protocol (e.g., PCIe 6.0) can support both a flit mode and another non-flit mode. The corresponding protocol circuits (e.g., the protocol circuits of the ports 520, 525) can be used to generate packets (e.g., 530, 535) with packet headers according to each of the flit mode and the non-flit mode, such as discussed in the examples of this article. Similarly, protocol logic at devices 510, 515 (e.g., receivers corresponding to ports 520, 525) can receive packets (e.g., 530, 535) generated and sent by another device and use information in the packets to identify the boundaries of the packets and parse the packets and their contents (e.g., using fields such as discussed in the following examples).
[0057] As introduced above, in flit mode, the link can be configured to robustly parse incoming TLP content without relying on TLP partitioning information from the physical layer or data link layer. Additionally, compared to these non-FLIT mode header structures that consume all reserved bits, the flit mode PCIe TLP header can include several changes to the traditional PCIe TLP header to improve scalability. In fact, in some cases, the lack of remaining space in the traditional PCIe TLP header can lead to implementations in which information is mixed between the header itself and the TLP prefix, as well as other example issues. In the example flit mode, the link-local TLP prefix can be retained, but the end-to-end TLP prefix is removed and replaced with a more flexible TLP structure that consists of a defined TLP header base, optionally followed by 0-7 additional DWs with header content. In addition, in some implementations, the PCIe transaction summary mechanism is replaced by a "tail" of 0-3 DWs. In one example, the first DW of the flit mode header base may be formatted to include all the information required to determine the complete size of the TLP, including the header itself, any data payload, and any trailer (if present).
[0058] Additional features may be provided in an example flit mode TLP format. For example, PCIe End Bad (EDB) and Poisoned TLP mechanisms may be modified in flit mode and indicated via suffixes, which, if present, immediately follow the TLP to which they apply, and for Poisoned, are transmitted end-to-end with the TLP through the root complex of supporting peers and all switches. In some cases, in flit mode, the transmitter is configured to complete the entire TLP transmission, in the sense that the transmitter is configured to send some content (including payload and trailer) at each indicated location and not to end the TLP transmission early. In this case, if the full TLP size indicated at the beginning of the transmission (e.g., based on the transmitter running out of content to send, in a field of the header of the TLP) needs to be filled, the transmitter is configured to send "filler" content and then append the EDB suffix to the transmission. In other cases, errors in TLPs may be indicated via an EDB suffix (or other field), and the corresponding receiver may discard all TLPs with such an EDB indication without any impact, as well as other example features.
[0059] Steering Figure 6 , a representation 600 of an example flit mode packet (e.g., TLP) format is shown. For example, the flit mode packet format may include: a header base 605 consisting of a set of fields (e.g., 640, 645) that can be parsed by a receiver to determine the total length of the packet; and other information, such as an identifier of the source of the packet, address information (e.g., for the destination of the packet), a transaction identifier, and other example information. The fields and format of the header base 605 can be based on and correspond to the type of packet. For example, headers for certain packet types can have varying lengths (e.g., 3DW or 4DW), combinations and types of fields, and other varying characteristics corresponding to the packet type. Some header fields can appear in the header of each packet type, such as a type field (e.g., 640) used to indicate the type of packet, as well as other examples.
[0060] exist Figure 6In an example of , in addition to the header base, additional fields may be selectively added to the header as header content blocks or "orthogonal header content (OHC)". In one example, a set of header content blocks may be selectively appended to the header base 605 to form a complete header for the packet. For example, one or more of the header content blocks may be appended to the header base or none of the header content blocks may be appended to the header base based on the encoding of the orthogonal header content (OHC) field (e.g., 645) in the header base 605. In some implementations, the OHC field may use one-hot encoding or another encoding technique to identify which (if any) of the header content blocks (e.g., 610, 615, 620, 625, 630, 635) are to be included in the packet. The fields of the header and / or header content blocks may further identify the length of the remaining packet (e.g., the packet payload), the presence and characteristics of suffixes, tails, and / or prefixes included in the packet, and other packet components.
[0061] In some instances, the transaction layer packet syntax for a flit mode packet may be defined to include a local TLP prefix of zero or more 1DWs, a TLP header base (e.g., 3DW or 4DW in length based on the packet type), a TLP data payload (e.g., 0 to 1024DW in length), a TLP trailer (if present), an end-to-end suffix of zero or more 1DWs, etc. Fields of the packet header (e.g., of one or more of the header base or header content blocks) may identify the length of the payload, the combination of header content blocks, the presence and characteristics of the prefix, trailer, suffix, and other information to allow a receiver to parse the header and determine the length of the header and packet.
[0062] In one example implementation, one or more of the header content blocks (e.g., 610, 615, 620, 625, 630, 635) may have a variable length, which length may also be indicated in a field of the header base. For example, two or more types of header content blocks may be defined (e.g., OHC-A (610), OHC-B (615), OHC-C (620), and OHC-E). At least one of the header content block types (e.g., OHC-E) may have multiple possible lengths (e.g., 625, 630, 635). In one example, a 5-bit OHC field may be defined in the header base (e.g., in the first DW of the header base) to identify the header content block to be appended to the header base. In one example, encoding may be defined for an OCH field (e.g., OHC[4:0]), such as:
[0063] 00000b=OHC does not exist
[0064] xxxx1b = OHC-A present
[0065] xxx1xb=OHC-B present
[0066] xx1xxb=OHC-C present
[0067] 00xxxb = OHC-Ex does not exist
[0068] 01xxxb = OHC-E1 present
[0069] 10xxxb = OHC-E2 present
[0070] 11xxxb = OHC-E4 present
[0071] Where "x" indicates that there may be either a 1 or a 0, and these encodings are not mutually exclusive.
[0072] Any combination of header content blocks may be allowed to be present in the header (e.g., OHC-B and OHC-C are present, but OHC-A or OHC-E are not). In some implementations, when two or more header content blocks are specified to be included in the header, the header content blocks may be defined to be present in a defined order (e.g., the header content block follows the header base, and then in the order of OHC-A, OHC-B, OHC-C, OHC-E). In some implementations, the content of the header content blocks may vary depending on the TLP type (e.g., in Figure 7B , 8B , 9B, 10B, 11B, 12B).
[0073] In some implementations, when TLP Processing Hint (TPH) is used (e.g., in a memory-routed request TLP), the OHC-B header content block includes the appropriate Processing Hint (PH), Boot Tag (ST), Address Translation Service (ATS) Memory Attributes (AMA), and AMA Valid (AV) values, among other examples. In some implementations, unlike non-FLIT mode headers, the ST field in a flit mode packet is not overwritten by byte enables or other fields. When OHC-B is included, if TPH is not being used, the PH field and the ST field may be encoded as all zeros.
[0074] In some cases, the memory request packet that uses byte enable to express the address / range of the byte to be read / written and / or uses process address space identifier (PASID) can merge these fields (e.g., OHC-A) through a specific header content block. As a result, the memory request that does not require the use of byte enable to express the address / range of the byte to be read / written and does not require PASID can omit the specific header content block (e.g., OHC-A). When TLP includes OHC-A, if byte enable is applied to the TLP type, the value in the byte enable field can be encoded to accurately indicate the enabled byte. In addition, if PASID is unknown or has not been assigned when including a specific header content block (e.g., OHC-A), the PASID field value of the specific header content block can be all 0.
[0075] Certain types of packets or transactions may always involve including one or more defined header content blocks. For example, IO requests and configuration requests may always utilize an OHC-A block with a byte enable in their packet header. As another example, a message request may always include a specific header content block (e.g., OHC-B) with a message code [7:0] field, as well as other examples. For example, a configuration request may always include an OHC-B block containing a destination segment field. In this case, the root complex indicates the correct segment value in the "destination segment" field (e.g., even if only one segment is implemented). The completer then captures the segment value indicated in the destination segment and the assigned bus, device, function (BDF) value and returns it as its completer segment value when using the completer segment (e.g., similar to how BDF is returned today (e.g., as a segment, bus, device, function (SBDF) value)). Therefore, in some implementations, all configuration completions may also include an OHC-B block with both the requester segment and the completer segment fields. In some instances, if the captured segment number is non-zero, all subsequent TLPs include the OHC-B block in their headers along with the captured requester / completer segment values. For a request, if the requester segment is non-zero, all completions for the request include the OHC-B and its requester segment and completer segment values. In some implementations, the destination segment field may be preserved as reserved for TLPs other than configuration requests.
[0076] In some cases, one or more header content blocks (e.g., OHC-C) may be provided and defined to facilitate data security (e.g., to support emerging integrity and data encryption features of PCIe), for example, through fields for enabling data integrity, data encryption, and other features. Thus, a secure TLP may include such a header content block to facilitate a desired (or required) level of security or other enhancements, as well as other example header content blocks.
[0077] Figures 7A-12B Examples of corresponding non-flit mode and flit mode packet header formats for each of a plurality of example transaction or packet types are shown. In one example, the non-flit mode packet header format can be based on (or even completely adopt) an old packet format (e.g., an existing PCIe packet header format). Although the type can affect the total length and some of the fields for the packet header included in the corresponding header basis, the header basis of the flit mode packet header can be based on a set of general principles and / or include a general set of fields. In one example, all flit mode TLPs (regardless of type) can include a fully decoded 8b packet type field, tag field, OHC field, tail size field, and other examples. All type encodings can have defined header sizes and flow control parameters. The tag field in the flit mode TLP header basis can be extended relative to the non-flit tag[] field (e.g., 12 or more bits (e.g., 14 bits)). The flit mode header basis format can retain a portion of the general layout of the non-flit mode header for certain fields, but fix bits of certain fields as free bits for extension of the tag field. Byte enable values included in the header of non-flit mode packets can be moved out of the header base of the flit mode packets and included only when needed by selectively including the corresponding one or more header content blocks (as indicated in the OHC field). Similarly, the byte count field, lower address field, byte count modification (BCM) bit, and other fields traditionally included in the non-flit mode header can be removed and even the flit mode header completely removed (e.g., not included in any header content block definition), or they can be included by using other OHC field definitions.
[0078] In addition to the features described above, the flit mode header may include a segment identifier (e.g., an 8-bit SBDF value) in the requester and completer identifiers. The end-to-end TLP prefix may be incorporated into the header as a "first class" or as additional information selectively included at the end of the header. The PASID value may be allowed to apply to all flit mode memory operations. The boot tag in flit mode may not be overloaded, and the PH, boot tag, and AMA / AV fields may be fixed. Lightweight notification (LN) may be removed within the flit mode packet (and the LN mechanism may be opposed). The tail may be indicated by encoding of the tail size field to help the receiver determine the length and characteristics of the packet. As an example, the following encoding may be defined to indicate the use and size of the tail within the corresponding packet:
[0079] 00b – no tail
[0080] 01b – tail of 1DW containing ECRC
[0081] 10b – tail of 2DW – content is reserved
[0082] 11b - Trailer of 3DW for TLP security mechanisms and other examples. In some instances, switches and root complexes may be provided with additional circuitry or logic to support peer implementations, mapping between flit mode TLPs and non-flit mode TLPs.
[0083] Multiple features may remain common or similar between flit mode packets and non-flit mode packets. For example, according to the non-flit mode, the definition of the contents of bytes 8-15 may remain unchanged for a message request. According to the defined non-flit mode, an ATS conversion request may follow an unchanged memory read format (e.g., where AT=01b, thereby distinguishing a conversion request). Similarly, according to a previously defined non-flit mode, the format of a conversion completion data entry may remain unchanged. Additionally, the local TLP prefixes may remain substantially unchanged from those TLP prefixes defined in the non-flit mode, as well as other features. In certain implementations, if the captured segment number is non-zero, the ATS invalid request, invalid completion, page request, stop mark, and PRG response messages may include a specific header content block (e.g., OHC-B) with a requester / completer segment.
[0084] Fig. 7A A non-flit mode header format for a non-flit mode PCIe request header format for 64-bit addressing is shown, which includes traditional PCIe TLP header fields, such as a 3-bit format field, a 5-bit type field, a traffic class (TC) field, an LN bit, a TLP hint (TH) bit, a TLP summary (TD) field, an address type (AT) field, an Error Poisoned (EP) field, an attribute (Attr) field, a length field, a requester ID field, and an address field. Figure 7B The flit mode header format is shown for a PCIe request header format for 64-bit addressing. The flit mode header base 705 includes the flit mode type, OHC and TS fields and the extended flit mode tag, as well as the traditional requester ID, Attr, AT, length and address fields. Figure 7B Also shown are content header blocks (e.g., OHC-A 710, OHC-B 715, OHC-C 720) defined for request type packets (in Figures 7A-12B Fields designated as "R" or "Reserved" in the examples indicate reserved fields / bits).
[0085] Fig. 8Ashows a non-flit mode PCIe request header for 32-bit addressing, which has a header similar to Fig. 7A The format of the 64-bit addressed request header in , but includes byte enable fields (e.g., first and last DW Byte Enable (BE) fields) and a Processing Hint (PH) field. Figure 8B The corresponding flit mode PCIe request header fields for 32-bit addressing are shown, including a header base 805 and corresponding content header blocks 810, 815, 820, which may be added to the header base. Fig.9A The non-flit mode PCIe request header format for an I / O transaction is shown. Fig. 9B A flit mode PCIe request header format for an I / O transaction is shown, including corresponding header base 905 and header content blocks 910 , 915 , 920 .
[0086] Fig. 10A The non-flit mode PCIe header format for a configuration transaction is shown, including bus number, device number, and function number fields, as well as a register number field (as well as the fields discussed above). Fig. 10B A flit mode PCIe header format for a configuration transaction is shown, including corresponding header base 1005 and header content blocks 1010 , 1015 , 1020 .
[0087] Fig.11A A non-flit mode PCIe message request header format including a message code field is shown. Fig. 11B Figure 1 shows the flit mode PCIe message request header format. Figure 7B , 8B , 9B and 10B, the flit mode message request header base 1105 is defined as 4DW instead of 3DW. Fig. 11B Also shown are header content blocks 1110, 1115, 1120 defined for the message request.
[0088] Fig. 12A The non-flit mode PCIe completion header format is shown, which includes a completer ID field, a completion status field, and a lower address field, as well as other fields previously discussed. Fig. 12B A flit mode PCIe completion header format is shown, including corresponding OHC-A 1210, OHC-B 1215, and OHC-C 1220 header content blocks such as in the other examples above.
[0089] Although Figure 7B , 8BThe examples of 9B, 10B, 11B, 12B show respective type-based implementations of OHC-A, OHC-B, and OHC-C header content blocks, but it should be appreciated that other header content blocks may also be defined and made available for inclusion in a flit mode header (and identified in a corresponding OHC field of the header base). For example, an OHC-E header content block (e.g., Figure 6 ) may also be used to append to the header base (e.g., after including any of the OHC-A, OHC-B, and OHC-C header content blocks). For example, the OHC-E header content block may be variable in size and included as a 1DW, 2DW, or 4DW header content block, among other examples. In some implementations, the OHC-E header content block may be designated as being used to convey vendor-defined content with the TLP, where the nature of the vendor content determines whether the 1DW, 2DW, or 4DW version of OHC-E is to be used, among other examples.
[0090] In some implementations, the flit mode may provide for predefinition of all or substantially all encodable values of a type field (e.g., type [7:0]) in a flit mode header base. Although the formats and type field encodings in non-flit mode PCIe were developed and assigned in an organic manner, in practice, this makes hardware adoption of such an extensible and variable set of type encodings difficult to implement. Therefore, in some implementations of the flit mode, the type field encodings and the corresponding routing, flow control (FC) type, header base size, and whether the data payload is associated with the type may be predefined so that the hardware or other logic of the PCIe device may be correspondingly configured to understand and process each of the potential encoding types. For example, Table 1 shows an example definition of the values of the Type [7:0] field in the flit mode header base. In this example, the routing is indicated in the "Description" field, and the "Header Base" field used is located in the same position within the header as the already defined "Header Base" format. In some implementations, for the already defined TLP types, the flit mode routing rules follow the indicated routing type. Although certain types may be "reserved" in name, in one implementation the characteristics of the type (e.g., routing, flow control types, etc.) may be defined so that the switch and PCIe port controller circuitry may be forward compatible and capable of basic processing and routing for operations that have not yet been defined.
[0091] Table A
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
[0103]
[0104] Steering Fig.13 , shows an example extended version 1300 of a PCIe advanced error reporting extended capabilities structure that can be used to enable larger headers provided by flit mode PCIe (e.g., based on the potential presence of an OHC-x block added to the header). For example, a header log register field (e.g., DW5-11) can be provided that is appended to a legacy capabilities structure, as well as other example modifications.
[0105] Fig.14A1400a is a flow chart illustrating an example technique for generating a packet within a flit mode of a PCIe-based interconnect. For example, a device may prepare a packet in connection with a transaction (e.g., sending a request or message or responding with a completion or other response), among other examples. A corresponding type of the packet may be determined 1405 based on the nature or type of the transaction, and a corresponding packet may be generated 1410. For example, in PCIe flit mode, the packet may be generated to include a packet header including a header base having fields, which may be used (e.g., in a first DW of the header base) to identify the entire length of the packet to assist a receiving device in parsing the packet. For example, the header base may include a type field (e.g., to replace the format and type fields of an earlier generated PCIe TLP header) and a header content field to identify which of a set of defined header content blocks (if any) are appended to the header base to form a header of a flit mode TLP, as well as other fields, e.g., a tag field, a length field, a tail size field, etc. The device may transmit 1415 the formed packet to another device on a link using a port of the transmitting device. In some implementations, when the link operates in flit mode, data on the link is encoded using PAM (eg, PAM4) encoding.
[0106] Fig. 14B 1400b is a flow chart illustrating an example technique for parsing a received flit mode packet in a PCIe-based interconnect. When a link is operating in PCIe flit mode, a device may receive a packet sent by another device at a port connected to a link that communicatively couples the device to the other device. The packet may be parsed 1425 by a receiving device based on fields included in a header base of a header of the packet, the fields including a type field and a header content field. The total length of the received packet may be determined 1430 based on fields included in the header base (e.g., a type field, a header content field, a length field, and a trailer size field). In addition to the length of the packet, the receiving device may also determine where segments of the packet begin and end, for example, including one or more header content blocks indicated by the header content field, the end of the header, a payload, and a trailer, as well as other examples. Based on the parsing, the receiving device may process the packet, and in some cases, the receiving device may generate a packet embodying a corresponding response, as well as other examples.
[0107] Note that the apparatus, methods, and systems described above can be implemented in any of the aforementioned electronic devices or systems. As a specific illustration, the following figures provide exemplary systems for utilizing the concepts as 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 developments described above can be applied to any of these interconnections, structures, or architectures.
[0108] refer to Fig.15 , depicts an embodiment of a block diagram of a computing system including a multi-core processor. Processor 1500 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 for executing code. In one embodiment, processor 1500 includes at least two cores, core 1501 and core 1502, which may include an asymmetric core or a symmetric core (embodiment shown). However, processor 1500 may include any number of processing elements, which may be symmetric or asymmetric.
[0109] In one embodiment, a processing element refers to hardware or logic for supporting software threads. Examples of hardware processing elements include: thread units, thread slots, threads, process units, contexts, context units, logical processors, hardware threads, cores and / or any other element capable of maintaining the state of a processor (e.g., execution state or architecture state). In other words, in one embodiment, a processing element refers to any hardware that can be independently associated with a code (e.g., a software thread, an operating system, an application, or other code). A physical processor (or processor socket) typically refers to an integrated circuit that potentially includes any number of other processing elements, e.g., cores or hardware threads.
[0110] A core generally refers to logic located on an integrated circuit that is capable of maintaining an independent architectural state, where each independently maintained architectural state is associated with at least some dedicated execution resources. Unlike a core, a hardware thread typically refers to any logic located on an integrated circuit that is capable of maintaining an independent architectural state, where the independently maintained architectural states share access to execution resources. As can be seen, when certain resources are shared and other resources are dedicated to an architectural state, the boundaries between the nomenclature of a hardware thread and a core overlap. However, typically, a core and a hardware thread are viewed by an operating system as separate logical processors, where the operating system can schedule operations on each logical processor separately.
[0111] like Fig.15As shown in , physical processor 1500 includes two cores, core 1501 and core 1502. Here, core 1501 and core 1502 are considered to be symmetric cores, that is, cores with the same configuration, functional units and / or logic. In another embodiment, core 1501 includes an out-of-order processor core, and core 1502 includes an in-order processor core. However, core 1501 and core 1502 can be selected separately from any type of core (e.g., a local core, a software-managed core, a core suitable for executing a local instruction set architecture (ISA), a core suitable for executing a conversion 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 utilized to schedule or execute code on one or both cores. However, for further discussion, the functional units shown in core 1501 are described in further detail below because the units in core 1502 operate in a similar manner in the depicted embodiment.
[0112] As depicted, core 1501 includes two hardware threads 1501a and 1501b, which may also be referred to as hardware thread slots 1501a and 1501b. Thus, in one embodiment, a software entity such as an operating system potentially views processor 1500 as four separate processors, i.e., four logical processors or processing elements capable of executing four software threads simultaneously. As mentioned above, a first thread is associated with architecture state register 1501a, a second thread is associated with architecture state register 1501b, a third thread may be associated with architecture state register 1502a, and a fourth thread may be associated with architecture state register 1502b. Here, as described above, each of the architecture state registers (e.g., 1501a, 1501b, 1502a, and 1502b) may be referred to as a processing element, a thread slot, or a thread unit. As shown, architecture state register 1501a is replicated in architecture state register 1501b, so that separate architecture states / contexts can be stored for logical processor 1501a and logical processor 1501b. Other smaller resources may also be replicated for threads 1501a and 1501b in core 1501, such as instruction pointers and renaming logic in allocator and renamer block 1530. Some resources may be shared through partitioning, such as reorder buffers, ILTB 1520, load / store buffers, and queues in reorder / retirement unit 1535. Other resources (e.g., general purpose internal registers, page table base register(s), low level data cache and data TLB 1515, execution unit(s) 1540, and portions of out-of-order unit 1535) are potentially fully shared.
[0113] Processor 1500 typically includes other resources, which may be fully shared, shared through partitioning, or dedicated by / to processing elements. Fig.15 , 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 depicted. As shown, core 1501 includes a simplified, representative out-of-order (OOO) processor core. However, an in-order processor may be utilized in different embodiments. The OOO core includes a branch target buffer 1520 for predicting branches to be executed / taken and an instruction translation buffer (I-TLB) 1520 for storing address translation entries for instructions.
[0114] The core 1501 also includes a decoding module 1525, which is coupled to the acquisition unit 1520 to decode the acquired elements. In one embodiment, the acquisition logic includes a separate sequencer associated with the thread slot 1501a and the thread slot 1501b, respectively. Typically, the core 1501 is associated with a first ISA, which defines / specifies instructions executable on the processor 1500. Typically, a machine code instruction that is part of the first ISA includes a portion of the instruction (called an opcode), which references / specifies the instruction or operation to be performed. The decoding logic 1525 includes circuits that recognize these instructions from their opcodes and pass decoded instructions in the pipeline for processing defined by the first ISA. For example, as discussed in more detail below, in one embodiment, the decoder 1525 includes logic designed to or adapted to recognize specific instructions (e.g., transaction instructions). Due to the recognition performed by the decoder 1525, the architecture or core 1501 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 may be performed in response to a single or multiple instructions; some of which may be new or old instructions. Note that in one embodiment, decoders 1526 recognize the same ISA (or a subset thereof). Alternatively, in a heterogeneous core environment, decoders 1526 recognize a second ISA (a subset of the first ISA or a different ISA).
[0115] In one example, the allocator and renamer block 1530 includes an allocator for reserving resources (e.g., a register file for storing instruction processing results). However, threads 1501a and 1501b are potentially capable of out-of-order execution, where the allocator and renamer block 1530 also reserves other resources, such as a reorder buffer for tracking instruction results. Unit 1530 may also include a register renamer to rename program / instruction reference registers to other registers internal to processor 1500. Reorder / retirement unit 1535 includes components such as the reorder buffers, load buffers, and store buffers mentioned above to support out-of-order execution and later in-order retirement of instructions executed out-of-order.
[0116] In one embodiment, (multiple) scheduler and execution unit block 1540 includes a scheduler unit for scheduling instructions / operations on execution units. For example, floating point instructions are scheduled on the port of the execution unit with an available floating point execution unit. Also included is a register file associated with the execution unit 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.
[0117] A lower level data cache and data translation buffer (D-TLB) 1550 is coupled to the execution unit(s) 1540. The data cache is used to store recently used / operated elements, e.g., data operands, which are potentially kept in a memory consistency state. The D-TLB is used to 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.
[0118] Here, core 1501 and core 1502 share access to a higher level or further cache (e.g., a second level cache associated with on-chip interface 1510). Note that higher level or further refers to cache levels increasing or further away from the execution unit(s). In one embodiment, the higher level cache is a last level data cache - the last cache in the memory hierarchy on processor 1500 - for example, a second or third level data cache. However, the higher level cache is not limited to this, as it can be associated with or include an instruction cache. A trace cache - a type of instruction cache - can instead be coupled after decoder 1525 to store recently decoded traces. Here, instructions potentially refer to macroinstructions (i.e., general instructions recognized by the decoders), which can be decoded into multiple microinstructions (micro-operations).
[0119] In the depicted configuration, the processor 1500 also includes an on-chip interface module 1510. Historically, a memory controller, described in more detail below, has been included in a computing system external to the processor 1500. In this scenario, the on-chip interface 1510 is used to communicate with devices external to the processor 1500 (e.g., system memory 1575, a chipset (typically including a memory controller hub for connecting to the memory 1575 and an I / O controller hub for connecting to peripheral devices), a memory controller hub, a north bridge, or other integrated circuits). And in this scenario, the bus 1505 may include any known interconnect, such as a multi-drop bus, a point-to-point interconnect, a serial interconnect, a parallel bus, a consistent (e.g., cache consistent) bus, a layered protocol architecture, a differential bus, and a GTL bus.
[0120] Memory 1575 may be dedicated to processor 1500 or shared with other devices in the system. Common examples of types of memory 1575 include DRAM, SRAM, non-volatile memory (NV memory), and other known storage devices. Note that device 1580 may include a graphics accelerator, a processor or card coupled to a memory controller hub, a data storage device coupled to an I / O controller hub, a wireless transceiver, a flash memory device, an audio controller, a network controller, or other known devices.
[0121] However, recently, as more logic and devices are integrated on a single die such as a SOC, each of these devices can be incorporated on the processor 1500. For example, in one embodiment, a memory controller hub is on the same package and / or die as the processor 1500. Here, a portion of the core (on-core portion) 1510 includes one or more controllers for interfacing with other devices such as memory 1575 or graphics device 1580. Configurations that include interconnects and controllers for interfacing with such devices are generally referred to as on-core (or uncore configurations). As an example, the on-chip interface 1510 includes a ring interconnect for on-chip communication and a high-speed serial point-to-point link 1505 for off-chip communication. However, in a SOC environment, even more devices (e.g., network interfaces, coprocessors, memory 1575, graphics processor 1580, and any other known computer devices / interfaces) can be integrated on a single die or integrated circuit to provide a small form factor with high functionality and low power consumption.
[0122] In one embodiment, processor 1500 can execute compiler, optimization and / or converter code 1577 to compile, convert and / or optimize application code 1576 to support the device and method described herein or to engage with it. Compiler generally includes a program or assembly for converting source text / code into target text / code. Usually, utilizing compiler to compile program / application code is to complete in multiple stages and multiple passes, so that high-level programming language code is transformed into low-level machine or assembly language code. However, single-pass compiler can still be used for simple compilation. Compiler can utilize any known compilation technology and perform any known compiler operation, for example, lexical analysis, preprocessing, parsing, semantic analysis, code generation, code conversion and code optimization.
[0123] Larger compilers typically include multiple phases, but in most cases these phases are included in two general phases: (1) the front end, i.e., where syntactic processing, semantic processing, and some transformations / optimizations can typically be performed, and (2) the back end, i.e., where analysis, transformations, optimizations, and code generation are typically performed. Some compilers refer to a middle portion, which illustrates the ambiguity of the definition between the front end and the back end of the compiler. Therefore, references to the insertion, association, generation, or other operations of the compiler can be made in any of the aforementioned phases or passes and any other known phases or passes of the compiler. As an illustrative example, the compiler potentially inserts operations, calls, functions, etc. in one or more phases of compilation, for example, inserting calls / operations in the front end phase of compilation and then transforming the calls / operations into lower-level code during the transformation phase. Note that during dynamic compilation, compiler code or dynamic optimization code can insert such operations / calls, as well as optimize the code for execution during runtime. As a specific illustrative example, binary code (compiled code) can be dynamically optimized during runtime. Here, program code can include dynamic optimization code, binary code, or a combination thereof.
[0124] Similar to compilers, translators such as binary translators statically or dynamically translate code to optimize and / or convert code. Thus, references to the execution of code, application code, program code, or other software environment may refer to: (1) dynamically or statically executing (multiple) compiler programs, code optimizers, or translators to compile program code, maintain software structure, perform other operations, optimize code, or convert code; (2) executing main program code including operations / calls, such as application code that has been optimized / compiled; (3) executing other program code (e.g., libraries) associated with the main program code to maintain software structure, perform other software-related operations, or optimize code; or (4) combinations thereof.
[0125] Reference now Fig.16, shows a block diagram of a second system 1600 according to an embodiment of the present disclosure. Fig.16 As shown in FIG. 1 , multiprocessor system 1600 is a point-to-point interconnect system and includes a first processor 1670 and a second processor 1680 coupled via a point-to-point interconnect 1650. Each of processors 1670 and 1680 may be a version of a processor. In one embodiment, 1652 and 1654 are part of a serial point-to-point consistent interconnect structure.
[0126] Although only two processors 1670, 1680 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.
[0127] Processors 1670 and 1680 are shown as including integrated memory controller units 1672 and 1682, respectively. Processor 1670 also includes point-to-point (PP) interfaces 1676 and 1678 as part of its bus controller unit; similarly, second processor 1680 includes PP interfaces 1686 and 1688. Processors 1670, 1680 can exchange information via point-to-point (PP) interface 1650 using PP interface circuits 1678, 1688. Fig.16 As shown in FIG. 1 , IMCs 1672 and 1682 couple the processors with respective memories (ie, memory 1632 and memory 1634 ), which may be portions of main memory locally attached to the respective processors.
[0128] Processors 1670, 1680 each exchange information with chipset 1690 via separate PP interfaces 1652, 1654 using point-to-point interface circuits 1676, 1694, 1686, 1698. Chipset 1690 also exchanges information with high-performance graphics circuit 1638 along high-performance graphics interconnect 1639 via interface circuit 1692.
[0129] A shared cache (not shown) may be included in either processor or external to both processors; connected to the processors via the PP interconnect so that if the processors are placed in a low power mode, local cache information of either or both processors may be stored in the shared cache.
[0130] Chipset 1690 may be coupled to first bus 1616 via interface 1696. In one embodiment, first bus 1616 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, but the scope of the present disclosure is not limited in this regard.
[0131] like Fig.16As shown in FIG. 1 , various I / O devices 1614 are coupled to first bus 1616 along with a bus bridge 1618 that couples first bus 1616 to second bus 1620. In one embodiment, second bus 1620 comprises a low pin count (LPC) bus. In one embodiment, various devices are coupled to second bus 1620 including, for example, a keyboard and / or mouse 1622, communication devices 1627, and storage unit 1628 (e.g., a disk drive or other mass storage device that typically includes instructions / code and data 1630). Additionally, audio I / O 1624 is shown coupled to second bus 1620. Note that other architectures are possible in which the components and interconnect architectures involved are different. For example, in addition to Fig.16 Instead of a point-to-point architecture, the system may implement a multi-point bus or other such architecture.
[0132] The computing system may include various combinations of components. These components may be implemented as ICs, portions thereof, discrete electronic devices, or other modules, logic, hardware, software, firmware, or combinations thereof adapted in the computer system, or as components otherwise incorporated into a chassis of the computer system. However, it should be understood that in other implementations, some of the components shown may be omitted, additional components may be present, and different arrangements of the components shown may occur. Therefore, the solutions described above may be implemented in any portion of one or more of the interconnects shown or described below.
[0133] In one embodiment, the processor includes a microprocessor, a multi-core processor, a multi-threaded processor, an ultra-low voltage processor, an embedded processor, or other known processing element. In the illustrated implementation, the processor acts as a main processing unit and a central hub for communicating with many of the various components of the system. As an example, the processor is implemented as a system on a chip (SoC). As a specific illustrative example, the processor includes a processor based on Architecture Core TMA processor (e.g., i3, i5, i7) or another such processor available from Intel Corporation (Santa Clara, CA). However, it should be understood that other low-power processors (e.g., available from Advanced Micro Devices, Inc. (AMD) of Sunnyvale, CA; MIPS-based designs from MIPS Technologies, Inc. of Sunnyvale, CA; ARM-based designs licensed from ARM Holdings, Inc. or its customers or their licensees or adopters) may instead be present in other embodiments, such as, for example, an Apple A5 / A6 processor, a Qualcomm Snapdragon processor, or a TI OMAP processor. Note that many of the customer versions of such processors are modified and altered; however, these processors may support or recognize specific instruction sets that execute defined algorithms as set forth by the processor licensor. Here, the microarchitecture implementation may vary, but the architectural functionality of the processor is generally consistent. Specific details regarding the architecture and operation of the processor in one implementation are discussed further below to provide illustrative examples.
[0134] In one embodiment, the processor communicates with the system memory. As an illustrative example, this can be implemented in an embodiment via multiple memory devices to provide a quantitative system memory. As an example, the memory can comply with the design based on the Joint Electronic Device Engineering Council (JEDEC) low power double data rate (LPDDR), for example, according to the current LPDDR2 standard of JEDEC JESD 209-2E (released in April 2009), or the next generation LPDDR standard referred to as LPDDR3 or LPDDR4, which will provide an extension to LPDDR2 to increase bandwidth. In various implementations, individual memory devices can have different package types, for example, single die package (SDP), dual die package (DDP) or quad die package (13P). In some embodiments, these devices are directly soldered to the motherboard to provide a lower profile solution, while in other embodiments, these devices are configured as one or more memory modules, which are then coupled to the motherboard through a given connector. And of course, other memory implementations are also possible, for example, other types of memory modules, for example, different types of dual in-line memory modules (DIMMs), including but not limited to microDIMMs and MiniDIMMs. In a specific illustrative embodiment, the memory is between 2 GB and 16 GB in size and may be configured as a DDR3LM package or LPDDR2 or LPDDR3 memory soldered to a motherboard via a ball grid array (BGA).
[0135] In order to provide persistent storage of information such as data, applications, one or more operating systems, etc., a mass storage device may also be coupled to the processor. In various embodiments, in order to achieve a thinner and lighter system design and to improve system responsiveness, the mass storage device may be implemented via an SSD. However, in other embodiments, the mass storage device may be implemented primarily using a hard disk drive (HDD), with a smaller amount of SSD storage devices acting as SSD caches to achieve non-volatile storage of context states and other such information during power-off events, so that fast power-on can occur when system activities are re-initiated. The flash memory device may be coupled to the processor, for example, via a serial peripheral interface (SPI). The flash memory device may provide non-volatile storage of system software, including basic input / output software (BIOS), and other firmware for the system.
[0136] In various embodiments, the system's mass storage device is implemented by an SSD alone or as a disk drive, optical drive, or other drive with an SSD cache. In some embodiments, the mass storage device is implemented as an SSD or HDD and a recovery (RST) cache module. In various implementations, the HDD provides storage between 320GB-4 terabytes (TB) and above, and the RST cache is implemented using an SSD with a capacity of 24GB-256GB. Note that this SSD cache can be configured as a single-level cache (SLC) or multi-level cache (MLC) option to provide an appropriate level of responsiveness. In the SSD-only option, the module can be accommodated in various locations, for example, in an mSATA or NGFF slot. As an example, the capacity range of the SSD is 120GB-1TB.
[0137] Various peripherals may be coupled to the processor via a low pin count (LPC) interconnect. In the illustrated embodiment, various components may be coupled via an embedded controller. These components may include a keyboard (e.g., coupled via a PS2 interface), a fan, and a thermal sensor. In some embodiments, a touchpad may also be coupled to the EC via a PS2 interface. Additionally, a security processor such as a Trusted Platform Module (TPM) (per the Trusted Computing Group (TCG) TPM Specification Version 1.2, dated October 2, 2003) may also be coupled to the processor via the LPC interconnect. However, it should be understood that the scope of the present disclosure is not limited in this regard, and that secure processing and storage of security information may be performed in another protected location (e.g., a static random access memory (SRAM) in a security coprocessor), or as an encrypted data blob that is decrypted only when protected by a secure enclave (SE) processor mode.
[0138] In a specific implementation, the peripheral ports may include a High Definition Media Interface (HDMI) connector (which may have different form factors, such as full-size, mini, or micro); one or more USB ports such as a full-size external port according to the Universal Serial Bus Revision 3.0 Specification (November 2008), at least one of which provides power to charge a USB device (e.g., a smartphone) when the system is in connected standby and plugged into an AC wall power source. In addition, one or more Thunderbolt 3 and 4 port connectors may be provided. TM Port. Other ports may include an externally accessible card reader, such as a full-size SD-XC card reader and / or a SIM card reader for WWAN (e.g., an 8-pin card reader). For audio, there may be a 3.5 mm jack with stereo and microphone capabilities (e.g., combo functionality), supporting jack detection (e.g., supporting only headphones using the microphone in the cover or headphones using the microphone in cable form). In some embodiments, the jack can be reassigned between stereo headphone and stereo microphone inputs. Additionally, a power jack may be provided to couple to an AC block.
[0139] The system can communicate with external devices in various ways, including wirelessly. In some instances, there are various wireless modules, each of which can correspond to a radio configured for a specific wireless communication protocol. One way to wirelessly communicate over short distances such as near fields can be via a near field communication (NFC) unit, which can communicate with the processor via SMBus in one embodiment. Note that via the NFC unit, devices that are very close to each other can communicate. For example, a user can enable the system to communicate with another (for example) portable device (for example, a user's smart phone) by fitting the two devices closely together, and enable the transmission of information such as identification information, payment information, data such as image data, etc. Wireless power transfer can also be performed using the NFC system.
[0140] Using the NFC unit described herein, a user can bump devices side-to-side and place devices side-to-side for near field coupling functions (e.g., near field communication and wireless power transfer (WPT)) by exploiting the coupling between the coils of one or more of such devices. More specifically, embodiments provide devices with strategically shaped and placed ferrite materials to provide better coupling of the coils. Each coil has an inductance associated with it, which can be selected in combination with the resistance, capacitance, and other characteristics of the system to achieve a common resonant frequency for the system.
[0141] In addition, the additional wireless unit may include other short-range wireless engines, including a WLAN unit and a Bluetooth unit. Using the WLAN unit, Wi-Fi according to the given Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard may be implemented. TM Communication, while via the Bluetooth unit, short-range communication via the Bluetooth protocol can occur. These units can communicate with the processor via, for example, a USB link or a Universal Asynchronous Receiver Transmitter (UART) link. Or these units can be based on the fast peripheral component interconnect TM (PCIe TM ) protocol is coupled to the processor via an interconnect, for example, according to PCI Express TM Specification Base Specification Version 3.0 (published on January 17, 2007), or another such protocol such as the Serial Data Input / Output (SDIO) standard. Of course, the actual physical connection between these peripheral devices (which may be configured on one or more plug-in cards) may be by adapting the NGFF connector to the motherboard.
[0142] Additionally, wireless wide area communications, for example according to a cellular or other wireless wide area protocol, may occur via the WWAN unit, which in turn may be coupled to a subscriber identity module (SIM). Additionally, a GPS module may also be present to enable the reception and use of location information. The WWAN unit and an integrated capture device such as a camera module may be connected via a given USB protocol (e.g., a USB 2.0 or 3.0 link, or a UART or I 2 C protocol). Again, the actual physical connection of these units can be via adapting the NGFF plug-in card to the NGFF connector configured on the motherboard.
[0143] In certain embodiments, the wireless functionality may be provided by, for example, WiFi TM 802.11ac solutions can be provided modularly (e.g., as plug-in cards that are backwards compatible with IEEE 802.11abgn) to support Windows 8 CS. The card can be configured in an internal slot (e.g., via an NGFF adapter). An additional module can provide Bluetooth capabilities (e.g., Bluetooth 4.0 with backward compatibility) and Wireless display capability. Additionally, NFC support may be provided via a separate device or multifunction device and may be placed, for example, on the right front portion of the chassis for easy access. Another additional module may be a WWAN device that may provide support for 3G / 4G / LTE and GPS. The module may be implemented in an internal (e.g., NGFF) slot. WiFi TM, Bluetooth, WWAN, NFC, and GPS provide integrated antenna support to enable wireless Gigabit (WiGig) specifications (July 2010) from WiFi TM Seamless transition to WWAN radio, Wireless Gigabit and vice versa.
[0144] As described above, an integrated camera may be incorporated into the cover. As an example, the camera may be a high-resolution camera, for example, having a resolution of at least 2.0 megapixels (MP) and extending to 6.0 MP or higher.
[0145] To provide audio input and output, the audio processor may be implemented via a digital signal processor (DSP), which may be coupled to the processor via a high-definition audio (HDA) link. Similarly, the DSP may communicate with an integrated coder / decoder (CODEC) and amplifier, which in turn may be coupled to output speakers that may be implemented within the chassis. Similarly, the amplifier and CODEC may be coupled to receive audio input from a microphone, which in an embodiment may be implemented via a dual array microphone (e.g., a digital microphone array) to provide high-quality audio input for voice-activated control of various operations within the system. It should also be noted that audio output may be provided from the amplifier / CODEC to a headphone jack.
[0146] In certain embodiments, the digital audio codec and amplifier are capable of driving a stereo headphone jack, a stereo microphone jack, an internal microphone array, and stereo speakers. In different implementations, the codec can be integrated into the audio DSP or coupled to the peripheral controller hub (PCH) via the HD audio path. In some implementations, in addition to the integrated stereo speakers, one or more subwoofers can be provided, and the speaker solution can support DTS audio.
[0147] In some embodiments, a processor may be powered by an external voltage regulator (VR) and multiple internal voltage regulators integrated inside the processor die, referred to as fully integrated voltage regulators (FIVRs). The use of multiple FIVRs in a processor enables the components to be grouped into separate power planes, so that power is regulated by the FIVRs and provided only to those components in the group. During power management, when the processor is placed in a particular low power state, a given power plane of one FIVR may be powered down or powered off, while another power plane of another FIVR remains active or fully powered.
[0148] In one embodiment, a sustain power plane may be used during some deep sleep states to power up I / O pins for several I / O signals, such as the interface between the processor and the PCH, the interface to the external VR, and the interface to the EC. The sustain power plane also powers the on-die voltage regulator that supports the on-board SRAM or other cache memory that stores the processor context during the sleep state. The sustain power plane is also used to power up the wake-up logic of the processor, which monitors and processes various wake-up source signals.
[0149] During power management, when other power planes are powered down or powered off when the processor enters a specific deep sleep state, the maintenance power plane remains powered on to support the components referenced above. However, this may result in unnecessary power consumption or dissipation when these components are not needed. To this end, an embodiment may provide a connected standby sleep state to use a dedicated power plane to maintain the processor context. In one embodiment, the connected standby sleep state facilitates processor wake-up using the resources of the PCH, which itself may be present in the package with the processor. In one embodiment, the connected standby sleep state facilitates maintaining the processor architecture functions in the PCH until the processor wakes up, which enables all unnecessary processor components that were previously powered on during the deep sleep state to be turned off, including turning off all clocks. In one embodiment, the PCH includes a timestamp counter (TSC) and a connected standby logic for controlling the system during the connected standby state. An integrated voltage regulator for maintaining the power plane may also reside on the PCH.
[0150] In an embodiment, during the connected standby state, the integrated voltage regulator may be used as a dedicated power plane that remains powered when the processor enters the deep sleep state and the connected standby state to support a dedicated cache memory that stores processor context (e.g., key state variables.) The key state may include state variables associated with the architecture, microarchitecture, debug state, and / or similar state variables associated with the processor.
[0151] The wake-up source signal from the EC can be sent to the PCH instead of the processor during the connected standby state, so that the PCH instead of the processor can manage the wake-up process. In addition, the TSC is maintained in the PCH to help maintain the processor architecture function.
[0152] Power control in a processor can result in enhanced power savings. For example, power can be dynamically allocated between cores, individual cores can change frequency / voltage, and multiple deep low power states can be provided to achieve very low power consumption. Additionally, dynamic control of cores or individual core sections can provide reduced power consumption by powering down components when they are not in use.
[0153] In different implementations, a security module such as a TPM can be integrated into the processor or can be a discrete device such as a TPM 2.0 device. With an integrated security module (also known as Platform Trust Technology (PTT)), the BIOS / firmware can be enabled to expose specific hardware features for specific security features, including secure instructions, secure boot, Anti-theft technology, Identity protection technology, Trusted Execution Technology (TXT) and Manageability engine technology and secure user interfaces such as secure keyboards and displays.
[0154] While the above concepts have 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.
[0155] A design can 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. Additionally, a circuit-level model with logic and / or transistor gates can be generated at certain stages 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 conventional 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 for masks used to manufacture integrated circuits. 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 device such as a disk can be a machine-readable medium for storing information sent via light waves or electric waves, which are modulated or otherwise generated to send such information. When an electric carrier wave indicating or carrying a code or design is sent, a new copy is made to the extent that a copy, buffering or retransmission of the electric signal is performed. Thus, a communications provider or network provider may store, at least temporarily, an article such as information encoded into a carrier wave that embodies the techniques of embodiments of the present disclosure on a tangible, machine-readable medium.
[0156] As used herein, a module refers to any combination of hardware, software, and / or firmware. As an example, a module includes hardware (e.g., a microcontroller) associated with a non-transitory medium for storing a code suitable for execution by a microcontroller. Therefore, in one embodiment, a reference to a module refers to hardware that is particularly configured to identify and / or execute a code to be maintained 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, as can be inferred, 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 module boundaries shown as separate typically vary and potentially overlap. For example, a first module 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 (e.g., programmable logic devices).
[0157] In one embodiment, the use of the phrase "for" or "configured for" refers to the arrangement, putting together, manufacturing, providing for sale, importing and / or designing of a device, hardware, logic or element to perform a specified or determined task. In this example, a device or element thereof that is not operating is still "configured for" to perform the described specified task if it is designed, coupled and / or interconnected to perform the specified task. As a purely illustrative example, a logic gate can provide 0 or 1 during operation. However, a logic gate that is "configured for" to provide an enable signal to a clock does not include every potential logic gate that can provide 1 or 0. Instead, a logic gate is a logic gate coupled in a way that a 1 or 0 output is used to enable the clock during operation. Note again that the use of the term "configured for" does not require operation, but focuses on the potential state of the device, hardware and / or element, where in the potential state, the device, hardware and / or element is designed to perform a specific task when the device, hardware and / or element is operating.
[0158] Furthermore, in one embodiment, the use of the phrases "capable / capable for" and / or "operable for" refers to a certain device, logic, hardware, and / or element that is designed in such a manner that enables the device, logic, hardware, and / or element to be used in a specified manner. As mentioned above, in one embodiment, the use of for, capable of, or operable for refers to a potential state of a device, logic, hardware, and / or element, wherein the device, logic, hardware, and / or element is not operating, but is designed in such a manner that enables the device to be used in a specified manner.
[0159] As used herein, value includes any known representation of a number, state, logic state or binary logic state. Generally, the use of logic level, logic value or logical value is also referred to as the use of 1 and 0, which simply represents a binary logic state. For example, 1 refers to a high logic level, and 0 refers to a low logic level. In one embodiment, a storage unit such as a transistor or a flash memory cell can hold a single logic value or multiple logic values. However, other representations of values in a computer system have been used. For example, decimal tens can also be represented as a binary value 1010 and a hexadecimal letter A. Therefore, value includes any representation of information that can be held in a computer system.
[0160] 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. In addition, in one embodiment, the terms reset and set refer to a default value or state and an updated value or state, respectively. For example, a default value potentially includes a high logic value (i.e., reset), while an updated value potentially includes a low logic value (i.e., set). Note that any combination of values can be used to represent any number of states.
[0161] The following examples relate to embodiments according to the present specification. Example 1 is an apparatus comprising: a port coupled to a link; a protocol circuit for implementing a layered protocol stack, wherein the protocol circuit is used to: determine a packet type of a packet; generate a packet, wherein the packet includes a packet header, the packet header includes a header base, and the header base includes a type field and a header content field, wherein the type field indicates the packet type, the header content field indicates which of a plurality of header content blocks is to be included in the packet header having the header base, wherein information in the fields of the header base indicates a total length of the packet; wherein the port is used to send the packet to another device on the link.
[0162] Example 2 includes the subject matter of Example 1, wherein each of the multiple header content blocks is used to identify different corresponding information associated with the packet, and the header content field indicates that the header does not include any of the multiple header content blocks, includes a subset of the multiple header content blocks, or includes all of the multiple header content blocks.
[0163] Example 3 includes the subject matter of Example 2, wherein the header content field uses one-hot encoding to identify which of the plurality of header content blocks is to be included in the packet.
[0164] Example 4 includes the subject matter of any of Examples 2-3, wherein the multiple header content blocks include: a first header content block for indicating a byte enable value and a process address space identifier (PASID); a second header content block for identifying segmentation information for the packet; a third header content block for identifying data encryption information for the packet; and a fourth header content block for vendor-defined information.
[0165] Example 5 includes the subject matter of any of Examples 1-4, wherein each of the plurality of header content blocks comprises an integer multiple of a double word (DW).
[0166] Example 6 includes the subject matter of Example 5, wherein a particular header content block among the plurality of header content blocks comprises a variable length header content block, and the length of the particular header content block is indicated in the header content field.
[0167] Example 7 includes the subject matter of Example 6, wherein the length of the particular header content block is selected from a 1DW length, a 2DW length, or a 4DW length.
[0168] Example 8 includes the subject matter of any of Examples 1-7, wherein the packet conforms to a Peripheral Component Interconnect Express (PCIe) based protocol.
[0169] Example 9 includes the subject matter of Example 8, wherein packets are used in PCIe flit mode, wherein a different PCIe packet format is used in non-flit mode.
[0170] Example 10 includes the subject matter of Example 9, wherein the non-flit mode packet format comprises a packet header format having a format field, a byte enable field, and a type field that is shorter than the type field of the flit mode packet header, and does not include a header content field.
[0171] Example 11 includes the subject matter of any of Examples 9-10, wherein the flit mode utilizes PAM encoding and the non-flit mode utilizes non-return-to-zero (NRZ) encoding.
[0172] Example 12 includes the subject matter of any of Examples 1-11, wherein the header base further includes a trailer size field for indicating whether a trailer is included in the packet.
[0173] Example 13 includes the subject matter of any of Examples 1-12, wherein, based on the type of packet, the length of the header base is 3 double words (DW) or 4 DW, and each of the plurality of header content blocks includes a corresponding length that is an integer multiple of 1 DW.
[0174] Example 14 is an apparatus comprising: a port comprising a receiver for receiving a packet from another device via a link, wherein the packet comprises a packet header, the packet header comprising a header base, and the header base comprising a type field and a header content field; and a protocol circuit for: parsing the packet based on the header base; determining a length of the packet based on at least the type field and the header content field; and identifying a specific header content block included in the header based on a value of the header content field.
[0175] Example 15 includes the subject matter of Example 14, wherein the link is according to a Peripheral Component Interconnect Express (PCIe) based protocol and utilizes pulse amplitude modulation (PAM) encoding.
[0176] Example 16 includes the subject matter of any of Examples 14-15, wherein the header content field includes a value for indicating that a subset of a plurality of defined header content blocks is included in the packet header, wherein the subset of header content blocks includes a particular header content block.
[0177] Example 17 includes the subject matter of Example 16, wherein, based on the type of packet, the length of the header base is 3 double words (DW) or 4 DW, and each of the plurality of header content blocks comprises a corresponding length that is an integer multiple of 1 DW.
[0178] Example 18 includes the subject matter of any of Examples 14-17, wherein the length is determined based on fields in the first DW of the header base, and the fields in the first DW of the header base include: a type field; a header content field; a tail size field; and a length field.
[0179] Example 19 includes the subject matter of Example 18, wherein the trailer size field is used to indicate whether the trailer is included in the packet.
[0180] Example 20 includes the subject matter of any of Examples 14-19, wherein each of the multiple header content blocks is used to identify different corresponding information associated with the packet, and the header content field indicates that the header does not include any of the multiple header content blocks, includes a subset of the multiple header content blocks, or includes all of the multiple header content blocks.
[0181] Example 21 includes the subject matter of Example 20, wherein the header content field uses one-hot encoding to identify which of the plurality of header content blocks is to be included in the packet.
[0182] Example 22 includes the subject matter of any of Examples 20-21, wherein the multiple header content blocks include: a first header content block for indicating a byte enable value and a process address space identifier (PASID); a second header content block for identifying segmentation information for the packet; a third header content block for identifying data encryption information for the packet; and a fourth header content block for vendor-defined information.
[0183] Example 23 includes the subject matter of any of Examples 14-22, wherein each of the plurality of header content blocks comprises an integer multiple of a double word (DW).
[0184] Example 24 includes the subject matter of Example 23, wherein a particular header content block among the plurality of header content blocks comprises a variable length header content block, and the length of the particular header content block is indicated in the header content field.
[0185] Example 25 includes the subject matter of Example 24, wherein the length of the particular header content block is selected from a 1DW length, a 2DW length, or a 4DW length.
[0186] Example 26 includes the subject matter of any of Examples 14-25, wherein the packet conforms to a Peripheral Component Interconnect Express (PCIe) based protocol.
[0187] Example 27 includes the subject matter of Example 26, wherein packets are used in PCIe flit mode, wherein a different PCIe packet format is used in non-flit mode.
[0188] Example 28 includes the subject matter of Example 27, wherein the non-flit mode packet format includes a packet header format having a format field, a byte enable field, and a type field that is shorter than the type field of the flit mode packet header, and does not include a header content field.
[0189] Example 29 includes the subject matter of any of Examples 27-28, wherein the flit mode utilizes PAM encoding and the non-flit mode utilizes non-return-to-zero (NRZ) encoding.
[0190] Example 30 is a system comprising: a first device; and a second device coupled to the first device via a link, wherein the second device comprises a protocol circuit for: determining a packet type of a packet to be sent on the link; generating a packet, wherein the packet comprises a packet header, the packet header comprising a header base, and the header base comprises a type field and a header content field, wherein the type field indicates the packet type, the header content field indicates which of a plurality of different header content blocks is to be included in a packet header having the header base, information in the field of the header base indicates a total length of the packet, and the second device is used to send the packet to the first device on the link.
[0191] Example 31 includes the subject matter of Example 30, wherein the link is according to a Peripheral Component Interconnect Express (PCIe) based protocol and utilizes pulse amplitude modulation (PAM) encoding.
[0192] Example 32 includes the subject matter of Example 31, wherein the first device and the second device include logic for communicating over the link in a flit mode or a non-flit mode, the flit mode utilizing PAM encoding, the non-flit mode utilizing non-return-to-zero (NRZ) encoding, the packet being based on the flit mode packet format, and using a different packet format in the non-flit mode.
[0193] Example 33 includes the subject matter of Example 32, wherein the non-flit mode packet format includes a packet header format having a format field, a byte enable field, and a type field that is shorter than the type field of the flit mode packet header, and does not include a header content field.
[0194] Example 34 includes the subject matter of any of Examples 30-33, wherein the second device comprises a processor and the first device comprises one of a graphics card or a solid state drive.
[0195] Example 35 includes the subject matter of any of Examples 30-34, wherein each of a plurality of header content blocks is used to identify different corresponding information associated with the packet, and the header content field indicates that the header includes none of the plurality of header content blocks, includes a subset of the plurality of header content blocks, or includes all of the plurality of header content blocks.
[0196] Example 36 includes the subject matter of Example 35, wherein the header content field uses one-hot encoding to identify which of the plurality of header content blocks is to be included in the packet.
[0197] Example 37 includes the subject matter of any of Examples 35-36, wherein the multiple header content blocks include: a first header content block for indicating a byte enable value and a process address space identifier (PASID); a second header content block for identifying segmentation information for the packet; a third header content block for identifying data encryption information for the packet; and a fourth header content block for vendor-defined information.
[0198] Example 38 includes the subject matter of any of Examples 30-37, wherein each of the plurality of header content blocks comprises an integer multiple of a double word (DW).
[0199] Example 39 includes the subject matter of Example 38, wherein a particular header content block among the plurality of header content blocks comprises a variable length header content block, and the length of the particular header content block is indicated in the header content field.
[0200] Example 40 includes the subject matter of Example 39, wherein the length of the particular header content block is selected from a 1DW length, a 2DW length, or a 4DW length.
[0201] Example 41 includes the subject matter of any of Examples 30-40, wherein the header base further includes a trailer size field for indicating whether a trailer is included in the packet.
[0202] Example 42 includes the subject matter of any of Examples 30-41, wherein, based on the type of packet, the length of the header base is 3 double words (DW) or 4 DW, and each of the multiple header content blocks includes a corresponding length that is an integer multiple of 1 DW.
[0203] Example 43 is a method comprising: determining a packet type of a packet to be sent from a first device to a second device on a link; generating a packet at the first device, wherein the packet includes a packet header, the packet header including a header base, and the header base includes a type field and a header content field, wherein the type field indicates the packet type, and the header content field indicates which of a plurality of header content blocks is to be included in the packet header having the header base, wherein information in the fields of the header base indicates a total length of the packet; and sending the packet to the second device on the link.
[0204] Example 44 includes the subject matter of Example 43, wherein each of the multiple header content blocks is used to identify different corresponding information associated with the packet, and the header content field indicates that the header does not include any of the multiple header content blocks, includes a subset of the multiple header content blocks, or includes all of the multiple header content blocks.
[0205] Example 45 includes the subject matter of Example 44, wherein the header content field uses one-hot encoding to identify which of the plurality of header content blocks is to be included in the packet.
[0206] Example 46 includes the subject matter of any of Examples 44-45, wherein the multiple header content blocks include: a first header content block for indicating a byte enable value and a process address space identifier (PASID); a second header content block for identifying segmentation information for the packet; a third header content block for identifying data encryption information for the packet; and a fourth header content block for vendor-defined information.
[0207] Example 47 includes the subject matter of any of Examples 43-46, wherein each of the plurality of header content blocks comprises an integer multiple of a double word (DW).
[0208] Example 48 includes the subject matter of Example 47, wherein a particular header content block among the plurality of header content blocks comprises a variable length header content block, and the length of the particular header content block is indicated in the header content field.
[0209] Example 49 includes the subject matter of Example 48, wherein the length of the particular header content block is selected from a 1DW length, a 2DW length, or a 4DW length.
[0210] Example 50 includes the subject matter of any of Examples 43-49, wherein the packet conforms to a Peripheral Component Interconnect Express (PCIe) based protocol.
[0211] Example 51 includes the subject matter of Example 50, wherein packets are used in PCIe flit mode, wherein a different PCIe packet format is used in non-flit mode.
[0212] Example 52 includes the subject matter of Example 51, wherein the non-flit mode packet format includes a packet header format having a format field, a byte enable field, and a type field that is shorter than the type field of the flit mode packet header, and does not include a header content field.
[0213] Example 53 includes the subject matter of any of Examples 50-52, wherein the flit mode utilizes PAM encoding and the non-flit mode utilizes non-return-to-zero (NRZ) encoding.
[0214] Example 54 includes the subject matter of any of Examples 43-53, wherein the header base further includes a trailer size field for indicating whether a trailer is included in the packet.
[0215] Example 55 includes the subject matter of any of Examples 43-54, wherein, based on the type of packet, the length of the header base is 3 double words (DW) or 4 DW, and each of the multiple header content blocks includes a corresponding length that is an integer multiple of 1 DW.
[0216] Example 56 is a system comprising modules for performing the method of any of Examples 43-55.
[0217] Example 57 is a method comprising: receiving a packet from another device via a link at a port of a first device, wherein the packet includes a packet header, the packet header including a header base, and the header base including a type field and a header content field; and parsing the packet based on the header base; determining a length of the packet based on at least the type field and the header content field; and identifying a specific header content block included in the header based on the value of the header content field.
[0218] Example 58 includes the subject matter of Example 57, wherein the link is according to a Peripheral Component Interconnect Express (PCIe) based protocol and utilizes pulse amplitude modulation (PAM) encoding.
[0219] Example 59 includes the subject matter of any of Examples 57-58, wherein the header content field includes a value for indicating that a subset of multiple defined header content blocks is included in the packet header, wherein the subset of header content blocks includes a specific header content block.
[0220] Example 60 includes the subject matter of Example 59, wherein, based on the type of packet, the length of the header base is 3 double words (DW) or 4 DW, and each of the plurality of header content blocks comprises a corresponding length that is an integer multiple of 1 DW.
[0221] Example 61 includes the subject matter of any of Examples 57-60, wherein the length is determined based on fields in the first DW of the header base, and the fields in the first DW of the header base include: a type field; a header content field; a tail size field; and a length field.
[0222] Example 62 includes the subject matter of Example 61, wherein the trailer size field is used to indicate whether the trailer is included in the packet.
[0223] Example 63 includes the subject matter of any of Examples 57-62, wherein each of a plurality of header content blocks is used to identify different corresponding information associated with the packet, and the header content field indicates that the header includes none of the plurality of header content blocks, includes a subset of the plurality of header content blocks, or includes all of the plurality of header content blocks.
[0224] Example 64 includes the subject matter of Example 63, wherein the header content field uses one-hot encoding to identify which of the plurality of header content blocks is to be included in the packet.
[0225] Example 65 includes the subject matter of any of Examples 63-64, wherein the multiple header content blocks include: a first header content block for indicating a byte enable value and a process address space identifier (PASID); a second header content block for identifying segmentation information for the packet; a third header content block for identifying data encryption information for the packet; and a fourth header content block for vendor-defined information.
[0226] Example 66 includes the subject matter of any of Examples 57-65, wherein each of the plurality of header content blocks comprises an integer multiple of a double word (DW).
[0227] Example 67 includes the subject matter of Example 66, wherein a particular header content block among the plurality of header content blocks comprises a variable length header content block, and the length of the particular header content block is indicated in the header content field.
[0228] Example 68 includes the subject matter of Example 67, wherein the length of the particular header content block is selected from a 1DW length, a 2DW length, or a 4DW length.
[0229] Example 69 includes the subject matter of any of Examples 57-68, wherein the packet complies with a Peripheral Component Interconnect Express (PCIe) based protocol.
[0230] Example 70 includes the subject matter of Example 69, wherein packets are used in PCIe flit mode, wherein a different PCIe packet format is used in non-flit mode.
[0231] Example 71 includes the subject matter of Example 70, wherein the non-flit mode packet format includes a packet header format having a format field, a byte enable field, and a type field that is shorter than the type field of the flit mode packet header, and does not include a header content field.
[0232] Example 72 includes the subject matter of any of Examples 70-71, wherein the flit mode utilizes PAM encoding and the non-flit mode utilizes non-return-to-zero (NRZ) encoding.
[0233] Example 73 is a system comprising modules for performing the method of any of Examples 57-72.
[0234] Embodiments of the methods, hardware, software, firmware, or code described above may be implemented via instructions or code stored on a machine-accessible, machine-readable, computer-accessible, or computer-readable medium that is executable 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) (e.g., 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 holding information received from temporary (propagating) signals (e.g., carrier waves, infrared signals, digital signals) (which are used to distinguish non-transitory media from which information can be received); and the like.
[0235] Instructions for programming logic to perform embodiments of the present disclosure may be stored in a memory (e.g., DRAM, cache, flash memory, or other storage device) in the system. 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 compact disk 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 device for transmitting information via an electrical, optical, acoustic, or other form of propagation signal (e.g., a carrier wave, an infrared signal, a digital signal, etc.) through the Internet. 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.
[0236] References throughout this specification to "one embodiment" or "an embodiment" indicate 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 throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0237] In the foregoing description, detailed description has 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. The description and drawings are therefore to be regarded as illustrative rather than restrictive. Furthermore, 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 unique embodiments as well as potentially to the same embodiment.
Claims
1. A device for assembling a packet, the device comprising: a port coupled to the link; The ports include: A protocol logic unit for implementing a layered protocol stack, wherein the protocol logic unit includes a transaction layer, a data link layer and a physical layer, Wherein, the protocol logic unit is used for: Assemble transaction layer packets TLP in the flit mode of the protocol based on Peripheral Component Interconnect Express PCIe, The TLP includes a header, wherein the header includes a type field for indicating the type of the TLP and an orthogonal header content OHC field, The OHC field is encoded to indicate the presence of a specific OHC in the header, Wherein, the header also includes the specific OHC, Wherein, the port is used to send the TLP to another device on the link.
2. The device according to claim 1, wherein: The specific OHC follows the header base in the header.
3. The device according to claim 1 or 2, wherein: The specific OHC is selected from a defined set of OHC blocks, and each OHC block in the set of OHC blocks has a defined format.
4. The device according to claim 3, wherein: The OHC block set includes an OHC-A block, an OHC-B block, an OHC-C block and at least one OHC-E block.
5. The device according to claim 4, wherein: When OHC blocks are to be included in the specific OHC, the OHC blocks are to be ordered as follows: an OHC-A block precedes an OHC-B block, an OHC-B block precedes an OHC-C block, and an OHC-C block precedes an OHC-E block.
6. The device according to claim 4, wherein: The OHC-A block includes a process address space identifier PASID field.
7. The device according to claim 3, wherein: The OHC block set includes three versions of an OHC-E block, and the three versions of the OHC-E block have three different lengths.
8. The device according to claim 7, wherein: The three versions of the OHC-E block include an OHC-E1 block having a length of one double word DW, an OHC-E2 block having a length of two DWs, and an OHC-E4 block having a length of four DWs.
9. The device according to claim 3, wherein: The contents of the OHC block vary based on the TLP type identified in the type field.
10. The device according to claim 1, wherein: The PCIe-based protocol includes PCIe Gen6.
11. The device according to claim 1, wherein: The protocol logic unit comprises a logic unit implemented in a hardware circuit.
12. The device according to claim 1, wherein: The protocol logic unit comprises a logic unit implemented at least partially in software.
13. A method for assembling a packet, the method comprising: Assemble transaction layer packets TLP in the flit mode of the protocol based on Peripheral Component Interconnect Express PCIe, The TLP includes a header, and the first double word DW of the header includes a type field for indicating the type of the TLP and an orthogonal header content OHC field, The OHC field is encoded to indicate the presence of one or more OHC blocks in the header, wherein the header further comprises the one or more OHC blocks; and The TLP is sent to another device over a link compatible with the PCIe-based protocol.
14. The method according to claim 13, wherein: Each of the OHC blocks includes an integer multiple of a DW.
15. The method according to claim 13 or 14, wherein: A different PCIe packet format is used in non-flit mode.
16. The method according to claim 13, wherein: The packet format of the non-flit mode includes a packet header format having a format field, a byte enable field, and a type field that is shorter than the type field of the flit mode packet header, and does not include the OHC field.
17. The method according to claim 13, wherein: The header also includes a tail size field, which is used to indicate whether a tail is included in the TLP.
18. A system for assembling packets, comprising means for performing the method of any one of claims 13 to 17.
19. A system for assembling packets, the system comprising: First device; as well as a second device, the second device being coupled to the first device via a link, The second device includes a protocol logic unit, and the protocol logic unit is used to: Receiving a transaction layer packet TLP in a flit mode of a protocol based on a peripheral component interconnect express PCIe, Wherein, the TLP includes a header, The header includes a type field for indicating a type of the TLP and an orthogonal header content (OHC) field, the OHC field being encoded to indicate the presence of a specific OHC in the header, wherein the header also includes the specific OHC; and The total length of the TLP is determined based on the fields of the header basis.
20. The system of claim 19, wherein: The link is based on the PCIe based protocol and utilizes Pulse Amplitude Modulation (PAM) encoding.
21. A system according to any one of claims 19 to 20, wherein: The first device and the second device include logic for communicating over the link in the flit mode or in a non-flit mode, the non-flit mode utilizing non-return-to-zero (NRZ) encoding and using a different packet format in the non-flit mode.
22. The system of claim 19, wherein: The header base also includes: Trailing size field; Length field; The tag field; and Address field.
23. The system of claim 19, wherein: The second device includes a processor and the first device includes one of a graphics card or a solid state drive.
24. The system of claim 19, wherein: The protocol logic unit also uses the data in the TLP in transactions involving memory.
25. The system of claim 19, wherein: The protocol logic unit comprises a logic unit implemented in a hardware circuit.
26. The system of claim 19, wherein: The protocol logic unit comprises a logic unit implemented at least partially in software.
