Embodiments of the invention relate to point-to-point link connections within a multi-node system. More specifically, embodiments of the invention relate to techniques for dynamically placing the link in a low power state.
In general, the greater the number of circuits operating in a system the greater the power consumption. For a variety of reasons, reduction or minimization of power consumption is frequently a design consideration when implementing an electronic system. Many strategies have been devised to reduce power consumption, most of which involve disabling portions of the system that are not being used. For example, a hard disk may be spun down after a period of inactivity, or a clock signal to a transmission circuit may be disabled after a period of inactivity. While power utilization has improved, further improvements may be made.
Embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements.
In the following description, numerous specific details are set forth. However, embodiments of the invention may be practiced without these specific details. In other instances, well-known circuits, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
Described herein is a technique to cause a point-to-point link between system components to engage in a negotiation process that may lead to the link transitioning from an active state in which data may be transmitted between system components to a low power state where data may not be transmitted. In one embodiment, in the low power state, power is not applied to the transmit and receive circuits, but a link clock signal may be provided. In an alternate embodiment, power may not be applied to the transmit and receive circuits and the link clock signal may be disabled.
The negotiation process may occur between each pair of nodes within an electronic system that are interconnected via point-to-point link. The negotiation may ensure that there are no pending transactions, or, in one embodiment, transactions that may occur within an upcoming period of time. Through this negotiation each component acknowledges and agrees to transition the link to the low power state.
In one embodiment, assignment to master and slave for a particular point-to-point link may be done by system firmware and stored locally by each component. In alternate embodiments, assignment to master and slave may be accomplished utilizing other techniques. For each link there is only one master and only one slave. However, a component that is a master for one link may be a slave for another link. Similarly, a component that is a slave for one link may be a master for another link. A component may be a master or a slave for multiple links.
In one embodiment, when a master component determines that a point-to-point link may enter the low power state may be entered, the master component may send a single request message over the link to the slave component. In one embodiment, the master component may not transmit additional data until a response to the request message is received. If the master component receives a CRC Error, the master component may go through a link-level retry to get a valid response.
When a slave component receives the request message, the slave component may determine whether transition to the low power state is appropriate. If so, the slave component may send an acknowledge (ACK) message to the master component. In one embodiment, the slave component may also send request messages over all links for which the component is a master component. That is, when a slave component agrees for a link to enter the low power state, that component may request all links for which it is a master component to also enter the low power state. Therefore, it is possible for a component to have two point-to-point links, one of which is in an active state and the other of which is in a low power state.
In one embodiment, in order to prevent request messages from being denied by a slave component and immediately retried by the master component, the master component may have an interval timer (or other mechanism) to prevent another request (or retry of the request) from happing for a predetermined period of time. This negotiation process may simplify transition to a low power by, among other things, not having conflicting requests to transition to the low power state from two components.
While the master device may initiate the transition from the active state to the low power state, the conditions used to initiate the transition may be the same conditions used by a slave device to determine whether to send an ACK message. That is, the condition that may cause the master device to send the request message may be the same as the condition that may cause the slave device to send the ACK message. In such an embodiment, if the conditions corresponding to the master and slave devices to not satisfy the same criteria, the link will not transition from the active state to the low power state.
Specifically, the physical layer may provide communication between two ports over a physical interconnect comprising two uni-directional links. Specifically, one uni-directional link 104 from a first transmit port 150 of a first integrated device to a first receiver port 150 of a second integrated device. Likewise, a second uni-directional link 106 from a first transmit port 150 of the second integrated device to a first receiver port 150 of the first integrated device. However, the claimed subject matter is not limited to two uni-directional links.
Master component 310 may operate as a master for the purposes of operational state control of link 350. Master component 310 may or may not function as a master for other types of interactions within the electronic system. Similarly, slave component 360 may operate as a slave for purposes of operational state control of link 350. Slave component 360 may or may not function as a slave for other types of interactions within the electronic system.
Master component 310 may be any type of component within an electronic system, for example, a processor. Master component 310 may include processing/control circuitry 330 that may provide the desired functionality of master component 310. For example, if master component 310 is a processor, processing/control circuitry 330 may be a processor core.
In one embodiment, master component 310 may include link interface 320, which may be any type of interface between the circuitry of master component 310 and physical link 350. Similarly, slave component 360 may include a counterpart link interface 370. Link interface 370 may be coupled to processing/control circuitry 380 in slave component 360. If, for example, slave component 360 is a memory controller, processing/control circuitry 360 may be the control circuitry of the memory controller to cause memory operations to and from master component 310 to be performed utilizing a memory device (not illustrated in
In one embodiment, link control agent 340 may be communicatively coupled with link interface 320. Link control agent 340 may be implemented as hardware, software, firmware or any combination thereof. In one embodiment, link control agent may determine based, for example, on link conditions, system conditions and/or absence of data to be transmitted over link 350 by master component 310 that link 350 may be transitioned from an active state to a low power (e.g., inactive state). To initiate the transition from the active state to the low power state, link control agent 340 (or other agent within master component 310) may cause request message 352 to be transmitted to slave component 360.
Request message 352 may be in any format that allows master component 310 to communicate to slave component 360 an intention to transition link 350 from the active state to the low power state. In one embodiment, link control agent 340 may prevent traffic from master component 310 over link 350 until a response to request message 352 is received from slave component 360.
In response to request message 352, link control agent 390 may determine whether transitioning link 350 to the low power state is appropriate for slave component 360. Link control agent 390 may use any parameters to determine whether transitioning link 350 to the low power state is appropriate for slave component 360. For example, link control agent 290 may determine whether slave component 360 is or will be transmitting data over link 350 during a subsequent period of time. Other information, for example, the power state of slave component 360, system conditions, etc. may also be used to determine whether the transition is appropriate.
In one embodiment, link control agent 390 may cause either an acknowledge (ACK) message or negative acknowledge (NACK) message (generically illustrated as ACK/NACK message 354 in
Link control agent 390 may use one or more operational parameters to determine whether to cause an ACK message or a NACK message to be transmitted to master component 310. In one embodiment, link control agent 390 may determine whether data will be transmitted over link 350 during a subsequent period of time (e.g., 1 sec, 2 sec, 50 ms). In another embodiment, link control agent 390 may evaluate other operational parameters internal to slave component 360, for example, the power state or a computational state of slave component 360 may be used. Any type operational parameter of slave component 360 may be utilized. In one embodiment, the same operational parameters may also be used by master component 310 to determine whether to transmit a request message.
In response to receiving the ACK message, link control agent 340 may cause link 350 to transition to the low power state. For example, link control agent 340 may cause power to be removed from transmit circuitry of link interface 320 and/or disable a link clock signal. In response to receiving the NACK message, link control agent 340 may trigger a timer or other mechanism to prevent a request message from being transmitted over link 350 for a predetermined period of time.
System component 410 may determine conditions dictate that link 420 should transition to the low power state. In response, system component 410 may send a request message to system component 430 over link 420. In response to the request message from system component 410, system component 430 may send an ACK message or a NACK message to system component 410 over link 420 as described above.
In one embodiment, if system component 430, operating as a slave component on link 420, sends an ACK message to system component 410 to allow link 420 to transition to the low power state, system component 430 then sends a request message to system component 450 over link 440 to initiate a transition of link 440 to the low power state. System component 430 and system component 450 communicate over link 440 to determine wither link 440 will transition to the low power state using the negotiation technique described herein. The operational state of link 440 may not be dependent upon the operational state of link 420. That is, link 440 may be in a different state than link 420.
A similar negotiation process may also occur between system component 450 and system component 410 over link 460. System component 450 and system component 410 may determine the operational state of link 460. The operational state of link 460 may not be dependent upon the operational state of link 440. That is, link 460 may be in a different state than link 440. Thus, the operational state of multiple point-to-point links in a single electronic system may be determined utilizing the master-slave operation described herein for each link.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
While the invention has been described in terms of several embodiments, those skilled in the art will recognize that the invention is not limited to the embodiments described, but can be practiced with modification and alteration within the spirit and scope of the appended claims. The description is thus to be regarded as illustrative instead of limiting.
This application is a continuation of U.S. patent application Ser. No. 12/685,874, filed Jan. 12, 2010 entitled, “TECHNIQUES FOR ENTERING LOW-POWER LINK STATE,” which is a continuation of U.S. Pat. No. 7,716,536 entitled, “TECHNIQUES FOR ENTERING A LOW-POWER LINK STATE.”
Number | Date | Country | |
---|---|---|---|
Parent | 12685874 | Jan 2010 | US |
Child | 13042104 | US | |
Parent | 11480065 | Jun 2006 | US |
Child | 12685874 | US |