Patents
US 12,705,182 B2#155857072 Most CitedActiveUnited States (USPTO)Utility

Processing cache evictions in a directory snoop filter with ECAM

0Forward Citations (#155857072 Global)
0.0/yrCitation Velocity (#155857072 Global)
0.00Citation PageRank (#155857072 Global)
22Prior Art Cited
22Claims (2 Indep. · 20 Dep.)
12Drawings / Sheets

Abstract

Techniques for maintaining cache coherency while sharing data among multiple processors are disclosed. Multiple coherent elements are arranged in an M × N mesh topology. An element can include a compute coherency block (CCB), and a coherency ordering agent (COA). The COAs include a directory snoop filter (DSF), an eviction content addressable memory (eCAM), a miss and snoop queue (MSQ), and a pipeline logic. The CCB and COA include functions for interfacing with a hierarchical cache and directory snoop filter (DSF). A CCB from within one of the multiple coherent elements issues a read request. The corresponding directory snoop filter (DSF) is inspected to determine if there is a slot (way) available for storing information pertaining to the read request. In the event that no eligible vacancies are present in the DSF, a multi-pass process for handling a capacity limit in a DSF is performed.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 0.

Claims (22 — 2 Independent, 20 Dependent)

  1. Claim 1Independent Claim

    A processor-implemented method for sharing data comprising: accessing a system-on-a-chip (SOC), wherein the SOC includes one or more compute coherency blocks (CCBs) and one or more coherency ordering agents (COAs), wherein a first COA within the one or more COAs comprises a directory snoop filter (DSF), an eviction content addressable memory (eCAM), a miss and snoop queue (MSQ), and a pipeline logic, wherein the DSF comprises N ways; initiating, by a first CCB in the one or more CCBs, a read request to a first address, wherein the first address includes a first index, wherein the read request misses in the DSF, and wherein the DSF is occupied with a valid data at each way of the N ways corresponding to the first index; selecting, by the DSF, a cache line for eviction, wherein the cache line includes the first index and a selected way within the N ways, wherein the first index and the selected way are stored in an entry within one or more entries of the eCAM; saving the read request from the first CCB in the MSQ; arbitrating, by the eCAM, for the pipeline logic within the COA, wherein the arbitrating includes selecting, by the eCAM, the entry to send to the pipeline logic; sending, by the eCAM, to the pipeline logic, the entry, wherein the sending causes a cache line associated with the first index to be evicted from the DSF, wherein the cache line is associated with a second address, wherein the sending includes writing, to the eCAM, by the DSF, the second address, wherein the second address overwrites the entry in the eCAM, and wherein the sending includes generating, by the pipeline logic, a snoop of the second address; mediating, by the MSQ, for the pipeline logic within the COA, wherein the mediating includes replaying, to the pipeline logic, by the MSQ, the read request to the first address; and starting, by the COA, the read request to the first address, wherein the read request to the first address is handled coherently.

  2. Claim 2Depends on #1

    The method of claim 1 wherein the replaying includes searching the DSF for the first address, wherein the searching produces a miss, and wherein the DSF saves information corresponding to the first address at a location, in the DSF, previously occupied by the second address.

  3. Claim 3Depends on #1

    The method of claim 1 wherein the selecting is accomplished with a pseudorandom algorithm.

  4. Claim 4Depends on #1

    The method of claim 1 further comprising holding another request to the first address from the one or more CCBs, wherein the holding is based on the second address that was written into the eCAM.

  5. Claim 5Depends on #4

    The method of claim 4 further comprising saving, to an input FIFO within the COA, the another request to the first address.

  6. Claim 6Depends on #5

    The method of claim 5 further comprising awakening the another request, wherein the awakening is based on deleting the second address that was written to the eCAM.

  7. Claim 7Depends on #1

    The method of claim 1 further comprising receiving, from the one or more CCBs, one or more responses to the snoop of the second address.

  8. Claim 8Depends on #7

    The method of claim 7 further comprising allowing another request, from the one or more CCBs, to the first address, wherein the allowing is based on deleting the entry of the eCAM.

  9. Claim 9Depends on #7

    The method of claim 7 further comprising writing back, by the one or more CCBs, a dirty cache line corresponding to the second address.

  10. Claim 10Depends on #9

    The method of claim 9 further comprising allowing another request, from the one or more CCBs, to the first address, wherein the allowing is based on deleting the second address that was written to the eCAM.

  11. Claim 11Depends on #1

    The method of claim 1 wherein the initiating, the selecting, and the saving comprise a first COA pipeline pass.

  12. Claim 12Depends on #11

    The method of claim 11 wherein the arbitrating and the sending comprise a second COA pipeline pass.

  13. Claim 13Depends on #12

    The method of claim 12 wherein the mediating and the starting comprise a third COA pipeline pass.

  14. Claim 14Depends on #1

    The method of claim 1 wherein the arbitrating includes a third address that was previously stored in the eCAM.

  15. Claim 15Depends on #1

    The method of claim 1 wherein the snoop causes an owner of a dirty cache line associated with the second address to perform a writeback to memory.

  16. Claim 16Depends on #15

    The method of claim 15 wherein the snoop forces one or more sharers of the second address to back invalidate a shared cache line corresponding to the second address.

  17. Claim 17Depends on #1

    The method of claim 1 wherein the DSF includes owner and sharer information for each cache line within a hierarchical cache coupled to the first CCB.

  18. Claim 18Depends on #1

    The method of claim 1 wherein the N ways in the DSF are not equal to a number of ways, in a last level cache (LLC) within the first CCB.

  19. Claim 19Depends on #1

    The method of claim 1 wherein the SOC includes a network-on-a-chip (NOC), wherein the NOC includes an M × N mesh topology, wherein the M × N mesh topology includes a coherent tile at each point of the M × N mesh topology, and wherein a first coherent tile within the M × N mesh topology includes the first CCB and the first COA.

  20. Claim 20Depends on #19

    The method of claim 19 wherein the first COA processes one or more incoming requests received on the M × N mesh topology.

  21. Claim 21Depends on #19

    The method of claim 19 wherein the DSF includes owner and sharer information for each cache line within each hierarchical cache coupled to every CCB, within the one or more CCBs, that is coupled to the COA.

  22. Claim 22Independent Claim

    A computer system for sharing data comprising: a memory which stores instructions; one or more processors coupled to the memory wherein the one or more processors, when executing the instructions which are stored, are configured to: access a system-on-a-chip (SOC), wherein the SOC includes one or more compute coherency blocks (CCBs) and one or more coherency ordering agents (COAs), wherein a first COA within the one or more COAs comprises a directory snoop filter (DSF), an eviction content addressable memory (eCAM), a miss and snoop queue (MSQ), and a pipeline logic, wherein the DSF comprises N ways; initiate, by a first CCB in the one or more CCBs, a read request to a first address, wherein the first address includes a first index, wherein the read request misses in the DSF, and wherein the DSF is occupied with a valid data at each way of the N ways corresponding to the first index; select, by the DSF, a cache line for eviction, wherein the cache line includes the first index and a selected way within the N ways, wherein the first index and the selected way are stored in an entry within one or more entries of the eCAM; save the read request from the first CCB in the MSQ; arbitrate, by the eCAM, for the pipeline logic within the COA, wherein the arbitrating includes selecting, by the eCAM, the entry to send to the pipeline logic; send, by the eCAM, to the pipeline logic, the entry, wherein the sending causes a cache line associated with the first index to be evicted from the DSF, wherein the cache line is associated with a second address, wherein the sending includes writing, to the eCAM, by the DSF, the second address, wherein the second address overwrites the entry in the eCAM, and wherein the sending includes generating, by the pipeline logic, a snoop of the second address; mediate, by the MSQ, for the pipeline logic within the COA, wherein the mediating includes replaying, to the pipeline logic, by the MSQ, the read request to the first address; and start, by the COA, the read request to the first address, wherein the read request to the first address is handled coherently.

Technical Overview & Description

RELATED APPLICATIONS This application claims the benefit of U.S. provisional patent applications “ Processing Cache Evictions In A Directory Snoop Filter With ECAM ” Ser. No. 63/556,944, filed Feb. 23, 2024, “ System Time Clock Synchronization On An SOC With LSB Sampling ” Ser. No. 63/556,951, filed Feb. 23, 2024, “ Malicious Code Detection Based On Code Profiles Generated By External Agents ” Ser. No. 63/563,102, filed Mar. 8, 2024, “ Processor Error Detection With Assertion Registers ” Ser. No. 63/563,492, filed Mar. 11, 2024, “ Starvation Avoidance In An Out-Of-Order Processor ” Ser. No. 63/564,529, filed Mar. 13, 2024, “ Vector Operation Sequencing For Exception Handling ” Ser. No. 63/570,281, filed Mar. 27, 2024, “ Vector Length Determination For Fault-Only-First Loads With Out-Of-Order Micro-Operations ” Ser. No. 63/640,921, filed May 1, 2024, “ Circular Queue Management With Nondestructive Speculative Reads ” Ser. No. 63/641,045, filed May 1, 2024, “ Direct Data Transfer With Cache Line Owner Assignment ” Ser. No. 63/653,402, filed May 30, 2024, “ Weight-Stationary Matrix Multiply Accelerator With Tightly Coupled L2 Cache

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (22)

PatentTitleYearCitations
US 6,934,809 B2Automatic prefetch of pointers200519
US 7,506,105 B2Prefetching using hashed program counter200913
US 9,672,154 B1Methods and apparatus for determining memory access patterns for cache prefetch in an out-of-order processor20171
US 9,830,097 B2Application-specific chunk-aligned prefetch for sequential workloads20170
US 10,013,356 B2Facilitating prefetching for data streams with multiple strides20185
US 10,031,851 B2Address re-ordering mechanism for efficient pre-fetch training in an out-of order processor20181
US 10,671,394 B2Prefetch stream allocation for multithreading systems20203
US 10,929,948 B2Page cache system and method for multi-agent environments20212
US 11,163,684 B1Systems and methods that predictively read ahead different amounts of data for different content stored in a multi-client storage system20213
US 11,288,405 B2Integrated circuit(s) with anti-glitch canary circuit(s)20224
US 11,385,896 B2Determining prefetch patterns with discontinuous strides20221
US 11,403,099 B2Backward compatibility by restriction of hardware resources20222
US 11,403,225 B2Prefetcher, operating method of prefetcher, and processor operated based on updated offset amount20223
US 11,429,529 B2Prefetching based on detection of interleaved constant stride sequences of addresses within a sequence of demand target addresses20222
US 11,442,863 B2Data processing apparatus and method for generating prefetches20222
US 11,474,130 B2Voltage glitch detection in integrated circuit20224
US 11,486,911 B2Voltage-variation detection under clock fluctuations20223
US 2016062889 A1Coherency checking of invalidate transactions caused by snoop filter eviction in an integrated circuit—7
US 2022004639 A1Artificial reality system with multi-stage boot process—10
US 2022029780 A1Devices and methods for the detection and localization of fault injection attacks—4
US 2022197657 A1Segmented branch target buffer based on branch instruction type—4
WO 2022/117687 A1System on chip with voltage glitch detection based on clock synchronization monitoring—2