# US 2006/0150030 A1 · Management of memory controller reset

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

- Number: US 2006/0150030 A1
- Document ID: US20060150030A1
- Status: Published application
- Kind: A1
- Application number: 11/030,477
- Filed: 2005-01-06
- Published: 2006-07-06
- Earliest claimed: 2005-01-06
- Assignees: International Business Machines (IBM) Corporation
- Inventors: Lucien Mirabeau; Charles Cardinell; Man Ma; Ricardo Padilla
- Web page: https://patentgrep.com/patent/US20060150030A1

## CPC

- 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 11/0727: {in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An error handling method is provided for processing adapter errors. Rather than executing a disruptive controller hardware reset, an error handling routine provides instructions for a reset operation to be loaded and executed from cache while the SDRAM is in self-refresh mode and therefore unusable.

## Claims

### Claim 1

A method for processing an error in an I/O adapter associated with a storage controller, comprising:
receiving an adapter error in a memory controller to which a first memory device is coupled;
quiescing processes requiring access to the first memory device;
executing reset function code in a cache associated with the memory controller;
initializing memory controller registers; and
allowing processes to access the first memory device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, prior to executing the reset code:
flushing contents of the cache; and
loading the reset function code into the cache from a second memory device coupled to the memory controller.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second memory device comprises a RAM device.

### Claim 4 (depends on 1)

The method of claim 1, wherein the cache comprises L2 cache.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first memory device comprises an SDRAM device.

### Claim 6 (depends on 1)

The method of claim 1, wherein the adapter comprises a host adapter.

### Claim 7

An adapter error handler, comprising:
a processor;
a memory controller coupled to the processor;
a first memory device coupled to the memory controller;
a second memory device coupled to the memory controller;
a cache associated with the microprocessor coupled to the memory controller; and
an error register associated with the memory controller adapted to store an indication of an error in an adapter coupled to the memory controller;
the processor programmed to, upon receipt by the memory controller of the indication of an error in the adapter, execute instructions to:
prevent external access to the first memory device;
flush the cache;
cause reset function code to execute in the cache, whereby registers associated with the memory controller are initialized; and
permit external access to the first memory device.

### Claim 8 (depends on 7)

The adapter error handler of claim 7, further comprising a second memory device coupled to the memory controller.

### Claim 9 (depends on 8)

The error handler of claim 8, the processor further programmed to:
flush contents of the cache; and
load the reset function code from the second memory device into the cache.

### Claim 10 (depends on 8)

The adapter error handler of claim 8, wherein the second memory device comprises a RAM device.

### Claim 11 (depends on 7)

The adapter error handler of claim 7, wherein the cache comprises L2 cache.

### Claim 12 (depends on 7)

The adapter error handler of claim 7, wherein the first memory device comprises an SDRAM device.

### Claim 13 (depends on 7)

The adapter error handler of claim 7, wherein the adapter comprises a host adapter.

### Claim 14

A computer program product of a computer readable medium usable with a programmable computer, the computer program product having computer-readable code embodied therein for processing an error in an adapter associated with a storage controller, comprising, the computer-readable code comprising instructions for:
receiving an adapter error in a memory controller to which is coupled a first memory device;
quiescing processes requiring access to the first memory device;
executing reset function code in a cache associated with the memory controller;
initializing memory controller registers; and
allowing processes to access the first memory device.

### Claim 15 (depends on 14)

The program product of claim 14, the instructions further comprising, prior to the instruction for executing the reset code, instructions for:
flushing contents of the cache; and
copying the reset function code into the cache from a second memory device coupled to the memory controller.

### Claim 16 (depends on 15)

The program product of claim 15, wherein the second memory device comprises a RAM device.

### Claim 17 (depends on 14)

The program product of claim 14, wherein the cache comprises L2 cache.

### Claim 18 (depends on 14)

The program product of claim 14, wherein the first memory device comprises an SDRAM device.
