# US 2024/0202137 A1 · Concurrent Support for Multiple Cache Inclusivity Schemes Using Low Priority Evict Operations

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

- Number: US 2024/0202137 A1
- Document ID: US20240202137A1
- Status: Published application
- Kind: A1
- Application number: 18/390,223
- Filed: 2023-12-20
- Published: 2024-06-20
- Earliest claimed: 2022-12-20
- Assignees: SiFive, Inc.
- Applicants: SiFive, Inc.
- Inventors: Wesley Waylon Terpstra; Richard Van; Eric Andrew Gouldey
- Web page: https://patentgrep.com/patent/US20240202137A1

## CPC

- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/121: using replacement algorithms
- G06F 12/084: with a shared cache
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are disclosed for concurrent support for multiple cache inclusivity schemes using low priority evict operations. For example, some methods may include, receiving a first eviction message having a lower priority than probe messages from a first inner cache; receiving a second eviction message having a higher priority than probe messages from a second inner cache; transmitting a third eviction message, determined based on the first eviction message, having the lower priority than probe messages to a circuitry that is closer to memory in a cache hierarchy; and, transmitting a fourth eviction message, determined based on the second eviction message, having the lower priority than probe messages to the circuitry that is closer to memory in the cache hierarchy.

## Claims

### Claim 1

An integrated circuit comprising:
a first inner cache that is configured to transmit eviction messages having a lower priority than probe messages;
a second inner cache that is configured to transmit eviction messages having a higher priority than probe messages; and
a shared cache that is connected to the first inner cache and to the second inner cache as parts of a cache hierarchy, and configured to:
receive a first eviction message having the lower priority than probe messages from the first inner cache;
receive a second eviction message having the higher priority than probe messages from the second inner cache;
transmit a third eviction message, determined based on the first eviction message, having the lower priority than probe messages to a circuitry that is closer to memory in the cache hierarchy; and
transmit a fourth eviction message, determined based on the second eviction message, having the lower priority than probe messages to the circuitry that is closer to memory in the cache hierarchy.

### Claim 2 (depends on 1)

The integrated circuit of claim 1, wherein the shared cache is configured to be non-inclusive of the first inner cache and to be inclusive of the second inner cache.

### Claim 3 (depends on 1)

The integrated circuit of claim 1, wherein the shared cache comprises:
a set of buffers configured to store cache lines of data, and wherein the shared cache is configured to:
reserve a buffer in the set of buffers for storing a cache line stored by the second inner cache; and
responsive to the second eviction message, store data associated with the second eviction message in the reserved buffer.

### Claim 4 (depends on 3)

The integrated circuit of claim 3, wherein the shared cache does not store data from the first inner cache in the set of buffers.

### Claim 5 (depends on 1)

The integrated circuit of claim 1, wherein the circuitry that is closer to memory in the cache hierarchy is a memory controller.

### Claim 6 (depends on 1)

The integrated circuit of claim 1, wherein the circuitry that is closer to memory in the cache hierarchy is an outer cache.

### Claim 7 (depends on 1)

The integrated circuit of claim 1, wherein the first inner cache is an L1 cache, the second inner cache is an L1 cache, and the shared cache is an L2 cache.

### Claim 8 (depends on 1)

The integrated circuit of claim 1, wherein the first inner cache is an L2 cache, the second inner cache is an L2 cache, and the shared cache is an L3 cache.

### Claim 9 (depends on 1)

The integrated circuit of claim 1, wherein the eviction messages having the lower priority are associated with eviction operations that are interruptible by the eviction messages having the higher priority.

### Claim 10 (depends on 1)

The integrated circuit of claim 1, wherein the shared cache converts the eviction messages having the higher priority to eviction messages having the lower priority.

### Claim 11 (depends on 1)

The integrated circuit of claim 1, wherein the circuitry that is closer to memory in the cache hierarchy does not support eviction messages having the higher priority.

### Claim 12

A method comprising:
receiving a first eviction message having a lower priority than probe messages from a first inner cache;
receiving a second eviction message having a higher priority than probe messages from a second inner cache;
transmitting a third eviction message, determined based on the first eviction message, having the lower priority than probe messages to a circuitry that is closer to memory in a cache hierarchy; and
transmitting a fourth eviction message, determined based on the second eviction message, having the lower priority than probe messages to the circuitry that is closer to memory in the cache hierarchy.

### Claim 13 (depends on 12)

The method of claim 12, comprising:
reserving a buffer in a set of buffers for storing a cache line stored by the second inner cache; and
responsive to the second eviction message, storing data associated with the second eviction message in the reserved buffer.

### Claim 14 (depends on 12)

The method of claim 12, comprising:
maintaining a data storage that is inclusive of at least one of unique or dirty cache blocks in the second inner cache.

### Claim 15 (depends on 12)

The method of claim 12, comprising:
maintaining a data storage that is non-inclusive of the first inner cache and inclusive of the second inner cache.

### Claim 16

A non-transitory computer readable medium comprising a circuit representation that, when processed by a computer, is used to program or manufacture an integrated circuit comprising:
a first inner cache that is configured to transmit eviction messages having a lower priority than probe messages;
a second inner cache that is configured to transmit eviction messages having a higher priority than probe messages; and
a shared cache that is connected to the first inner cache and to the second inner cache as parts of a cache hierarchy, and configured to:
receive a first eviction message having the lower priority than probe messages from the first inner cache;
receive a second eviction message having the higher priority than probe messages from the second inner cache;
transmit a third eviction message, determined based on the first eviction message, having the lower priority than probe messages to a circuitry that is closer to memory in the cache hierarchy; and
transmit a fourth eviction message, determined based on the second eviction message, having the lower priority than probe messages to the circuitry that is closer to memory in the cache hierarchy.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the shared cache is configured to be non-inclusive of the first inner cache and to be inclusive of the second inner cache.

### Claim 18 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the shared cache comprises:
a set of buffers configured to store cache lines of data, and wherein the shared cache is configured to:
reserve a buffer in the set of buffers for storing a cache line stored by the second inner cache; and
responsive to the second eviction message, store data associated with the second eviction message in the reserved buffer.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the shared cache does not store data from the first inner cache in the set of buffers.

### Claim 20 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the shared cache converts the eviction messages having the higher priority to eviction messages having the lower priority.
