# US 2017/0371399 A1 · Controlling Forced Idle State Operation In A Processor

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

- Number: US 2017/0371399 A1
- Document ID: US20170371399A1
- Status: Published application
- Kind: A1
- Application number: 15/190,377
- Filed: 2016-06-23
- Published: 2017-12-28
- Earliest claimed: 2016-06-23
- Assignees: Intel Corporation
- Inventors: Eliezer Weissmann; Efraim Rotem; Yoni Aizik; Doron Rajwan; Gal Leibovich; Nadav Shulman; Hisham Abu Salah
- Web page: https://patentgrep.com/patent/US20170371399A1

## CPC

- G06F 1/3287: by switching off individual functional units in the computer system
- G06F 1/266: {Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips}
- G06F 13/24: using interrupt (G06F13/32 takes precedence)
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- Y02D 30/50: in wire-line communication networks, e.g. low power modes or reduced link rate
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

In one embodiment, a processor includes a plurality of cores and a power controller including a first logic, responsive to a determination that the processor resided in a forced idle state for less than a threshold duration, to update a first counter and, responsive to a value of the first counter that exceeds a control threshold, prevent the processor from entry into the forced idle state. Other embodiments are described and claimed.

## Claims

### Claim 1

A processor comprising:
a plurality of cores; and
a power controller including a first logic, responsive to a determination that the processor resided in a forced idle state for less than a threshold duration, to update a first counter and, responsive to a value of the first counter that exceeds a control threshold, prevent the processor from entry into the forced idle state.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the first logic is to determine that the processor resided in the forced idle state or a deeper package idle state for less than the threshold duration responsive to an exit of the processor from the forced idle state to handle an event.

### Claim 3 (depends on 1)

The processor of claim 1, wherein the first logic is to prevent the processor from entry into the forced idle state for a first time duration.

### Claim 4 (depends on 3)

The processor of claim 3, wherein the first logic is to reset an enable indicator of a control register of the processor to prevent the processor from entry into the forced idle state.

### Claim 5 (depends on 3)

The processor of claim 3, wherein the first logic is to enable the processor to enter the forced idle state after the first time duration.

### Claim 6 (depends on 1)

The processor of claim 1, wherein the first logic is to maintain the processor enabled for entry into the forced idle state responsive to a determination that the processor resided in the forced idle state for at least the threshold duration.

### Claim 7 (depends on 5)

The processor of claim 5, wherein the first logic is to reset the first counter responsive to the determination that the processor resided in the forced idle state for at least the threshold duration.

### Claim 8 (depends on 1)

The processor of claim 1, wherein the power controller is to cause the processor to enter into the forced idle state without a request for low power state entry from an operating system or from at least one of the plurality of cores.

### Claim 9 (depends on 8)

The processor of claim 8, wherein the power controller is to cause the processor to exit the forced idle state responsive to receipt of an interrupt in the processor.

### Claim 10

A machine-readable medium having stored thereon instructions, which if performed by a machine cause the machine to perform a method comprising:
causing a processor to enter into a forced idle state when a constraint is identified in the processor;
causing the processor to exit the forced idle state responsive to an external event;
comparing a residency duration of the processor in the forced idle state to a residency threshold and updating a counter if the residency duration is less than the residency threshold;
determining if the counter reaches a first threshold; and
responsive to the counter reaching the first threshold, preventing the processor from entry into the forced idle state.

### Claim 11 (depends on 10)

The machine-readable medium of claim 10, wherein the method further comprises causing the processor to enter into the forced idle state after handling the external event if the counter does not reach the first threshold.

### Claim 12 (depends on 10)

The machine-readable medium of claim 10, wherein the method further comprises preventing the processor from entry into the forced idle state for a threshold duration and thereafter enabling the processor to enter into the forced idle state.

### Claim 13 (depends on 10)

The machine-readable medium of claim 10, wherein preventing the processor from entry into the forced idle state comprises resetting an enable indicator for the forced idle state in a control register of the processor.

### Claim 14 (depends on 10)

The machine-readable medium of claim 10, wherein the method further comprises resetting the counter responsive to determining that the residency duration of the processor exceeds the residency threshold.

### Claim 15 (depends on 10)

The machine-readable medium of claim 10, wherein the method further comprises resetting the counter after a first time interval, the first time interval substantially longer than the residency threshold.

### Claim 16

A system comprising:
a multicore processor having a plurality of cores, a residency counter to maintain a duration of the multicore processor in a forced idle state, and a power controller including a forced idle state control circuit, responsive to an exit from the forced idle state, to determine whether the duration maintained in the residency counter exceeds a threshold duration and if so prevent the multicore processor from entry into the forced idle state for a prevention period;
at least one device coupled to the multicore processor; and
a dynamic random access memory coupled to the multicore processor.

### Claim 17 (depends on 16)

The system of claim 16, wherein the multicore processor further comprises a first counter to maintain a first count of a number of times that the multicore processor exited the forced idle state prior to the threshold duration.

### Claim 18 (depends on 17)

The system of claim 17, wherein the forced idle state control circuit is to update the first count when the multicore processor exits the forced idle state prior to the threshold duration, prevent the processor from entry into the forced idle state when the first count meets a threshold value, and reset the first counter after a reset period, the reset period substantially longer than the prevention period.

### Claim 19 (depends on 18)

The system of claim 18, wherein the forced idle state control circuit is to reset enable indicator of a control register to prevent the multicore processor from entry into the forced idle state.

### Claim 20 (depends on 16)

The system of claim 16, wherein the power controller is to cause the multicore processor to enter into the forced idle state without a request for low power state entry from an operating system or from at least one of the plurality of cores, and cause the multicore processor to exit the forced idle state responsive to receipt of an interrupt from the at least one device.
