# US 2016/0259680 A1 · Memory management

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

- Number: US 2016/0259680 A1
- Document ID: US20160259680A1
- Status: Published application
- Kind: A1
- Application number: 15/054,567
- Filed: 2016-02-26
- Published: 2016-09-08
- Earliest claimed: 2015-03-02
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Matthew Lucien EVANS
- Web page: https://patentgrep.com/patent/US20160259680A1

## CPC

- G06F 11/073: {in a memory management context, e.g. virtual memory or cache management (memory management G06F12/00; testing of static memory units G11C29/00)}
- G06F 11/0766: {Error or fault reporting or storing}
- G06F 11/0784: {Routing of error reports, e.g. with a specific transmission path or data flow}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 12/10: Address translation
- G06F 12/109: for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence)
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2212/1008: Correctness of operation, e.g. memory ordering
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/65: Details of virtual memory and virtual address translation
- 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 method of operation of a host data processing system which provides a virtual operating environment for one or more guest data processing systems comprises: initiating a transaction for translation of a guest system memory address to a host system physical address in response to a transaction request from a device overseen by a guest system for access to system memory according to that guest system memory address; storing identification information relating to each transaction including at least data identifying the device which requested the transaction; for a stalled transaction, being a transaction incurring an error condition which is potentially resolvable by the guest system overseeing the device which requested the transaction: (i) storing identification information relating to that transaction including at least data identifying the device which requested the transaction; (ii) providing information indicative of the translation error condition to the guest system overseeing the device which requested the transaction; and (iii) deferring continued handling of the stalled transaction until a subsequent command is received from that guest system relating to the stalled transaction; detecting initiation of a closure process relating to a guest system; and in response to initiation of the closure process, initiating cancellation of any currently stalled transactions for devices overseen by that guest system for which a command has not yet been received from that guest system.

## Claims

### Claim 1

A method of operation of a host data processing system which provides a virtual operating environment for one or more guest data processing systems, the method comprising:
initiating a transaction for translation of a guest system memory address to a host system physical address in response to a transaction request from a device overseen by a guest system for access to system memory according to that guest system memory address;
storing identification information relating to each transaction including at least data identifying the device which requested the transaction;
for a stalled transaction, being a transaction incurring an error condition which is potentially resolvable by the guest system overseeing the device which requested the transaction:
(i) storing identification information relating to that transaction including at least data identifying the device which requested the transaction;
(ii) providing information indicative of the translation error condition to the guest system overseeing the device which requested the transaction;
and
(iii) deferring continued handling of the stalled transaction until a subsequent command is received from that guest system relating to the stalled transaction;
detecting initiation of a closure process relating to a guest system; and
in response to initiation of the closure process, initiating cancellation of any currently stalled transactions for devices overseen by that guest system for which a command has not yet been received from that guest system.

### Claim 2 (depends on 1)

A method according to claim 1, comprising, prior to cancelling any currently stalled transactions, the step of:
setting a termination rule to terminate any transactions newly received by the host system from one or more devices overseen by that guest system.

### Claim 3 (depends on 1)

A method according to claim 1, comprising, prior to cancelling any currently stalled transactions, the step of:
inhibiting one or more devices overseen by the guest system from issuing any further transactions.

### Claim 4 (depends on 1)

A method according to claim 1, comprising the step of:
in response to initiation of the closure process, instructing one or more devices overseen by the guest system to wait for a response to any outstanding transactions.

### Claim 5 (depends on 1)

A method according to claim 1, in which the step of initiating cancellation comprises cancelling any currently stalled transactions for devices overseen by that guest system for which a command has not yet been received from that guest system.

### Claim 6 (depends on 1)

A method according to claim 1, in which the step of initiating cancellation comprises:
detecting any currently stalled transactions which have stored identification information corresponding to a device overseen by the guest system which a closure process has been initiated; and
initiating cancellation of all of the detected transactions.

### Claim 7 (depends on 1)

A method according to claim 1, in which the closure process comprises any one of:
the host system causing closure of the guest system;
the guest system closing; and
the guest system suffering an operational failure.

### Claim 8 (depends on 1)

A method according to claim 1, in which:
the deferring step comprises deferring continued handling of the stalled transaction until a subsequent command is received from a guest system and that command is validated by comparing the identity of the device providing the command with the stored identification information relating to that transaction.

### Claim 9

A host data processing system configured to provide a virtual operating environment for one or more guest data processing systems, the host data processing system comprising:
a memory management unit configured to initiate a transaction for translation of a guest system memory address to a host system physical address in response to a transaction request from a device overseen by a guest system for access to system memory according to that guest system memory address;
a transaction buffer configured to store identification information relating to each transaction including at least data identifying the device which requested the transaction;
error handling logic configured, for a stalled transaction, being a transaction incurring an error condition which is potentially resolvable by the guest system overseeing the device which requested the transaction, to:
(i) store identification information relating to that transaction including at least data identifying the device which requested the transaction;
(ii) provide information indicative of the translation error condition to the guest system overseeing the device which requested the transaction;
and
(iii) defer continued handling of the stalled transaction until a subsequent command is received from that guest system relating to the stalled transaction;
a detector configured to detect initiation of a closure process relating to a guest system; and
cancellation logic, responsive to initiation of the closure process, configured to initiate cancellation of any currently stalled transactions for devices overseen by that guest system for which a command has not yet been received from that guest system.

### Claim 10

A host data processing system operable to provide a virtual operating environment for one or more guest data processing systems, the host data processing system comprising:
means for initiating a transaction for translation of a guest system memory address to a host system physical address in response to a transaction request from a device overseen by a guest system for access to system memory according to that guest system memory address;
means for storing identification information relating to each transaction including at least data identifying the device which requested the transaction;
means operable in respect of a stalled transaction, being a transaction incurring an error condition which is potentially resolvable by the guest system overseeing the device which requested the transaction, for:
(i) storing identification information relating to that transaction including at least data identifying the device which requested the transaction;
(ii) providing information indicative of the translation error condition to the guest system overseeing the device which requested the transaction;
and
(iii) deferring continued handling of the stalled transaction until a subsequent command is received from that guest system relating to the stalled transaction;
means for detecting initiation of a closure process relating to a guest system; and
means, responsive to initiation of the closure process, for initiating cancellation of any currently stalled transactions for devices overseen by that guest system for which a command has not yet been received from that guest system.
