# US 2017/0293771 A1 · Implementing block device extent granularity authorization model processing in capi adapters

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

- Number: US 2017/0293771 A1
- Document ID: US20170293771A1
- Status: Published application
- Kind: A1
- Application number: 15/632,353
- Filed: 2017-06-25
- Published: 2017-10-12
- Earliest claimed: 2014-11-20
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Brian E. Bakke; Adrian C. Gerhard; Daniel F. Moertl
- Web page: https://patentgrep.com/patent/US20170293771A1

## CPC

- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 21/44: Program or device authentication
- G06F 21/80: in storage media based on magnetic or optical technology, e.g. disks with sectors (preventing unauthorised reproduction or copying of disc-type recordable media G11B20/00)
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- H04L 63/0853: {using an additional device, e.g. smartcard, SIM or a different communication terminal (cryptographic mechanisms or cryptographic arrangements for entity authentication involving additional secure or trusted devices H04L9/3234)}
- H04L 63/0892: {by using authentication-authorization-accounting [AAA] servers or protocols}
- H04L 63/0876: {based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method, system and computer program product are provided for implementing block extent granularity authorization model processing in Coherent Accelerator Processor Interface (CAPI) adapters. The CAPI adapter includes an authorization table and a file system authorization function to authenticate data access for a client at an extent granularity and to prevent an application from accessing unauthorized data in the CAPI adapter. Each authorization table entry provides for the CAPI client, a CAPI client identification (ID), a CAPI server register space assigning resource ownership to the CAPI client with a CAPI set of allowed functions.

## Claims

### Claim at position 1

1-9. (canceled)

### Claim 10

A system for implementing block extent granularity authorization model processing in a Coherent Accelerator Processor Interface (CAPI) adapter comprising:
the CAPI adapter comprising an authorization table, and a file system authorization function;
said file system authorization function, authenticating data access for a CAPI client at an extent granularity and preventing an application from accessing unauthorized data in the CAPI adapter; and
said authorization table providing for the CAPI client, a CAPI client identification (ID), a CAPI server register space assigning resource ownership to the CAPI client and a CAPI set of allowed functions.

### Claim 11 (depends on 10)

The system as recited in claim 10, includes control code stored on a computer readable medium, wherein said control code comprising said file system authorization function.

### Claim 12 (depends on 10)

The system as recited in claim 10, CAPI server register space includes CAPI server registers used to perform initialization functions and said CAPI client ID providing an index to a specific copy of CAPI server registers.

### Claim 13 (depends on 10)

The system as recited in claim 10, includes a processor complex coupled to the CAPI adapter including a processor; a file system and a hypervisor managing authorization functions associated with the CAPI adapter.

### Claim 14 (depends on 13)

The system as recited in claim 13, includes a transport mechanism comprising a Coherent Accelerator Processor Interface (CAPI) and Peripheral Component Interconnect Express (PCIE).

### Claim 15 (depends on 10)

The system as recited in claim 10, wherein said file system authorization function enforcing access to respective CAPI server registers to respective CAPI clients by mapping a virtual address for each said CAPI client to the CAPI server register space.

### Claim 16 (depends on 10)

The system as recited in claim 10, includes one or more of a plurality of CAPI clients identified as a Master Owning CAPI client, said Master Owning CAPI client being a parent CAPI client and the parent CAPI client notifying the CAPI adapter of a new child CAPI client, identifying the CAPI server register space for the new child CAPI client and identifying allowed CAPI functions for the new child CAPI client.

### Claim 17 (depends on 10)

The system as recited in claim 10, wherein said file system authorization function returning an authorization handle to a user CAPI client.

### Claim 18 (depends on 10)

The system as recited in claim 10 includes the CAPI adapter enforcing functions allowed on each command sent to a CAPI Server register space using said authorization handle in the command.

### Claim 19 (depends on 18)

The system as recited in claim 18, wherein said user CAPI client setting said authorization handle in each said command.

### Claim 20 (depends on 10)

The system as recited in claim 10, wherein said file system authorization function authenticating data access for a CAPI client at an extent granularity includes each extent including a resource space subset of a block device or Logical Unit (LUN).
