HARDWARE MANAGED POWER COLLAPSE AND CLOCK WAKE-UP FOR MEMORY MANAGEMENT UNITS AND DISTRIBUTED VIRTUAL MEMORY NETWORKS
Methods and systems are disclosed for full-hardware management of power and clock domains related to a distributed virtual memory (DVM) network. An aspect includes transmitting, from a DVM initiator to a DVM network, a DVM operation, broadcasting, by the DVM network to a plurality of DVM targets, the DVM operation, and, based on the DVM operation being broadcasted to the plurality of DVM targets by the DVM network, performing one or more hardware optimizations comprising: turning on a clock domain coupled to the DVM network or a DVM target of the plurality of DVM targets that is a target of the DVM operation, increasing a frequency of the clock domain, turning on a power domain coupled to the DVM target based on the power domain being turned off, or terminating the DVM operation to the DVM target based on the DVM target being turned off.
The present application for patent is a continuation of U.S. patent application Ser. No. 15/086,054, entitled “HARDWARE MANAGED POWER COLLAPSE AND CLOCK WAKE-UP FOR MEMORY MANAGEMENT UNITS AND DISTRIBUTED VIRTUAL MEMORY NETWORKS,” filed Mar. 31, 2016, assigned to the assignee hereof, and expressly incorporated herein by reference in its entirety.
FIELD OF DISCLOSUREAspects of this disclosure relate to hardware managed power collapse and clock wake-ups for memory management units (MMUs) and distributed virtual memory (DVM) networks, and related concepts.
BACKGROUNDA “DVM network” is a broadcast network within the hardware/software architecture of a system-on-a-chip (SoC) designed to broadcast “DVM operations” from a “DVM initiator” to all “DVM targets” of the DVM network. The DVM network is responsible for merging responses from the DVM targets and presenting a single unified response back to the DVM initiator. DVM operations may include translation lookaside buffer (TLB) invalidate operations to TLBs located at a DVM target, synchronization operations to ensure completion of previous DVM operations, instruction cache invalidate operations to instruction caches located at a DVM target, and other related operations.
DVM networks use a protocol based on the Advanced Microcontroller Bus Architecture (AMBA) 4 Advanced Extensible Interface (AXI) Coherency Extensions (ACE) standard from ARM Ltd. AMBA 4 is an open-standard, on-chip interconnect specification for the connection and management of functional blocks in SoC designs. The standard specification only describes the “protocol” for DVM networks and does not mandate a specific implementation of the DVM network.
SUMMARYThe following presents a simplified summary relating to one or more aspects and/or aspects disclosed herein. As such, the following summary should not be considered an extensive overview relating to all contemplated aspects and/or aspects, nor should the following summary be regarded to identify key or critical elements relating to all contemplated aspects and/or aspects or to delineate the scope associated with any particular aspect and/or aspect. Accordingly, the following summary has the sole purpose to present certain concepts relating to one or more aspects and/or aspects relating to the mechanisms disclosed herein in a simplified form to precede the detailed description presented below.
A method for full-hardware management of power and clock domains related to a distributed virtual memory (DVM) network, includes transmitting, from a DVM initiator to a DVM network, a DVM operation, broadcasting, by the DVM network to a plurality of DVM targets, the DVM operation, and, based on the DVM operation being broadcasted to the plurality of DVM targets by the DVM network, performing one or more hardware functions comprising: turning on a clock domain coupled to the DVM network or a DVM target of the plurality of DVM targets that is a target of the DVM operation, increasing a frequency of the clock domain coupled to the DVM network or the DVM target of the plurality of DVM targets that is the target of the DVM operation, turning on a power domain coupled to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the power domain being turned off, terminating the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the DVM target being turned off, or any combination thereof.
An apparatus for full-hardware management of power and clock domains related to a DVM network, includes a DVM initiator, a plurality of DVM targets, a DVM network coupled to the DVM initiator and the plurality of DVM targets, wherein the DVM network is configured to broadcast DVM operations from the DVM initiator to the plurality of DVM targets, wherein, based on a DVM operation in the DVM network being broadcasted to the plurality of DVM targets: a clock domain coupled to the DVM network or a DVM target of the plurality of DVM targets that is a target of the DVM operation is turned on, a frequency of the clock domain coupled to the DVM network or the DVM target of the plurality of DVM targets that is the target of the DVM operation is increased, a power domain coupled to the DVM target of the plurality of DVM targets that is the target of the DVM operation is turned on based on the power domain being turned off, the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation is terminated based on the DVM target being turned off, or any combination thereof.
An apparatus for full-hardware management of power and clock domains related to a DVM network, includes means for transmitting, to a DVM network, a DVM operation, means for broadcasting, to a plurality of DVM targets, the DVM operation, and means for performing, based on the DVM operation being broadcasted to the plurality of DVM targets by the DVM network, one or more hardware functions comprising: turn on a clock domain coupled to the DVM network or a DVM target of the plurality of DVM targets that is a target of the DVM operation, increase a frequency of the clock domain coupled to the DVM network or the DVM target of the plurality of DVM targets that is the target of the DVM operation, turn on a power domain coupled to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the power domain being turned off, terminate the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the DVM target being turned off, or any combination thereof.
Other objects and advantages associated with the aspects and aspects disclosed herein will be apparent to those skilled in the art based on the accompanying drawings and detailed description.
A more complete appreciation of aspects of the disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings which are presented solely for illustration and not limitation of the disclosure, and in which:
Methods and systems are disclosed for full-hardware management of power and clock domains related to a distributed virtual memory (DVM) network. An aspect includes transmitting, from a DVM initiator to a DVM network, a DVM operation, broadcasting, by the DVM network to a plurality of DVM targets, the DVM operation, and, based on the DVM operation being broadcasted to the plurality of DVM targets by the DVM network, performing one or more hardware functions comprising: turning on a clock domain coupled to the DVM network or a DVM target of the plurality of DVM targets that is a target of the DVM operation, increasing a frequency of the clock domain coupled to the DVM network or the DVM target of the plurality of DVM targets that is the target of the DVM operation, turning on a power domain coupled to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the power domain being turned off, or terminating the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the DVM target being turned off.
These and other aspects of the disclosure are disclosed in the following description and related drawings directed to specific aspects of the disclosure. Alternate aspects may be devised without departing from the scope of the disclosure. Additionally, well-known elements of the disclosure will not be described in detail or will be omitted so as not to obscure the relevant details of the disclosure.
The words “exemplary” and/or “example” are used herein to mean “serving as an example, instance, or illustration.” Any aspect described herein as “exemplary” and/or “example” is not necessarily to be construed as preferred or advantageous over other aspects. Likewise, the term “aspects of the disclosure” does not require that all aspects of the disclosure include the discussed feature, advantage or mode of operation.
Further, various aspects are described in terms of sequences of actions to be performed by, for example, elements of a computing device. It will be recognized that various actions described herein can be performed by specific circuits (e.g., application specific integrated circuits (ASICs), systems-on-a-chip (SoCs)), by program instructions being executed by one or more processors, or by a combination of both. Additionally, these sequence of actions described herein can be considered to be embodied entirely within any form of computer-readable storage medium having stored therein a corresponding set of computer instructions that upon execution would cause an associated processor to perform the functionality described herein. Thus, the various aspects of the disclosure may be embodied in a number of different forms, all of which have been contemplated to be within the scope of the claimed subject matter. In addition, for each of the aspects described herein, the corresponding form of any such aspects may be described herein as, for example, “logic configured to” perform the described action.
Generally, unless stated otherwise explicitly, the phrase “logic configured to” as used throughout this disclosure is intended to invoke an aspect that is at least partially implemented with hardware, and is not intended to map to software-only implementations that are independent of hardware. Also, it will be appreciated that the configured logic or “logic configured to” in the various blocks are not limited to specific logic gates or elements, but generally refer to the ability to perform the functionality described herein (either via hardware or a combination of hardware and software). Thus, the configured logics or “logic configured to” as illustrated in the various blocks are not necessarily implemented as logic gates or logic elements despite sharing the word “logic.” Other interactions or cooperation between the logic in the various blocks will become clear to one of ordinary skill in the art from a review of the aspects described below in more detail.
Providing full-hardware management of power and clock domains related to a DVM network, according to aspects disclosed herein, may be provided in or integrated into any processor-based device. Examples, without limitation, include a set top box, an entertainment unit, a navigation device, a communications device, a fixed location data unit, a mobile location data unit, a mobile phone, a cellular phone, a server, a computer, a portable computer, a desktop computer, a personal digital assistant (PDA), a monitor, a computer monitor, a television, a tuner, a radio, a satellite radio, a music player, a digital music player, a portable music player, a digital video player, a video player, a digital video disc (DVD) player, a portable digital video player, etc.
In this regard,
The CPU(s) 102 is coupled to a system bus 110 (which includes a DVM network (not shown)) that can intercouple master and slave devices included in the processor-based system 100. The CPU(s) 102 communicates with these other devices by exchanging address, control, and data information over the system bus 110. In the example of
The CPU(s) 102 may also be configured to access the display controller(s) 126 over the system bus 110 to control information sent to one or more displays 130. The display controller(s) 126 sends information to the display(s) 130 to be displayed via one or more video processors 132, which process the information to be displayed into a format suitable for the display(s) 130. The display(s) 130 can include any type of display, including but not limited to a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display, etc.
The system bus 110 includes a DVM network that couples a DVM initiator (e.g., CPU(s) 102) to one or more DVM targets (e.g., SMMU 116). The DVM network (part of system bus 110) is included within the hardware/software architecture of a SoC to broadcast “DVM operations” from a “DVM initiator,” such as CPU 102, to all “DVM targets,” such as SMMU 116, of the DVM network.
DVM networks, such as the DVM network 204, may use a protocol based on the AMBA 4 ACE standard from ARM Ltd. AMBA 4 is an open-standard, on-chip interconnect specification for the connection and management of functional blocks in SoC designs. The standard specification only describes the “protocol” for DVM networks and does not mandate a specific implementation of the DVM network. For example, clocking and power collapse and many other implementation details are beyond the scope of the standard specification.
In an aspect, the DVM targets 206A to 206N may be SMMUs. An SMMU is a DVM target comprising a TLB that receives DVM operations from the DVM network, such as the DVM network 204. When an SMMU receives a TLB invalidate operation over the DVM network 204, for example, the SMMU: 1) returns a TLB invalidate acknowledgement to the DVM network 204, and 2) performs the TLB invalidate on the TLB (and any cached translations). When an SMMU receives a sync operation over the DVM network 204, for example, the SMMU: 1) ensures that previously posted TLB invalidates are performed, and 2) ensures that client requests (e.g., read/write/etc.) that were using old/targeted TLB entries have been globally observed before returning a “sync complete.”
For power optimization and/or performance reasons, it is sometimes desirable to have SMMUs/DVM targets on a separate clock domain and a separate power domain.
The introduction of multiple clock and multiple power domains within the DVM network 204 can place a burden on software if the clock domains and power domains are software managed/controlled. In such cases, when a TLB invalidate is issued from the CPU (such as the CPU(s) 102 in
Having the DVM network 204 and all of the DVM targets 206A to 206N on a single clock and power domain simplifies the problem. However, this may lead to undesirable latency performance profiles if, for example, the DVM network 204 and the DVM targets 206A to 206N are forced to operate on a single fast/slow clock. It may also lead to undesirable power performance profiles if, for example, the DVM network 204 and the DVM targets 206A to 206N are “always powered.”
Accordingly, the present disclosure presents a mechanism for full hardware management of the power and clock domains relating to a DVM network, such as the DVM network 204, and the DVM targets, such as the DVM targets 206A to 206N. In an aspect, the disclosed hardware mechanism can 1) turn on the relevant clocks based on the presence of a DVM operations in the DVM network 204 (and then, when the operation is done, the relevant clocks are turned back off), 2) speed up the relevant clocks based on the presence of a DVM operation in the DVM network 204 (and then, when the operation is done, the relevant clocks are slowed back down), and/or 3) automatically terminate DVM operations that are broadcast to the DVM targets 206A to 206N that have power collapsed, as appropriate. Optionally, a DVM target 206A to 206N that is power collapsed can be “powered-up” based on the presence of DVM operations in the DVM network 204.
Points 1 and 2 above ensure low latency (due to the high performance DVM network response). The impact of the present disclosure includes releasing the software from the burden of having to software manage the DVM network 204 prior to a DVM target 206A to 206N being powered off, and releasing the software from the burden of having to software manage clocks prior to the DVM initiator 202 issuing a DVM operation (e.g., a TLB invalidate).
A DVM interceptor 428 ensures that no DVM operations pass through to the DVM targets unless all downstream target DVM clocks are turned on. The DVM interceptor 428 includes logic to stop any DVM operations until the relevant clocks are turned on. The DVM interceptor 428 communicates with a clock manager 410, which is responsible for turning on any clocks related to the DVM operations that are turned off.
When a DVM target, such as the DVM target 406, is power collapsed, a DVM disconnect module 426 communicates with a power collapse manager 420 to ensure the proper shutdown of the DVM target 406. The power collapse manager 420 communicates with the DVM target 406 to ensure the proper shutdown/power collapse of the DVM target 406. The power collapse manager 420, via the DVM disconnect module 426, communicates with the DVM network 404 to ensure that the DVM network 404 provides the proper response to the DVM initiator, i.e., the CPU subsystem/DVM initiator 402. The power collapse manager 420 also reads “Power Off Requests” from and writes Power Off Status” to the registers for the power collapse interface 440.
A clock bridge 424 is an interconnection device that allows communication (DVM communication in this case) between two separate clock domains. For example, here, the DVM network 404 is on one clock domain while the DVM target 406 is on a separate clock domain, thus requiring a “clock bridge” to bridge the two clock domains.
The CPU subsystem/DVM initiator 402 may issue a dynamic clock divide (DCD) wakeup command to clock selectors 432A and 432B. The clock selectors 432A and 432B select the fastest clock when there is DVM activity by causing the clock dividers 434A and 434B to be bypassed. More specifically, when the DCD wakeup command is “1,” the clock selectors 432A and 432B cause the multiplexors coupled to the clock dividers 434A and 434B to select the undivided clock signal and send it to the clock manager 410. This causes the corresponding clock circuitry to speed up the clock.
The clock manager 410 may also receive votes to keep a given clock on, represented in
At 502, the power collapse manager 420 receives a request from the software being currently executed to power collapse the DVM target 406. The software asserts the request by writing a “Power Collapse Request” in the registers for the power collapse interface 440 in
At 504, the power collapse manager 420 issues a DVMDisconnectRequest message to the DVM network 404 to safely disconnect the DVM target 406 from the DVM network 404. At 506, once the DVM network 404 receives the DVMDisconnectRequest message, the DVM network 404 safely terminates any new DVM operations, such that new DVM operations do not reach the DVM target 406. Terminating the DVM operations ensures that any new DVM operation is acknowledged/completed and that the DVM initiator (e.g., the CPU subsystem 402) receives a valid non-error response indicating that the terminated transaction was acknowledged/completed “normally” (i.e., without error).
At 508, the DVM network 404 ensures that all previously pending DVM operations are acknowledged or completed by the DVM target 406. At 510, the DVM network 404 returns a DVMDisconnectReady message once all pending DVM operations are acknowledged or completed by the DVM target 406.
At 512, the power collapse manager 420 receives the DVMDisconnectReady message from the DVM network 404. At 514, the power collapse manager 420 issues a SMMUPowerCollapseRequest message to the DVM target 406.
At 516, once the DVM target 406 receives the power collapse request, the DVM target 406 blocks any new client requests (e.g., DVM operations from the CPU subsystem/DVM initiator 402). At 518, the DVM target 406 waits until any pending activity is completed (e.g., all outstanding client requests are completed, and all outstanding translation table walks are completed). At 520, once all pending activity in the DVM target 406 is completed, the DVM target 406 returns a SMMUPowerCollapseReady message.
At 522, the power collapse manager 420 issues a PowerONControl=0 message to a power controller 408. Once the power controller 408 receives the PowerONControl=0 message, it removes the power from the DVM target 406 (thereby power collapsing the DVM target 406) and associated components.
At 524, the power collapse manager 420 returns a power status signal indicating that the power has been removed from the DVM target 406. This status is readable by the software via the registers for the power collapse interface 440.
At 602, the power collapse manager 420 receives a request from the software currently being executed to power ON the DVM target 406. The software asserts the request by de-asserting the “Power Collapse Request” in the registers for the power collapse interface 440. Alternatively, instead of the software triggering a power-ON of the DVM target 406, a handshake from the DVM network 404 may trigger the power-ON sequence. This handshake would be performed if a DVM operation is targeting the DVM target 406. The power collapse manager 420 would receive this power-ON request from the DVM network 404 and complete the handshake when the DVM target 406 is powered on.
At 604, the power collapse manager 420 issues a PowerONControl=1 message to the power controller 408. At 606, the power collapse manager 420 waits until the DVM target 406 is fully powered on. More specifically, the power collapse manager 420 waits for the power-ON status indicator from the power controller 408. Once the power controller 408 receives the PowerONControl=1 message, the DVM target 406 will be powered on. Once power is restored to the DVM target 406, the power controller 408 issues a reset message to the DVM target 406, and also issues a TLB reset message to the DVM target 406 to ensure that the TLB is “invalid” and contains no valid information. Note, this operation may not be performed for the alternative described above with reference to 602, since the TLB would contain valid information.
At 608, the power collapse manager 420 asserts a power-ON request to the DVM target 406 by de-asserting the SMMUPowerCollapseRequest message for the DVM target 406.
At 610, once the DVM target 406 receives the power-ON request, the DVM target 406 unblocks any client requests (e.g., DVM operations from the CPU subsystem/DVM initiator 402). At 612, the DVM target 406 returns a SMMUPowerCollapseReady=1 message to acknowledge the power-ON request and to indicate that it is ready for a subsequent power collapse.
At 614, the power collapse manager 420 asserts the power-ON request to the DVM network 404 by de-asserting the DVMDisconnectRequest message to the DVM network 404 to reconnect the DVM target 406 to the DVM network 404.
At 616, once the DVM network 404 receives the reconnect request from the power collapse manager 420 (i.e., the DVMDisconnectRequest=0 message), the DVM network 404 stops terminating any new DVM operations and forwards them (as normal) to the DVM target 406. At 618, the DVM network 404 returns an acknowledgement of the power-ON request to the power collapse manager 420.
At 620, the power collapse manager 420 waits for an acknowledgement from the DVM network 404. At 622, the power collapse manager 420 returns a power status signal indicating that the power has been applied to the DVM target 406. This status is readable by the software via the registers for the power collapse interface 440.
At 704, the DVM initiator 402 asserts a DCDWakeUpRequest signal as an “early” indication that there is a pending DVM operation. Note, the DCDWakeUPRequest signal is an “early” indication of a pending DVM request since it is asserted long before the DVM operation reaches the DVM target 406. At 706, the clock selectors 432A and/or 432B receive the DCDWakeUpRequest signal and respond by switching to a faster clock frequency source and/or selecting the non-divided clock signal to send to the clock manager 410. The clock manager 410 uses these faster/non-divided clocks as the clock source for the SMMU/DVM target. By using the “faster” non-divided clock, the DVM network 404 and DVM targets are able to respond faster to the DVM operations that are broadcast over the DVM network 404.
At 708, the clock manager 410, the DVM network 404, and the DVM targets 406 use the faster clocks. At 710, the clock manager 410, the DVM network 404, and the DVM targets 406 receive and perform the DVM operation broadcasted at 702.
At 712, the DVM initiator 402 waits for responses from the DVM network 404. At 714, the DVM initiator 402 determines whether or not there are any new DVM operations. If there are, the flow returns to 702. If not, the flow proceeds to 716. At 716, the DVM initiator 402 de-asserts the DCDWakeUpRequest. When the DCDWakeUpRequest signal is de-asserted, the DVM-related clocks can be switched back to the divided clocks for power savings.
At 724, the CPU subsystem/DVM initiator 402 asserts a DCDWakeUpRequest signal as an “early” indication that there is a pending DVM operation, as at 704 of
At 726, another DVM operation is broadcast over the DVM network 404 to all (or some) of the DVM targets. The present disclosure includes software programmed provisions to exclude a DVM target, such as the DVM target 406, from receiving DVM operations. Accordingly not all DVM targets will receive the “broadcasted” DVM operation.
At 728, the DVM interceptor 428 “intercepts” the DVM operation inside the DVM master port 412 of the DVM network 404. At 730, the DVM interceptor 428 blocks the DVM operation until the DVM targets' clocks are ON (referred to as “toggling”). At 732, the DVM interceptor 428 issues a DVMSMMUClockONRequest to the clock manager 410.
At 734, the clock manager 410 will ensure that the clock gating elements are disabled and that the clocks relating to the DVM network components and DVM targets are ON. At 736, once the clocks relating to DVM network components and DVM targets are ON, the clock manager 410 returns a DVMSMMUClockONReady response to the DVM interceptor 428.
At 738, the DVM interceptor 428 waits until the clock manager 410 returns the DVMSMMUClockONReady response. At 740, the DVM interceptor 428 “unblocks” and allows the DVM operation to proceed to the DVM target 406 (assuming it is not in the process of being power collapsed). The DVM target asserts “SMMUIsActive” signal for as long as the DVM target 406 is actively processing the DVM operation (or any other operation). When all of the DVM responses have returned and the DCDWakeUpRequest signal is de-asserted, the DVM-related clocks can be switched back to the divided clocks for power savings.
At 742, when all DVM responses have returned and exited the DVM network 404, the DVM interceptor 428 eventually stops requesting that the clocks be turned ON by deasserting the request signal DVMClockONRequest. This can be done, for example, when there are no DVM requests pending at the DVM interceptor 428 and when an amount of time (for example, a fixed number of clock cycles) has elapsed since the last DVM request was pending at the DVM interceptor 428. At this time, at 744, the clock manager 410 may decide to shut-off the clocks (referred to as “no toggle”) if no other agent will use those clocks.
At 802, a DVM initiator, such as the CPU subsystem/DVM initiator 402, transmits a DVM operation to a DVM network, such as the DVM network 404.
At 804, the DVM network, such as DVM network 404, broadcasts the DVM operation to a plurality of DVM targets, such as the DVM target 406.
At 806, based on the pending DVM operation being broadcasted to the plurality of DVM targets by the DVM network, one or more hardware functions are performed.
For example, at 812, a clock domain coupled to the DVM network (e.g., clock domain 324) or a DVM target (e.g., clock domain(s) 326/328) of the plurality of DVM targets that are a target of the DVM operation may be turned on.
Alternatively or additionally, at 814, a frequency of the clock domain coupled to the DVM network (e.g., clock domain 324) or the DVM target (e.g., clock domain(s) 326/328) of the plurality of DVM targets that is the target of the DVM operation may be increased.
Alternatively or additionally, at 816, a power domain coupled to a DVM target of the plurality of DVM targets that is the target of the DVM operation is turned on based on the power domain being turned off.
Alternatively or additionally, at 818, the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation is terminated based on the DVM target being turned off. More specifically, if the DVM target of the plurality of DVM targets that is the target of the DVM operation is turned off, the DVM operation is terminated.
There are a number of benefits of hardware-managed power collapse, as disclosed herein. For example, the power management software can freely power collapse DVM targets without having to synchronize/coordinate with software that may be using the DVM networks. In-flight DVM operations still complete “successfully,” even when targeting a DVM target with no power. Further, in some aspects, the issuance of a DVM operation will optionally power-ON the DVM targets without explicit instruction to manage power from the software.
There are also a number of benefits of hardware-managed clocking, as disclosed herein. For example, the issuance of a TLB invalidate instruction will turn-ON the associated clocks on the DVM network and DVM targets without explicit instruction to manage the clocks from the software. Further, the issuance of a TLB invalidate instruction (for example) will speed-up the associated clocks on the DVM network and DVM targets without explicit instruction to manage the clocks from the software. The result is a faster DVM network that does not rely on software management.
Other aspects of the disclosure include provisions to optionally and programmatically exclude a DVM target from participating in the DVM network. The programmability of said controls is software readable/writable from “privileged” or “secure” software. Other aspects include a provision/facility to automatically switch the clock source to an “always present” fast clock when the phase lock loops (PLLs) are disabled.
Those of skill in the art will appreciate that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
Further, those of skill in the art will appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the aspects disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The various illustrative logical blocks, modules, and circuits described in connection with the aspects disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The methods, sequences and/or algorithms described in connection with the aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal (e.g., UE). In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary aspects, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
While the foregoing disclosure shows illustrative aspects of the disclosure, it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the aspects of the disclosure described herein need not be performed in any particular order. Furthermore, although elements of the disclosure may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
Claims
1. A method for full-hardware management of power and clock domains related to a distributed virtual memory (DVM) network, comprising:
- transmitting, from a DVM initiator of a processor-based system of a device to the DVM network, a DVM operation;
- broadcasting, by the DVM network to each of a plurality of DVM targets physically coupled to the processor-based system of the device, the same DVM operation, wherein the plurality of DVM targets comprises a plurality of memory management units, wherein the DVM network is included in a system bus of the processor-based system of the device between the DVM initiator and the plurality of DVM targets, and wherein the DVM network combines responses to the DVM operation received from the plurality of DVM targets into a single response for the DVM initiator; and
- based on the DVM operation being broadcasted to the plurality of DVM target by the DVM network, performing one or more hardware functions comprising: turning on a clock domain coupled to the DVM network or a DVM target of the plurality of DVM targets that is a target of the DVM operation, increasing a frequency of the clock domain coupled to the DVM network or the DVM target of the plurality of DVM targets that is the target of the DVM operation, terminating the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the DVM target being turned off, or any combination thereof.
2. The method of claim 1, wherein turning on the clock domain coupled to the DVM target of the plurality of DVM targets that is the target of the DVM operation comprises:
- asserting, by the DVM initiator, a wakeup request to the clock domain coupled to the DVM target;
- blocking, by the DVM network, the DVM operation while the clock domain coupled to the DVM target is turned off;
- turning on the clock domain coupled to the DVM target; and
- based on the clock domain coupled to the DVM target being turned on, unblocking the DVM operation and transmitting, by the DVM network, the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation.
3. The method of claim 1, wherein increasing the frequency of the clock domain coupled to the DVM target of the plurality of DVM targets that is the target of the DVM operation comprises:
- asserting, by the DVM initiator, a wakeup request to the clock domain coupled to the DVM target;
- selecting, by a clock selector unit coupled to the DVM initiator, a non-divided version of the clock domain coupled to the DVM target; and
- based on the non-divided version of the clock domain coupled to the DVM target being selected, transmitting, by the DVM network, the DVM operation to the DVM target that is the target of the DVM operation.
4. The method of claim 1, wherein terminating the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the DVM target being turned off comprises:
- receiving, from a DVM disconnect module, a command to terminate subsequent DVM operations.
5. The method of claim 1, wherein terminating the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the DVM target being turned off comprises:
- terminating, by the DVM network, the DVM operation; and
- generating, by the DVM network, a response to the DVM operation.
6. The method of claim 1, wherein the DVM initiator comprises a processor.
7. The method of claim 1, wherein the DVM operation comprises a translation lookaside buffer (TLB) invalidate operation, a synchronization operation, or any combination thereof.
8. The method of claim 1, wherein the DVM initiator is coupled to a separate clock domain and a separate power domain from a clock domain and a power domain of the DVM network.
9. The method of claim 1, wherein the plurality of DVM targets are coupled to clock domains and power domains separate from a clock domain and a power domain of the DVM initiator and a clock domain and a power domain of the DVM network.
10. The method of claim 1, wherein each of the plurality of DVM targets is coupled to a separate clock domain and a separate power domain from remaining ones of the plurality of DVM targets.
11. The method of claim 1, wherein the plurality of DVM targets is coupled to a single clock domain and a power domain.
12. An apparatus for full-hardware management of power and clock domains related to a distributed virtual memory (DVM) network, comprising:
- a DVM initiator of a processor-based system of a device;
- a plurality of DVM targets physically coupled to the processor-based system of the device;
- a DVM network physically coupled to the DVM initiator and the plurality of DVM targets, wherein the plurality of DVM targets comprises a plurality of memory management units, wherein the DVM network is included in a system bus of the processor-based system of the device between the DVM initiator and the plurality of DVM targets, wherein the DVM network is configured to broadcast the same DVM operation from the DVM initiator to each of the plurality of DVM targets, and wherein the DVM network combines responses to the DVM operation received from the plurality of DVM targets into a single response for the DVM initiator,
- wherein, based on a DVM operation in the DVM network being broadcasted to the plurality of DVM targets: a clock domain coupled to the DVM network or a DVM target of the plurality of DVM targets that is a target of the DVM operation is turned on, a frequency of the clock domain coupled to the DVM network or the DVM target of the plurality of DVM targets that is the target of the DVM operation is increased, the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation is terminated based on the DVM target being turned off, or any combination thereof.
13. The apparatus of claim 12, wherein the plurality of memory management units each comprise a translation lookaside buffer (TLB).
14. The apparatus of claim 12, wherein the DVM initiator comprises a processor.
15. The apparatus of claim 12, wherein the DVM operations comprise a TLB invalidate operations, synchronization operations, or any combination thereof.
16. The apparatus of claim 12, wherein the DVM initiator is coupled to a separate clock domain and a separate power domain from a clock domain and a power domain of the DVM network.
17. The apparatus of claim 12, wherein the plurality of DVM targets are coupled to clock domains and power domains separate from a clock domain and a power domain of the DVM initiator and a clock domain and a power domain of the DVM network.
18. The apparatus of claim 12, wherein each of the plurality of DVM targets is coupled to a separate clock domain and a separate power domain from remaining ones of the plurality of DVM targets.
19. The apparatus of claim 12, wherein the plurality of DVM targets is coupled to a single clock domain and a power domain.
20. The apparatus of claim 12, wherein the DVM network reports the single response to the DVM initiator.
21. The apparatus of claim 12, wherein based on the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation being terminated, the DVM network responds to the DVM initiator on behalf of the DVM target.
22. An apparatus for full-hardware management of power and clock domains related to a distributed virtual memory (DVM) network, comprising:
- means for broadcasting of a processor-based system of a device communicatively coupled to a plurality of DVM targets coupled to the processor-based system of the device;
- means for transmitting of the processor-based system of the device, to the means for broadcasting, a DVM operation, wherein the plurality of DVM targets comprises a plurality of memory management units, wherein the means for broadcasting is included in a system bus of the processor-based system of the device between the means for transmitting and the plurality of DVM targets, wherein the means for broadcasting is configured to broadcast, to each of the plurality of DVM targets, the same DVM operation, and wherein the means for broadcasting is configured to combine responses to the DVM operation received from the plurality of DVM targets into a single response for the means for transmitting; and
- means for performing, based on the DVM operation being broadcasted to the plurality of DVM targets by the DVM network, one or more hardware functions comprising: turn on a clock domain coupled to the DVM network or a DVM target of the plurality of DVM targets that is a target of the DVM operation, increase a frequency of the clock domain coupled to the DVM network or the DVM target of the plurality of DVM targets that is the target of the DVM operation, terminate the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation based on the DVM target being turned off, or any combination thereof.
23. The apparatus of claim 22, wherein the plurality of memory management units each comprise a translation lookaside buffer (TLB).
24. The apparatus of claim 22, wherein the DVM operations comprise a TLB invalidate operations, synchronization operations, or any combination thereof.
25. The apparatus of claim 22, wherein the means for transmitting is coupled to a separate clock domain and a separate power domain from a clock domain and a power domain of the DVM network.
26. The apparatus of claim 22, wherein the plurality of DVM targets are coupled to clock domains and power domains separate from a clock domain and a power domain of the means for transmitting and a clock domain and a power domain of the DVM network.
27. The apparatus of claim 22, wherein each of the plurality of DVM targets is coupled to a separate clock domain and a separate power domain from remaining ones of the plurality of DVM targets.
28. The apparatus of claim 22, wherein the plurality of DVM targets is coupled to a single clock domain and a power domain.
29. The apparatus of claim 22, wherein the DVM network reports the single response to the means for transmitting.
30. The apparatus of claim 22, wherein based on the DVM operation to the DVM target of the plurality of DVM targets that is the target of the DVM operation being terminated, the DVM network responds to the means for transmitting on behalf of the DVM target.
Type: Application
Filed: Jul 1, 2019
Publication Date: Oct 24, 2019
Inventors: Jason Edward PODAIMA (Richmond Hill), Christophe Denis Bernard AVOINNE (Campbell, CA), Manokanthan SOMASUNDARAM (Markham), Sina DENA (San Diego, CA), Paul Christopher John WIERCIENSKI (Toronto), Bohuslav RYCHLIK (San Diego, CA), Steven John HALTER (San Diego, CA), Jaya Prakash SUBRAMANIAM GANASAN (Austin, TX), Myil RAMKUMAR (Richmond Hill, Ontario), Dipti Ranjan PAL (Irvine, CA)
Application Number: 16/458,940