# US 2008/0189715 A1 · Controlling resource transfers in a logically partitioned computer system

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

- Number: US 2008/0189715 A1
- Document ID: US20080189715A1
- Status: Published application
- Kind: A1
- Application number: 12/098,523
- Filed: 2008-04-07
- Published: 2008-08-07
- Earliest claimed: 2006-03-14
- Assignees: International Business Machines Corporation
- Inventors: Troy David Armstrong; William Joseph Armstrong; Curtis Shannon Eide; Gergory Michael Nordstrom
- Web page: https://patentgrep.com/patent/US20080189715A1

## CPC

- G06F 13/4081: {Live connection to bus, e.g. hot-plugging (current or voltage limitation during live insertion H02H9/004)}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A resource and partition manager of the preferred embodiments includes a lock mechanism that operates on a plurality of locks that control access to individual I/O slots. The resource and partition manager uses the lock mechanism to obtain a lock on an I/O slot when transferring control of the I/O slot to a logical partition that is powering on and when removing the I/O slot from a logical partition that is powering off. The resource and partition manager uses the lock mechanism to remove control of an I/O slot from, or return control to, an operating logical partition in order to facilitate hardware service operations on that I/O slot or on the physical enclosure in which it is contained.

## Claims

### Claim 1

An apparatus comprising:
at least one processor;
a memory coupled to the at least one processor;
a plurality of input/output (I/O) slots coupled to the at least one processor;
a plurality of locks residing in the memory, wherein each of the plurality of I/O slots has a corresponding lock;
a plurality of logical partitions defined on the apparatus;
a lock mechanism that controls access to each I/O slot by the plurality of logical partitions by requiring exclusive ownership of the corresponding lock before transferring control of the corresponding I/O slot to one of the plurality of logical partitions and before allowing one of the plurality of logical partitions to access the corresponding I/O slot;
a mechanism for releasing all memory and virtual address bindings to an adapter in a selected I/O slot when control of the selected I/O slot is removed from one of the plurality of logical partitions;
a mechanism for one of the plurality of logical partitions to relinquish control of an I/O slot that the one logical partition owns without relinquishing ownership of the I/O slot; and
a mechanism for the one logical partition to regain control of an I/O slot that the logical partition owns but for which the one logical partition previously relinquished control.

### Claim 2 (depends on 1)

The apparatus of claim 1 further comprising a mechanism for enabling memory and virtual address bindings to the adapter in the selected I/O slot when control of the selected I/O slot is transferred to one of the plurality of logical partitions.

### Claim 3 (depends on 1)

The apparatus of claim 1 further comprising a mechanism for transferring control of a selected I/O slot to a resource and partition manager when control of the selected I/O slot is removed from one of the plurality of logical partitions.

### Claim 4 (depends on 1)

The apparatus of claim 1 further comprising a mechanism for transferring control of a selected I/O slot to one of the plurality of logical partitions when control of the selected I/O slot is transferred to the one logical partition.

### Claim at position 5

5-6. (canceled)

### Claim 7

A program product comprising:
a lock mechanism that defines a plurality of locks, wherein each of a plurality of input/output (I/O) slots has a corresponding lock, the lock mechanism controlling access to the plurality of I/O slots in a computer system that includes a plurality of logical partitions by requiring exclusive ownership of the corresponding lock before transferring control of the corresponding I/O slot to one of the plurality of logical partitions and before allowing one of the plurality of logical partitions to access the corresponding I/O slot, the lock mechanism releasing all memory and virtual address bindings to an adapter in a selected I/O slot when control of the selected I/O slot is removed from one of the plurality of logical partitions;
a second mechanism for one of the plurality of logical partitions to relinquish control of an I/O slot that the one logical partition owns without relinquishing ownership of the I/O slot;
a third mechanism for the one logical partition to regain control of an I/O slot that the logical partition owns but for which the one logical partition previously relinquished control; and
recordable media bearing the lock mechanism, the second mechanism, and the third mechanism.

### Claim 8 (depends on 7)

The program product of claim 7 further comprising a mechanism residing on the recordable media for enabling memory and virtual address bindings to an adapter in a selected I/O slot when control of the selected I/O slot is transferred to one of the plurality of logical partitions.

### Claim 9 (depends on 7)

The program product of claim 7 further comprising a mechanism residing on the recordable media for transferring control of a selected I/O slot to a resource and partition manager when control of the selected I/O slot is removed from one of the plurality of logical partitions.

### Claim 10 (depends on 7)

The program product of claim 7 further comprising a mechanism residing on the recordable media for transferring control of a selected I/O slot to one of the plurality of logical partitions when control of the selected I/O slot is transferred to the one logical partition.

### Claim at position 10

11-12. (canceled)
