Systems and methods for retiring and unretiring cache lines
Abstract
The systems and methods described herein may provide a flush-retire instruction for retiring “bad” cache locations (e.g., locations associated with persistent errors) to prevent their allocation for any further accesses, and a flush-unretire instruction for unretiring cache locations previously retired. These instructions may be implemented as hardware instructions of a processor. They may be executable by processes executing in a hyper-privileged state, without the need to quiesce any other processes. The flush-retire instruction may atomically flush a cache line implicated by a detected cache error and set a lock bit to disable subsequent allocation of the corresponding cache location. The flush-unretire instruction may atomically flush an identified cache line (if valid) and clear the lock bit to re-enable subsequent allocation of the cache location. Various bits in the encodings of these instructions may identify the cache location to be retired or unretired in terms of the physical cache structure.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 1.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, comprising: performing, by a processor, wherein the processor has an instruction set architecture: detecting an error in a cache, wherein the error is associated with a particular cache line; and in response to said detecting, executing a flush-retire instruction, wherein the flush-retire instruction is a single hardware instruction of the instruction set architecture of the processor, and wherein said executing causes the processor to atomically perform: flushing the cache line to memory; and disabling subsequent allocation of a cache location that held the cache line.
- Claim 2Depends on #1
The method of claim 1 , wherein the error comprises an error in one or more of data stored in the cache location, a tag associated with the cache location, a state of the cache location, or a state of the cache line.
- Claim 3Independent Claim
Th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,235,233 B2 | Storage error type determination | 2019 | 0 |