# US 2021/0081332 A1 · Cache set permutations based on galois field operations

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

- Number: US 2021/0081332 A1
- Document ID: US20210081332A1
- Status: Published application
- Kind: A1
- Application number: 17/032,883
- Filed: 2020-09-25
- Published: 2021-03-18
- Earliest claimed: 2020-09-25
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Scott Constable; Thomas Unterluggauer
- Web page: https://patentgrep.com/patent/US20210081332A1

## CPC

- G06F 12/1433: {for a module or a part of a module}
- G06F 12/1441: {for a range}
- G06F 12/084: with a shared cache
- G06F 12/0864: using pseudo-associative means, e.g. set-associative or hashing
- G06F 12/0891: using clearing, invalidating or resetting means
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 2212/1024: Latency reduction
- G06F 2212/1052: Security improvement
- G06F 2212/6082: Way prediction in set-associative cache
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, apparatuses and methods provide for technology that determines that first data associated with a first security domain is to be stored in a first permutated cache set, where the first permuted cache set is identified based on a permutation function that permutes at least one of a plurality of first cache indexes. The technology further determines that second data associated with a second security domain is to be stored in a second permutated cache set, where the second permuted cache set is identified based on the permutation function. The second permutated cache set may intersect the first permutated cache set at one data cache line to cause an eviction of first data associated with the first security domain from the one data cache line and bypass eviction of data associated with the first security domain from at least one other data cache line of the first permuted cache set.

## Claims

### Claim 1

A computing system comprising:
a processor to be associated with execution of a plurality of security domains including a first security domain and a second security domain; and
a cache to store data associated with the execution of the plurality of security domains; and
a memory including a set of executable program instructions, which when executed by the processor, cause the computing system to:
determine that first data associated with the first security domain is to be stored in a first permutated cache set associated with the cache, wherein the first permuted cache set is to be identified based on a permutation function that is to permute at least one of a plurality of first cache indexes; and
determine that second data associated with the second security domain is to be stored in a second permutated cache set associated with the cache, wherein the second permuted cache set is to be identified based on the permutation function, and wherein the second permutated cache set intersects the first permutated cache set at one data cache line to cause an eviction of first data associated with the first security domain from the one data cache line and bypass eviction of data associated with the first security domain from at least one other data cache line of the first permuted cache set.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, further cause the computing system to:
determine the first permuted cache set based on a first value associated with the first security domain; and
determine the second permuted cache set based on a second value associated with the second security domain.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, further cause the computing system to
determine the first permuted cache set based on at least on one Galois-Field arithmetic operation; and
determine the second permuted cache set based on at least on one Galois-Field arithmetic operation.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, further cause the computing system to:
identify permuted cache sets for each of the plurality of security domains, wherein each permuted cache set of each of the plurality of security domains intersects each permuted cache set of every other security domain of the plurality of security domains exactly once.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein the first permutated cache set is to correspond to a plurality of cache set indexes.

### Claim 6 (depends on 1)

The computing system of claim 1, wherein the cache is to be a set-associative cache shared by each of the plurality of security domains.

### Claim 7

A semiconductor apparatus comprising:
one or more substrates;
logic coupled to the one or more substrates, wherein the logic is implemented at least partly in one or more of configurable logic or fixed-functionality logic hardware, the logic coupled to the one or more substrates to:
determine that first data associated with a first security domain of a plurality of security domains is to be stored in a first permutated cache set associated with a cache, wherein the first permuted cache set is to be identified based on a permutation function that is to permute at least one of a plurality of first cache indexes; and
determine that second data associated with a second security domain of the plurality of security domains is to be stored in a second permutated cache set associated with the cache, wherein the second permuted cache set is to be identified based on the permutation function, and wherein the second permutated cache set intersects the first permutated cache set at one data cache line to cause an eviction of first data associated with the first security domain from the one data cache line and bypass eviction of data associated with the first security domain from at least one other data cache line of the first permuted cache set.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the logic coupled to the one or more substrates is to:
determine the first permuted cache set based on a first value associated with the first security domain; and
determine the second permuted cache set based on a second value associated with the second security domain.

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein the logic coupled to the one or more substrates is to:
determine the first permuted cache set based on at least on one Galois-Field arithmetic operation; and
determine the second permuted cache set based on at least on one Galois-Field arithmetic operation.

### Claim 10 (depends on 7)

The apparatus of claim 7, wherein the logic coupled to the one or more substrates is to:
identify permuted cache sets for each of the plurality of security domains, wherein each permuted cache set of each of the plurality of security domains intersects each permuted cache set of every other security domain of the plurality of security domains exactly once.

### Claim 11 (depends on 7)

The apparatus of claim 7, wherein the first permutated cache set is to correspond to a plurality of cache set indexes of the cache.

### Claim 12 (depends on 7)

The apparatus of claim 7, wherein the cache is to be a set-associative cache shared by each of the plurality of security domains.

### Claim 13 (depends on 7)

The apparatus of claim 7, wherein the logic coupled to the one or more substrates includes transistor channel regions that are positioned within the one or more substrates.

### Claim 14

At least one computer readable storage medium comprising a set of instructions, which when executed by a computing device, cause the computing device to:
determine that first data associated with a first security domain of a plurality of security domains is to be stored in a first permutated cache set associated with a cache, wherein the first permuted cache set is to be identified based on a permutation function that is to permute at least one of a plurality of first cache indexes; and
determine that second data associated with a second security domain is to be stored in a second permutated cache set associated with the cache, wherein the second permuted cache set is to be identified based on the permutation function, and wherein the second permutated cache set intersects the first permutated cache set at one data cache line to cause an eviction of first data associated with the first security domain from the one data cache line and bypass eviction of data associated with the first security domain from at least one other data cache line of the first permuted cache set.

### Claim 15 (depends on 14)

The at least one computer readable storage medium of claim 14, wherein the instructions, when executed, cause the computing device to:
determine the first permuted cache set based on a first value associated with the first security domain; and
determine the second permuted cache set based on a second value associated with the second security domain.

### Claim 16 (depends on 14)

The at least one computer readable storage medium of claim 14, wherein the instructions, when executed, cause the computing device to:
determine the first permuted cache set based on at least on one Galois-Field arithmetic operation; and
determine the second permuted cache set based on at least on one Galois-Field arithmetic operation.

### Claim 17 (depends on 14)

The at least one computer readable storage medium of claim 14, wherein the instructions, when executed, cause the computing device to:
identify permuted cache sets for each of the plurality of security domains, wherein each permuted cache set of each of the plurality of security domains intersects each permuted cache set of every other security domain of the plurality of security domains exactly once.

### Claim 18 (depends on 14)

The at least one computer readable storage medium of claim 14, wherein the first permutated cache set is to correspond to a plurality of cache set indexes of the cache.

### Claim 19 (depends on 14)

The at least one computer readable storage medium of claim 14, wherein the cache is to be a set-associative cache shared by each of the plurality of security domains.

### Claim 20

A method comprising:
determining that first data associated with a first security domain of a plurality of security domains is to be stored in a first permutated cache set associated with a cache, wherein the first permuted cache set is identified based on a permutation function that is to permute at least one of a plurality of first cache indexes; and
determining that second data associated with a second security domain of the plurality of security domains is to be stored in a second permutated cache set associated with the cache, wherein the second permuted cache set is identified based on the permutation function, and wherein the second permutated cache set intersects the first permutated cache set at one data cache line to cause an eviction of first data associated with the first security domain from the one data cache line and bypass eviction of data associated with the first security domain from at least one other data cache line of the first permuted cache set.

### Claim 21 (depends on 20)

The method of claim 20, further comprising:
determining the first permuted cache set based on a first value associated with the first security domain; and
determining the second permuted cache set based on a second value associated with the second security domain.

### Claim 22 (depends on 20)

The method of claim 20, further comprising:
determining the first permuted cache set based on at least on one Galois-Field arithmetic operation; and
determining the second permuted cache set based on at least on one Galois-Field arithmetic operation.

### Claim 23 (depends on 20)

The method of claim 20, further comprising:
identifying permuted cache sets for each of the plurality of security domains, wherein each permuted cache set of each of the plurality of security domains intersects each permuted cache set of every other security domain of the plurality of security domains exactly once.

### Claim 24 (depends on 20)

The method of claim 20, wherein the first permutated cache set is to correspond to a plurality of cache set indexes of the cache.

### Claim 25 (depends on 20)

The method of claim 20, wherein the cache is a set-associative cache shared by each of the plurality of security domains.
