# US 2026/0178443 A1 · Matching l1 writeback to l2 inclusive cache when ways have ecc issue

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

- Number: US 2026/0178443 A1
- Document ID: US20260178443A1
- Status: Published application
- Kind: A1
- Application number: 19/126,448
- Filed: 2022-12-23
- Published: 2026-06-25
- Earliest claimed: 2022-12-23
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Sadayan Ghows Ghani Sadayan Ebramsah Mo Abdul; Tushar P. Ringe; Leigang Kou
- Web page: https://patentgrep.com/patent/US20260178443A1

## CPC

- G06F 11/1064: {in cache or content addressable memories}
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F 2212/403: Error protection encoding, e.g. using parity or ECC codes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for matching L1 writeback to L2 inclusive cache when ways have error correction code (ECC) issues. One of the methods includes determining, by an L1 cache, that a matching way of a matching set has been designated as having an error correction code (ECC) issue. In response, the L1 cache writes the cache entry into the L2 cache at a location corresponding to the matching way to resolve the ECC issue.

## Claims

### Claim 1

A cache system comprising:
an L1 cache; and
an inclusive L2 cache that is configured to maintain all cache lines of the L1 cache,
wherein the L1 cache is configured to perform operations comprising:
receiving a cache entry having an address and a value;
computing a matching set to which the cache entry having the address belongs;
determining that a matching way of the matching set has been designated as having an error correction code (ECC) issue; and
in response, writing the cache entry into the L2 cache at a location corresponding to the matching way to resolve the ECC issue.

### Claim 2 (depends on 1)

The cache system of claim 1, wherein the cache system is configured to clear the designation of the ECC issue after writing the cache entry into the L2 cache.

### Claim 3 (depends on 1)

The cache system of claim 1, wherein the ECC issue is corruption of one bit of the address.

### Claim 4 (depends on 1)

The cache system of claim 1, wherein the ECC issue is corruption of two or more bits of the address.

### Claim 5 (depends on 1)

The cache system of claim 1, wherein the operations further comprise:
receiving a second cache entry having a second address and a second value;
determining that two matching ways of a matching set have been designated as having an ECC issue;
computing respective mismatch masks for each of the two matching ways;
determining that a first matching way has a mismatch mask having a single set bit; and
in response, writing the second cache entry into the L2 cache at a location corresponding to the first matching way to resolve the ECC issue for the first matching way.

### Claim 6 (depends on 1)

The cache system of claim 1, wherein the operations further comprise:
receiving a third cache entry having a third address and a third value;
determining that two matching ways of a matching set have been designated as having an ECC issue;
computing respective mismatch masks for each of the two matching ways;
determining that both mismatch masks have a single set bit; and
in response, performing an alternative ECC process to resolve the ECC issue.

### Claim 7 (depends on 1)

The cache system of claim 1, wherein the operations further comprise:
receiving a fourth cache entry having a fourth address and a fourth value;
determining that the matching set has two matching ways;
determining that one of the matching ways has an ECC issue and that another of the matching ways does not have an ECC issue; and
in response, writing the fourth cache entry into the L2 cache at a location corresponding to the matching way that does not have an ECC issue.

### Claim 8

A method performed by a cache system comprising an L1 cache and an inclusive L2 cache, the method comprising:
maintaining, by the L2 cache, cache lines of the L1 cache;
receiving, by the L1 cache, a cache entry having an address and a value;
computing, by the L1 cache, a matching set to which the cache entry having the address belongs;
determining, by the L1 cache, that a matching way of the matching set has been designated as having an error correction code (ECC) issue; and
in response, writing, by the L1 cache, the cache entry into the L2 cache at a location corresponding to the matching way to resolve the ECC issue.

### Claim 9 (depends on 8)

The method of claim 8, further comprising clearing the designation of the ECC issue after writing the cache entry into the L2 cache.

### Claim 10 (depends on 8)

The method of claim 8, wherein the ECC issue is corruption of one bit of the address.

### Claim 11 (depends on 8)

The method of claim 8, wherein the ECC issue is corruption of two or more bits of the address.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
receiving a second cache entry having a second address and a second value;
determining that two matching ways of a matching set have been designated as having an ECC issue;
computing respective mismatch masks for each of the two matching ways;
determining that a first matching way has a mismatch mask having a single set bit; and
in response, writing the second cache entry into the L2 cache at a location corresponding to the first matching way to resolve the ECC issue for the first matching way.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
receiving a third cache entry having a third address and a third value;
determining that two matching ways of a matching set have been designated as having an ECC issue;
computing respective mismatch masks for each of the two matching ways;
determining that both mismatch masks have a single set bit; and
in response, performing an alternative ECC process to resolve the ECC issue.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
receiving a fourth cache entry having a fourth address and a fourth value;
determining that the matching set has two matching ways;
determining that one of the matching ways has an ECC issue and that another of the matching ways does not have an ECC issue; and
in response, writing the fourth cache entry into the L2 cache at a location corresponding to the matching way that does not have an ECC issue.
