# US 2013/0159764 A1 · PCI Express Error Handling and Recovery Action Controls

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

- Number: US 2013/0159764 A1
- Document ID: US20130159764A1
- Status: Published application
- Kind: A1
- Application number: 13/326,457
- Filed: 2011-12-15
- Published: 2013-06-20
- Earliest claimed: 2011-12-15
- Assignees: International Business Machines Corporation
- Inventors: Etai Adar; Ilya Granovsky
- Web page: https://patentgrep.com/patent/US20130159764A1

## CPC

- G06F 11/0745: {in an input/output transactions management context (input/output processing in general G06F13/00)}
- 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: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus and method of PCIe error handling and recovery actions taken in the event of an error. An error reporting extension defines a set of commonly used actions that are taken by a device in response to the detection of an error. This minimizes the side effects of continued device operation following the occurrence of an error. The device's error handling capabilities are advertised and the system software specifies the desired device action to take upon occurrence of a particular error. The particular error handling action is defined uniquely for each PCIe function and error type, such that different errors trigger a different type of action, thereby affecting only specific device functions or the entire device, depending on the configuration. Error handling actions and control fields are placed in the extension portion of the PCI Express Advanced Error Reporting configuration space.

## Claims

### Claim 1

A method of PCI Express (PCIe) error handling, said method comprising:
providing error handling capabilities whereby on occurrence of an error a corresponding action is taken; and
advertising said error handling capabilities to one or more devices and configuring desired action to be taken upon occurrence of an error.

### Claim 2 (depends on 1)

The method according to claim 1, wherein said error handling capabilities comprises transmit memory transactions flush.

### Claim 3 (depends on 1)

The method according to claim 1, wherein said error handling capabilities comprises receive memory transactions flush.

### Claim 4 (depends on 1)

The method according to claim 1, wherein said error handling capabilities comprises transmit and receive memory transactions flush.

### Claim 5 (depends on 1)

The method according to claim 1, wherein said error handling capabilities comprises a link reset.

### Claim 6 (depends on 1)

The method according to claim 1, wherein said error handling capabilities comprises a transaction flush related to a PCIe function in accordance with a particular error type and potential scope of damage.

### Claim 7 (depends on 1)

The method according to claim 1, wherein said error handling capabilities comprises a full or partial transaction flush of a device in response to an error event.

### Claim 8

A method of PCI Express (PCIe) error handling, said method comprising:
providing error handling capabilities including a PCIe Advanced Error Reporting (AER) extension defining a set of actions to be taken by a device in the event of an error; and
advertising said error handling capabilities to one or more devices and configuring desired action to be taken upon occurrence of an error.

### Claim 9 (depends on 8)

The method according to claim 8, wherein said error handling capabilities comprises transmit memory transactions flush.

### Claim 10 (depends on 8)

The method according to claim 8, wherein said error handling capabilities comprises receive memory transactions flush.

### Claim 11 (depends on 78)

The method according to claim 78, wherein said error handling capabilities comprises transmit and receive memory transactions flush.

### Claim 12 (depends on 8)

The method according to claim 8, wherein said error handling capabilities comprises a link reset.

### Claim 13 (depends on 8)

The method according to claim 8, wherein said error handling capabilities comprises a transaction flush related to a PCIe function in accordance with a particular error type and potential scope of damage.

### Claim 14 (depends on 8)

The method according to claim 8, wherein said error handling capabilities comprises a full or partial transaction flush of a device in response to an error event.

### Claim 15

A PCI Express error handler apparatus, comprising:
a functional configuration space for storing error handling capabilities whereby on occurrence of an error a corresponding action is taken; and
means for advertising said error handling capabilities to one or more devices and configuring desired action to be taken upon occurrence of an error.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein said error handling capabilities comprises transmit memory transactions flush.

### Claim 17 (depends on 15)

The apparatus according to claim 15, wherein said error handling capabilities comprises receive memory transactions flush.

### Claim 18 (depends on 15)

The apparatus according to claim 15, wherein said error handling capabilities comprises transmit and receive memory transactions flush.

### Claim 19 (depends on 15)

The apparatus according to claim 15, wherein said error handling capabilities comprises a link reset.

### Claim 20 (depends on 15)

The apparatus according to claim 15, wherein said error handling capabilities comprises a transaction flush related to a PCIe function in accordance with a particular error type and potential scope of damage.

### Claim 21 (depends on 15)

The apparatus according to claim 15, wherein said error handling capabilities comprises a full or partial transaction flush of a device in response to an error event.

### Claim 22

A PCI Express (PCIe) endpoint, comprising:
an error handler for providing error handling capabilities whereby on occurrence of an error a particular action is taken; and
means for advertising said error handling capabilities to one or more devices and configuring desired action to be taken upon occurrence of an error.

### Claim 23 (depends on 22)

The method according to claim 22, wherein said error handling capabilities comprises a transaction flush related to a PCIe function in accordance with a particular error type and potential scope of damage.

### Claim 24 (depends on 22)

The method according to claim 22, wherein said error handling capabilities comprises a full or partial transaction flush of a device in response to an error event.
