# US 2017/0371789 A1 · Techniques for maintaining consistency between address translations in a data processing system

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

- Number: US 2017/0371789 A1
- Document ID: US20170371789A1
- Status: Published application
- Kind: A1
- Application number: 15/190,497
- Filed: 2016-06-23
- Published: 2017-12-28
- Earliest claimed: 2016-06-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: BARTHOLOMEW BLANER; JAY G. HEASLIP; ROBERT D. HERZL; JODY B. JOYNER
- Web page: https://patentgrep.com/patent/US20170371789A1

## CPC

- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 12/0808: with cache invalidating means (G06F12/0815 takes precedence)
- 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 2212/621: Coherency control relating to peripheral accessing, e.g. from DMA or I/O device
- G06F 2212/68: Details of translation look-aside buffer [TLB]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for operating a memory management unit (MMU) of a processor includes the MMU detecting that one or more address translation invalidation requests are indicated for an accelerator unit (AU). In response to detecting that the invalidation requests are indicated, the MMU issues a raise barrier request for the AU. In response to detecting a raise barrier response from the AU to the raise barrier request the MMU issues the invalidation requests to the AU. In response to detecting an address translation invalidation response from the AU to each of the invalidation requests, the MMU issues a lower barrier request to the AU. In response to detecting a lower barrier response from the AU to the lower barrier request, the MMU resumes handling address translation check-in and check-out requests received from the AU.

## Claims

### Claim 1

A method of operating a processor, comprising:
detecting, by a memory management unit (MMU), that one or more address translation invalidation requests are indicated for an accelerator unit (AU);
in response to detecting that the invalidation requests are indicated, issuing, by the MMU, a raise barrier request for the AU;
in response to detecting, by the MMU, a raise barrier response from the AU to the raise barrier request, issuing the invalidation requests to the AU;
in response to detecting, by the MMU, an address translation invalidation response from the AU to each of the invalidation requests, issuing a lower barrier request to the AU; and
in response to detecting, by the MMU, a lower barrier response from the AU to the lower barrier request, resuming, by the MMU, handling of address translation check-in and check-out requests received from the AU.

### Claim 2 (depends on 1)

The method of claim 1, wherein the invalidation requests are indicated in response to the MMU snooping a segment lookaside buffer invalidate entry (SLBIE) command or a translation lookaside buffer invalidate entry (TLBIE) command.

### Claim 3 (depends on 1)

The method of claim 1, wherein the invalidation requests are indicated in response to a translation lookaside buffer (TLB) cache castout or a segment lookaside buffer (SLB) cache castout.

### Claim 4 (depends on 1)

The method of claim 1, wherein the raise barrier request causes the AU to discontinue queuing new requests for the MMU while the barrier is raised.

### Claim 5 (depends on 1)

The method of claim 1, wherein the AU waits for responses from the MMU to all outstanding queued address translation check-in and check-out requests before issuing the barrier raise response.

### Claim 6 (depends on 1)

The method of claim 1, wherein the invalidation requests explicitly specify an effective-to-real address translation (ERAT) cache entry to invalidate or that all ERAT cache entries are to be invalidated.

### Claim 7 (depends on 1)

The method of claim 1, wherein the AU waits for memory accesses that are currently using a specified effective-to-real address translation (ERAT) cache entry that is to be invalidated to complete before invalidating the specified ERAT cache entry.

### Claim 8

A processor, comprising:
an accelerator unit (AU); and
a memory management unit (MMU) coupled to the AU, wherein the MMU is configured to:
detect that one or more address translation invalidation requests are indicated for the AU;
in response to detecting that the invalidation requests are indicated, issue a raise barrier request for the AU;
in response to detecting a raise barrier response from the AU to the raise barrier request, issue the invalidation requests to the AU;
in response to detecting an address translation invalidation response from the AU to each of the invalidation requests, issue a lower barrier request to the AU; and
in response to detecting a lower barrier response from the AU to the lower barrier request, resume handling of address translation check-in and check-out requests received from the AU.

### Claim 9 (depends on 8)

The processor of claim 8, wherein the invalidation requests are indicated in response to the MMU snooping a segment lookaside buffer invalidate entry (SLBIE) command or a translation lookaside buffer invalidate entry (TLBIE) command.

### Claim 10 (depends on 8)

The processor of claim 8, wherein the invalidation requests are indicated in response to a translation lookaside buffer (TLB) cache castout or a segment lookaside buffer (SLB) cache castout.

### Claim 11 (depends on 8)

The processor of claim 8, wherein the raise barrier request causes the AU to discontinue queuing new requests for the MMU while the barrier is raised.

### Claim 12 (depends on 8)

The processor of claim 8, wherein the AU waits for responses from the MMU to all outstanding queued address translation check-in and check-out requests before issuing the barrier raise response.

### Claim 13 (depends on 8)

The processor of claim 8, wherein the invalidation requests explicitly specify an effective-to-real address translation (ERAT) cache entry to invalidate or that all ERAT cache entries are to be invalidated.

### Claim 14 (depends on 8)

The processor of claim 8, wherein the AU waits for memory accesses that are currently using a specified effective-to-real address translation (ERAT) cache entry that is to be invalidated to complete before invalidating the specified ERAT cache entry.

### Claim 15

A data processing system, comprising:
a data storage subsystem; and
a processor coupled to the data storage subsystem, wherein the processor includes an accelerator unit (AU) and a memory management unit (MMU) coupled to the AU, wherein the MMU is configured to:
detect that one or more address translation invalidation requests are indicated for the AU;
in response to detecting that the invalidation requests are indicated, issue a raise barrier request for the AU;
in response to detecting a raise barrier response from the AU to the raise barrier request, issue the invalidation requests to the AU;
in response to detecting an address translation invalidation response from the AU to each of the invalidation requests, issue a lower barrier request to the AU; and
in response to detecting a lower barrier response from the AU to the lower barrier request, resume handling of address translation check-in and check-out requests received from the AU.

### Claim 16 (depends on 15)

The data processing system of claim 15, wherein the invalidation requests are indicated in response to the MMU snooping a segment lookaside buffer invalidate entry (SLBIE) command or a translation lookaside buffer invalidate entry (TLBIE) command.

### Claim 17 (depends on 15)

The data processing system of claim 15, wherein the invalidation requests are indicated in response to a translation lookaside buffer (TLB) cache castout or a segment lookaside buffer (SLB) cache castout.

### Claim 18 (depends on 15)

The data processing system of claim 15, wherein the raise barrier request causes the AU to discontinue queuing new requests for the MMU while the barrier is raised.

### Claim 19 (depends on 15)

The data processing system of claim 15, wherein the AU waits for responses from the MMU to all outstanding queued address translation check-in and check-out requests before issuing the barrier raise response.

### Claim 20 (depends on 15)

The data processing system of claim 15, wherein the invalidation requests explicitly specify an effective-to-real address translation (ERAT) cache entry to invalidate or that all ERAT cache entries are to be invalidated.
