# US 2015/0178210 A1 · Satisfying memory ordering requirements between partial reads and non-snoop accesses

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

- Number: US 2015/0178210 A1
- Document ID: US20150178210A1
- Status: Published application
- Kind: A1
- Application number: 14/583,596
- Filed: 2014-12-27
- Published: 2015-06-25
- Earliest claimed: 2008-07-07
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Robert H. Beers; Ching- Tsun Chou; Robert J. Safranek; James Vash
- Web page: https://patentgrep.com/patent/US20150178210A1

## CPC

- G06F 12/0833: {in combination with broadcast means (e.g. for invalidation or updating)}
- G06F 12/0806: Multiuser, multiprocessor or multiprocessing cache systems
- G06F 12/0824: {Distributed directories, e.g. linked lists of caches}
- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 12/128: adapted to multidimensional cache systems, e.g. set-associative, multicache, multiset or multilevel
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G06F 12/0813: with a network or matrix configuration
- G06F 12/12: Replacement control
- G06F 2212/2542: Non-uniform memory access [NUMA] architecture
- G06F 2212/62: Details of cache specific to multiprocessor cache arrangements
- G06F 2212/621: Coherency control relating to peripheral accessing, e.g. from DMA or I/O device
- G06F 2212/70: Details relating to dynamic memory management
- 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 and apparatus for preserving memory ordering in a cache coherent link based interconnect in light of partial and non-coherent memory accesses is herein described. In one embodiment, partial memory accesses, such as a partial read, is implemented utilizing a Read Invalidate and/or Snoop Invalidate message. When a peer node receives a Snoop Invalidate message referencing data from a requesting node, the peer node is to invalidate a cache line associated with the data and is not to directly forward the data to the requesting node. In one embodiment, when the peer node holds the referenced cache line in a Modified coherency state, in response to receiving the Snoop Invalidate message, the peer node is to writeback the data to a home node associated with the data.

## Claims

### Claim 1

(canceled)

### Claim 2

An apparatus comprising:
a receiver to receive a snoop invalidate message, wherein the snoop invalidate message corresponds to a particular cache line; and
cache protocol logic to generate a writeback message in response to the snoop invalidate message, wherein the writeback message is to indicate a write to a home agent associated with the particular cache line and cause a transition of the particular cache line from a modified cache coherency state to an invalid cache coherency state.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the writeback message is to comprise a writeback modified to invalidate (WbMtoI) message.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the snoop invalidate message corresponds to a partial read of the particular cache line.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the partial read of the particular cache line is generated by another agent

### Claim 6 (depends on 4)

The apparatus of claim 4, wherein the partial read is to comprise a read invalidate own (RdInvOwn) message

### Claim 7 (depends on 4)

The apparatus of claim 4, wherein the partial read is to result in invalidation of all copies of the particular cache line.

### Claim 8 (depends on 4)

The apparatus of claim 4, wherein the partial read is to be sent to the home agent.

### Claim 9 (depends on 2)

The apparatus of claim 2, wherein the snoop invalidate message comprises a snoop invalidate invalid to exclusive (SnpInvItoE) message.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the SnpInvItoE is to flush any modified state data to the home agent.

### Claim 11

An apparatus comprising:
a home agent to:
receive a read invalidate message from a first coherency agent, wherein the read invalidate message corresponds to a particular cache line and a snoop invalidate message is to be sent to correspond with the read invalidate message;
receive a writeback message from a second coherency agent in response to the snoop invalidate message, wherein the writeback message is to cause a transition of the particular cache line from a modified cache coherency state to an invalid cache coherency state; and
perform a write to the particular cache line based on the writeback message.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the read invalidate message comprises a read invalidate own (RdInvOwn) message.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the RdInvOwn message requests data in a modified (M) state.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the RdInvOwn message requests data in a executive (E) state.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the home agent is further to manage conflicts between involving the particular cache line.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the home agent is to manage a particular conflict involving the particular cache line based on receipt of a conflict acknowledgement message.t

### Claim 17 (depends on 11)

The apparatus of claim 11, wherein the writeback message is to comprise a writeback modified to invalidate (WbMtoI) message.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the snoop invalidate message corresponds to a partial read of the cache line.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the snoop invalidate message comprises a snoop invalidate invalid to exclusive (SnpInvItoE).

### Claim 20

An apparatus comprising:
a cache coherency agent to:
receive a snoop invalidate invalid to exclusive (SnpInvItoE) message, wherein the SnpInvItoE message corresponds to a partial read of a particular cache line by another cache coherency agent and is to flush any modified state data related to the particular cache line to a home agent, and the partial read is to comprise a read invalidate own (RdInvOwn) message; and
generate a writeback modified to invalidate (WbMtoI) message in response to the snoop invalidate message, wherein the WbMtoI message is to indicate a writeback of invalid data (WbIData) to the home agent and is to cause a transition of the particular cache line from a modified cache coherency state to an invalid cache coherency state.

### Claim 21

An apparatus comprising:
a controller to interface between at least a first processor to recognize a first instruction set and second processor to recognize a second instruction set that is different from the first instruction set, the controller comprising interface logic to couple to a link comprising a plurality of lanes;
the interface logic to:
receive a snoop invalidate message, wherein the snoop invalidate message corresponds to a particular cache line; and
send a writeback message responsive to the snoop invalidate message, wherein the writeback message is to indicate a write to a home agent associated with the particular cache line and cause a transition of the particular cache line from a modified cache coherency state to an invalid cache coherency state.

### Claim 22

A method comprising:
receiving at a particular coherency agent, a snoop invalidate message, wherein the snoop invalidate message corresponds to a partial read of a particular cache line by another coherency agent; and
generating a writeback message in response to the snoop invalidate message, wherein the writeback message is to indicate a write to a home agent associated with the particular cache line and cause a transition of the particular cache line from a modified cache coherency state to an invalid cache coherency state.

### Claim 23

A system comprising:
cache coherent memory;
a first device comprising a first coherency agent to send a read invalidate message, wherein the read invalidate message corresponds to a particular cache line of the cache coherent memory;
a second device comprising a second coherency agent to receive a snoop invalidate message associated with the read invalidate message and generate a writeback message associated with the read invalidate message; and
a third device comprising a home agent to receive the writeback message and perform a write to the particular cache line based on the writeback message, wherein the writeback message is to cause a transition of the particular cache line from a modified cache coherency state to an invalid cache coherency state.

### Claim 24 (depends on 23)

The system of claim 23, wherein the first device comprises a processor.

### Claim 25 (depends on 23)

The system of claim 23, wherein the first device comprises an I/O device.

### Claim 26 (depends on 23)

The system of claim 23, wherein the first device and second device are communicatively coupled to the third device via an interconnect comprising point-to-point links.
