# US 2024/0370312 A1 · Software visible and controllable lock-stepping with configurable logical processor granularities

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

- Number: US 2024/0370312 A1
- Document ID: US20240370312A1
- Status: Published application
- Kind: A1
- Application number: 18/775,652
- Filed: 2024-07-17
- Published: 2024-11-07
- Earliest claimed: 2020-12-24
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Vedvyas SHANBHOGUE; Jeff A. HUXEL; Jeffrey G. WIEDEMEIER; James D. ALLEN; Arvind RAMAN; Krishnakumar GANAPATHY
- Web page: https://patentgrep.com/patent/US20240370312A1

## CPC

- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 9/30032: {Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE}
- G06F 9/30101: {Special purpose registers}
- G06F 9/30123: {according to context, e.g. thread buffers}
- G06F 9/3885: {using a plurality of independent parallel functional units}
- G06F 9/46: Multiprogramming arrangements
- G06F 11/0724: {in a multiprocessor or a multi-core unit (multiprocessors per se G06F15/80)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/1629: {Error detection by comparing the output of redundant processing systems}
- G06F 11/1683: {at instruction level}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processor is described. The processor includes model specific register space that is visible to software above a BIOS level. The model specific register space is to specify a granularity of a processing entity of a lock-step group. The processor also includes logic circuitry to support dynamic entry/exit of the lock-step group's processing entities to/from lock-step mode including: i) termination of lock-step execution by the processing entities before the program code to be executed in lock-step is fully executed; and, ii) as part of the exit from the lock-step mode, restoration of a state of a shadow processing entity of the processing entities as the state existed before the shadow processing entity entered the lock-step mode and began lock-step execution of the program code.

## Claims

### Claim 1

A processor comprising:
a control register field visible to software above a BIOS level, the control register field to specify a granularity of a processing entity of a lock-step group; and
logic circuitry to support dynamic entry/exit of the lock-step group's processing entities to/from a lock-step mode that is to include:
termination of lock-step execution by the lock-step group's processing entities before a program code, executed in lock-step, is fully executed; and,
as part of an exit from the lock-step mode, restoration of a state of a shadow processing entity of the lock-step group's processing entities as the state existed before the shadow processing entity entered the lock-step mode and began lock-step execution of the program code.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the granularity is any of:
an instruction execution pipeline granularity;
a module granularity;
a tile granularity;
a die granularity; or
a core granularity.

### Claim 3 (depends on 1)

The processor of claim 1, further comprising a second control register field to indicate that state information of the shadow processing entity of the lock step group's processing entities has been saved.

### Claim 4 (depends on 3)

The processor of claim 3, wherein the control register field and the second control register field are assigned a class that permits the control register field and the second control register field to be accessed by at least one of a virtual machine monitor and an operating system.

### Claim 5 (depends on 4)

The processor of claim 4, wherein the class permits the control register field and the second control register field to be accessed by a BIOS.

### Claim 6 (depends on 3)

The processor of claim 3, further comprising a third control register field to provide information that describes an event that caused the termination of the lock-step execution of the program code.

### Claim 7 (depends on 6)

The processor of claim 6, wherein the information is able to describe any of the following:
mis-compare during the lock-step execution of the program code;
an interrupt has been received by a shadow processing entity of the lock-step group's processing entities; or
a software initiated interrupt has occurred.

### Claim 8 (depends on 6)

The processor of claim 6, further comprising a fourth control register field that, if a mis-compare during the lock-step execution of the program code caused the termination, provides even further information indicating any of:
the lock-step execution of the program code can be restarted without software curing a corrupted processing entity architectural state;
the lock-step execution of the program code cannot be restarted without software curing corrupted processing entity architectural state; or
the lock-step execution of the program code cannot be restarted.

### Claim 9 (depends on 8)

The processor of claim 8, wherein the logic circuitry is to mark data processed by the lock-step group's processing entities as being poisoned.

### Claim 10 (depends on 8)

The processor of claim 8, wherein the control register field, the second control register field, the third control register field and the fourth control register field are arranged to be maintained in one or more model specific registers.

### Claim 11

A computing system, comprising:
a processor, the processor comprising:
a control register field visible to software above a BIOS level, the control register field to specify a granularity of a processing entity of a lock-step group; and
logic circuitry to support dynamic entry/exit of the lock-step group's processing entities to/from a lock-step mode that is to include:
termination of lock-step execution by the lock-step group's processing entities before a program code, executed in lock-step, is fully executed; and
as part of an exit from the lock-step mode, restoration of a state of a shadow processing entity of the lock-step group's processing entities as the state existed before the shadow processing entity entered the lock-step mode and began lock-step execution of the program code;
a main memory coupled to the processor; and
a network interface.

### Claim 12 (depends on 11)

The computing system of claim 11, wherein the granularity is any of:
an instruction execution pipeline granularity;
a module granularity;
a tile granularity;
a die granularity; or
a core granularity.

### Claim 13 (depends on 11)

The computing system of claim 11, further comprising a second control register field to indicate that state information of the shadow processing entity of the lock step group's processing entities has been saved.

### Claim 14 (depends on 13)

The computing system of claim 13, wherein the control register field and the second control register field are assigned a class that permits the control register field and the second control register field to be accessed by at least one of a virtual machine monitor and an operating system.

### Claim 15 (depends on 14)

The computing system of claim 14, wherein the class permits the control register field and the second control register field to be accessed by a BIOS.

### Claim 16 (depends on 13)

The computing system of claim 13, further comprising a third control register field to provide information that describes an event that caused the termination of the lock-step execution of the program code.

### Claim 17 (depends on 16)

The computing system of claim 16, wherein the information is able to describe any of the following:
mis-compare during the lock-step execution of the program code;
an interrupt has been received by a shadow processing entity of the lock-step group's processing entities; or
a software initiated interrupt has occurred.

### Claim 18 (depends on 16)

The computing system of claim 16, further comprising a fourth control register field that, if a mis-compare during the lock-step execution of the program code caused the termination, provides even further information indicating any of:
the lock-step execution of the program code can be restarted without software curing a corrupted processing entity architectural state;
the lock-step execution of the program code cannot be restarted without software curing corrupted processing entity architectural state; or
the lock-step execution of the program code cannot be restarted.

### Claim 19 (depends on 18)

The computing system of claim 18, wherein the logic circuitry is to mark data processed by the lock-step group's processing entities as being poisoned.

### Claim 20 (depends on 19)

The computing system of claim 19, wherein the control register field, the second control register field, the third control register field and the fourth control register field are arranged to be maintained in one or more model specific registers.
