# US 2023/0273885 A1 · Maintaining a running software service through a soft reboot

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

- Number: US 2023/0273885 A1
- Document ID: US20230273885A1
- Status: Published application
- Kind: A1
- Application number: 17/681,932
- Filed: 2022-02-28
- Published: 2023-08-31
- Earliest claimed: 2022-02-28
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Robert D. Gardner; Henry Willard
- Web page: https://patentgrep.com/patent/US20230273885A1

## CPC

- G06F 13/1668: {Details of memory controller}
- G06F 9/4406: {Loading of operating system}
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Herein are solutions for computer bus transaction processing by a device that is rebooting. Data and logic of a bus driver of a device are configured to remain loaded and fully operational during an operating system (OS) kernel reboot on the device. That logic is specially memory mapped into an unused area of volatile memory that is not overwritten by the OS kernel. Driver logic is self-contained such that its statically linked codebase contains all logic needed to detect and fully handle an outstanding bus transaction. In an embodiment having a host computer that is connected to a device by a bus, a central processing unit (CPU) of the device bootstraps an OS kernel of the device. Concurrent to bootstrapping the OS kernel, the CPU of the device detects a transaction on the bus that was not initiated by the device, executes an instruction sequence for the transaction, and sends on the bus a response to the transaction.

## Claims

### Claim 1

A method comprising:
bootstrapping, by a central processing unit (CPU) of a device on a bus, an operating system kernel;
same said CPU performing, concurrent to said bootstrapping the operating system kernel:
detecting a transaction on the bus that was not initiated by the device,
executing an instruction sequence for the transaction, and
sending on the bus a response to the transaction.

### Claim 2 (depends on 1)

The method of claim 1 wherein said bootstrapping the operating system kernel comprises initializing virtual memory that does not contain a memory region that contains said instruction sequence for the transaction.

### Claim 3 (depends on 2)

The method of claim 2 wherein said bootstrapping the operating system kernel comprises mapping said memory region that contains said instruction sequence for the transaction into at least one selected from the group consisting of user space and the virtual memory.

### Claim 4 (depends on 3)

The method of claim 3 wherein said mapping said memory region that contains said instruction sequence for the transaction does not comprise linking said instruction sequence for the transaction.

### Claim 5 (depends on 1)

The method of claim 1 further comprising same said CPU executing, in user mode, same said instruction sequence for a second transaction.

### Claim 6 (depends on 1)

The method of claim 1 wherein:
the method further comprises disabling a memory management unit (MMU) of the CPU of the device;
said executing the instruction sequence for said transaction occurs while the MMU of the CPU of the device is disabled.

### Claim 7 (depends on 1)

The method of claim 1 further comprising exclusively allocating, during the entirety of said bootstrapping the operating system kernel, at least one processing core of the CPU of the device to bus transaction logic that contains said instruction sequence of the transaction.

### Claim 8 (depends on 7)

The method of claim 7 further comprising when said bootstrapping the operating system kernel finishes, ceasing said exclusively allocating said at least one processing core of the CPU of the device on the bus to said bus transaction logic.

### Claim 9 (depends on 1)

The method of claim 1 further comprising operating, by said instruction sequence for the transaction, a stack whose capacity does not exceed 64 kilobytes.

### Claim 10 (depends on 1)

The method of claim 1 wherein said executing the instruction sequence for said transaction comprises performing all addressing of data relative to a program counter (PC).

### Claim 11 (depends on 10)

The method of claim 10 further comprising verifying said all addressing of said data is relative to said PC.

### Claim 12 (depends on 11)

The method of claim 11 wherein said verifying said all addressing of said data is relative to said PC occurs during one selected from a group consisting of: before statically linking the instruction sequence for said transaction, and before loading the instruction sequence for said transaction.

### Claim 13 (depends on 11)

The method of claim 11 wherein said verifying said all addressing of said data is relative to said PC comprises executing only standard Unix commands.

### Claim 14 (depends on 1)

The method of claim 1 wherein said detecting said transaction on the bus is in response to said bootstrapping the operating system kernel.

### Claim 15 (depends on 1)

The method of claim 1 wherein said device on the bus is a network interface card (NIC).

### Claim 16 (depends on 1)

The method of claim 1 further comprising applying, by said device on the bus, to a network transmission, at least one selected from the group consisting of cryptography and compression.

### Claim 17

One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause:
bootstrapping, by a central processing unit (CPU) of a device on a bus, an operating system kernel;
same said CPU performing, concurrent to said bootstrapping the operating system kernel:
detecting a transaction on the bus that was not initiated by the device,
executing an instruction sequence for the transaction, and
sending on the bus a response to the transaction.

### Claim 18 (depends on 17)

The one or more non-transitory computer-readable media of claim 17 wherein said bootstrapping the operating system kernel comprises initializing virtual memory that does not contain a memory region that contains said instruction sequence for the transaction.

### Claim 19 (depends on 17)

The one or more non-transitory computer-readable media of claim 17 wherein:
said instructions further cause disabling a memory management unit (MMU) of the CPU of the device;
said executing the instruction sequence for said transaction occurs while the MMU of the CPU of the device is disabled.

### Claim 20 (depends on 17)

The one or more non-transitory computer-readable media of claim 17 wherein said instructions further cause exclusively allocating, during the entirety of said bootstrapping the operating system kernel, at least one processing core of the CPU of the device to bus transaction logic that contains said instruction sequence of the transaction.
