# US 2021/0173794 A1 · Secure address translation services using bundle access control

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173794 A1
- Document ID: US20210173794A1
- Status: Published application
- Kind: A1
- Application number: 17/131,974
- Filed: 2020-12-23
- Published: 2021-06-10
- Earliest claimed: 2020-12-23
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: David Koufaty; Anna Trikalinou; Utkarsh Y. Kakaiya; Ravi Sahita; Ramya Jayaram Masti
- Web page: https://patentgrep.com/patent/US20210173794A1

## CPC

- G06F 12/1441: {for a range}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/1036: for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence)
- G06F 12/1054: {the data cache being concurrently physically addressed}
- G06F 12/1063: {the data cache being concurrently virtually addressed}
- G06F 12/1081: for peripheral access to main memory, e.g. direct memory access [DMA]
- G06F 12/1458: {by checking the subject access rights}
- G06F 12/1483: {using an access-table, e.g. matrix or list}
- G06F 12/0882: Page mode
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2212/1016: Performance improvement
- G06F 2212/1052: Security improvement
- G06F 2212/151: Emulated environment, e.g. virtual machine
- G06F 2212/651: Multi-level translation tables
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments are directed to providing a secure address translation service. An embodiment of a system includes a memory device to store memory data in a plurality of physical pages shared by a plurality of devices, a first table to map each page of memory to an associated bundle identifier (ID) that identifies one or more devices having access to a page of memory, a second table to map each bundle ID to page access permissions that define access to one or more pages associated with a bundle ID and a translation agent to receive requests from the plurality of devices to perform memory operations on the memory and determine page access permissions for requests received from the plurality of devices using the first table and the second table

## Claims

### Claim 1

An apparatus to facilitate security of a shared memory resource, comprising:
a memory device to store memory data in a plurality of physical pages shared by a plurality of devices;
a first table to map each page of memory to an associated bundle identifier (ID) that identifies one or more devices having access to a page of memory;
a second table to map each bundle ID to page access permissions that define access to one or more pages associated with a bundle ID; and
a translation agent to receive requests from the plurality of devices to perform memory operations on the memory and determine page access permissions for the requests received from the plurality of devices using the first table and the second table.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the translation agent receives a first request to perform a memory operation from a first of the plurality of devices and performs a lookup of the first table using a host physical address (HPA) associated with a first page of memory included in the first request to find a bundle ID associated with the HPA.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the translation agent performs a lookup of the second table using the bundle ID to determine page access permissions associated with the bundle ID.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the translation agent allows the memory operation to proceed upon a determination that the page access permissions associated with the bundle ID indicates that the memory operation is permitted.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the translation agent blocks the memory operation upon a determination that the page access permissions associated with the bundle ID indicates that the memory operation is not permitted.

### Claim 6 (depends on 3)

The apparatus of claim 3, further comprising translation tables.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the translation agent uses the translation tables to validate the first request.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the translation agent validates the first request while performs the lookup of the first table.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the translation agent further comprises global page reference counters associated with each page of memory to track a magnitude of guest virtual addresses that reference each page.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the translation agent further comprises a structure comprising a number of pages of memory assigned to each Bundle ID.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the translation agent further comprises a structure comprising a list of the Bundle ID that each of a plurality of tenants may access.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the translation agent further comprises device reference counters to track a magnitude of guest virtual addresses of tenants that can access each of the plurality of devices.

### Claim 13

A method to facilitate security of a shared memory resource, comprising:
receiving a request to perform a memory operation from a first of a plurality of devices;
performing a lookup of a first table using a host physical address (HPA) associated with a first page of memory included in the request to find a bundle ID associated with the HPA; and
performing a lookup of a second table using the bundle ID to determine page access permissions associated with the bundle ID.

### Claim 14 (depends on 13)

The method of claim 13, further comprising allowing the memory operation to proceed upon a determination that the page access permissions associated with the bundle ID indicates that the memory operation is permitted.

### Claim 15 (depends on 14)

The method of claim 14, further comprising blocking the memory operation upon a determination that the page access permissions associated with the bundle ID indicates that the memory operation is not permitted.

### Claim 16 (depends on 15)

The method of claim 15, further comprising validating the request via translation tables while performing the lookup of the first table.

### Claim 17

At least one computer-readable medium having instructions, which when executed by a processor, causes the processor to:
receive a request to perform a memory operation from a first of a plurality of devices;
perform a lookup of a first table using a host physical address (HPA) associated with a first page of memory included in the request to find a bundle ID associated with the HPA; and
perform a lookup of a second table using the bundle ID to determine page access permissions associated with the bundle ID.

### Claim 18 (depends on 17)

The computer-readable medium of claim 17, having instructions, which when executed by a processor, further causes the processor to allow the memory operation to proceed upon a determination that the page access permissions associated with the bundle ID indicates that the memory operation is permitted.

### Claim 19 (depends on 18)

The computer-readable medium of claim 18, having instructions, which when executed by a processor, further causes the processor to block the memory operation upon a determination that the page access permissions associated with the bundle ID indicates that the memory operation is not permitted.

### Claim 20 (depends on 19)

The computer-readable medium of claim 19, having instructions, which when executed by a processor, further causes the processor to validate the request via translation tables while performing the lookup of the first table.
