Remote Permission Invalidation for Cross-Processor Memory Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing processor systems lack efficient mechanisms to securely and fine-grainedly invalidate memory permission information across different processors, leading to potential security vulnerabilities and inconsistencies in memory access permissions.

Innovation Solution

A primary processor executes a remote permission table invalidate instruction to directly update and invalidate secondary processor's permission information, ensuring secure and fine-grained control by using both page table and secure access permission table caching, with acknowledgement and power management to ensure efficient operation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If a processor caches permission information locally for fast access, then memory access speed is improved, but permission consistency across multiple processors deteriorates

Engineering Contradiction:
Improvememory access speedVSAvoidpermission consistency
Core Design Contradiction:
SpeedVSLoss of information

Solution Approach 1:

The patent implements a feedback mechanism where the first processor monitors permission changes in its page tables and automatically invalidates corresponding cached permission information in the second processor's translation lookaside buffer (TLB). This ensures that when the first processor updates permission bits for a memory page, the second processor is notified and invalidates its cached permission data, maintaining consistency across processors while allowing caching for performance.

Inventive Principle:
Principle #23Feedback

2Reliability

If fine-grained permission control is implemented across processors, then security is improved, but system complexity deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoidpermission management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments permission control into distinct components: the first processor maintains authoritative page table permission information, while the second processor caches this information in its TLB for fast access. The invalidation mechanism is segmented to target specific TLB entries based on virtual address mappings, allowing fine-grained control without requiring complex global synchronization. This segmentation enables secure multi-processor operation by clearly defining roles and responsibilities for permission management.

Inventive Principle:
Principle #1Segmentation

3Loss of time

If permission information is invalidated remotely across processors, then permission updates are timely, but communication overhead increases

Engineering Contradiction:
Improvepermission update timeVSAvoidcommunication energy
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by making the invalidation mechanism targeted and selective rather than broadcast to all processors. When the first processor invalidates permission information, it provides specific identifiers (such as virtual address ranges or TLB entry tags) that allow the second processor to invalidate only the relevant cached entries. This localized approach minimizes unnecessary communication and processing overhead while ensuring timely invalidation of affected permission data.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20260017217A1Invalidation of Permission Information Stored by Another Processor
Publication Date: 2026.01.15 APPLE INC
  • US20260017217A1 patent drawing
  • US20260017217A1 patent drawing
  • US20260017217A1 patent drawing

AI summary

Techniques are disclosed relating to performing remote invalidation of memory access permission information. In some embodiments, primary processor circuitry is configured to, based on execution of a remote permission table invalidate instruction (e.g., an ISA-defined instruction), send a remote invalidate command to secondary processor circuitry. The secondary processor circuitry includes permission circuitry and is configured to, in response to the remote invalidate command sent by the primary processor, invalidate one or more entries in the permission circuitry. In some embodiments, the secondary processor performs the invalidate without executing any instructions on the secondary processor circuitry.