# US 2026/0064182 A1 · System and method for correction of hardware entity idle state misprediction

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

- Number: US 2026/0064182 A1
- Document ID: US20260064182A1
- Status: Published application
- Kind: A1
- Application number: 18/817,084
- Filed: 2024-08-27
- Published: 2026-03-05
- Earliest claimed: 2024-08-27
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Dinesh Kumar CHOUDHARY; Narendra Kumar GADI; Arun Adathedath MADHAVAN; Chandan AGARWALLA; Srinivas Rao LENGAMANENI; Maulik SHAH; Raja Simha REVANURU
- Web page: https://patentgrep.com/patent/US20260064182A1

## CPC

- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 1/3228: Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands
- G06F 1/3287: by switching off individual functional units in the computer system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for correction of idle state misprediction is described. The method includes receiving an indication of a selected idle state based on a predicted sleep duration of a hardware entity. The method also includes issuing a wait for interrupt (WFI) instruction to the hardware entity to trigger entry into the selected idle state. The method further includes transitioning the hardware entity to a deeper idle state if a residency timer associated with the deeper idle state is expired prior to a wake-up of the hardware entity from the selected idle state.

## Claims

### Claim 1

A method for correction of idle state misprediction, the method comprising:
receiving an indication of a selected idle state based on a predicted sleep duration of a hardware entity;
issuing a wait for interrupt (WFI) instruction to the hardware entity to trigger entry into the selected idle state; and
transitioning the hardware entity to a deeper idle state if a residency timer associated with the deeper idle state is expired prior to a wake-up of the hardware entity from the selected idle state.

### Claim 2 (depends on 1)

The method of claim 1, further comprising forcing the wake-up of the hardware entity from the selected idle state when the residency timer is expired.

### Claim 3 (depends on 1)

The method of claim 1, in which issuing the WFI comprises:
determining, by trusted firmware (TF), if a valid timer match value is configured to wake the hardware entity; and
configuring a low power mode (LPM) path of the hardware entity according to the selected idle state when the valid timer match value is determined.

### Claim 4 (depends on 1)

The method of claim 1, in which issuing the WFI comprises:
determining, by trusted firmware (TF), if a valid timer match value is configured to wake the hardware entity;
configuring a low power mode (LPM) path of the hardware entity according to the deeper idle state when an infinite timer match value is determined; and
setting the residency timer of the hardware entity according to the deeper idle state.

### Claim 5 (depends on 1)

The method of claim 1, in which transitioning the hardware entity to the deeper idle state comprises:
detecting expiration of the residency timer during hibernation of the hardware entity according to the selected idle state; and
directing entry of the hardware entity into the deeper idle state.

### Claim 6 (depends on 5)

The method of claim 5, further comprising clearing a low power mode (LPM) path of the hardware entity in response to the wake-up of the hardware entity from the deeper idle state.

### Claim 7 (depends on 1)

The method of claim 1, in which issuing the WFI comprises:
configuring a low power mode (LPM) path of the hardware entity corresponding to the selected idle state; and
setting the residency timer of the hardware entity according to the deeper idle state.

### Claim 8 (depends on 1)

The method of claim 1, in which the transitioning comprises:
detecting expiration of the residency timer during hibernation of the hardware entity according to the selected idle state; and
forcing the wake-up of the hardware entity.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
detecting a rail power collapse idle mode;
configuring a low power mode (LPM) path of the hardware entity corresponding to the deeper idle state; and
directing entry of the hardware entity into the deeper idle state.

### Claim 10 (depends on 1)

The method of claim 1, in which the predicted sleep duration of the hardware entity exceeds the sleep duration associated with the selected idle state if the timer associated with the deeper idle state is expired prior to the wake-up of the hardware entity from the selected idle state.

### Claim 11

An apparatus, comprising:
at least one memory; and
at least one processor coupled to the at least one memory, the at least one processor configured to:
receive an indication of a selected idle state based on a predicted sleep duration of a hardware entity;
issue a wait for interrupt (WFI) instruction to the hardware entity to trigger entry into the selected idle state; and
transition the hardware entity to a deeper idle state if a residency timer associated with the deeper idle state is expired prior to a wake-up of the hardware entity from the selected idle state.

### Claim 12 (depends on 11)

The apparatus of claim 11, in which the at least one processor is further configured to force the wake-up of the hardware entity from the selected idle state when the residency timer is expired.

### Claim 13 (depends on 11)

The apparatus of claim 11, in which to issue the WFI, the at least one processor is further configured to:
determine, by trusted firmware (TF), if a valid timer match value is configured to wake the hardware entity; and
configure a low power mode (LPM) path of the hardware entity according to the selected idle state when the valid timer match value is determined.

### Claim 14 (depends on 11)

The apparatus of claim 11, in which to issue the WFI, the at least one processor is further configured to:
determine, by trusted firmware (TF), if a valid timer match value is configured to wake the hardware entity;
configure a low power mode (LPM) path of the hardware entity according to the deeper idle state when an infinite timer match value is determined; and
set the residency timer of the hardware entity according to the deeper idle state.

### Claim 15 (depends on 11)

The apparatus of claim 11, in which to transition the hardware entity to the deeper idle state, the at least one processor is further configured to:
detect expiration of the residency timer during hibernation of the hardware entity according to the selected idle state; and
direct entry of the hardware entity into the deeper idle state.

### Claim 16 (depends on 15)

The apparatus of claim 15, in which the at least one processor is further configured to clear a low power mode (LPM) path of the hardware entity in response to the wake-up of the hardware entity from the deeper idle state.

### Claim 17 (depends on 11)

The apparatus of claim 11, in which to issue the WFI, the at least one processor is further configured to:
configure a low power mode (LPM) path of the hardware entity corresponding to the selected idle state; and
set the residency timer of the hardware entity according to the deeper idle state.

### Claim 18 (depends on 11)

The apparatus of claim 11, in which to transition, the at least one processor is further configured to:
detect expiration of the residency timer during hibernation of the hardware entity according to the selected idle state; and
force the wake-up of the hardware entity.

### Claim 19 (depends on 11)

The apparatus of claim 11, in which the at least one processor is further configured to:
detect a rail power collapse idle mode;
configure a low power mode (LPM) path of the hardware entity corresponding to the deeper idle state; and
direct entry of the hardware entity into the deeper idle state.

### Claim 20 (depends on 11)

The apparatus of claim 11, in which the predicted sleep duration of the hardware entity exceeds the sleep duration associated with the selected idle state if the residency timer associated with the deeper idle state is expired prior to the wake-up of the hardware entity from the selected idle state.
