PHY recalibration using the message bus interface
By improving the PHY/MAC interface design and utilizing the message bus interface mechanism, control and status signals are mapped into registers, solving the communication bottleneck and energy efficiency problems of interconnect architecture under high-speed requirements, and achieving more efficient communication and energy use.
Patent Information
- Application Number
- CN202011581788.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-06-19
- Filing Date
- 2020-02-07
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-02-07
AI Technical Summary
Existing interconnect architectures struggle to meet the high-speed communication needs between processors and other devices in computing systems, leading to communication bottlenecks and energy efficiency issues.
An improved PHY/MAC interface design is adopted, which uses a message bus interface mechanism to map control and status signals into registers, reducing the number of dedicated pins. Control and status signal transmission is achieved through register access, supporting multiple interconnection protocols and performing PHY recalibration when necessary.
It improves the communication and energy efficiency of the interconnect architecture, reduces pin count, supports multiple interconnect protocols, adapts to future protocol expansion needs, and enhances system scalability and availability.
Smart Images

Figure CN112597089B_ABST
Abstract
Description
[0001] This application is a divisional application of the patent application with the same name with application number 202010082690.5 filed on February 7, 2020.
[0002] This application claims the benefit of U.S. Provisional Patent Application Serial No. 62 / 802,946, filed on February 8, 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] Figures 5A-5C An example implementation of a PHY / MAC interface is shown.
[0010] Figure 6A representation of the PIPE PHY / MAC interface is shown.
[0011] Figure 7 A representation of a portion of example status and control registers of an example PHY / MAC interface is shown.
[0012] Figure 8 A signaling diagram is shown illustrating example transactions involving registers of an example PHY / MAC interface.
[0013] Fig.9A A message bus interface using an example PHY / MAC interface is shown to perform a controller initiated recalibration.
[0014] Fig. 9B A message bus interface using an example PHY / MAC interface is shown to perform a physical layer initiated recalibration.
[0015] Figures 10A-10B is a flow chart illustrating an example technique involving an example PHY / MAC interface.
[0016] Fig.11 An embodiment of a block diagram of a computing system including a multi-core processor is shown.
[0017] Fig.12 Another embodiment of a block diagram of a computing system is shown. DETAILED DESCRIPTION
[0018] 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 to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that these specific details are not necessarily employed to practice the present invention. 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-form 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 invention.
[0019] Although the following embodiments may be described with reference to energy conservation and energy efficiency in a specific integrated circuit such as a computing platform or a 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, which can also benefit from better energy efficiency and energy conservation. For example, the disclosed embodiments are not limited to desktop computer systems or UltrabooksTM. And can also be used for 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 centers, 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.
[0020] 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 can sometimes 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 invention described herein.
[0021] 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.
[0022] 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.
[0023] The system memory 110 includes any memory device, such as a random access memory (RAM), non-volatile (NV) memory, or other memory accessible by devices in the system 100. The system memory 110 is coupled to the controller hub 115 via 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.
[0024] 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.
[0025] 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.
[0026] 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.
[0027] 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.
[0028] 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 1The 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.
[0029] 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.
[0030] Transaction Layer
[0031] 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.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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.
[0036] 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.
[0037] 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.
[0038] 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.
[0039] 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.
[0040] Link Layer
[0041] 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.
[0042] Physical Layer
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] In some implementations, the data link layer or logical physical layer may include a controller or embody a media access control (MAC) layer. In some implementations, the physical (PHY) layer (e.g., its logical and / or physical structure) may be provided as a separate intellectual property (IP) block or computing block, which may be coupled with other computing blocks that provide other parts of the hardware logic for implementing the interconnection stack. In order to implement such an implementation, an interface may be provided to connect the computing blocks while still supporting a specific interconnection protocol (or potentially multiple different interconnection protocols) on the resulting interconnection (e.g., provided by the interconnected computing blocks). As an example, a PHY interface (PIPE) for a fast PCI architecture has been developed to define such an interface. In fact, PIPE has been extended to implement an interface between controllers (also referred to herein as "media access controllers" or MACs), and now, PHY is used for a variety of different interconnect technologies, including not only PCIe, but also SATA, USB, DisplayPort, Thunderbolt, and aggregated IO architectures. Therefore, PIPE is sometimes also referred to alternatively as a PHY interface for fast PCI, SATA, DisplayPort, and aggregated IO architectures. PIPE is intended to enable the development of functionally equivalent fast PCI, SATA, and USB PHYs. Thus, the PHY can be delivered as a discrete integrated chip package (IC) or as a macro unit included in an ASIC design or other system. The specification defines a set of PHY functions that must be incorporated into a PIPE-compliant PHY. PIPE is defined to provide a standard interface between such PHYs and the media access layer (MAC) and / or link layer ASICs. A standardized PHY interface (e.g., PIPE) can provide an interface that ASIC and endpoint device vendors can develop.
[0050] Figures 5A-5C 5 is a simplified block diagram 500a-500c showing a defined interface 505 between a PHY layer and a MAC layer (e.g., implemented as two or more different computing blocks (e.g., integrated circuits (ICs), macro cells, intellectual property (IP) blocks, etc.)). In some implementations, the interface can be implemented according to a PIPE-based protocol. The interface can help define partitioning of the physical layer and other layers of the system according to the corresponding architecture. For example, Figure 5A shows the division of the PCIe using interface, Figure 5B shows the division of the USB using the interface, and Figure 5C Partitioning of IO using aggregation of interfaces is shown, among other examples.
[0051] exist Figures 5A-5CIn an example, data sent or received via physical channel 510 is processed by PHY layer logic. In an example (e.g., in a PCIe architecture (e.g., Figure 5A ), the physical layer may be considered to include both the physical medium attachment (PMA) layer 515, the physical coding sublayer (PCS) 520, and the medium access layer (MAC) 525. In other examples (e.g., the USB architecture (e.g., Figure 5B ), the physical layer may be defined as including a PMA layer 515 and a PCS 520, wherein the MAC implements at least a portion of the link layer of the architecture. In yet another example (e.g., a converged IO architecture (e.g., Figure 5C As shown in FIG. 5 ), the PMA layer 515 and the PCS 520 implement the physical layer, while the MAC implements the logical layer of the architecture, as well as other example divisions of the layers.
[0052] In general, the example PMA 515 may include an analog buffer, a serializer / deserializer (SERDES), an interface (to the channel 510) (e.g., a 10-bit or 130-bit interface), and other example logic and elements. The PCS 520 may include encoding / decoding logic (e.g., depending on the architecture, 8b / 10b encoding / decoding, 64b / 66b encoding / decoding, 128b / 130b encoding / decoding, 128b / 132b encoding / decoding, etc.), elastic buffers, and receiver detection logic, and other example logic and elements. In an example, the MAC layer 525 may include state machines for link training, flow control, elastic buffering, channel-to-channel anti-skew and status, scrambling and descrambling logic, and other example logic and elements. The MAC layer 525 may provide or implement an interface 530 between the PHY layer (and / or link layer, depending on the architecture) and the higher protocol layers of the architecture (e.g., data link layer, transaction layer, transport layer, etc.).
[0053] In some implementations, the PIPE-based PHY / MAC interface 505 can include additional features (e.g., while allowing the interface to be backward compatible with earlier versions of PIPE). For example, to address the issue of increased signal counts in some implementations, a message bus interface can be employed in some implementations of the interface 505. The message bus interface can map legacy PIPE signals without strict timing requirements, so that the associated functionality of the legacy PIPE signals can be accessed via the message bus interface (e.g., implemented on the control and status pins of the interface) rather than implementing dedicated signals. In addition, in some instances, to further facilitate the design of a PHY implemented for generation purposes of a hard IP block and to provide the MAC layer with greater freedom for latency optimization, a SerDes architecture can be provided to simplify the PHY and further transfer protocol-specific logic to the block that implements the MAC layer, as well as other example features and enhancements.
[0054] In some implementations, such as the PIPE message bus interface described above, which may be implemented as a defined interface between a controller and a PHY, an attempt may be made to define a standardized interface between the controller and the PHY (including the definition of control and status signals) in conjunction with management of the interface and support for one or more interconnect protocols on the link, the standardized interface being used to implement transmissions between a computational block of the controller and the PHY. For example, PIPE defines an interface between a MAC and a PHY, which may be implemented using dedicated control and status signal lines for each operation involving communication between the MAC and the PHY. As the number of PIPE signals has grown over time due to the evolution of each of the protocol specifications supported by PIPE (e.g., PCIe, SATA, USB) (and as additional protocols are added for support through PIPE (e.g., USB Type-C, Displayport, Thunderbolt, etc.), the use of dedicated signal lines to implement control and status signaling in PIPE may result in a problematic increase in the pin count required for the PIPE interface. In fact, the ever-increasing pin count may threaten the future scalability and usability of interfaces such as PIPE, among other example issues.
[0055] For example, the message bus interface utilized in some of the implementations discussed herein can help solve at least some of the above problems. For example, the message bus interface can utilize a register-based state and control interface. In some example interfaces, a set of data path signals and control and state signals can be defined. For example, assuming that a PIPE interface has defined data path signals and control and status signals for each Rx / Tx channel pair (and other interfaces may additionally support configurable pairs where the pairs are configured as {Rx, Tx}, {Rx, Rx}, {Tx, Tx}, or {Tx, Rx}, etc.), in one embodiment, a low pin count version of a conventional PIPE interface may be implemented using a message bus interface, for example, by providing an interface that maintains dedicated lines for data path signals, asynchronous control and status signals, and delay sensitive control and status signals, but that maps the remaining control and status signals defined for the interface to registers (e.g., 8-bit, 16-bit, or 32-bit registers) that may be accessed via a small number of additional pins / wires (e.g., a message bus interface) such as lines that facilitate 4-bit, 8-bit, etc. data transfer in each direction. To support messaging of these control and status signals using registers (also referred to herein as "message bus registers"), an address space (e.g., 12 address bits) may be provided into which the defined registers are mapped. In some implementations, the address space may be designed to be intentionally large to accommodate an extension of a set of operations, control, and status signals that are to use these defined registers. This allows sufficient headroom for future extensions, as well as room to accommodate vendor-specific registers that the PHY design may use to expose useful status information to the controller or to provide additional configurability.
[0056] Continuing with the above example, in order to facilitate the messaging of these control and status signals using registers, read, write, complete and other commands can be defined for accessing registers. A mechanism is included for grouping multiple writes together so that these writes take effect in the same cycle. A mechanism is also included for distinguishing signals of a 1-cycle effective type from signals that maintain a constant value. Transactions involving these registers can include commands, addresses and data or any subset of these three elements, and these transactions can be transmitted through a small group of lines in a time-multiplexed manner (for example, within multiple unit intervals or clock cycles). A framing scheme can also be defined in conjunction with the interface, through which the corresponding computing block can identify the boundaries (for example, start and end) of potentially multiple sequential (or simultaneous) register transactions, each transaction is used to transmit one or more control or status signals, rather than driving these same signals through dedicated lines as is done in a traditional PIPE interface, as well as other example features. Therefore, the message bus interface can offload some signals of the MAC-PHY interface (e.g., PIPE) to dedicated registers and thereby implement more interface operations in the future as the protocol supported by the interface (e.g., PIPE) evolves to add new features while saving the interface to avoid further increase in interface signal count.
[0057] Go to Figure 6 , shows a simplified block diagram 600 of an example PIPE interface that utilizes a register-based, low pin count PIPE control and status interface (e.g., a message bus interface). The PIPE interface can couple a MAC computation block 605 with a PHY computation block 610, and at least a subset of control and status signals typically defined for the interface can be classified as asynchronous signals, timing critical signals, and conventional control and status signals, among other example classifications. In this example, dedicated lines can be assigned to asynchronous signals and timing critical control and status signals on the improved interface, such as Figure 6 . However, conventional control and status signals can be mapped to and replaced by the bits (e.g., 615, 620) of the registers, which are accessed by a small set of lines (e.g., four or eight bits), as shown in this example. Register commands (e.g., read and write), register addresses, and register data can be sent across the small serial interface in a time-multiplexed manner so that values are written to the message bus registers. In addition, the signals of the interface related to the data path can be separated from the control and status signals, and can actually be identical or very similar to those signals provided in an implementation (e.g., an implementation that does not support message bus signaling) in which dedicated pins are used to implement all control and status signals.
[0058] In one example implementation of a message bus register, a set of PIPE control and status signals may be mapped into an 8-bit PIPE register. In some cases, (e.g., in a PIPE-based specification) only a subset of several control and status signals defined for an interface may be mapped to register bits in a computation block, whereas in fact, all control and status signals of a defined link layer-physical layer interface (e.g., PIPE) may potentially be mapped to register bits (e.g., except for asynchronous signals and timing-critical control signals, which may still be implemented over dedicated lines), as well as other examples. In addition, while some implementations may use 8-bit registers to implement message bus registers, other potential register widths (including 16-bit or 32-bit registers, etc.) may also be readily used. In one example implementation, MAC→PHY control and status signals may be mapped to a first address space corresponding to registers of a PHY computation block, while PHY→MAC control and status signals may be mapped to a second address space corresponding to registers of a MAC computation block. In some cases, the first address space and the second address space may utilize independent address spaces, such that the same address may potentially be used in each of the PHY's registers and the MAC's registers. In other examples, a common or shared address space may be utilized so that the first address space and the second address space do not overlap, wherein each register in the PHY and MAC has a unique address. In one example, the MAC→PHY control and status signals may be mapped into an address space starting at address zero, while the PHY→MAC control and status signals may be mapped into another address space starting at address zero. As an example, a 12-bit address space may be implemented, which may be considered large enough to accommodate the currently defined PIPE signal and have sufficient headroom for future signal growth, however, other address space sizes may be selected in other examples. A large address space may be utilized in conjunction with registers to implement space for dedicated address ranges for vendor-specific registers that may be used to expose useful PHY status information and / or provide additional configurability. In other examples, depending on the latency requirements for sending a full command plus address bits across a serial interface, address spaces of different sizes that may be accessed via different commands may be provided, as well as other example implementations.
[0059] Bits within a set of status / control registers of an example PHY / MAC interface may be mapped to defined signals in a set of signals defined or extended in the PHY / MAC interface (e.g., signals defined in the PIPE specification). In one implementation, when a "1" is written to a bit mapped to a particular signal, the value is interpreted as being the same as receiving the particular signal in an implementation of the interface that provides a dedicated line for each of the signals. As an example, a first computational block may determine that a TxDetect state should be entered, and may message the TxDetect state to another computational block by preparing a write (which write will be sent over a subset of the pins of the interface, which subset is designated as the status and control interface of the PHY / MAC interface), which in this particular example results in a "1" being written to the corresponding bit (e.g., 12'h000[6]) to indicate the signal "TxDetectRx / Loopback". The receiving second computational block may detect that a "1" has been written to bit 6 of the register at address 12'h000, and interpret the value as receipt of a PIPE TxDetectRx / Loopback signal, among other potential examples.
[0060]
[0061]
[0062] Table 1: Examples of register commands
[0063] Table 1 provides some examples of register commands that are used to access registers maintained in conjunction with control and status signals defined for a MAC-PHY interface (e.g., PIPE). For example, a no operation (or "NOP") command may be used to indicate that no operation is being requested (e.g., used during an idle state). A write operation may be used to replace the transmission of one or more of a set of control and status signals defined for an interface. For example, a write may write a value to a specific bit in a specific register that is mapped to a specific one of the set of control and status signals. The value of the specific bit may be interpreted as the receipt of a specific signal (even if the specific signal (e.g., because a dedicated line has been omitted in an improved interface design) is not actually sent).
[0064] In some instances, the interface can provide a combination of signals to be sent simultaneously in the group of control and status signals. For example, some PIPE signals may need to be aligned so that their values take effect during the same cycle. In the conventional version of the interface, this combination of signals can be sent simultaneously on their corresponding lines. In the improved implementation based on registers, it may be infeasible to write to each of the register bits corresponding to the combination of signals at the same time (for example, these bits can be spread across multiple registers with multiple different addresses). In one example, the write command can include submitted writes and unsubmitted writes. For example, unsubmitted commands can be used to temporarily write or queue writes to the identified register address corresponding to the command. Unsubmitted writes can be kept until the next submitted write is received, at which time the value requested in the unsubmitted write in the middle (for example, since the last submitted write) is written to its corresponding register bit together with the write of the register requested in the submitted write. For example, uncommitted writes may be written to a buffer (which is flushed upon a committed write) or shadow register to store the write until the next committed write is received and the status and control registers are updated, while committed writes are written directly to the status and control registers. In this manner, one or more uncommitted writes may be requested, followed by a committed write, to write values to multiple different registers and bits simultaneously in order to achieve alignment of the signals mapped to those bits.
[0065] As an example, in an implementation with 8-bit registers, 24 different signals (from a defined interface) may be mapped across three or more registers (e.g., registers A, B, and C). In one example, three signals mapped to three corresponding bits in register A may need to be aligned with another signal mapped to corresponding bits in register B, and two signals are mapped to two corresponding bits in register C. In this particular illustrative example, to simulate the alignment of these signals, a value may be written to the three bits in register A in a first write_uncommitted command, and then a value may be written to the bits in register B in a second write_uncommitted command. Thereafter, a write_commit command may be utilized to not only write the value of the two bits in register C, but also to "commit" and cause the uncommitted writes to registers A and B to be performed simultaneously with the write to register C, and thereby cause all values associated with the writes to registers A, B, and C to take effect in the same cycle.
[0066] Additional operations may be provided in conjunction with the status and control registers of the improved interface. For example, a read command and a read complete command may be provided to access the value written to a particular status register. For example, an acknowledgement (ACK) command may also be defined to indicate confirmation that a committed write or uncommitted write (i.e., to a requesting computation block) has been successfully performed at a particular register.
[0067] Some implementations may omit support for the write_uncommitted command. For example, in one implementation, registers of a particular computational block may be defined in such a way that the widths and signal assignments are such that signals that are understood to require alignment are mapped to bits in the same register or adjacent registers, making it possible to write to each of the corresponding bits in the register in a single committed write. Other potentially useful commands may include (but are not limited to) writes that span multiple adjacent registers, as well as other examples.
[0068] In one example implementation of a message bus, a specification for a PIPE-based interface may define a 12-bit address space to enable a message bus interface, where the MAC and PHY each implement a unique 12-bit address space. For example, Figure 7 A block diagram illustrating an example address space 700 is shown. Such an address space may be used to host message bus registers associated with various interface operations (e.g., PIPE operations). For example, in some implementations of a PIPE message bus, the MAC and PHY may access specific bits in registers to initiate an operation, participate in a handshake, or indicate status. The MAC initiates a request on the message bus interface to access message bus registers hosted in the PHY address space. Similarly, the PHY initiates a request on the message bus interface to access similar registers hosted in the MAC address space. Figure 7As shown in the representation of , in some examples, each 12-bit address space (e.g., 700) can be divided into four main areas: a receiver address area 705, a transmitter address area 710, a common address area 715, and a vendor-specific address area 720. For example, the receiver address area 705 can be used to configure and report status related to receiver operation (e.g., a region spanning 1024KB from 12'h000 to 12'h3FF, and supporting up to two receivers, with 512KB allocated to each receiver). The transmitter address area 710 can be used to configure and report status related to transmitter operation (e.g., a region spanning 1024KB from 12'h400 to 12'h7FF, and supporting up to two transmitters TX1 and TX2, with a 512KB region associated with each transmitter). The common address region 715 can host registers related to both receiver and transmitter operations (e.g., a region spanning 1024KB from 12'h800 to 12'hBFF, and supporting up to two sets of Rx / Tx pairs, with 512KB allocated to common registers for each pair). The vendor-specific address region 720 can be implemented as a region of 1024KB from 12'hC00 to 12'hFFF, and can enable individual vendors to define registers as needed outside of those defined in a specific version of the corresponding PIPE-based specification, as well as other example implementations. As noted above, the address space can be defined to support configurable Rx / Tx pairs. It can be assumed that up to two differential pairs are operational at any one time. Supported combinations are one Rx and one Tx pair, two Tx pairs, or two Rx pairs, as well as other example implementations.
[0069] Tables 2 and 3 show Figure 7 Detailed implementation of the example PIPE message bus address space shown in . For example, PCIe RX margin operations and elastic buffer depth can be controlled via message bus registers hosted in these address spaces. Additionally, several legacy PIPE control and status signals can be mapped to registers hosted in these address spaces. The following subsections define PHY registers and MAC registers. Individual register fields are specified as required or optional. Additionally (as shown in the examples of Tables 2 and 3), each field can have an attribute description that is effective for a level or 1 cycle. When a level field is written, the value written is maintained by the hardware until the next write to the field or until a reset occurs. When a 1 cycle field is written to make the value high effective, the hardware maintains the effectiveness only in a single cycle, and then automatically resets the value to zero in the next cycle.
[0070] Table 2 lists the PHY registers and their associated addresses. Detailed information for each register is provided in the following subsections. To support configurable pairs, the same registers defined for RX1 are also defined for RX2, the same registers defined for TX1 are defined for TX2, and the same registers defined for CMN1 are defined for CMN2. In this example, only two differential pairs are active based on the configuration at a time, for example, valid combinations corresponding to registers defined in RX1+TX1+CMN1, RX1+RX2+CMN1+CMN2, or TX1+TX2+CMN1+CMN2. In this example, a PHY that does not support configurable pairs only implements registers defined for RX1, TX1, and CMN1. In one example, PHY registers may be implemented, for example, as set forth in the specific example of Table 1 listed below:
[0071]
[0072]
[0073] Table 2: Example PHY Message Bus Register Representation
[0074] Similarly, Table 3 lists an example implementation of a MAC register, the characteristics of the MAC register, and its associated address. For example:
[0075]
[0076]
[0077] Table 3: Example MAC message bus register representation
[0078] It should be appreciated that the example registers enumerated in Tables 2 and 3 are presented merely as illustrative examples. Indeed, one of the example benefits of a message bus interface is the simple extensibility of control and status signals supported by example implementations of a MAC-PHY interface (eg, PIPE).
[0079] Steering Figure 8 , shows a signaling diagram 800 showing example signaling on an 8-bit status and control interface 830 of a MAC-PHY interface. 8 bits of data may be sent during each clock (PCLK) 835 cycle or unit interval (UI). At startup or after an idle state, zeros may be sent because there are no control or status signals being sent between the MAC block and the PHY block. When non-zero data is sent after an idle state, the data may be interpreted as the start of a status / control transaction on the interface. For example, at Figure 8In the example of , the first of the computational blocks can determine that a particular one of the defined status and control signals is to be sent to another computational block, as defined by the interface. In a register-based implementation, the dedicated signaling pins have been omitted, and the first computational block instead sends data over the status and control interface. For example, a transaction can begin (at 810) with a four-bit register command (e.g., "4'd1"), followed by sending the first four bits of the register address to which the command is applied in the first UI. In the next UI, the remaining 8 bits of the register address are sent (at 815), followed by sending four UIs of data (32 bits) containing the value to be written to the 32-bit register (starting at 820).
[0080] In some implementations, all status and control register transactions may contain a command. For write commands and read commands, the transaction may further include the associated register address. For write completion and read completion, the transaction may also contain data (thus identifying the contents of the register). Thus, the number of cycles spent transferring a transaction across the interface may be inferred from the command type. For example, assuming a 4-bit command, 32-bit registers, and 12-bit address space, Figure 8 The example transaction shown in 805 relates to a write command 805 transmitted across an 8-bit serial interface that is completed in 6 cycles (or UI). It is expected that other transactions in this configuration will take a corresponding number of UIs to complete. For example, a read may take two UIs (e.g., for a 4-bit command and a 12-bit address), and a read completion may take five UIs (e.g., for a 4-bit command and 32-bit read data), as well as other examples. Given the predictability of the length of these various transactions, the end of a transaction can be detected based on the transaction type. Therefore, for example, when non-zero data is followed by a UI or bit that is detected to represent the end of a previous transaction, the start of another transaction can be detected in the same manner. In some implementations, this can allow the transaction identifier to be omitted. In addition, when a valid command is received after an idle or empty signal (e.g., 825), the start of a transaction can be detected in the same manner, as well as other examples.
[0081] In some defined interfaces (e.g., PIPE), some existing status and control signals are defined not only based on the designated lines on which they are sent, but also based on the duration of time the signal remains on the corresponding line. Therefore, in an implementation (such as described above) that replaces at least some of these dedicated signaling lines with register mapping, it may be desirable to be able to distinguish signals that require 1 cycle to be effective from signals that need to be maintained (e.g., at a static value) over multiple UIs. For example, a specific register bit or register can be configured so that the value written to the bit remains at the value, but then automatically returns to a default value or an ineffective value (i.e., without requiring an explicit write transaction to return the value to the default (e.g., from "1" back to "0")). For example, a specific bit can be mapped to a specific signal with 1 cycle effectiveness, so that when "1" is written to the specific bit, "1" is interpreted as an instance of a specific signal. However, instead of maintaining the value of the specific bit at "1" after the corresponding single UI or cycle expires, the value can be automatically returned to "0". Similarly, a signal to be maintained at a value within more than one UI can be mapped to a register bit configured to be maintained at the value until a defined number of cycles expire or until the bit is overwritten, and other examples. In some instances, bits with similar configurations can be grouped in the same register or a continuously addressed register. For example, the bits within a given register can all be mapped to the corresponding single cycle signal to take effect, so that the register is processed to always return the value to the default for any bit in the register. Other registers can be used to group other bits mapped to other signals with similar equal signal effective lengths, and other examples. In another implementation, the signal of the 1 cycle effective type and the signal of the static value type can be simply distinguished by the following operations: two different signal types are grouped into different registers located in different address spaces or different address ranges of the same address space, and the values of these signals are interpreted based on the corresponding addresses of these signals. In another implementation, different signal types can be mapped to different registers and accessed using different write command types (e.g., static type writes and single cycle writes, etc.), and other examples.
[0082] In some implementations, message bus interface signals may be defined (e.g., through definition of corresponding message bus registers) to support recalibration of the PHY (e.g., recalibration of the PHY receiver) utilizing an implementation of the MAC-PHY interface. For example, as I / O interconnect data rates increase, the absolute margins that the transmitter and receiver must meet become smaller. As a result, proper PHY operation becomes more sensitive to non-idealities and noise items in silicon circuits (e.g., thermal noise, crosstalk, etc.). Additionally, support for a wider operating temperature range introduces another factor that can affect proper PHY operation. Typically, the PHY can mitigate this situation by adding monitoring circuits that sense changes in circuit parameters (e.g., offset, gain) and correct deviations on the fly. However, in some implementations, such corrections may involve adding redundant paths, which may be very expensive to implement at higher data rates, as well as other example disadvantages.
[0083] To achieve a more cost-effective implementation, in some examples, the PIPE interface can be enhanced to allow the PHY to notify the MAC that a situation has been detected that requires recalibration of the PHY. For example, in some cases, the PHY can identify a condition at the PHY and determine that the PHY needs to be recalibrated. These conditions can include changes in operating conditions (e.g., Vref changes) or detection of certain error conditions, among other examples. In response to receiving a signal from the PHY that recalibration is desired, the MAC can silence the link by forcing the link into recovery, and then signal the PHY to perform the incremental correction required to resolve the problem, among other example implementations.
[0084] In some implementations, an example interface may be provided that supports PHY-initiated recalibration or controller-initiated recalibration. For example, a PIPE-based interface may be enhanced to support PHY-initiated PHY recalibration and controller-initiated PHY recalibration in a cost-effective manner (e.g., without redundant paths). For example, in some cases, the PHY may identify a condition at the PHY and determine that the PHY needs to be recalibrated. These conditions may include changes in operating conditions (e.g., Vref changes) or detection of certain error conditions, among other examples. In addition, the MAC-PHY interface may be defined so that the controller or PHY may initiate recalibration. In some implementations, recalibration (e.g., PHY Rx recalibration) may be required during the recovery state. In some implementations, recovery may be initiated only by the controller (rather than directly by the PHY). In some implementations, only the MAC may be defined as being able to initiate recovery. In such an implementation, if the PHY determines that recalibration is necessary (and initiates recalibration), the PHY may first (e.g., via a message bus interface) notify the MAC that the MAC should initiate recovery, and then (or simultaneously) request recalibration. On the other hand, if the recalibration is initiated by the MAC, then in such an example, this may unilaterally cause the link to enter recovery in conjunction with a recalibration request (sent over the message bus interface). In both cases, the PHY may signal the controller when the recalibration is complete so that the controller may exit recovery and continue normal operation, among other example implementations.
[0085] In some implementations, a message bus interface implemented on a PIPE-based specification may be implemented to implement both PHY-initiated PHY recalibration and controller-initiated PHY recalibration with signaling in a defined sequence. In some implementations, when the link is in recovery (e.g., Recovery.RcvrLock for PCIe), a PHY recalibration operation (whether PHY-initiated or MAC-initiated) will occur. The controller may initiate a transition from link to recovery. Thus, the controller may notify the PHY when the link has entered recovery and the link is ready for execution of a recalibration operation. Additionally, the PHY may be responsible for notifying the controller when the recalibration process has been completed and recovery may be exited. In an example implementation, these signals may be facilitated on a PIPE-based interface via a PIPE message bus. For example, in conjunction with a message bus implementation of a PHY-initiated recalibration request and a controller-initiated recalibration request, two bits in the MAC message bus address space may be designated for signals to be sent by the PHY to the MAC, and at least one bit within the PHY message bus address space may be dedicated to signals to be sent by the MAC to the PHY.
[0086] Go to Figures 9A-9B , simplified diagrams 900a-900b are shown, which illustrate example signaling for implementing a recalibration request on an implementation of a message bus interface of a PHY-MAC interface, which example signaling causes one or more blocks of the PHY (e.g., a PHY receiver port) to be recalibrated.
[0087] For example, Fig.9A As shown in , a message bus interface can be used to define a signaling sequence to implement a recalibration request initiated by a controller. For example, for each data channel, the pins of a MAC-PHY interface (e.g., a PIPE-based interface) may include 8 pins for implementing an 8-bit MAC to PHY (M2P) message bus 905, and 8 pins for implementing a corresponding 8-bit PHY to MAC (P2M) message bus 910. Messages sent on the message buses 905, 910 can be based on an interface clock 915 (e.g., a PIPE interface clock (pclk)). Fig.9A In an example of , the MAC may determine (or may receive a signal from higher layer logic) to identify a recalibration that the PHY receiver should perform. Thus, the MAC may initiate 920 a receiver recalibration request by writing a bit in a message bus register of the PHY that is mapped to receive a recalibration request. For example, the MAC may use the M2P message bus 905 to send a write command 925a (e.g., a submitted write command) such that a "1" is written to a receiver recalibration bit (e.g., an IORecal bit) in a message bus register of the PHY. In some implementations, the receiver recalibration bit may be configured as a 1-cycle register value.
[0088] continue Fig.9A In the example of , in response to reading the receiver recalibration bit written by the MAC, the PHY may send an acknowledgement signal 930 on the P2M message bus 910. As noted above, in some implementations, a protocol or other rule may be defined to require that a PHY recalibration be performed when the link is in recovery or other specific states. In some cases, such a state or state transition may be initiated only by the MAC (or higher layer protocol logic). For example, in Fig.9A In the example of , the MAC may initiate the recovery state in conjunction with writing 925a to the receiver recalibration bit. For example, the MAC may initiate the recovery state substantially in concert with or automatically after writing the recalibration request to the PHY message bus register.
[0089] As in Fig.9AAs in the example of , when the PHY identifies a recalibration request written to a specific one of its message bus registers, the PHY can begin to perform recalibration. After completing the recalibration, the PHY can use the P2M message bus 910 to signal the MAC that the recalibration is complete (at 935). For example, the PHY can send a write request 940a on the P2M message bus 910 so that a specific bit (e.g., IORecalDone) in the MAC message bus register is written to indicate the completion of the recalibration to the MAC. In some implementations, the specific bit can be configured as a 1-cycle register value. In addition, as with the recalibration request, a confirmation (e.g., 945) to be sent (by the MAC) in response to an indication of the completion of the recalibration from the PHY can be defined. In some implementations, the MAC can cause the link to transition from recovery to another state based on receiving an indication of the completion of the recalibration (on its message bus register), as well as other example actions based on the completion of the recalibration.
[0090] In summary, in some implementations (e.g., Fig.9A ), a sequence of transactions for controller-initiated PHY recalibration can be seen across the PIPE message bus interface. For example, when the controller determines that PHY recalibration is required (e.g., due to the detection of an excessive number of errors), the controller can force the link into recovery and initiate PHY recalibration by writing to the IORecal bit in the PHY's message bus address space. The PHY can acknowledge receipt of the recalibration request by returning a write_ack. After completing the recalibration process, the PHY can signal the controller to complete by writing to the IORecalDone bit in the controller's message bus address space, and the controller acknowledges the completion by returning a write_ack. After notifying that the recalibration process has been completed, the controller can then exit recovery and continue normal operations on the link.
[0091] Go to Fig. 9B, an example of a PHY-initiated receiver recalibration is shown. For example, tools may be provided at a PHY block implementation to monitor properties of the PHY, and a link established using the PHY may be provided for detecting instances where a PHY (e.g., a receiver of the PHY) is desired to be recalibrated (e.g., based on detection that signal quality has dropped below an acceptable level). For example, in some cases, the PHY may identify a condition at the PHY (e.g., a change in operating conditions (e.g., a change in Vref) or detection of certain error conditions) and determine that the PHY requires recalibration, among other examples. In response to identifying that recalibration is desired, the PHY may send a write command 955 on the P2M message bus 910 to cause a value to be written to a recalibration request bit (e.g., PhyIORecalRequest) defined in a message bus register of the MAC, and thereby initiate receiver calibration (at 950). The MAC may detect that the value has been written to that bit (e.g., a 1-cycle register bit), and send an acknowledgement 960 to the PHY using the M2P message bus 905. In some implementations, the PHY may first (at 955) write the request before performing the recalibration, because the recalibration will be performed during a specific link state (e.g., recovery) that will be initiated using the MAC. For example, the MAC may initiate the state upon receiving the recalibration request at its message bus register. In this regard, in some implementations, the signaling sequence may correspond to the Fig.9A , and the like. For example, the MAC may request that the recalibration continue (at 965) by writing a recalibration request 925b to a PHY message bus register (using the M2P message bus 905) to indicate that the link is ready for recalibration (e.g., has entered recovery). The PHY may acknowledge the MAC's recalibration signal 925b (via a message bus signal 970 on the P2M message bus 910) and respond by performing a recalibration at the PHY. After the recalibration is complete, the PHY may communicate the recalibration completion (at 975) by writing 940b to a MAC message bus register using the P2M message bus 910 to indicate that the recalibration is complete. The MAC may cause the link to exit recovery based on the signal of the PHY, and may further send an acknowledgment signal 980 on the M2P message bus 905 to complete the signaling sequence, as well as other example features and implementations.
[0092] all in all, Fig. 9BThe example of shows the sequence of transactions for PHY initiated PHY recalibration as seen across the PIPE message bus interface. For example, when the PHY detects a circuit parameter change that requires recalibration, the PHY signals the controller that it should enter recovery and request PHY recalibration; this is done by writing to the PhyIORecalRequest bit in the controller's message bus address space. The controller acknowledges receipt of the request by returning a write_ack response. The remaining sequence of actions can follow exactly the sequence described above for controller initiated PHY recalibration, as well as other example implementations.
[0093] Tables 4 and 5 show example implementations of message bus registers for implementing signaling on a message bus of a PIPE-based interface to facilitate PHY recalibration requests. For example, Table 4 shows an example implementation of a portion of a MAC-based register for messaging from a PHY to a MAC using a PIPE message bus interface:
[0094]
[0095] Table 4: Example MAC message bus register representation
[0096] In the specific example of Table 4, two fields in the MAC message bus register can be defined to facilitate the implementation of a recalibration request on the message bus interface of a PIPE-based interface. For example, a recalibration request signal (PhyIORecalRequest) initiated by the PHY can be mapped to bit 0 of the receiver control (e.g., Rx control 0) register of the MAC message bus register. When a value of "1" (by a submitted write request received from the PHY on the message bus interface) is written to this bit, the MAC can read the register and interpret the written value as an Rx recalibration request signal from the PHY. The PhyIORecalRequest bit can be configured as a signal of a 1-cycle effective type. In this example, a recalibration completion signal (IORecalDone) can also be defined and mapped to bit 1 of the Rx status 0 register of the MAC message bus register. The PHY can write "1" to this bit using the message bus interface (e.g., by a submitted write) to indicate to the MAC that the PHY has completed the Rx recalibration. The signal can also be a signal field of a 1-cycle effective type.
[0097] In some implementations, a PhyRecalRequirement parameter may be used as a parameter that may be announced by a PHY block (e.g., in its data table, in a capability register or other data structure, from an online source, etc.) as to whether a corresponding controller (connected to the PHY via a PIPE-based interface) is required to support the recalibration functionality signaling sequence and related message bus register values (e.g., PhyIORecalRequest, IORecal, and IORecalDone, etc.), as well as other example information related to requesting and implementing PHY recalibration.
[0098] Table 5 shows an example implementation of a portion of a PHY-based register for messaging from the MAC to the PHY using the PIPE message bus interface:
[0099]
[0100] Table 5: Example PHY Message Bus Register Representation
[0101] Table 5 represents register bits of an example PHY message bus register that are defined to implement a recalibration request using the PIPE message bus interface. Specifically, in this example, a recalibration request signal (IORecal) can be defined and mapped to bit 1 of the PHY RX control register of the PHY message bus register. When a value of "1" (via a submitted write request received from the MAC on the message bus interface) is written to this bit, the PHY can read the register and interpret the written value as an Rx recalibration request signal from the MAC. The IORecal signal can be sent, for example, in an Rx recalibration request initiated by the MAC or as a response to an Rx recalibration request initiated by the PHY (e.g., to confirm that the link is in a state suitable for the Rx recalibration to be performed (e.g., recovery), as well as other examples. The IORecal bit can be configured as a 1-cycle validity type signal.
[0102] Figures 10A-10B is a flow chart illustrating an example process corresponding to initiating recalibration via a message bus of an example MAC-PHY interface. Fig. 10AIn the example of , an example of a PHY initiated recalibration is shown. For example, attributes of the PHY may be detected 1005 (e.g., by a detection circuit on the PHY), and based on these attributes or events (e.g., at the PHY), it may be determined 1010 that the PHY (e.g., (multiple) PHY receivers) should be recalibrated. Thus, the PHY may send a write command 1015 to the controller using a message bus interface and write a value to a specific bit in the controller's message bus register that is mapped to a recalibration request signal. In some implementations, the controller may be responsible for ensuring that the link implemented by the PHY is in a recovery state before the recalibration can proceed. Thus, a write command may be received 1020 from the MAC on the message bus interface to write a value to a specific bit of the PHY message bus register to indicate a recalibration request / confirmation by the MAC. The PHY may perform 1025 a recalibration (e.g., a PHYRx recalibration) based on detecting a write to a specific bit in the PHY message bus register. After the recalibration is completed, the PHY block may again use the message bus interface to write 1030 a value in the MAC message bus register that is mapped to another value of the recalibration complete signal to indicate to the MAC that the recalibration is complete.
[0103] Go to Fig. 10B , an example of a MAC-initiated recalibration is shown. For example, a property of a PHY block may be detected 1040 (e.g., by a MAC or higher layer logic), and based on the property it may be determined 1045 that at least a portion of the PHY block (e.g., (multiple) receivers) should be recalibrated. The MAC may also initiate a transition 1050 of a link to a recovery state implemented using the PHY block to facilitate completion of the recalibration. The message bus interface may be used to write a value to a specific bit in the PHY message bus interface mapped to a recalibration request signal to indicate a recalibration request for the PHY block. The MAC may receive a write request from the PHY block on the message bus interface to write a value to a specific bit in the MAC message bus register mapped to a recalibration completion signal to indicate that the recalibration has been completed. The MAC may then cause the link to exit 1065 the recovery state and continue communication after the recalibration (e.g., in an active link state), as well as other example implementations and features.
[0104] 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 present invention 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.
[0105] refer to Fig.11 , depicts an embodiment of a block diagram of a computing system including a multi-core processor. Processor 1100 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 1100 includes at least two cores, core 1101 and core 1102, which may include an asymmetric core or a symmetric core (illustrated embodiment). However, processor 1100 may include any number of processing elements, which may be symmetric or asymmetric.
[0106] 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.
[0107] 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.
[0108] like Fig.11As shown in , physical processor 1100 includes two cores, core 1101 and core 1102. Here, core 1101 and core 1102 are considered to be symmetric cores, that is, cores with the same configuration, functional units and / or logic. In another embodiment, core 1101 includes an out-of-order processor core, and core 1102 includes an in-order processor core. However, core 1101 and core 1102 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 1101 are described in further detail below because the units in core 1102 operate in a similar manner in the depicted embodiment.
[0109] As depicted, core 1101 includes two hardware threads 1101a and 1101b, which may also be referred to as hardware thread slots 1101a and 1101b. Therefore, in one embodiment, a software entity such as an operating system potentially views processor 1100 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 1101a, a second thread is associated with architecture state register 1101b, a third thread may be associated with architecture state register 1102a, and a fourth thread may be associated with architecture state register 1102b. Here, as described above, each of the architecture state registers (1101a, 1101b, 1102a, and 1102b) may be referred to as a processing element, a thread slot, or a thread unit. As shown, architecture state register 1101a is replicated in architecture state register 1101b, so that separate architecture states / contexts can be stored for logical processor 1101a and logical processor 1101b. Other smaller resources may also be replicated for threads 1101a and 1101b in core 1101, such as instruction pointers and renaming logic in allocator and renamer block 1130. Some resources may be shared through partitioning, such as reorder buffers, ILTB 1120, load / store buffers, and queues in reorder / retirement unit 1135. Other resources (e.g., general purpose internal registers, page table base register(s), low level data cache and data TLB 1115, execution unit(s) 1140, and portions of out-of-order unit 1135) are potentially fully shared.
[0110] Processor 1100 typically includes other resources, which may be fully shared, shared through partitioning, or dedicated by / to processing elements. Fig.11 , 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 1101 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 1120 for predicting branches to be executed / taken and an instruction translation buffer (I-TLB) 1120 for storing address translation entries for instructions.
[0111] The core 1101 also includes a decoding module 1125, which is coupled to the acquisition unit 1120 to decode the acquired elements. In one embodiment, the acquisition logic includes a separate sequencer associated with the thread slot 1101a and the thread slot 1101b, respectively. Typically, the core 1101 is associated with a first ISA, which defines / specifies instructions executable on the processor 1100. 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 1125 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 1125 includes logic designed to or adapted to recognize specific instructions (e.g., transaction instructions). Due to the recognition performed by the decoder 1125, the architecture or core 1101 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 1126 recognize the same ISA (or a subset thereof). Alternatively, in a heterogeneous core environment, decoders 1126 recognize a second ISA (a subset of the first ISA or a different ISA).
[0112] In one example, the allocator and renamer block 1130 includes an allocator for reserving resources (e.g., a register file for storing instruction processing results). However, threads 1101a and 1101b are potentially capable of out-of-order execution, where the allocator and renamer block 1130 also reserves other resources, such as a reorder buffer for tracking instruction results. Unit 1130 may also include a register renamer to rename program / instruction reference registers to other registers internal to processor 1100. Reorder / retirement unit 1135 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.
[0113] In one embodiment, (multiple) scheduler and execution unit block 1140 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.
[0114] A lower level data cache and data translation buffer (D-TLB) 1150 is coupled to the execution unit(s) 1140. 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.
[0115] Here, core 1101 and core 1102 share access to a higher level or further cache (e.g., a second level cache associated with on-chip interface 1110). 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 1100 - 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 1125 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).
[0116] In the depicted configuration, the processor 1100 also includes an on-chip interface module 1110. Historically, a memory controller, described in more detail below, has been included in a computing system external to the processor 1100. In such a scenario, the on-chip interface 1110 is used to communicate with devices external to the processor 1100 (e.g., system memory 1175, a chipset (typically including a memory controller hub for connecting to the memory 1175 and an I / O controller hub for connecting to peripheral devices), a memory controller hub, a north bridge, or other integrated circuits). And in such a scenario, the bus 1105 may include any known interconnect, such as a multi-drop bus, a point-to-point interconnect, a serial interconnect, a parallel bus, a coherent (e.g., cache coherent) bus, a layered protocol architecture, a differential bus, and a GTL bus.
[0117] Memory 1175 may be dedicated to processor 1100 or shared with other devices in the system. Common examples of types of memory 1175 include DRAM, SRAM, non-volatile memory (NV memory), and other known storage devices. Note that device 1180 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.
[0118] 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 1100. For example, in one embodiment, a memory controller hub is on the same package and / or die as the processor 1100. Here, a portion of the core (on-core portion) 1110 includes one or more controllers for interfacing with other devices such as memory 1175 or graphics device 1180. 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 1110 includes a ring interconnect for on-chip communication and a high-speed serial point-to-point link 1105 for off-chip communication. However, in a SOC environment, even more devices (e.g., network interfaces, coprocessors, memory 1175, graphics processor 1180, 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.
[0119] In one embodiment, processor 1100 can execute compiler, optimization and / or converter code 1177 to compile, convert and / or optimize application code 1176, to support device and method described herein or to be engaged therewith.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.
[0120] 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.
[0121] 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.
[0122] Reference now Fig.12, shows a block diagram of a second system 1200 according to an embodiment of the present invention. Fig.12 As shown in FIG. 1 , multiprocessor system 1200 is a point-to-point interconnect system and includes a first processor 1270 and a second processor 1280 coupled via a point-to-point interconnect 1250. Each of processors 1270 and 1280 may be a version of a processor. In one embodiment, 1252 and 1254 are part of a serial point-to-point consistent interconnect structure, such as an Intel Quick Path Interconnect (QPI) architecture. Therefore, the present invention may be implemented within a QPI architecture.
[0123] Although only two processors 1270, 1280 are shown, it should be understood that the scope of the present invention is not limited in this regard. In other embodiments, one or more additional processors may be present in a given processor.
[0124] Processors 1270 and 1280 are shown as including integrated memory controller units 1272 and 1282, respectively. Processor 1270 also includes point-to-point (PP) interfaces 1276 and 1278 as part of its bus controller unit; similarly, second processor 1280 includes PP interfaces 1286 and 1288. Processors 1270, 1280 can exchange information via point-to-point (PP) interface 1250 using PP interface circuits 1278, 1288. Fig.12 As shown in FIG. 1 , IMCs 1272 and 1282 couple the processors with respective memories (ie, memory 1232 and memory 1234 ), which may be portions of main memory locally attached to the respective processors.
[0125] Processors 1270, 1280 each exchange information with chipset 1290 via separate PP interfaces 1252, 1254 using point-to-point interface circuits 1276, 1294, 1286, 1298. Chipset 1290 also exchanges information with high-performance graphics circuit 1238 along high-performance graphics interconnect 1239 via interface circuit 1292.
[0126] 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.
[0127] Chipset 1290 may be coupled to first bus 1216 via interface 1296. In one embodiment, first bus 1216 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 invention is not limited in this regard.
[0128] like Fig.12 As shown in FIG. 1 , various I / O devices 1214 are coupled to first bus 1216 along with a bus bridge 1218 that couples first bus 1216 to a second bus 1220. In one embodiment, second bus 1220 comprises a low pin count (LPC) bus. In one embodiment, various devices are coupled to second bus 1220 including, for example, a keyboard and / or mouse 1222, communication devices 1227, and a storage unit 1228 (e.g., a disk drive or other mass storage device that typically includes instructions / code and data 1230). Additionally, audio I / O 1224 is shown coupled to second bus 1220. Note that other architectures are possible in which the components and interconnect architectures involved are different. For example, in addition to Fig.12 Instead of a point-to-point architecture, the system may implement a multi-point bus or other such architecture.
[0129] 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 invention described above may be implemented in any portion of one or more of the interconnects shown or described below.
[0130] 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.
[0131] 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).
[0132] 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.
[0133] 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.
[0134] 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 touch pad 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 invention is not limited in this respect, 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.
[0135] 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.
[0136] 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.
[0137] 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.
[0138] 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.
[0139] 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.
[0140] 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 8CS. 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.
[0141] 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.
[0142] 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.
[0143] 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.
[0144] 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.
[0145] 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.
[0146] 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.
[0147] 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.
[0148] 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.
[0149] 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.
[0150] 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.
[0151] While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of the present invention.
[0152] The design may go through various stages from creation to simulation to manufacturing. The data representing the design may represent the design in a variety of ways. First, as useful in simulation, a hardware description language or another functional description language may be used to represent the hardware. Additionally, a circuit-level model with logic and / or transistor gates may 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 may be data specifying 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 may be stored in any form of machine-readable medium. A memory or a magnetic or optical storage device such as a disk may be a machine-readable medium for storing information sent via an optical wave or an electrical wave that is modulated or otherwise generated to send such information. When an electrical carrier 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 electrical signal is performed. Therefore, a communication provider or a network provider may store an article such as information encoded into a carrier that embodies the technology of an embodiment of the present invention at least temporarily on a tangible machine-readable medium.
[0153] 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).
[0154] In one embodiment, the use of the phrase "for" or "configured for" refers to arranging, putting together, manufacturing, providing for sale, importing and / or designing 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" performing the 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.
[0155] 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.
[0156] 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.
[0157] 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.
[0158] The following examples relate to embodiments according to the present specification. Example 1 is an apparatus comprising: a physical layer (PHY) circuit; a memory for implementing a message bus register, wherein a set of control and status signals are mapped to bits of the message bus register, and the set of control and status signals includes a recalibration request signal, which is mapped to a specific bit in the bits of the message bus register; and an interface for coupling with a controller, wherein the interface includes an interface based on a PHY interface for PCI Express (PIPE), and the interface includes: a set of data pins, which includes a send data pin and a receive data pin, the send data pin is used to send data to the controller, and the receive data pin is used to receive data from the controller; a specific set of pins, which is used to implement a message bus interface, wherein a write command is used to be received from the controller on the message bus interface to write a value to a specific bit; and a recalibration circuit, which is used to perform recalibration of the PHY circuit based on the value written to the specific bit.
[0159] Example 2 includes the subject matter of Example 1, wherein the write command comprises a committed write.
[0160] Example 3 includes the subject matter of any of Examples 1-2, wherein the value of the particular bit is to be automatically reset after a plurality of clock cycles.
[0161] Example 4 includes the subject matter of any of Examples 1-3, further comprising a detection circuit to: detect one or more properties of the PHY circuit; and determine that recalibration should be performed based on the one or more properties.
[0162] Example 5 includes the subject matter of Example 4, wherein the PHY circuit is to send a write command to the controller over the message bus interface to write a value to a message bus register of the controller to indicate to the controller a request to perform recalibration.
[0163] Example 6 includes the subject matter of Example 5, wherein a write command is received from the controller based on a request to perform recalibration.
[0164] Example 7 includes the subject matter of Example 6, wherein the PHY circuit is to implement the link, and recalibration is performed when the link is in recovery, wherein the controller is to initiate the recovery.
[0165] Example 8 includes the subject matter of any of Examples 1-7, wherein the PHY circuit is to send a write command to the controller over the message bus interface to write a value to a message bus register of the controller to indicate to the controller that the recalibration is complete.
[0166] Example 9 includes the subject matter of any of Examples 1-8, wherein the PIPE-based interface comprises a PHY interface for PCI Express, SATA, DisplayPort, and Converged IO architectures.
[0167] Example 10 is a device comprising: a controller; and an interface for coupling the controller to a physical layer (PHY) block, wherein the interface comprises: a set of data pins, including a transmit data pin and a receive data pin, the transmit data pin being used to send data to the PHY block and the receive data pin being used to receive data from the PHY block; and a specific set of pins being used to implement a message bus interface, wherein the controller is used to send a write command to the PHY block on the message bus interface to write a value to at least one specific bit of a PHY message bus register, the bits of the PHY message bus register being mapped to a set of control and status signals, and the specific bits being mapped to a recalibration request signal for requesting the PHY block to perform recalibration.
[0168] Example 11 includes the subject matter of Example 10, wherein the group of control and status signals includes a first group of control and status signals, and the apparatus further includes a memory for implementing a controller message bus register, wherein bits of the controller message bus register are mapped to a second group of control and status signals, and the controller is used to receive a command from the PHY block on the message bus interface to set the value of the bit in the controller message bus register to indicate a specific signal in the second group of control and status signals.
[0169] Example 12 includes the subject matter of Example 11, wherein the second set of control and status signals includes a recalibration completion signal mapped to a specific bit in the bits of the controller message bus register to indicate completion of the recalibration by the PHY block.
[0170] Example 13 includes the subject matter of Example 11, wherein the second set of control and status signals includes a PHY initiated recalibration request signal that is mapped to a specific bit in a bit of a controller message bus register to initiate recalibration by the PHY block.
[0171] Example 14 includes the subject matter of Example 13, wherein the recalibration is to be performed when the link is in recovery, the controller is to initiate a transition of the link to recovery, and the PHY-initiated recalibration request signal is to request the controller to initiate the transition of the link to recovery.
[0172] Example 15 includes the subject matter of Example 13, wherein the second set of control and status signals further includes a recalibration completion signal mapped to another one of the bits of the controller message bus register to indicate completion of the recalibration by the PHY block.
[0173] Example 16 includes the subject matter of any of Examples 10-15, wherein the interface comprises a PHY Interface for PCI Express (PIPE) based interface.
[0174] Example 17 includes the subject matter of any of Examples 10-16, wherein the controller comprises a media access controller (MAC).
[0175] Example 18 includes the subject matter of any of Examples 10-17, wherein the write command comprises a committed write.
[0176] Example 19 includes the subject matter of any of Examples 1-18, wherein the value of the particular bit is to be automatically reset after a plurality of clock cycles.
[0177] Example 20 includes the subject matter of any of Examples 1-19, wherein the PIPE-based interface comprises a PHY interface for PCI Express, SATA, DisplayPort, and Converged IO architectures.
[0178] Example 21 is a system comprising: a first device comprising a media access controller (MAC) circuit; a second device comprising a physical layer (PHY) circuit, wherein the second device comprises a PHY message bus register, bits of the PHY message bus register are mapped to a set of control and status signals, and specific bits of the bits of the PHY message bus register are mapped to a recalibration request signal; an interface for coupling the first device to the second device, wherein the interface comprises: a first pin for implementing signaling of data from the first device to the second device; a second pin for implementing signaling of data from the second device to the first device; a third pin for implementing a message bus interface, wherein the first device is used to send a write request to the second device on the message bus interface to write a value to a specific bit and indicate a request for performing recalibration of the PHY circuit, wherein the second device also includes a recalibration circuit to perform recalibration based on writing the value to the specific bit.
[0179] Example 22 includes the subject matter of Example 21, wherein the group of control and status signals includes a second group of control and status signals, the first device includes a controller message bus register, bits of the controller message bus register are mapped to the first group of control and status signals, specific bits of the controller message bus register are mapped to a PHY-initiated recalibration request signal, and another bit of the controller message bus register is mapped to a recalibration completion signal.
[0180] Example 23 includes the subject matter of Example 21, wherein the interface comprises a PHY interface for PCI Express, SATA, DisplayPort, and Converged IO architecture.
[0181] Example 24 is a method comprising: receiving a first write request from a controller on a message bus based on an interface of a physical layer (PHY) interface for express peripheral interconnect (PIPE), wherein the first write request is used to set the value of a specific bit of a PHY message bus register, the bit of the PHY message bus register is mapped to a first set of control and status signals, the PIPE-based interface couples the controller to a PHY block, and the specific bit is mapped to a recalibration request signal in the first set of control and status signals; performing recalibration of at least a portion of the PHY block based on setting the value of the specific bit; and sending a second write request to the controller on the message bus interface, wherein the second write request is used to set the value of a specific bit of the controller message bus register to indicate completion of the recalibration, wherein the bit in the controller message bus register is mapped to a second set of control and status signals.
[0182] Example 25 includes the subject matter of Example 24, wherein at least one of the first write and the second write comprises a committed write.
[0183] Example 26 includes the subject matter of any of Examples 24-25, wherein a value of a particular bit of at least one of the PHY message bus register and the controller message bus register is to be automatically reset after a plurality of clock cycles.
[0184] Example 27 includes the subject matter of any of Examples 24-26, further comprising: detecting one or more properties of the PHY block; and determining that recalibration should be performed based on the one or more properties.
[0185] Example 28 includes the subject matter of Example 27, further comprising sending another write request to the controller over the message bus interface to write a value to another bit of the controller message bus register to indicate to the controller a request to perform recalibration.
[0186] Example 29 includes the subject matter of Example 28, wherein the first write command is received from the controller based on a request to perform recalibration.
[0187] Example 30 includes the subject matter of any of Examples 24-29, wherein the PHY block is to implement the link, and the recalibration is to be performed when the link is in recovery, wherein the controller is to initiate the recovery.
[0188] Example 31 includes the subject matter of any of Examples 24-30, wherein the PIPE-based interface comprises a PHY interface for PCI Express, SATA, DisplayPort, and Converged IO architectures.
[0189] Example 32 is a system comprising modules for performing the method of any of Examples 24-31.
[0190] Example 33 is a method comprising: detecting one or more attributes of a physical layer (PHY) block; based on the one or more attributes, determining that at least a portion of the PHY block should be recalibrated; and sending a first write request on a message bus based on an interface of a PHY Interface for Peripheral Interconnect Express (PIPE), wherein the first write request is used to set the value of a specific bit of a PHY message bus register, the bit of the PHY message bus register is mapped to a first set of control and status signals, the PIPE-based interface couples a controller to the PHY block, and the specific bit is mapped to a recalibration request signal in the first set of control and status signals.
[0191] Example 34 includes the subject matter of Example 33, and further includes receiving a second write request to the controller on the message bus interface, wherein the second write request is used to set the value of a specific bit of the controller message bus register to indicate completion of the recalibration, wherein the bits in the controller message bus register are mapped to a second set of control and status signals.
[0192] Example 35 includes the subject matter of any of Examples 33-34, wherein the recalibration is to be performed while the link is in recovery, and the method further comprises initiating a transition of the link to recovery.
[0193] Example 36 includes the subject matter of any of Examples 33-35, and further includes receiving another write request to the controller on the message bus interface, wherein the another write request is used to set the value of a defined bit of the controller message bus register to indicate a recalibration request, wherein the first write request is sent based on identifying that the value of the defined bit is set.
[0194] Example 37 includes the subject matter of any of Examples 33-36, wherein the interface comprises a PHY Interface for PCI Express (PIPE) based interface.
[0195] Example 38 includes the subject matter of any of Examples 33-37, wherein the controller comprises a media access controller (MAC).
[0196] Example 39 includes the subject matter of any of Examples 33-38, wherein the write command comprises a committed write.
[0197] Example 40 includes the subject matter of any of Examples 33-39, wherein the value of the particular bit is to be automatically reset after a plurality of clock cycles.
[0198] Example 41 includes the subject matter of any of Examples 33-40, wherein the PIPE-based interface comprises a PHY interface for PCI Express, SATA, DisplayPort, and Converged IO architectures.
[0199] Example 42 is a system comprising modules for performing the method of any of Examples 33-41.
[0200] 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.
[0201] Instructions for programming logic to perform embodiments of the present invention 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 form readable by a machine (e.g., a computer), 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 or 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 form readable by a machine (e.g., a computer).
[0202] References throughout this specification to "one embodiment" or "an embodiment" indicate that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. 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.
[0203] 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 invention 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. An apparatus for facilitating communication over a computing bus, the apparatus comprising: Physical layer PHY logic; registers, the registers comprising PHY registers; An interface for logically coupling the physical layer to a medium access layer MAC, wherein the interface comprises: a transmitting pair for transmitting data to the MAC; a receiving pair for receiving data from the MAC; a message bus interface for receiving a write command from the MAC, wherein the write command causes a value to be written to the PHY register, and wherein the value identifies a recalibration request; and recalibration logic for performing recalibration of the PHY receiver based on the recalibration request, in: another write command is sent on the message bus interface to write a specific value to an address associated with a MAC register, and the specific value indicates that the recalibration is complete; The PHY registers include receiver control registers, and the MAC registers include receiver status registers; and The value written to the PHY register includes a value for an IORecal bit of the receiver control register, and the specific value written to the MAC register includes an IORecalDone bit of the receiver status register.
2. The device according to claim 1, wherein: The PHY registers are hosted in a PHY address space and the MAC registers are hosted in a MAC address space.
3. The device according to claim 2, wherein: The message bus interface includes a MAC to PHY message bus interface and a PHY to MAC message bus interface, the write command to the PHY register is received on the MAC to PHY message bus interface, and the write command to the MAC register is sent on the PHY to MAC message bus interface.
4. The device according to claim 3, wherein: An acknowledgement of the recalibration request is written to the MAC register via the PHY to MAC message bus interface, and an acknowledgement of the specific value is written to the PHY register via the MAC to PHY message bus interface.
5. The device according to any one of claims 1 to 4, wherein: The message bus interface includes pins separate from pins used to implement a transmit data interface and a receive data interface.
6. The device according to any one of claims 1 to 4, wherein: The recalibration includes receiver recalibration.
7. The device according to any one of claims 1 to 4, wherein: The interface includes an interface based on a PHY interface PIPE for PCI Express.
8. The apparatus according to any one of claims 1 to 4, further comprising a specific interface for coupling to a channel, wherein: The channel supports data conforming to a specific protocol, and the specific protocol includes one of Peripheral Component Interconnect Express (PCIe), Universal Serial Bus (USB), SATA, or DisplayPort.
9. An apparatus for facilitating communication over a computing bus, comprising: Medium Access Layer MAC; An interface for coupling the MAC to a physical layer PHY block, wherein the interface comprises an interface based on a PHY interface PIPE for PCI Express, and the interface comprises: A transmit data interface for transmitting data to the PHY block; a receive data interface for receiving data from the PHY block; a message bus interface for sending a write command to the PHY block to cause a value to be written to a PHY register associated with the PHY block, wherein the value identifies a request to perform a receiver recalibration at the PHY block, in: The apparatus further comprises a MAC register, another write command being received from the PHY block on the message bus interface to write a specific value into the MAC register, wherein the specific value identifies that the receiver recalibration has been completed by the PHY block; The PHY registers include receiver control registers, and the MAC registers include receiver status registers; and The value written to the PHY register includes a value for an IORecal bit of the receiver control register, and the specific value written to the MAC register includes an IORecalDone bit of the receiver status register.
10. A method for facilitating communication over a computing bus, the method comprising: sending a write request from a medium access layer MAC to a physical layer PHY over an interface coupling the MAC to the PHY, the write request writing a value to a register associated with the PHY, and the value indicating a request for receiver recalibration at the PHY; and receiving another write request from the PHY via a message bus interface, wherein the another write request from the PHY writes a specific value to a register associated with the MAC, and the specific value indicates completion of the receiver recalibration at the PHY, in: The registers associated with the PHY include receiver control registers, and the registers associated with the MAC include receiver status registers; and The value written to the register associated with the PHY includes a value for an IORecal bit of the receiver control register, and the specific value written to the register associated with the MAC includes an IORecalDone bit of the receiver status register.
11. The method according to claim 10, wherein: The interface includes a plurality of lanes, a first subset of the plurality of lanes implements a message bus interface, and a second subset of the plurality of lanes includes data lanes to send and receive data between the MAC and the PHY, wherein the write request is sent over the message bus interface to write the value to the register.
12. The method of claim 11, further comprising sending link layer data to the PHY using a data lane in the second subset of lanes, wherein: The PHY sends the link layer data to another device over a link.
13. The method according to claim 10, further comprising: receiving, from the PHY via the message bus interface, an acknowledgement of the request for receiver recalibration; An acknowledgement of the particular value is sent to the PHY via the message bus interface.
14. The method according to claim 10, wherein: The interface includes an interface based on a PHY interface PIPE for PCI Express.
15. A system for facilitating communication over a computing bus, comprising means for performing the method of any one of claims 10-14.
16. The system of claim 15, wherein: The module includes a machine-readable storage medium having instructions stored thereon, the instructions being executable to cause a machine to perform a method according to any one of claims 10-14.
17. A method for facilitating communication over a computing bus, the method comprising: receiving, at a physical layer PHY, a write request from a medium access layer MAC via an interface, wherein the interface couples the MAC to the PHY, the interface comprising a plurality of lanes, a first subset of the plurality of lanes implementing a message bus interface, and a second subset of the plurality of lanes comprising data lanes to transmit and receive data between the MAC and the PHY, wherein the write request is sent over the message bus interface to write a value to a register associated with the PHY; identifying a request to perform a recalibration of the PHY based on the value written to the register associated with the PHY; and recalibrating a receiver of the PHY based on the request, in: The method further includes sending another write request to the MAC through the message bus interface, wherein the another write request writes a specific value to a register associated with the MAC, and the specific value indicates completion of the recalibration of the receiver by the PHY; The registers associated with the PHY include receiver control registers, and the registers associated with the MAC include receiver status registers; and The value written to the register associated with the PHY includes a value for an IORecal bit of the receiver control register, and the specific value written to the register associated with the MAC includes an IORecalDone bit of the receiver status register.
18. The method according to claim 17, further comprising: sending an acknowledgement of the request for recalibration to the MAC via the message bus interface; as well as An acknowledgement of the specific value is received from the MAC via the message bus interface.
19. The method according to claim 17, wherein: The interface includes an interface based on a PHY interface PIPE for PCI Express.
20. A system for facilitating communications over a computing bus, comprising means for performing the method of any one of claims 17-19.
21. The system of claim 20, wherein: The module includes a machine-readable storage medium having instructions stored thereon, the instructions being executable to cause a machine to perform a method according to any one of claims 17-19.
22. A system for facilitating communications over a computing bus, comprising: Medium Access Layer MAC; Physical layer PHY; an interface for coupling the MAC to the PHY, wherein the interface comprises an interface based on a PHY interface PIPE for PCI Express, and the interface comprises: a first data channel for sending data from the MAC to the PHY; a second data channel for sending data from the PHY to the MAC; a set of channels separate from the first data channel and the second data channel, wherein the set of channels implements a message bus interface, in: The MAC sends a write command to the PHY via the message bus interface to cause a value to be written to a register associated with the PHY, wherein the value identifies a request to perform receiver recalibration at the PHY; and The PHY: reading the value written to the register; and performing a recalibration of a receiver at the PHY based on the value, and in: The PHY also sends another write command through the message bus interface to cause a specific value to be written to a register associated with the MAC, wherein the specific value indicates that the recalibration of the receiver is completed; The registers associated with the PHY include receiver control registers, and the registers associated with the MAC include receiver status registers; and The value written to the register associated with the PHY includes a value for an IORecal bit of the receiver control register, and the specific value written to the register associated with the MAC includes an IORecalDone bit of the receiver status register.
23. The system of claim 22, wherein: The registers associated with the PHY are in a PHY address space, and the registers associated with the MAC are in a MAC address space.
24. The system of claim 22, a first device comprising the MAC, the PHY, and the PIPE-based interface, and a second device coupled to the first device via a link, and the PHY provides a physical layer of the link.
25. The system of claim 24, wherein: The link is based on a specific protocol, and the specific protocol includes one of Peripheral Component Interconnect Express (PCIe), Universal Serial Bus (USB), SATA, or DisplayPort.
