# US 2024/0004454 A1 · Control of power state in computer processor

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

- Number: US 2024/0004454 A1
- Document ID: US20240004454A1
- Status: Published application
- Kind: A1
- Application number: 17/809,652
- Filed: 2022-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Sagar C. Pawar; Pannerkumar Rajagopal; Raghavendra Nagaraj; Ovais F. Pir; Prakash Pillai
- Web page: https://patentgrep.com/patent/US20240004454A1

## CPC

- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 1/3296: by lowering the supply or operating voltage
- G06F 1/30: Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations (for resetting only G06F1/24)
- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- G06F 1/3234: Power saving characterised by the action undertaken
- G06F 1/324: by lowering clock frequency
- G06F 9/4418: {Suspend and resume; Hibernate and awake}
- G06F 9/4812: {by interrupt, e.g. masked}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- 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 an embodiment, a processor may include processing circuits to execute instructions. The processor may also include at least one circuit to: detect a management mode trigger event during operation of the processor in a first power state, the management mode trigger event to initiate a management mode in the processor; in response to a detection of the management mode trigger event, switch the processor from the first power state to a second power state; and after a switch of the processor from the first power state to the second power state, initiate the management mode in the processor. Other embodiments are described and claimed.

## Claims

### Claim 1

A processor comprising:
a plurality of processing circuits to execute instructions; and
at least one circuit to:
detect a management mode trigger event during operation of the processor in a first power state, the management mode trigger event to initiate a management mode in the processor;
in response to a detection of the management mode trigger event, switch the processor from the first power state to a second power state; and
after a switch of the processor from the first power state to the second power state, initiate the management mode in the processor.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the first power state is a high power operating state of the processor, and wherein the second power state is a low power operating state of the processor.

### Claim 3 (depends on 1)

The processor of claim 1, wherein the management mode is a System Management Mode (SMM), and wherein the management mode trigger event is a System Management Interrupt (SMI).

### Claim 4 (depends on 1)

The processor of claim 1, wherein the at least one circuit comprises:
a power control circuit; and
a mode control circuit included in a first processing engine of the plurality of processing engines,
wherein the mode control circuit is to, in response to the detection of the management mode trigger event:
save a processing context of the first processing engine; and
send a save notification to the power control circuit.

### Claim 5 (depends on 4)

The processor of claim 4, wherein the power control circuit is to, in response to a receipt of the save notification:
store data indicating the first power state;
switch the first processing engine from the first power state to the second power state; and
send a save acknowledgement to the first processing engine.

### Claim 6 (depends on 5)

The processor of claim 5, wherein the mode control circuit of the first processing engine is to, in response to a receipt of the save acknowledgement:
enter the management mode;
execute a management mode event handler; and
send a restore signal to the power control circuit.

### Claim 7 (depends on 6)

The processor of claim 6, wherein the power control circuit is to, in response to a receipt of the restore signal:
restore the first processing engine to the first power state; and
send a restore acknowledgement to the first processing engine.

### Claim 8 (depends on 7)

The processor of claim 7, wherein the mode control circuit first processing engine is to, in response to a receipt of the restore acknowledgement:
restore the processing context of the first processing engine; and
send a completion notification to a requesting entity.

### Claim 9

A machine-readable medium having stored thereon data, which if used by at least one machine, causes the at least one machine to fabricate at least one integrated circuit to perform a method comprising:
detecting a management mode request during operation of a processor in a first power state, the management mode request to initiate a management mode in the processor;
in response to a detection of the management mode trigger event, transitioning the processor from the first power state to a second power state; and
after a transition of the processor from the first power state to the second power state, initiating the management mode in the processor.

### Claim 10 (depends on 9)

The machine-readable medium of claim 9, wherein the first power state is a high power operating state of the processor, and wherein the second power state is a low power operating state of the processor.

### Claim 11 (depends on 9)

The machine-readable medium of claim 9, wherein the management mode is a System Management Mode (SMM), and wherein the management mode trigger event is a System Management Interrupt (SMI).

### Claim 12 (depends on 9)

The machine-readable medium of claim 9, wherein the method further comprises, prior to the transition of the processor from the first power state to the second power state:
saving a processing context of the processor; and
storing data indicating the first power state.

### Claim 13 (depends on 12)

The machine-readable medium of claim 12, wherein the method further comprises, after initiating the management mode:
executing a management mode event handler; and
exiting the management mode.

### Claim 14 (depends on 13)

The machine-readable medium of claim 13, wherein the method further comprises, after exiting the management mode:
transitioning the processor from the second power state to the first power state; and
restoring the processing context of the processor.

### Claim 15

A system comprising:
a processor comprising a plurality of processing engines and at least one control circuit, the at least one control circuit to:
detect a management mode trigger event during operation of the processor in a first power state, the management mode trigger event to initiate a management mode in the processor;
in response to a detection of the management mode trigger event, switch the processor from the first power state to a second power state; and
after a switch of the processor from the first power state to the second power state, initiate the management mode in the processor; and
a system memory coupled to the processor.

### Claim 16 (depends on 15)

The system of claim 15, wherein the first power state is a high power operating state of the processor, and wherein the second power state is a low power operating state of the processor.

### Claim 17 (depends on 15)

The system of claim 15, wherein the at least one circuit comprises:
a power control circuit; and
a mode control circuit included in a first processing engine of the plurality of processing engines,
wherein the mode control circuit is to, in response to the detection of the management mode trigger event:
save a processing context of the first processing engine; and
send a save notification to the power control circuit.

### Claim 18 (depends on 17)

The system of claim 17, wherein the power control circuit is to, in response to a receipt of the save notification:
store data indicating the first power state;
switch the first processing engine from the first power state to the second power state; and
send a save acknowledgement to the first processing engine.

### Claim 19 (depends on 18)

The system of claim 18, wherein the mode control circuit of the first processing engine is to, in response to a receipt of the save acknowledgement:
enter the management mode;
execute a management mode event handler; and
send a restore signal to the power control circuit.

### Claim 20 (depends on 19)

The system of claim 19, wherein the power control circuit is to, in response to a receipt of the restore signal:
restore the first processing engine to the first power state; and
send a restore acknowledgement to the first processing engine.
