# US 2008/0288799 A1 · Dynamic processor power management device and method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0288799 A1
- Document ID: US20080288799A1
- Status: Published application
- Kind: A1
- Application number: 11/750,365
- Filed: 2007-05-18
- Published: 2008-11-20
- Earliest claimed: 2007-05-18
- Assignees: Advanced Micro Devices, Inc.
- Inventors: Alex Branover; Frank P. Helms; Jonathan M. Owen; Kurt Lewchuk; Maurice Steinman; Paul Mackey
- Web page: https://patentgrep.com/patent/US20080288799A1

## CPC

- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processor can operate in different power modes. In an active power mode, the processor executes software. In response to receiving a halt indication from the software, hardware at the processor evaluates bus transactions for the processor. If the bus transactions meet a heuristic, hardware places a processor core in a lower power mode, such as a retention mode. Because the bus transactions are evaluated by hardware, rather than by software, and the software is not required to perform handshakes and other protocols to place the processor in the lower power mode, the processor is able to place the processor core into the lower power mode more quickly, thereby conserving power.

## Claims

### Claim 1

A method, comprising:
executing first software at a first processor core for the first period, the first processor core in a first power mode for the first period;
providing a first halt indication in response to determining at the first software during the first period that the first processor core can operate in a second power mode;
in response to receiving the first halt indication, evaluating at a first hardware module bus transactions associated with a bus during a second period, the first period including the second period; and
in response to determining that the monitored bus transactions meet a first heuristic, providing a first low-power voltage to the first processor core for a third period to place the first processor core in a retention state during the third period.

### Claim 2 (depends on 1)

The method of claim 1, wherein providing the first low-power voltage occurs within 100 microseconds of receiving the first halt indication.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first software is in an idle mode when the bus transactions associated with the bus are evaluated.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first heuristic comprises a number of bus transactions associated with the bus.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
in response to receiving an interrupt during the third period providing a second low-power voltage to the first processor core for a fourth period, the second low-power voltage lower than the first operating voltage and greater than the retention voltage.

### Claim 6 (depends on 5)

The method of claim 5, further comprising processing the interrupt at the first processor core during the fourth period.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
in response to receiving a second halt indication during the fourth period, providing the first low-power voltage to the first processor core for a fifth period.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
in response to determining that a second halt indication has not been received during the fourth period, providing the first operating voltage to the first processor core for a fifth period.

### Claim 9 (depends on 5)

The method of claim 5, further comprising:
providing a clock signal at a first frequency to the first processor core for the first period; and
providing the clock signal at a second frequency to the first processor during the fourth period, the second frequency less than the first frequency.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
providing a first memory operating voltage to a memory for the first period; and
providing a second memory operating voltage to the memory for a fourth period in response to receiving the first halt indication.

### Claim 11 (depends on 10)

The method of claim 10, further comprising determining an amount of time for which no memory transactions associated with the memory are expected, wherein the fourth period corresponds the amount of time.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
providing the first memory operating voltage for a fifth period in response to receiving an interrupt associated with the memory.

### Claim 13 (depends on 10)

The method of claim 10, wherein the memory is in a self-refresh state for the fourth period.

### Claim 14 (depends on 1)

The method of claim 1, further comprising providing the first operating voltage to a second processor core for the third period.

### Claim 15 (depends on 14)

The method of claim 14, wherein monitoring bus transactions associated with the bus comprises monitoring bus transactions associated with the first processor core, and further comprising:
executing second software at the second processor core during the third period;
providing a second halt indication in response to determining at the first software during the third period that the second processor core can operate in the second power mode;
in response to receiving the second halt indication, monitoring bus transactions associated with the second processor core during a fourth period, the third period including the fourth period; and
in response to determining that monitored bus transactions associated with the second processor core meet a second heuristic, providing the first low-power voltage to the second processor core for a fifth period.

### Claim 16 (depends on 14)

The method of claim 14, further comprising:
providing a first memory operating voltage to a memory for the first period;
providing a second memory operating voltage to the memory for a sixth period in response to receiving the first halt indication and the second halt indication.

### Claim 17 (depends on 1)

The method of claim 1, wherein the second period of time is based on a programmable value.

### Claim 18

A device, comprising:
a first processor core configured to execute first software;
a bus monitor module coupled to the first processor core, the bus monitor module configured to evaluate a number of bus messages associated with the first processor core for a first period of time in response to a first halt indication from the first software; and
a power control module configured to place the first processor core in one of a plurality of power states, including placing the first processor core in a first power state in response to the bus monitor module indicating that accesses to the first bus meet a first heuristic.

### Claim 19 (depends on 18)

The device of claim 18 further comprising a voltage regulator coupled to the power control module, the voltage regulator configured to:
set an operating voltage of the first processor core to a first low-power voltage in the first power state; and
set the operating voltage of the first processor core to a first active voltage in response in a second power state, the power control module configured to place the first processor core in the second power state in response to the bus monitor module indicating that the accesses to the first bus do not meet the first heuristic.

### Claim 20 (depends on 18)

The device of claim 18 wherein:
the first processor core is configured to place the first software in an idle state when the bus monitor is evaluating the number of bus messages.
