# US 10,956,341 B2 · Multi-engine address translation facility

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

- Number: US 10,956,341 B2
- Document ID: US10956341B2
- Status: Granted
- Kind: B2
- Application number: 16/752,754
- Filed: 2020-01-27
- Published: 2020-05-21
- Granted: 2021-03-23
- Earliest claimed: 2017-03-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Uwe Brandt; Markus Helms; Christian Jacobi; Markus Kaltenbach; Thomas Koehler; Frank Lehnert
- Web page: https://patentgrep.com/patent/US10956341B2

## CPC

- G06F 12/1036: for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2212/1016: Performance improvement
- G06F 2212/1056: Simplification
- G06F 2212/151: Emulated environment, e.g. virtual machine
- G06F 2212/651: Multi-level translation tables
- G06F 2212/657: Virtual address space management
- G06F 2212/681: Multi-level TLB, e.g. microTLB and main TLB
- G06F 2212/684: TLB miss handling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An address translation facility is provided for multiple virtualization levels, where a guest virtual address may be translated to a guest non-virtual address, the guest non-virtual address corresponding without translation to a host virtual address, and the host virtual address may be translated to a host non-virtual address, where translation within a virtualization level may be specified as a sequence of accesses to address translation tables. The address translation facility may include a first translation engine and a second translation engine, where the first and second translation engines each have capacity to perform address translation within a single virtualization level of the multiple virtualization levels. In operation, based on the first translation engine performing a guest level translation, the second translation engine may perform a host level translation of a resulting guest non-virtual address to a host non-virtual address based on the guest level translation by the first translation engine.

## Claims

### Claim 1

A computer program product for facilitating processing in a computing environment, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
using an address translation facility for multiple virtualization levels, wherein a guest virtual address may be translated to a guest non-virtual address, the guest non-virtual address corresponding without translation to a host virtual address, and the host virtual address may be translated to a host non-virtual address, where translation within a virtualization level is specified as a sequence of accesses to address translation tables, the using the address translation facility comprising:
using a first hardware translation engine;
using a second hardware translation engine, wherein the first hardware translation engine and the second hardware translation engine are different instances of a basic hardware translation engine, each having capacity to perform address translation within only a single virtualization level of the multiple virtualization levels, and wherein based on, in operation, the first hardware translation engine performing a guest level translation, the second hardware translation engine performs a host level translation of a resulting guest non-virtual address to a host non-virtual address based on the guest level translation by the first hardware translation engine;
employing a table cache separate from and shared by the first and second hardware translation engines; and
wherein based on the first hardware translation engine performing the guest level translation, one or more table fetches to the table cache are sent as guest non-virtual addresses, and based on a table fetch miss in the table cache, the address translation facility includes generating a lookup request for translation of a respective guest non-virtual address to a host non-virtual address, the lookup request being sent to a table lookaside buffer of the address translation facility for resolution.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein based on the first hardware translation engine performing the guest level translation, the second hardware translation engine further performs a host level translation for the first hardware translation engine of an access to a guest address translation table by the first hardware translation engine.

### Claim 3 (depends on 1)

The computer program product of claim 1, wherein based on the first hardware translation engine performing the guest level translation, the second hardware translation engine operates transparently to the first hardware translation engine as a child translation engine of the first hardware translation engine.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the address translation facility further comprises engaging the second hardware translation engine to perform the translating of the respective guest non-virtual address to the host non-virtual address based on the lookup request resulting in a table lookaside buffer miss.

### Claim 5 (depends on 4)

The computer program product of claim 4, wherein the address translation facility further comprises writing a translation result of the second hardware translation engine performing the translating of the respective guest non-virtual address to host non-virtual address to the table lookaside buffer, and respinning the lookup request to the table lookaside buffer.

### Claim 6 (depends on 5)

The computer program product of claim 5, wherein the address translation facility further comprises resolving, based on the respinning, the lookup request using the translation result written to the table lookaside buffer, and writing the result for the translating of the respective guest non-virtual address to the host non-virtual address to the table cache, and returning the translation result to the first translation engine.

### Claim 7 (depends on 1)

The computer program product of claim 1, further comprising employing a table fetch request multiplexer in forwarding table fetch requests of the first and second hardware translation engines to the table cache separate from and shared by the first and second hardware translation engines.

### Claim 8

A computer system for facilitating processing in a computing environment, the computer system comprising:
an address translation facility for multiple virtualization levels, wherein a guest virtual address may be translated to a guest non-virtual address, the guest non-virtual address corresponding without translation to a host virtual address, and the host virtual address may be translated to a host non-virtual address, where translation within a virtualization level is specified as a sequence of accesses to address translation tables, the address translation facility comprising:
a first hardware translation engine;
a second hardware translation engine, wherein the first hardware translation engine and the second hardware translation engine are different instances of a basic hardware translation engine, each having capacity to perform address translation within only a single virtualization level of the multiple virtualization levels, and wherein based on, in operation, the first hardware translation engine performing a guest level translation, the second hardware translation engine performs a host level translation of a resulting guest non-virtual address to a host non-virtual address based on the guest level translation by the first translation engine;
a table cache separate from and shared by the first and second hardware translation engines; and
wherein based on the first hardware translation engine performing the guest level translation, one or more table fetches to the table cache are sent as guest non-virtual addresses, and based on a table fetch miss in the table cache, the address translation facility includes generating a lookup request for translation of a respective guest non-virtual address to a host non-virtual address, the lookup request being sent to a table lookaside buffer of the address translation facility for resolution.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein where the first hardware translation engine performs the guest level translation, the second hardware translation engine further performs a host level translation for the first hardware translation engine of an access to a guest address translation table by the first hardware translation engine.

### Claim 10 (depends on 8)

The computer system of claim 8, wherein based on the first hardware translation engine performing the guest level translation, the second hardware translation engine operates transparently to the first hardware translation engine as a child translation engine of the first hardware translation engine.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein the address translation facility further comprises engaging the second hardware translation engine to perform the translating of the respective guest non-virtual address to the host non-virtual address based on the lookup request resulting in a table lookaside buffer miss.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the address translation facility further comprises writing a translation result of the second hardware translation engine performing the translating of the respective guest non-virtual address to host non-virtual address to the table lookaside buffer, and respinning the lookup request to the table lookaside buffer.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the address translation facility further comprises resolving, based on the respinning, the lookup request using the translation result written to the table lookaside buffer, and writing the result for the translating of the respective guest non-virtual address to the host non-virtual address to the table cache, and returning the translation result to the first translation engine.

### Claim 14

A computer-implemented method of facilitating processing in a computing environment, the computer-implemented method comprising:
providing an address translation facility for multiple virtualization levels, wherein a guest-virtual address may be translated to a guest non-virtual address, the guest non-virtual address corresponding without translation to a host virtual address, and the host-virtual address may be translated to a host non-virtual address, where translation within a virtualization level is specified as a sequence of accesses to address translation tables, the providing the address translation facility comprising:
providing a first hardware translation engine;
providing a second hardware translation engine, wherein the first hardware translation engine and the second hardware translation engine are different instances of a basic hardware translation engine, each having capacity to perform address translation within only a single virtualization level of the multiple virtualization levels, and wherein based on, in operation, the first hardware translation engine performing a guest level translation, the second hardware translation engine performs a host level translation of a resulting guest non-virtual address to a host non-virtual address based on the guest level translation by the first translation engine;
providing a table cache separate from and shared by the first and second hardware translation engines; and
wherein based on the first hardware translation engine performing the guest level translation, one or more table fetches to the table cache are sent as guest non-virtual addresses, and based on a table fetch miss in the table cache, the address translation facility includes generating a lookup request for translation of a respective guest non-virtual address to a host non-virtual address, the lookup request being sent to a table lookaside buffer of the address translation facility for resolution.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein based on the first hardware translation engine performing the guest level translation, the second hardware translation engine further performs a host level translation for the first hardware translation engine of an access to a guest address translation table by the first hardware translation engine.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, wherein based on the first hardware translation engine performing the guest level translation, the second hardware translation engine operates transparently to the first hardware translation engine as a child translation engine of the first hardware translation engine.

### Claim 17 (depends on 14)

The computer-implemented method of claim 14, wherein the address translation facility further comprises engaging the second hardware translation engine to perform the translating of the respective guest non-virtual address to the host non-virtual address based on the lookup request resulting in a table lookaside buffer miss.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, wherein the address translation facility further comprises writing a translation result of the second hardware translation engine performing the translating of the respective guest non-virtual address to host non-virtual address to the table lookaside buffer, and respinning the lookup request to the table lookaside buffer.
