# US 2020/0272528 A1 · Functional completion when retrying a non-interruptible instruction in a bi-modal execution environment

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

- Number: US 2020/0272528 A1
- Document ID: US20200272528A1
- Status: Published application
- Kind: A1
- Application number: 16/286,987
- Filed: 2019-02-27
- Published: 2020-08-27
- Earliest claimed: 2019-02-27
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Matthias Klein; Simon Weishaupt; Anthony Thomas Sofia; Jonathan D. Bradbury; Mark S. Farrell; Mahmoud Amin; Timothy Slegel
- Web page: https://patentgrep.com/patent/US20200272528A1

## CPC

- G06F 9/4812: {by interrupt, e.g. masked}
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 9/4818: {Priority circuits therefor}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/54: Interprogram communication
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method is provided that includes receiving, by a firmware from an originating software, an asynchronous request for an instruction of an algorithm for compression of data. The firmware operates on a first processor and the originating software operates on a second processor. The firmware issues a synchronous request to the first processor to cause the processor to execute the instruction synchronously. It is determined, by the firmware, whether an interrupt is received from the first processor with respect to the first processor executing the instruction. The firmware retries the issuance of the synchronous request each time the interrupt is received until a retry threshold is reached.

## Claims

### Claim 1

A method comprising:
receiving, by a firmware from an originating software, an asynchronous request for an instruction of an algorithm for compression of data, the firmware operating on a first processor, and the originating software operating on a second processor;
issuing, by the firmware, a synchronous request to the first processor to cause the processor to execute the instruction synchronously;
determining, by the firmware, whether an interrupt is received from the first processor with respect to the first processor executing the instruction; and
retrying, by the firmware, the issuance of the synchronous request each time the interrupt is received until a retry threshold is reached; and
returning, by the firmware, an asynchronous response with an indicator set to on upon the retry threshold being reached, the indicator enabling the originating software to execute a synchronous fallback path to ensure completion of the instruction.

### Claim 2 (depends on 1)

The method of claim 1, wherein the originating software issues a request block, as the asynchronous request, for the instruction to the firmware.

### Claim 3 (depends on 1)

The method of claim 1, wherein the firmware returns an asynchronous response with the indicator set to off if the first processor completed the instruction.

### Claim 4 (depends on 3)

The method of claim 3, wherein the originating software does not issue the synchronous request.

### Claim 5 (depends on 1)

The method of claim 1, wherein not receiving the interrupt by the firmware from the first processor indicates that the processor has executed the instruction to completion.

### Claim 6 (depends on 1)

The method of claim 1, wherein receiving the interrupt by the firmware from the processor indicates that the processor failed to execute the instruction to completion.

### Claim 7 (depends on 1)

The method of claim 1, wherein the firmware returns a request block, as the asynchronous response, to the originating software.

### Claim 8

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a first processor or a second processor to perform operations comprising:
receiving, by a firmware from an originating software, an asynchronous request for an instruction of an algorithm for compression of data, the firmware operating on the first processor, and the originating software operating on the second processor;
issuing, by the firmware, a synchronous request to the first processor to cause the processor to execute the instruction synchronously;
determining, by the firmware, whether an interrupt is received from the first processor with respect to the first processor executing the instruction; and
retrying, by the firmware, the issuance of the synchronous request each time the interrupt is received until a retry threshold is reached; and
returning, by the firmware, an asynchronous response with an indicator set to on upon the retry threshold being reached, the indicator enabling the originating software to execute a synchronous fallback path to ensure completion of the instruction.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein in an operating system issues a request block, as the asynchronous request, for the instruction to the firmware.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the firmware returns an asynchronous response with the indicator set to off if the first processor completed the instruction.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the originating software does not issue the synchronous request.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein not receiving the interrupt by the firmware from the first processor indicates that the processor has executed the instruction to completion.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein receiving the interrupt by the firmware from the processor indicates that the processor failed to execute the instruction to completion.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the firmware returns a request block, as the asynchronous response, to the originating software.

### Claim 15

A system comprising:
a first processor comprising firmware thereon, the firmware in communication with an originating software executing on a second processor, the system executable to perform operations comprising:
receiving, by a firmware from the originating software, an asynchronous request for an instruction of an algorithm for compression of data;
issuing, by the firmware, a synchronous request to the first processor to cause the processor to execute the instruction synchronously;
determining, by the firmware, whether an interrupt is received from the first processor with respect to the first processor executing the instruction; and
retrying, by the firmware, the issuance of the synchronous request each time the interrupt is received until a retry threshold is reached; and
returning, by the firmware, an asynchronous response with an indicator set to on upon the retry threshold being reached, the indicator enabling the originating software to execute a synchronous fallback path to ensure completion of the instruction.

### Claim 16 (depends on 15)

The system of claim 15, wherein in an operating system issues a request block, as the asynchronous request, for the instruction to the firmware.

### Claim 17 (depends on 15)

The system of claim 15, wherein the firmware returns an asynchronous response with the indicator set to off if the first processor completed the instruction.

### Claim 18 (depends on 15)

The system of claim 15, wherein the originating software does not issue the synchronous request.

### Claim 19 (depends on 15)

The system of claim 15, wherein not receiving the interrupt by the firmware from the first processor indicates that the processor has executed the instruction to completion.

### Claim 20 (depends on 15)

The system of claim 15, wherein receiving the interrupt by the firmware from the processor indicates that the processor failed to execute the instruction to completion.

### Claim 21 (depends on 15)

The system of claim 15, wherein the firmware returns a request block, as the asynchronous response, to the originating software.

### Claim 22

A method comprising:
sending, by an originating software to a firmware, an asynchronous request for an asynchronous execution of an instruction, the firmware operating on a first processor, and the originating software operating on a second processor;
receiving, by the originating software from the firmware, an asynchronous response with an indicator set to on upon a retry threshold being reached by the firmware; and
synchronously, by the originating software, executing the instruction to ensure completion in response to receiving the asynchronous response with the indicator set to on.

### Claim 23 (depends on 22)

The method of claim 22, wherein the originating software receives from the firmware the asynchronous response with the indicator set to off informing the originating software that the asynchronous execution was successful.

### Claim 24

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause:
sending, by an originating software to a firmware, an asynchronous request for an asynchronous execution of an instruction, the firmware operating on a first processor, and the originating software operating on a second processor;
receiving, by the originating software from the firmware, an asynchronous response with an indicator set to on upon a retry threshold being reached by the firmware; and
synchronously, by the originating software, executing the instruction to ensure completion in response to receiving the asynchronous response with the indicator set to on.

### Claim 25 (depends on 24)

The computer program product of claim 24, wherein the originating software receives from the firmware the asynchronous response with the indicator set to off informing the originating software that the asynchronous execution was successful.
