Quiescent State Retention Mode for Processor
First Claim
1. A computer-implemented method of placing a processor into an quiescent state retention mode (QSRM), the method comprising:
- under control of one or more computer systems configured with executable instructions,freezing running user-space processes and kernel threads executing on the processor;
placing an input/output device coupled to the processor into a suspend mode;
configuring a wakeup source coupled to the processor to generate wakeup interrupts;
gating a clock defined in a clock gating register of the processor;
placing a linear regulator on a power management integrated circuit (PMIC) coupled to the processor into an off state;
placing a switching regulator on the PMIC into low power state;
preparing the PMIC to enter a low power mode;
setting a processor state retention mode in a clock control module coupled to the processor;
flushing a cache coupled to the processor;
disabling interrupt requests to the processor except for interrupts from the wakeup sources;
disabling processor scaling in the processor;
executing a wait for interrupt instruction configured to receive the wakeup interrupt from the wakeup source;
gating a main clock of the processor; and
placing the PMIC in the low power mode.
1 Assignment
0 Petitions
Accused Products
Abstract
A quiescent state retention mode (QSRM) permits minimal power consumption and dissipation by an electronic device while idle without producing adverse latencies to users or causing system instability. Upon a call to enter the QSRM, processes may be frozen, clocks may be gated, switching regulators may be placed in low power mode, SDRAM may be placed into self-refresh mode, caches may be flushed, IRQs may be disabled, and the system waits for interrupt to wakeup. In the QSRM, powered components include the switching regulator configured to provide power to the processor is maintained in a low power mode while the SDRAM is placed in self-refresh.
45 Citations
24 Claims
-
1. A computer-implemented method of placing a processor into an quiescent state retention mode (QSRM), the method comprising:
under control of one or more computer systems configured with executable instructions, freezing running user-space processes and kernel threads executing on the processor; placing an input/output device coupled to the processor into a suspend mode; configuring a wakeup source coupled to the processor to generate wakeup interrupts; gating a clock defined in a clock gating register of the processor; placing a linear regulator on a power management integrated circuit (PMIC) coupled to the processor into an off state; placing a switching regulator on the PMIC into low power state; preparing the PMIC to enter a low power mode; setting a processor state retention mode in a clock control module coupled to the processor; flushing a cache coupled to the processor; disabling interrupt requests to the processor except for interrupts from the wakeup sources; disabling processor scaling in the processor; executing a wait for interrupt instruction configured to receive the wakeup interrupt from the wakeup source; gating a main clock of the processor; and placing the PMIC in the low power mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
10. A system of reducing power consumption in a portable electronic device, the system comprising:
-
a memory; a processor coupled to the memory; a kernel stored in the memory and configured to execute on the processor, the kernel being configured to maintain a switching regulator of a power management integrated circuit (PMIC) in a low power state after entering an quiescent state retention mode (QSRM). - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. One or more computer-readable storage media storing instructions that, when executed by a processor, cause the processor to perform acts comprising:
-
freezing running processes and threads executing on a central processing unit (CPU); placing input or output or both devices into a low power or suspend state; configuring a wakeup source to generate a wakeup interrupt; gating clocks defined in clock gating register; placing into an off state a linear regulator configured to provide power to a gated device; placing into low power state a switching regulator configured to provide power to the CPU; gating a serial peripheral interface clock or a universal serial bus clock or both; setting a state retention mode for the CPU in a clock control module; disabling interrupts from a non-wakeup source; and disabling CPU scaling. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification