# US 2013/0138840 A1 · Efficient Memory and Resource Management

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

- Number: US 2013/0138840 A1
- Document ID: US20130138840A1
- Status: Published application
- Kind: A1
- Application number: 13/308,211
- Filed: 2011-11-30
- Published: 2013-05-30
- Earliest claimed: 2011-11-30
- Assignees: Advanced Micro Device, Inc.
- Inventors: Andrew Kegel; Mark Hummel; Anthony Asaro; Phillip Ng
- Web page: https://patentgrep.com/patent/US20130138840A1

## CPC

- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/1081: for peripheral access to main memory, e.g. direct memory access [DMA]
- G06F 12/109: for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence)
- G06F 2212/151: Emulated environment, e.g. virtual machine
- G06F 2212/651: Multi-level translation tables
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present system enables passing a pointer, associated with accessing data in a memory, to an input/output (I/O) device via an input/output memory management unit (IOMMU). The I/O device accesses the data in the memory via the IOMMU without copying the data into a local I/O device memory. The I/O device can perform an operation on the data in the memory based on the pointer, such that I/O device accesses the memory without expensive copies.

## Claims

### Claim 1

A method comprising:
passing a pointer, associated with accessing data in a memory, to an input/output (I/O) device via an input/output memory management unit (IOMMU), wherein the I/O device accesses the data in the memory via the IOMMU without copying the data into a local I/O device memory; and
performing, by the I/O device, an operation on the data in the memory based on the pointer.

### Claim 2 (depends on 1)

The method of claim 1, wherein the IOMMU is configured to pass the pointer without needing intervention by a hypervisor or guest operating system (OS).

### Claim 3 (depends on 1)

The method of claim 1, wherein the pointer is configured to be usable by the I/O device, and a process running in a virtual machine, without reconfiguring the pointer.

### Claim 4 (depends on 1)

The method of claim 1, further comprising: manipulating, by the I/O device, the data in the memory using nested paging transactions associated with the IOMMU.

### Claim 5 (depends on 1)

The method of claim 1, wherein the data comprises image data.

### Claim 6 (depends on 1)

The method of claim 1, wherein the memory and the I/O device operate out of a same guest virtual address space to provide for direct manipulation by the guest OS of the data in the memory.

### Claim 7

An apparatus comprising:
an input/output memory management unit (IOMMU) configured to:
pass a pointer, associated with accessing data in a memory, to an input/output (I/O) device, wherein the I/O device accesses the data in the memory via the IOMMU without copying the data into a local I/O device memory;
wherein the pointer is configured to enable the I/O device to perform an operation on the data in the memory.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the IOMMU is configured to pass the pointer without needing intervention by a hypervisor or guest operating system (OS).

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein the pointer is configured to be usable by the I/O device, and a process running in a virtual machine, without reconfiguring the pointer.

### Claim 10 (depends on 7)

The apparatus of claim 7, wherein nested paging transactions associated with the IOMMU enable the I/O device to manipulate the data in the memory.

### Claim 11 (depends on 7)

The apparatus of claim 7, wherein the data in the memory comprises image data.

### Claim 12 (depends on 7)

The apparatus of claim 7, wherein the memory and I/O device operate out of a same guest virtual address space to provide for direct manipulation by the guest OS of the data in the memory.
