# US 10,956,327 B2 · Systems and methods for mitigating dram cache conflicts through hardware assisted redirection of pages (HARP)

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

- Number: US 10,956,327 B2
- Document ID: US10956327B2
- Status: Granted
- Kind: B2
- Application number: 16/457,972
- Filed: 2019-06-29
- Published: 2020-12-31
- Granted: 2021-03-23
- Earliest claimed: 2019-06-29
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Adithya Nallan Chakravarthi; Anant Vithal Nori; Jayesh Gaur; Sreenivas Subramoney
- Web page: https://patentgrep.com/patent/US10956327B2

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0815: Cache consistency protocols
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/1063: {the data cache being concurrently virtually addressed}
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/657: Virtual address space management
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed embodiments relate to systems and methods structured to mitigate cache conflicts through hardware assisted redirection of pages. In one example, a processor includes a translation cache to store a physical to slice mapping in response to a cache conflict mitigation request corresponding to a page; and a cache controller to determine whether the translation cache comprises the physical to slice mapping; determine whether one of a plurality of slices in a translation table comprises the physical to slice mapping if the translation cache does not comprise the physical to slice mapping, the translation table communicably coupled to a non-volatile memory; and if the translation table does not comprise the physical to slice mapping, redirect the cache conflict mitigation request to the non-volatile memory; and allocate a new physical to slice mapping for the page to one of the plurality of slices in the translation table.

## Claims

### Claim 1

A processor comprising:
a translation cache to store a physical to slice mapping in response to a cache conflict mitigation request corresponding to a page; and
a cache controller to:
determine whether the translation cache comprises the physical to slice mapping;
determine whether one of a plurality of slices in a translation table comprises the physical to slice mapping if the translation cache does not comprise the physical to slice mapping, the translation table communicably coupled to a non-volatile memory;
when the translation table does not comprise the physical to slice mapping, redirect the cache conflict mitigation request to the non-volatile memory; and
allocate a new physical to slice mapping for the page to one of the plurality of slices in the translation table.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the cache conflict mitigation request is generated in response to a cache miss.

### Claim 3 (depends on 1)

The processor of claim 1, wherein a first cache comprises the translation cache and a second cache comprises the translation table.

### Claim 4 (depends on 1)

The processor of claim 1, wherein the page comprises a physical address.

### Claim 5 (depends on 1)

The processor of claim 1, wherein the cache controller is further structured to redirect the cache conflict mitigation request a slice in the translation table that is associated with the physical to slice mapping when the translation table comprises the physical to slice mapping.

### Claim 6 (depends on 1)

The processor of claim 1, wherein the cache controller is further structured to fetch the physical to slice mapping from the translation table if the translation table comprises the physical to slice mapping.

### Claim 7 (depends on 5)

The processor of claim 5, wherein the cache controller is further structured to store the physical to slice mapping located in the translation table in the translation cache.

### Claim 8 (depends on 1)

The processor of claim 1, wherein the cache conflict mitigation request is redirected to non-volatile memory when the translation table does not comprise the physical to slice mapping.

### Claim 9

A method comprising:
determining a translation cache comprises a physical to slice mapping;
determining one of a plurality of slices in a translation table comprises the physical to slice mapping if the translation cache does not comprise the physical to slice mapping;
when the translation table does not comprises the physical to slice mapping, redirecting a cache conflict mitigation request to a non-volatile memory; and
allocating a physical to slice mapping to one of the plurality of slices in the translation table.

### Claim 10 (depends on 9)

The method of claim 9, wherein a first cache comprises the translation cache and a second cache comprises the translation table and wherein the first cache comprises Static Read Only Memory (SRAM) and the second cache comprises Dynamic Random Access Memory (DRAM).

### Claim 11 (depends on 9)

The method of claim 9, wherein the cache conflict mitigation request comprises a request to resolve a cache conflict in response to a cache miss.

### Claim 12 (depends on 9)

The method of claim 9, wherein the allocation of the physical to slice mapping to one of the plurality of slices in the translation table is in response to a translation table miss.

### Claim 13 (depends on 12)

The method of claim 12, further comprising storing the physical to slice mapping in the translation table in the translation cache.

### Claim 14 (depends on 9)

The method of claim 9, wherein the cache conflict mitigation request is redirected to non-volatile memory if the translation table does not comprise the physical to slice mapping.

### Claim 15 (depends on 14)

The method of claim 14, further comprising calling a round-robin algorithm structured to allocate a new physical to slice mapping to a page and to one of the plurality of slices in the translation table.
