# US 2017/0293559 A1 · Early freeing of a snoop machine of a data processing system prior to completion of snoop processing for an interconnect operation

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

- Number: US 2017/0293559 A1
- Document ID: US20170293559A1
- Status: Published application
- Kind: A1
- Application number: 15/095,577
- Filed: 2016-04-11
- Published: 2017-10-12
- Earliest claimed: 2016-04-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: GUY L. GUTHRIE; WILLIAM J. STARKE; DEREK E. WILLIAMS
- Web page: https://patentgrep.com/patent/US20170293559A1

## CPC

- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 12/0893: Caches characterised by their organisation or structure
- H04L 45/74591: {using content-addressable memories [CAM]}
- G06F 2212/60: Details of cache memory
- G06F 2212/621: Coherency control relating to peripheral accessing, e.g. from DMA or I/O device
- 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

In at least one embodiment, a multiprocessor data processing system includes multiple vertical cache hierarchies supporting a plurality of processor cores, a system memory, and an interconnect fabric. In response to a first cache memory snooping on the interconnect fabric a request of an interconnect operation of a second cache memory, the first cache memory allocates a snoop machine to service the request. Responsive to the snoop machine completing its processing of the request and prior to the first cache memory receiving a systemwide coherence response of the interconnect operation, the first cache memory allocates an entry in a data structure to handle completion of processing for the interconnection operation and deallocates the snoop machine. The entry of the data structure protects transfer of coherence ownership of a target cache line from the first cache memory to the second cache memory during a protection window extending at least until the systemwide coherence response is received.

## Claims

### Claim 1

A method of data processing in a multiprocessor data processing system including multiple vertical cache hierarchies supporting a plurality of processor cores, a system memory, and an interconnect fabric coupled to the system memory and the multiple vertical cache hierarchies, the method comprising:
in response to a first cache memory in a first vertical cache hierarchy supporting a first processor core snooping on the interconnect fabric a request of an interconnect operation of a second cache memory in a second vertical cache hierarchy, the first cache memory allocating a snoop machine to service the request;
responsive to the snoop machine completing its processing of the request and prior to the first cache memory receiving a systemwide coherence response of the interconnect operation, the first cache memory allocating an entry in a data structure to handle completion of processing for the interconnection operation and deallocating the snoop machine; and
the entry of the data structure protecting transfer of coherence ownership of a target cache line from the first cache memory to the second cache memory during a protection window extending at least until the systemwide coherence response is received by the first cache memory.

### Claim 2 (depends on 1)

The method of claim 1, and further comprising:
the first cache memory continuing the protection window for at least a predetermined window extension following receipt by the first cache memory of the systemwide coherence response.

### Claim 3 (depends on 1)

The method of claim 1, wherein the data structure comprises a content addressable memory (CAM).

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the first cache memory includes a cache directory; and
the method further comprises the entry of the data structure initiating a directory write to update the cache directory based on the systemwide coherence response.

### Claim 5 (depends on 1)

The method of claim 1, wherein the protecting includes responding to a conflicting request snooped on the interconnect fabric with one of a plurality of partial responses specified in the entry of the data structure:

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the interconnect operation is a first interconnect operation and the request is a first request; and
the method further comprises the first cache memory reallocating the snoop machine to service a second request of a second interconnect operation prior to the entry ending the protection window.

### Claim 7

A processing unit for a multiprocessor data processing system, the processing unit comprising:
a processor core;
interconnect logic configured to couple the processing unit to an interconnect fabric of the multiprocessor data processing system;
a first vertical cache hierarchy supporting the processor core, the first vertical cache hierarchy including a first cache memory configured to:
in response to the first cache memory snooping on the interconnect fabric a request of an interconnect operation of a second cache memory in a second vertical cache hierarchy, the first cache memory allocating a snoop machine to service the request;
responsive to the snoop machine completing its processing of the request and prior to the first cache memory receiving a systemwide coherence response of the interconnect operation, the first cache memory allocating an entry in a data structure to handle completion of processing for the interconnection operation and deallocating the snoop machine; and
the entry of the data structure protecting transfer of coherence ownership of a target cache line from the first cache memory to the second cache memory during a protection window extending at least until the systemwide coherence response is received by the first cache memory.

### Claim 8 (depends on 7)

The processing unit of claim 7, and further comprising:
the first cache memory continuing the protection window for at least a predetermined window extension following receipt by the first cache memory of the systemwide coherence response.

### Claim 9 (depends on 7)

The processing unit of claim 7, wherein the data structure comprises a content addressable memory (CAM).

### Claim 10 (depends on 7)

The processing unit of claim 7, wherein:
the first cache memory includes a cache directory; and
the method further comprises the entry of the data structure initiating a directory write to update the cache directory based on the systemwide coherence response.

### Claim 11 (depends on 7)

The processing unit of claim 7, wherein the protecting includes responding to a conflicting request snooped on the interconnect fabric with one of a plurality of partial responses specified in the entry of the data structure:

### Claim 12 (depends on 7)

The processing unit of claim 7, wherein:
the interconnect operation is a first interconnect operation and the request is a first request; and
the method further comprises the first cache memory reallocating the snoop machine to service a second request of a second interconnect operation prior to the entry ending the protection window.

### Claim 13 (depends on 7)

A multiprocessing data processing system, comprising:
first and second processing units in accordance with claim 7; and
the system interconnect coupling the first and second processing units.

### Claim 14

A design structure tangibly embodied in a machine-readable storage device for designing, manufacturing, or testing an integrated circuit, the design structure comprising:
a processing unit for a multiprocessor data processing system, the processing unit including:
a processor core;
interconnect logic configured to couple the processing unit to an interconnect fabric of the multiprocessor data processing system;
a first vertical cache hierarchy supporting the processor core, the first vertical cache hierarchy including a first cache memory configured to:
in response to the first cache memory snooping on the interconnect fabric a request of an interconnect operation of a second cache memory in a second vertical cache hierarchy, the first cache memory allocating a snoop machine to service the request;
responsive to the snoop machine completing its processing of the request and prior to the first cache memory receiving a systemwide coherence response of the interconnect operation, the first cache memory allocating an entry in a data structure to handle completion of processing for the interconnection operation and deallocating the snoop machine; and
the entry of the data structure protecting transfer of coherence ownership of a target cache line from the first cache memory to the second cache memory during a protection window extending at least until the systemwide coherence response is received by the first cache memory.

### Claim 15 (depends on 14)

The design structure of claim 14, and further comprising:
the first cache memory continuing the protection window for at least a predetermined window extension following receipt by the first cache memory of the systemwide coherence response.

### Claim 16 (depends on 14)

The design structure of claim 14, wherein the data structure comprises a content addressable memory (CAM).

### Claim 17 (depends on 14)

The design structure of claim 14, wherein:
the first cache memory includes a cache directory; and
the method further comprises the entry of the data structure initiating a directory write to update the cache directory based on the systemwide coherence response.

### Claim 18 (depends on 14)

The design structure of claim 14, wherein the protecting includes responding to a conflicting request snooped on the interconnect fabric with one of a plurality of partial responses specified in the entry of the data structure:

### Claim 19 (depends on 14)

The design structure of claim 14, wherein:
the interconnect operation is a first interconnect operation and the request is a first request; and
the method further comprises the first cache memory reallocating the snoop machine to service a second request of a second interconnect operation prior to the entry ending the protection window.
