Unlock instant, AI-driven research and patent intelligence for your innovation.

An apparatus and method for controlling allocation of data into a cache storage

A technology for caching storage and data, which is applied in the field of controlling the distribution of data to cache storage

Pending Publication Date: 2020-11-13
ARM LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, information has recently been published on speculative-based cache timing side-channel attacks, where several techniques can be used such that cache timing analysis can be abused to leak information from misspeculative execution of instructions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An apparatus and method for controlling allocation of data into a cache storage
  • An apparatus and method for controlling allocation of data into a cache storage
  • An apparatus and method for controlling allocation of data into a cache storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In one example arrangement, an apparatus is provided that includes processing circuitry for executing instructions, and cache storage for storing data accessed when the instructions are executed. Cache control circuitry is used to control how data is allocated into cache storage, and in particular it does not just allocate data in the usual way when port circuitry speculatively executes memory access instructions when sensitive allocation conditions are determined to exist. Instead, when the sensitive allocation condition is determined to exist, the cache control circuitry allocates the data into the cache storage in response to the processing circuitry speculatively executing a memory access instruction that identifies the data to be allocated to the cache storage, but not in the same manner as allocated to the cache storage. Data in storage has the conditional allocation flag set associatively. Conditional allocation flags may be stored in a variety of ways, and may, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An apparatus and method are provided for controlling allocation of data into cache storage. The apparatus comprises processing circuitry for executing instructions, and a cache storage for storing data accessed when executing the instructions. Cache control circuitry is arranged, whilst a sensitive allocation condition is determined to exist, to be responsive to the processing circuitry speculatively executing a memory access instruction that identifies data to be allocated into the cache storage, to allocate the data into the cache storage and to set a conditional allocation flag in association with the data allocated into the cache storage. The cache control circuitry is then responsive to detecting an allocation resolution event, to determine based on the type of the allocation resolution event whether to clear the conditional allocation flag such that the data is thereafter treated as unconditionally allocated, or to cause invalidation of the data in the cache storage. Such an approach can reduce the vulnerability of a cache to speculation-based cache timing side-channel attacks.

Description

technical field [0001] This disclosure relates to techniques for controlling the allocation of data into cache storage. Background technique [0002] The data processing apparatus may support speculative execution of instructions, wherein instructions are executed before it is known whether the instruction's input operands are correct or whether the instruction needs to be executed at all. For example, a processing device may have a branch predictor for predicting the outcome of a branch instruction so that subsequent instructions may be speculatively fetched, decoded, and executed before knowing what the actual outcome of the branch should be. In addition, some systems may also support speculative data prefetching as a form, in which values ​​are loaded from memory in anticipation of the values ​​being needed by processing circuitry to allow subsequent instructions to be processed more quickly. Other forms of speculation are also possible. [0003] It has recently been id...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F12/0891G06F9/30
CPCG06F9/3004G06F12/0891G06F2212/1052G06F12/0871G06F12/0808G06F9/30058G06F9/3842G06F9/30047G06F12/1441
Inventor 弗雷德里克·克劳德·玛丽·皮里彼得·理查德·格林哈尔格伊恩·迈克尔·考尔菲尔德阿尔宾·皮尔里克·托内尔杰弗里·艾伦·凯尔
Owner ARM LTD