RAS State Machine for CPU Error Handling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current computing systems rely on BIOS SMM to handle RAS events, which can lead to system-wide interruptions and inefficiencies, particularly in multicore processors, where only affected cores should be halted for error handling, but all cores are often quiesced, causing delays and performance losses.

Innovation Solution

Implementing a dedicated RAS state machine (RAS_SM) in hardware that communicates with the management infrastructure and OS, allowing only affected cores to be halted and enabling independent error handling, reducing dependence on BIOS for system recovery.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If BIOS SMM is used to handle RAS events, then system-wide error handling is achieved, but all processor cores are halted causing system performance loss

Engineering Contradiction:
Improveerror handling capabilityVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent divides the error handling responsibility from the unified BIOS SMM approach into separate, dedicated RAS state machines for different error types (machine check errors, performance monitoring errors, thermal errors). Each RAS_SM handles specific error conditions independently, allowing only affected cores to be halted rather than all cores, thus resolving the contradiction between reliable error handling and system performance maintenance.

Inventive Principle:
Principle #1Segmentation

2Reliability

If BIOS SMM handles all RAS events, then comprehensive error coverage is achieved, but system complexity and OS burden increase

Engineering Contradiction:
Improveerror coverageVSAvoidsystem architecture complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the RAS event handling function from the BIOS SMM and implements it in dedicated hardware RAS state machines within the processor. This extraction reduces the complexity of the BIOS and operating system by moving error handling logic into the processor itself, while maintaining comprehensive error coverage through multiple specialized RAS_SM units that monitor different error conditions independently.

Inventive Principle:
Principle #2Taking out (Extraction)

3Stability of the object's composition

If all cores are quiesced for error handling, then system stability is ensured, but interruption time and recovery delay increase

Engineering Contradiction:
Improvesystem stabilityVSAvoidinterruption time
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The patent applies local quality by having each RAS state machine handle errors locally and independently, quiescing only the specific processor core or functional unit that generated the error rather than all cores. This localized error handling maintains system stability in the affected area while allowing other parts of the system to continue operating, thereby reducing overall interruption time and recovery delay.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11036543B1Integrated reliability, availability, and serviceability state machine for central processing units
Publication Date: 2021.06.15 AMAZON TECH INC
  • US11036543B1 patent drawing
  • US11036543B1 patent drawing
  • US11036543B1 patent drawing

AI summary

Systems and methods for an integrated reliability, availability, and serviceability (RAS) state machine are provided. Handling of RAS events by the Basic Input Output System (BIOS) of an integrated circuit device can result in lost processing time on the processing cores of a multi-core processor resulting from numerous system management interrupts generated by the BIOS. To reduce lost processing time, a dedicated state machine can execute instructions to handle RAS events independently of the BIOS and minimize the number of system management interrupts.