Micro-Architectural Protection Table for Secure Page Walks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current memory addressing schemes using paging are inefficient due to the high cost of accessing page tables, which are typically stored in main memory, leading to performance issues during virtual to physical address translations.

Innovation Solution

The processor extends page walks by introducing a micro-architectural protection table that manages permissions and attributes at a page-level granularity, allowing for efficient checks and actions during memory operations, utilizing a protection table management logic to access and modify permissions without incurring significant performance or hardware costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If page tables are stored in main memory to enable virtual memory paging, then memory addressing flexibility is improved, but access time increases significantly

Engineering Contradiction:
Improvememory addressing flexibilityVSAvoidpage table access time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent pre-loads page table entries into the TLB (Translation Lookaside Buffer) before they are needed for address translation. By anticipating future page access patterns and loading translations in advance, the system reduces the time penalty associated with main memory access when page tables are needed, while maintaining the flexibility of virtual memory paging.

Inventive Principle:
Principle #10Preliminary action

2Speed

If TLB is used to cache page translations, then address translation speed is improved, but hardware complexity increases

Engineering Contradiction:
Improveaddress translation speedVSAvoidhardware complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent makes the existing TLB structure serve dual purposes: it continues to function as a translation cache for address speedup while simultaneously acting as a security attribute cache. By storing both translation information and security attributes (such as permission bits, encryption keys, or access control data) in the same TLB entry structure, the system achieves enhanced functionality without proportionally increasing hardware complexity.

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

3Reliability

If security checks are enhanced during page walks, then system security is improved, but performance overhead increases

Engineering Contradiction:
Improvesystem securityVSAvoidmemory operation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent performs security attribute validation during the page walk process itself, rather than as a separate subsequent step. By checking security attributes (such as permission bits, encryption requirements, or access control lists) while the page table is being traversed to obtain the translation, the system ensures security without adding a separate performance-critical validation phase that would increase overhead.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9183161B2Apparatus and method for page walk extension for enhanced security checks
Publication Date: 2015.11.10 INTEL CORP
  • US9183161B2 patent drawing
  • US9183161B2 patent drawing
  • US9183161B2 patent drawing

AI summary

An apparatus and method for managing a protection table by a processor. For example, a processor according to one embodiment of the invention comprises: protection table management logic to manage a protection table, the protection table having an entry for each protected page or each group of protected pages in memory; wherein the protection table management logic prevents direct access to the protection table by user application program code and operating system program code but permits direct access by the processor.