# US 2026/0252440 A1 · Input/output memory management unit-based data integrity control

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

- Number: US 2026/0252440 A1
- Document ID: US20260252440A1
- Status: Published application
- Kind: A1
- Application number: 19/064,826
- Filed: 2025-02-27
- Published: 2026-08-27
- Earliest claimed: 2025-02-27
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: LUKE HOPKINS; Michael James Becht; Sascha Junghans; Raymond Wong; Matthias Klein
- Web page: https://patentgrep.com/patent/US20260252440A1

## CPC

- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 11/1064: {in cache or content addressable memories}
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 12/1081: for peripheral access to main memory, e.g. direct memory access [DMA]
- G06F 2212/1024: Latency reduction
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A present invention embodiment provides a computer system including an input/output memory management unit (IOMMU) configured to perform address translation between an input/output (I/O) adapter and a system memory. The IOMMU comprises an address translation module and a checksum calculator configured to calculate checksums of direct memory access payloads exchanged between the I/O adapter and the system memory. The IOMMU includes a page table that stores virtual addresses for the I/O adapter. A set of bits is added to each virtual address to control checksum accumulation, checksum insertion, and caching of checksum contexts by the IOMMU.

## Claims

### Claim 1

A computer system comprising:
an input/output memory management unit (IOMMU) configured to perform address translation between an input/output (I/O) adapter and a system memory, wherein the IOMMU comprises an address translation module and a checksum calculator configured to calculate checksums of direct memory access payloads exchanged between the I/O adapter and the system memory,
wherein the IOMMU includes a page table that stores virtual addresses for the I/O adapter, and
wherein a set of bits is added to each virtual address to control checksum accumulation, checksum insertion, and caching of checksum contexts by the IOMMU.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein the checksum comprises a Cyclic Redundancy Check (CRC).

### Claim 3 (depends on 1)

The computer system of claim 1, wherein the set of bits includes four bits comprising a first bit that indicates whether to perform a checksum, a second bit that indicates whether to cache a checksum context, a third bit that controls hardware checksum insertion, and a fourth bit that indicates to accumulate the checksum without placing a direct memory access payload.

### Claim 4 (depends on 1)

The computer system of claim 1, wherein a pad of bits is added to the virtual address along with the set of bits, and wherein a length of the pad of bits is selected such that a total number of bits of the virtual address, the pad, and the set of bits is divisible by four.

### Claim 5 (depends on 1)

The computer system of claim 1, wherein the IOMMU further comprises a checksum context cache module that is configured to store checksum contexts.

### Claim 6 (depends on 1)

The computer system of claim 1, wherein the IOMMU is configured to enable firmware to validate an accumulated checksum at an end of an operation through values saved in a context associated with the accumulated checksum.

### Claim 7 (depends on 1)

The computer system of claim 1, wherein the I/O adapter comprises a Peripheral Component Interconnect Express (PCIe) device.

### Claim 8

A computer-implemented method comprising:
adding a set of bits to each virtual address used by an IOMMU that performs address translation between an I/O adapter and a system memory, wherein the set of bits controls checksum accumulation, checksum insertion, and caching of checksum contexts by the IOMMU;
in response to the IOMMU receiving a particular virtual address and added set of bits from the I/O adapter or the system memory, verifying, by the IOMMU, based on the set of bits, that a cached checksum is valid and determining, based on the set of bits, to accumulate or insert the checksum; and
holding, by the IOMMU, a context of the checksum in local cache memory for multiple direct memory access transactions until the set of bits is updated to indicate that a new direct memory access operation is being performed.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the checksum comprises a Cyclic Redundancy Check (CRC).

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein the set of bits includes four bits comprising a first bit that indicates whether to perform a checksum, a second bit that indicates whether to cache a checksum context, a third bit that controls hardware checksum insertion, and a fourth bit that indicates to accumulate the checksum without placing a direct memory access payload.

### Claim 11 (depends on 8)

The computer-implemented method of claim 8, wherein a pad of bits is added to the virtual address along with the set of bits, and wherein a length of the pad of bits is selected such that a total number of bits of the virtual address, the pad, and the set of bits is divisible by four.

### Claim 12 (depends on 8)

The computer-implemented method of claim 8, wherein the IOMMU further comprises a checksum context cache module that is configured to store checksum contexts.

### Claim 13 (depends on 8)

The computer-implemented method of claim 8, wherein the IOMMU is configured to enable firmware to validate an accumulated checksum at an end of an operation through values saved in the context of the checksum.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, wherein the I/O adapter comprises a Peripheral Component Interconnect Express (PCIe) device.

### Claim 15

A computer program product comprising:
one or more computer-readable storage media for an IOMMU; and
program instructions stored on the one or more computer-readable storage media to perform operations comprising:
adding a set of bits to each virtual address used by the IOMMU that performs address translation between an I/O adapter and a system memory, wherein the set of bits controls checksum accumulation, checksum insertion, and caching of checksum contexts by the IOMMU;
in response to the IOMMU receiving a particular virtual address and added set of bits from the I/O adapter or the system memory, verifying based on the set of bits, that a cached checksum is valid and determining, based on the set of bits, to accumulate or insert the checksum; and
holding a context of the checksum in local cache memory for multiple direct memory access transactions until the set of bits is updated to indicate that a new direct memory access operation is being performed.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the checksum comprises a Cyclic Redundancy Check (CRC).

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the set of bits includes four bits comprising a first bit that indicates whether to perform a checksum, a second bit that indicates whether to cache a checksum context, a third bit that controls hardware checksum insertion, and a fourth bit that indicates to accumulate the checksum without placing a direct memory access payload.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein a pad of bits is added to the virtual address along with the set of bits, and wherein a length of the pad of bits is selected such that a total number of bits of the virtual address, the pad, and the set of bits is divisible by four.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the IOMMU comprises a checksum context cache module that is configured to store checksum contexts.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the IOMMU is configured to enable firmware to validate an accumulated checksum at an end of an operation through values saved in the context of the checksum.
