PIM Device Process Isolation Through Exclusive Ownership Locking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In multi-processing environments, concurrent access to shared PIM resources by multiple processes can lead to functional incorrectness and security vulnerabilities, such as corruption of PIM registers and side channel attacks.

Innovation Solution

Implementations provide hardware support and resource management techniques for exclusive access to a PIM device by assigning ownership, using a PIM driver or agent to ensure only one process can orchestrate and configure the PIM device, preventing corruption of configuration space and ensuring secure operation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If multiple processes concurrently access shared PIM resources, then processing productivity is improved, but functional correctness and security deteriorate due to corruption of PIM registers and side channel attacks

Engineering Contradiction:
Improveprocessing throughputVSAvoidfunctional correctness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments PIM access rights by introducing process-specific aperture base registers and aperture limit registers. Each process is assigned a unique address space segment defined by these registers, allowing concurrent access to different portions of PIM resources without interference. This segmentation enables multiple processes to safely access PIM simultaneously while maintaining functional correctness through isolated address spaces.

Inventive Principle:
Principle #1Segmentation

2Productivity

If multiple processes concurrently access shared PIM resources, then processing productivity is improved, but security deteriorates due to side channel attacks

Engineering Contradiction:
Improveprocessing throughputVSAvoidsecurity vulnerabilities
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The patent implements security segmentation through process-specific aperture registers that create isolated address spaces for each process. This segmentation prevents side channel attacks by ensuring that process A cannot infer or access information from process B's PIM operations, as each process operates within its own defined address boundaries. Concurrent access remains productive while security is maintained through this spatial isolation.

Inventive Principle:
Principle #1Segmentation

3Reliability

If exclusive access to PIM device is granted to single process, then reliability and security are improved, but processing productivity deteriorates due to underutilization of PIM resources

Engineering Contradiction:
Improvedata integrityVSAvoidPIM utilization efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent resolves this contradiction by segmenting PIM address space into process-specific regions defined by aperture base and limit registers. Multiple processes can concurrently access PIM resources in parallel within their respective segments, maintaining high utilization efficiency while ensuring data integrity through isolated access boundaries. This eliminates the need for exclusive access while preserving reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic aperture configuration where process-specific aperture base registers and aperture limit registers can be programmatically adjusted. This dynamic segmentation allows the system to adaptively allocate PIM address space based on process requirements, enabling efficient concurrent utilization while maintaining isolated access boundaries that ensure data integrity and prevent interference between processes.

Inventive Principle:
Principle #15Dynamics

4Reliability

If process-specific aperture registers are implemented, then address space isolation is improved, but device complexity increases

Engineering Contradiction:
Improveaddress space isolationVSAvoidPIM control structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements universal aperture control structures that serve multiple functions: process identification, address space isolation, and concurrent access coordination. The process ID field in aperture base registers and the aperture limit registers work together as a multi-functional control mechanism that enables address space isolation without requiring separate complex control structures for each process. This universal approach reduces overall device complexity while maintaining reliable isolation.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12393371B2Process isolation for a processor-in-memory (“PIM”) device
Publication Date: 2025.08.19 ADVANCED MICRO DEVICES INC
  • US12393371B2 patent drawing
  • US12393371B2 patent drawing
  • US12393371B2 patent drawing

AI summary

Process isolation for a PIM device through exclusive locking includes receiving, from a process, a call requesting ownership of a PIM device. The request includes one or more PIM configuration parameters. The exclusive locking technique also includes granting the process ownership of the PIM device responsive to determining that ownership is available. The PIM device is configured according to the PIM configuration parameters.