Hypervisor Selective Function Reset in Virtualized ASICs

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing ASIC reset procedures in virtualized environments, such as those using SR-IOV, cannot selectively reset specific virtual or physical functions without affecting the entire device, leading to uncertain states and potential system crashes.

Innovation Solution

A method and system for selectively resetting a function in a hardware-based virtualization system, where the hypervisor manages the switching, detection, and resetting of functions, allowing for individual virtual or physical function resets without impacting others, and includes a communication mechanism to notify drivers for timely restoration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If existing ASIC reset procedures are used, then the entire device can be reset, but specific virtual or physical functions cannot be reset independently without affecting other functions

Engineering Contradiction:
Improveselective reset capabilityVSAvoidreset mechanism complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The reset mechanism is segmented into function-level reset units, allowing individual virtual or physical functions to be reset independently. The hypervisor manages separate reset contexts for each function, enabling selective resetting without affecting other functions in the device.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The hypervisor acts as an intermediary between the reset request and the ASIC reset logic. It receives reset requests for specific functions, manages the reset timing and sequencing, and coordinates the reset operation to affect only the target function while preserving other functions' operational state.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If existing ASIC reset procedures are used, then the device can be reset, but the system may end up in an uncertain state causing crashes

Engineering Contradiction:
Improvesystem stabilityVSAvoidreset operation reliability
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

Before initiating a reset operation, the hypervisor performs preliminary actions by saving the current function's state, identifying the target function for reset, and ensuring no active transactions are in progress. This preparation prevents the system from entering uncertain states and avoids crashes.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The hypervisor implements feedback mechanisms to monitor the reset process and the state of functions. After resetting a function, it verifies the function has returned to a known good state before allowing operations to resume, providing feedback that ensures system stability and prevents crashes.

Inventive Principle:
Principle #23Feedback

3Productivity

If functions are reset without selective capability, then the entire device must be reset, but this causes delay and affects all functions simultaneously

Engineering Contradiction:
Improvereset efficiencyVSAvoidreset time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The reset operation is segmented to affect only the specific function that requires resetting. The hypervisor manages independent reset contexts for each function, allowing selective resetting that minimizes the time other functions are affected and improves overall system productivity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of resetting the entire device (excessive action), the hypervisor applies partial reset action only to the specific virtual or physical function that has malfunctioned. This partial action reduces reset time and maintains productivity by leaving other functions operational.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9201682B2Virtualized device reset
Publication Date: 2015.12.01 ATI TECHNOLOGIES ULC
  • US9201682B2 patent drawing
  • US9201682B2 patent drawing
  • US9201682B2 patent drawing

AI summary

In a hardware-based virtualization system, a hypervisor switches out of a first function into a second function. The first function is one of a physical function and a virtual function and the second function is one of a physical function and a virtual function. During the switching a malfunction of the first function is detected. The first function is reset without resetting the second function. The switching, detecting, and resetting operations are performed by a hypervisor of the hardware-based virtualization system. Embodiments further include a communication mechanism for the hypervisor to notify a driver of the function that was reset to enable the driver to restore the function without delay.